Skip to content

Strip YAML trailing newline #12253

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions translation/message_format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ typical usage of this is gender:
.. code-block:: yaml

# translations/messages+intl-icu.en.yaml
invitation_title: >
invitation_title: >-
{organizer_gender, select,
female {{organizer_name} has invited you for her party!}
male {{organizer_name} has invited you for his party!}
Expand Down Expand Up @@ -173,7 +173,7 @@ handle pluralization in your messages (e.g. ``There are 3 apples`` vs
.. code-block:: yaml

# translations/messages+intl-icu.en.yaml
num_of_apples: >
num_of_apples: >-
{apples, plural,
=0 {There are no apples}
one {There is one apple...}
Expand Down Expand Up @@ -278,7 +278,7 @@ Similar to ``plural``, ``selectordinal`` allows you to use numbers as ordinal sc
.. code-block:: yaml

# translations/messages+intl-icu.en.yaml
finish_place: >
finish_place: >-
You finished {place, selectordinal,
one {#st}
two {#nd}
Expand Down