diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-06-07 00:38:22 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-06-07 00:39:28 +0200 |
| commit | a60c0f58470f78545544d01d525eae481511abec (patch) | |
| tree | f06d8ace50fcf7f773db6e03d142081c3a9ac62b /server/common/src/testdata/grit/translations/base_sv.xlf | |
| parent | ad893a4fb44244132d710d7f94fc99a7d83f1b87 (diff) | |
grit: Add basic parsing of xlf
This doesn't read the full xliff format, it only reads the translation
target string and the id for the translation unit.
Diffstat (limited to 'server/common/src/testdata/grit/translations/base_sv.xlf')
| -rw-r--r-- | server/common/src/testdata/grit/translations/base_sv.xlf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/server/common/src/testdata/grit/translations/base_sv.xlf b/server/common/src/testdata/grit/translations/base_sv.xlf new file mode 100644 index 0000000..e33a385 --- /dev/null +++ b/server/common/src/testdata/grit/translations/base_sv.xlf @@ -0,0 +1,29 @@ +<?xml version='1.0' encoding='UTF-8'?> +<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2"> +<file datatype="xml" source-language="en-US" original="base.grd" target-language="sv"> +<body> +<trans-unit id="8820817407110198400"> + <source>Bookmarks</source> + <target>Bokmärken</target> + <note>IDS_BOOKMARKS_FRAGMENT_TITLE + Title which is shown on the main bookmarks view. + </note> +</trans-unit> +<trans-unit id="8443102241046796905"> + <source>Welcome to <ph id="STRING"/></source> + <target>Välkommen till <ph id="STRING"/></target> + <note>IDS_GENERIC_WELCOME + Generic welcome string. + Example STRING: Opera + </note> +</trans-unit> +<trans-unit id="2466140279568640908"> + <source>By using this application you are agreeing to Opera's <ph id="TOS_BEGIN"/>Terms of Service<ph id="TOS_END"/>. Also, you can learn how Opera handles and protects your data in our <ph id="PRIVACY_BEGIN"/>Privacy Statement<ph id="PRIVACY_END"/>.</source> + <target>I och med din användning av det här programmet samtycker du till Operas <ph id="TOS_BEGIN"/>Licensvillkor<ph id="TOS_END"/>. Du kan också läsa om hur Opera hanterar och skyddar dina data i vårt <ph id="PRIVACY_BEGIN"/>Sekretessmeddelande<ph id="PRIVACY_END"/>.</target> + <note>IDS_START_TERMS + First startup information about the license and privacy terms. + </note> +</trans-unit> +</body> +</file> +</xliff> |
