Commit 9fe46e9
committed
minor #14072 [Translation] The 'other' key is mandatory in ICU 'select' (javiereguiluz)
This PR was merged into the 4.4 branch.
Discussion
----------
[Translation] The 'other' key is mandatory in ICU 'select'
In a new Symfony app I worked on recently, we use ICU intl messages. Symfony makes it super easy to use and everything works perfectly. Thanks to everybody who made it possible!
However, when using `select`, the `other` key is mandatory. In some messages of my app we only have two options, so I didn't add `other` at first ... and I saw this:

This option being mandatory is mentioned in http://userguide.icu-project.org/formatparse/messages and https://messageformat.github.io/messageformat/page-guide#toc3__anchor so we may do the same.
Commits
-------
cf8cba0 [Translation] The 'other' key is mandatory in ICU 'select'1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| |||
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| 121 | + | |
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
| |||
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
0 commit comments