8000 Strip YAML trailing multiline · symfony/symfony-docs@8cdec91 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8cdec91

Browse files
authored
Strip YAML trailing multiline
Previous YAML resulted in a trailing newline!
1 parent ee237fc commit 8cdec91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

translation/message_format.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ typical usage of this is gender:
9292
.. code-block:: yaml
9393
9494
# translations/messages+intl-icu.en.yaml
95-
invitation_title: >
95+
invitation_title: >-
9696
{organizer_gender, select,
9797
female {{organizer_name} has invited you for her party!}
9898
male {{organizer_name} has invited you for his party!}
@@ -173,7 +173,7 @@ handle pluralization in your messages (e.g. ``There are 3 apples`` vs
173173
.. code-block:: yaml
174174
175175
# translations/messages+intl-icu.en.yaml
176-
num_of_apples: >
176+
num_of_apples: >-
177177
{apples, plural,
178178
=0 {There are no apples}
179179
one {There is one apple...}
@@ -278,7 +278,7 @@ Similar to ``plural``, ``selectordinal`` allows you to use numbers as ordinal sc
278278
.. code-block:: yaml
279279
280280
# translations/messages+intl-icu.en.yaml
281-
finish_place: >
281+
finish_place: >-
282282
You finished {place, selectordinal,
283283
one {#st}
284284
two {#nd}

0 commit comments

Comments
 (0)
0