Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cde5550

Browse filesBrowse files
author
Tristan Roussel
committed
Replace XLIFF number ids by strings
1 parent c63c826 commit cde5550
Copy full SHA for cde5550

File tree

Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed

‎best_practices/i18n.rst

Copy file name to clipboardExpand all lines: best_practices/i18n.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ English in the application would be:
8585
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
8686
<file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
8787
<body>
88-
<trans-unit id="1">
88+
<trans-unit id="title_post_list">
8989
<source>title.post_list</source>
9090
<target>Post List</target>
9191
</trans-unit>

‎book/translation.rst

Copy file name to clipboardExpand all lines: book/translation.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ different formats, XLIFF being the recommended format:
132132
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
133133
<file source-language="en" datatype="plaintext" original="file.ext">
134134
<body>
135-
<trans-unit id="1">
135+
<trans-unit id="symfony_is_great">
136136
<source>Symfony is great</source>
137137
<target>J'aime Symfony</target>
138138
</trans-unit>
@@ -668,7 +668,7 @@ bundle.
668668
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
669669
<file source-language="en" datatype="plaintext" original="file.ext">
670670
<body>
671-
<trans-unit id="1">
671+
<trans-unit id="author.name.not_blank">
672672
<source>author.name.not_blank</source>
673673
<target>Please enter an author name.</target>
674674
</trans-unit>

‎components/translation/usage.rst

Copy file name to clipboardExpand all lines: components/translation/usage.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ recommended format. These files are parsed by one of the loader classes.
115115
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
116116
<file source-language="en" datatype="plaintext" original="file.ext">
117117
<body>
118-
<trans-unit id="1">
118+
<trans-unit id="symfony_is_great">
119119
<source>Symfony is great</source>
120120
<target>J'aime Symfony</target>
121121
</trans-unit>
122-
<trans-unit id="2">
122+
<trans-unit id="symfony.great">
123123
<source>symfony.great</source>
124124
<target>J'aime Symfony</target>
125125
</trans-unit>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.