8000 [Translation] Added tip about the incompatibility of % character · symfony/symfony-docs@079ff73 · GitHub
[go: up one dir, main page]

Skip to content

Commit 079ff73

Browse files
welcoMatticOskarStark
authored andcommitted
[Translation] Added tip about the incompatibility of % character
1 parent a4cce1e commit 079ff73

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

translation/message_format.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ The basic usage of the MessageFormat allows you to use placeholders (called
7070
'say_hello' => "Hello {name}!",
7171
];
7272
73+
74+
.. caution::
75+
76+
With the previous format, placeholders were often named between ``%``. This character is no longer valid with the ICU MessageFormat syntax. Be careful to rename your parameters.
77+
7378
Everything within the curly braces (``{...}``) is processed by the formatter
7479
and replaced by its placeholder::
7580

0 commit comments

Comments
 (0)
0