File tree 1 file changed +9
-3
lines changed
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 6
6
1 . [ Design Goals] ( #design-goals )
7
7
1 . [ Design Restrictions] ( #design-restrictions )
8
8
1 . [ Overview & Examples] ( #overview--examples )
9
- 1 . [ Messages] ( #message )
9
+ 1 . [ Messages and Patterns ] ( #messages-and-patterns )
10
10
1 . [ Expressions] ( #expression )
11
11
1 . [ Formatting Functions] ( #function )
12
12
1 . [ Selection] ( #selection )
@@ -91,11 +91,17 @@ The syntax specification takes into account the following design restrictions:
91
91
92
92
_ This section is non-normative._
93
93
94
- ### Message
94
+ ### Messages and Patterns
95
95
96
96
A ** _ message_ ** is the complete template for a specific message formatting request.
97
97
98
- All _ messages_ , including simple ones, begin with U+007B LEFT CURLY BRACKET ` { `
98
+ All _ messages_ MUST contain either a _ pattern_ or _ selectors_ .
99
+ A _ message_ MAY contain zero or more _ declarations_ .
100
+ (Implication: the empty string is not a valid message)
101
+
102
+ A ** _ pattern_ ** is a combination of _ text_ and _ placeholders_
103
+ to be formatted as a unit.
104
+ All _ patterns_ , including simple ones, begin with U+007B LEFT CURLY BRACKET ` { `
99
105
and end with U+007D RIGHT CURLY BRACKET ` } ` .
100
106
101
107
> {Hello, world!}
You can’t perform that action at this time.
0 commit comments