-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix when source and target has different keys
- Loading branch information
Showing
14 changed files
with
212 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"> | ||
<file original="namespace1" datatype="plaintext" source-language="en-US" target-language="ar"> | ||
<body> | ||
<trans-unit id="key1"> | ||
<source>Hello</source> | ||
<target>Hello (AR)</target> | ||
</trans-unit> | ||
<trans-unit id="key2_one"> | ||
<source>singular</source> | ||
<target>singular (AR)</target> | ||
</trans-unit> | ||
<trans-unit id="key2_three"> | ||
<source>three</source> | ||
</trans-unit> | ||
<trans-unit id="key2_other"> | ||
<source>other</source> | ||
<target>other (AR)</target> | ||
</trans-unit> | ||
<trans-unit id="key2_zero"> | ||
<target>zero (AR)</target> | ||
</trans-unit> | ||
<trans-unit id="key2_two"> | ||
<target>two (AR)</target> | ||
</trans-unit> | ||
<trans-unit id="key2_few"> | ||
<target>few (AR)</target> | ||
</trans-unit> | ||
<trans-unit id="key2_many"> | ||
<target>many (AR)</target> | ||
</trans-unit> | ||
</body> | ||
</file> | ||
</xliff> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
"resources": { | ||
"file/path/wooo": { | ||
"foo": { | ||
"source": "", | ||
"target": "woosh" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"resources": { | ||
"namespace1": { | ||
"key1": { | ||
"source": "Hello", | ||
"target": "Hello (AR)" | ||
}, | ||
"key2_one": { | ||
"source": "singular", | ||
"target": "singular (AR)" | ||
}, | ||
"key2_three": { | ||
"source": "three" | ||
}, | ||
"key2_other": { | ||
"source": "other", | ||
"target": "other (AR)" | ||
}, | ||
"key2_zero": { | ||
"target": "zero (AR)" | ||
}, | ||
"key2_two": { | ||
"target": "two (AR)" | ||
}, | ||
"key2_few": { | ||
"target": "few (AR)" | ||
}, | ||
"key2_many": { | ||
"target": "many (AR)" | ||
} | ||
} | ||
}, | ||
"sourceLanguage": "en-US", | ||
"targetLanguage": "ar" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en-US" trgLang="ar"> | ||
<file id="namespace1"> | ||
<unit id="key1"> | ||
<segment> | ||
<source>Hello</source> | ||
<target>Hello (AR)</target> | ||
</segment> | ||
</unit> | ||
<unit id="key2_one"> | ||
<segment> | ||
<source>singular</source> | ||
<target>singular (AR)</target> | ||
</segment> | ||
</unit> | ||
<unit id="key2_three"> | ||
<segment> | ||
<source>three</source> | ||
</segment> | ||
</unit> | ||
<unit id="key2_other"> | ||
<segment> | ||
<source>other</source> | ||
<target>other (AR)</target> | ||
</segment> | ||
</unit> | ||
<unit id="key2_zero"> | ||
<segment> | ||
<target>zero (AR)</target> | ||
</segment> | ||
</unit> | ||
<unit id="key2_two"> | ||
<segment> | ||
<target>two (AR)</target> | ||
</segment> | ||
</unit> | ||
<unit id="key2_few"> | ||
<segment> | ||
<target>few (AR)</target> | ||
</segment> | ||
</unit> | ||
<unit id="key2_many"> | ||
<segment> | ||
<target>many (AR)</target> | ||
</segment> | ||
</unit> | ||
</file> | ||
</xliff> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"key1": "Hello", | ||
"key2_one": "singular", | ||
"key2_three": "three", | ||
"key2_other": "other" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"key1": "Hello (AR)", | ||
"key2_zero": "zero (AR)", | ||
"key2_one": "singular (AR)", | ||
"key2_two": "two (AR)", | ||
"key2_few": "few (AR)", | ||
"key2_many": "many (AR)", | ||
"key2_other": "other (AR)" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.