Skip to content

Commit 0c83d78

Browse files
committed
minor #12528 Improve XML readability for translations (jdeniau)
This PR was merged into the 4.3 branch. Discussion ---------- Improve XML readability for translations <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 3c3d577 Improve XML readability for translations
2 parents b5ba707 + 3c3d577 commit 0c83d78

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

translation/message_format.rst

+5-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ typical usage of this is gender:
108108
<body>
109109
<trans-unit id="invitation_title">
110110
<source>invitation_title</source>
111-
<target>{organizer_gender, select, female {{organizer_name} has invited you for her party!} male {{organizer_name} has invited you for his party!} other {{organizer_name} have invited you for their party!}}</target>
111+
<target>{organizer_gender, select,
112+
female {{organizer_name} has invited you for her party!}
113+
male {{organizer_name} has invited you for his party!}
114+
other {{organizer_name} have invited you for their party!}
115+
}</target>
112116
</trans-unit>
113117
</body>
114118
</file>

0 commit comments

Comments
 (0)