summaryrefslogtreecommitdiffstats
path: root/tools/localize/testdata/res
diff options
context:
space:
mode:
Diffstat (limited to 'tools/localize/testdata/res')
-rw-r--r--tools/localize/testdata/res/values-zz-rZZ/strings.xml22
-rw-r--r--tools/localize/testdata/res/values/strings.xml44
2 files changed, 66 insertions, 0 deletions
diff --git a/tools/localize/testdata/res/values-zz-rZZ/strings.xml b/tools/localize/testdata/res/values-zz-rZZ/strings.xml
new file mode 100644
index 0000000..c2a783d
--- /dev/null
+++ b/tools/localize/testdata/res/values-zz-rZZ/strings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="changed_in_xx">AAAA</string>
+ <string name="previously_translated">CCC</string>
+</resources>
+
+
diff --git a/tools/localize/testdata/res/values/strings.xml b/tools/localize/testdata/res/values/strings.xml
new file mode 100644
index 0000000..6a11e68
--- /dev/null
+++ b/tools/localize/testdata/res/values/strings.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2007 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string name="changed_in_xx">aaa</string>
+ <string name="first_translation">bbb</string>
+ <string name="previously_translated">ccc</string>
+ <string name="new_string">ccc</string>
+
+ <string name="formatted_string"><b>bold</b><i>italic<u>italic_underline</u></i><u>underline</u></string>
+
+ <array name="growing_array">
+ <!-- somebody wrote a comment! -->
+ <item>1-One</item>
+ <item>1-Two</item>
+ <item>1-Three</item>
+ <item>1-Four</item>
+ </array>
+ <array name="shrinking_array">
+ <!-- somebody wrote a comment! -->
+ <item>2-One</item>
+ <item>2-Two</item>
+ <item>2-Three</item>
+ </array>
+ <array name="new_array">
+ <!-- somebody wrote a comment! -->
+ <item>3-One</item>
+ <item>3-Two</item>
+ <item>3-Three</item>
+ </array>
+</resources>