From a60c0f58470f78545544d01d525eae481511abec Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sat, 7 Jun 2025 00:38:22 +0200 Subject: 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. --- .../src/testdata/grit/translations/base_en_gb.xlf | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 server/common/src/testdata/grit/translations/base_en_gb.xlf (limited to 'server/common/src/testdata/grit/translations/base_en_gb.xlf') diff --git a/server/common/src/testdata/grit/translations/base_en_gb.xlf b/server/common/src/testdata/grit/translations/base_en_gb.xlf new file mode 100644 index 0000000..d77bb3a --- /dev/null +++ b/server/common/src/testdata/grit/translations/base_en_gb.xlf @@ -0,0 +1,48 @@ + + + + + + Bookmarks + Bookmarks + IDS_BOOKMARKS_FRAGMENT_TITLE + Title which is shown on the main bookmarks view. + + + + Welcome to + Welcome to + IDS_GENERIC_WELCOME + Generic welcome string. + Example STRING: Opera + + + + By using this application you are agreeing to Opera's Terms of Service. Also, you can learn how Opera handles and protects your data in our Privacy Statement. + By using this application you are agreeing to Opera's Terms of Service. Also, you can learn how Opera handles and protects your data in our Privacy Statement. + IDS_START_TERMS + First startup information about the license and privacy terms. + + + + {BOOKMARKS, plural, + one { folder deleted} + few { folders deleted} + many { folders deleted} + other { folders deleted}} + {BOOKMARKS, plural, + one { folder deleted} + few { folders deleted} + many { folders deleted} + other { folders deleted}} + IDS_BOOKMARKS_FOLDERS_DELETED + Message which is shown when one or more folders have been deleted from the bookmark list. + Example-one COUNT: 1 + Example-few COUNT: 15 + Example-many COUNT: 100 + Example-other COUNT: 42 + + + + + -- cgit v1.2.3-70-g09d2