-
-
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.
special handling for sizeRestriction attribute in xliff v2
- Loading branch information
Showing
11 changed files
with
200 additions
and
267 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
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,23 @@ | ||
{ | ||
"resources": { | ||
"namespace1": { | ||
"key1": { | ||
"source": "Hello", | ||
"target": "Hallo" | ||
}, | ||
"key2": { | ||
"source": "An application to manipulate and process XLIFF documents", | ||
"target": "Eine Applikation um XLIFF Dokumente zu manipulieren und verarbeiten", | ||
"additionalAttributes": { | ||
"sizeRestriction": 60 | ||
} | ||
}, | ||
"key.nested": { | ||
"source": "XLIFF Data Manager", | ||
"target": "XLIFF Daten Manager" | ||
} | ||
} | ||
}, | ||
"sourceLanguage": "en-US", | ||
"targetLanguage": "de-CH" | ||
} |
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,25 @@ | ||
<xliff xmlns="urn:oasis:names:tc:xliff:document:2.0" version="2.0" srcLang="en-US" trgLang="de-CH" xmlns:slr="urn:oasis:names:tc:xliff:sizerestriction:2.0"> | ||
<file id="namespace1"> | ||
<slr:profiles generalProfile="xliff:codepoints" storageProfile="xliff:utf8"> | ||
<slr:normalization general="nfc" storage="nfc"/> | ||
</slr:profiles> | ||
<unit id="key1"> | ||
<segment> | ||
<source>Hello</source> | ||
<target>Hallo</target> | ||
</segment> | ||
</unit> | ||
<unit id="key2" slr:sizeRestriction="60"> | ||
<segment> | ||
<source>An application to manipulate and process XLIFF documents</source> | ||
<target>Eine Applikation um XLIFF Dokumente zu manipulieren und verarbeiten</target> | ||
</segment> | ||
</unit> | ||
<unit id="key.nested"> | ||
<segment> | ||
<source>XLIFF Data Manager</source> | ||
<target>XLIFF Daten Manager</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
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
Oops, something went wrong.