summaryrefslogtreecommitdiff
path: root/server/common/src/testdata/grit/translations/base_my.xlf
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-06-07 00:38:22 +0200
committerJoel Klinghed <the_jk@spawned.biz>2025-06-07 00:39:28 +0200
commita60c0f58470f78545544d01d525eae481511abec (patch)
treef06d8ace50fcf7f773db6e03d142081c3a9ac62b /server/common/src/testdata/grit/translations/base_my.xlf
parentad893a4fb44244132d710d7f94fc99a7d83f1b87 (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_my.xlf')
-rw-r--r--server/common/src/testdata/grit/translations/base_my.xlf29
1 files changed, 29 insertions, 0 deletions
diff --git a/server/common/src/testdata/grit/translations/base_my.xlf b/server/common/src/testdata/grit/translations/base_my.xlf
new file mode 100644
index 0000000..eea3dc8
--- /dev/null
+++ b/server/common/src/testdata/grit/translations/base_my.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="my">
+<body>
+<trans-unit id="8820817407110198400">
+ <source>Bookmarks</source>
+ <target>ဝက်ဘ်လိပ်စာ မှတ်ထားမှုများ</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><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>ဤအပလီကေးရှင်းကို အသုံးပြုခြင်းဖြင့် သင်သည် Opera ၏ <ph id="TOS_BEGIN"/>ဝန်ဆောင်မှုစည်းမျဉ်းများ<ph id="TOS_END"/> ကို သဘောတူရာ ရောက်ပါသည်။ ထို့အပြင် ကျွန်ုပ်တို့၏<ph id="PRIVACY_BEGIN"/>ကိုယ်ရေးလုံခြုံမှု ထုတ်ပြန်ချက်<ph id="PRIVACY_END"/> ထဲတွင် သင့်ဒေတာများကို Opera ၏ ကိုင်တွယ်ပုံနှင့် ကာကွယ်ပုံတို့ကိုလည်း လေ့လာနိုင်သည်။</target>
+ <note>IDS_START_TERMS
+ First startup information about the license and privacy terms.
+ </note>
+</trans-unit>
+</body>
+</file>
+</xliff>