summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Kullman <patrik.kullman@gmail.com>2011-08-04 14:41:18 +0200
committerPatrik Kullman <patrik.kullman@gmail.com>2011-08-04 14:50:04 +0200
commit251661f9b97f21ac3d66588d87a35d9a693e5ca0 (patch)
tree35690f308d3ce70fdb34649609b071b110666b82
parent8d8977b61be01ad7be0baed16913925800ed008d (diff)
downloadandroid_packages_apps_DeskClock-251661f9b97f21ac3d66588d87a35d9a693e5ca0.tar.gz
android_packages_apps_DeskClock-251661f9b97f21ac3d66588d87a35d9a693e5ca0.tar.bz2
android_packages_apps_DeskClock-251661f9b97f21ac3d66588d87a35d9a693e5ca0.zip
Set translatable=false
These kind of values shouldn't be controlled by the translation. Preferably, this shouldn't need an _entries array at all, but instead strings for "minutes" and "Inifinite". Maybe even a string format for any language that might put the string before the number? Change-Id: Id057c6f5eb004e5b0c2adc82c79be037196d46e0
-rw-r--r--res/values-zh-rTW/strings.xml23
-rw-r--r--res/values/strings.xml4
2 files changed, 2 insertions, 25 deletions
diff --git a/res/values-zh-rTW/strings.xml b/res/values-zh-rTW/strings.xml
index cf1f3ad7c..bed0bd062 100644
--- a/res/values-zh-rTW/strings.xml
+++ b/res/values-zh-rTW/strings.xml
@@ -278,18 +278,6 @@
<item>無限</item>
</string-array>
- <!-- Values that are retrieved from the ListPreference. These must match
- the alarm_limit_entries above. -->
- <string-array name="alarm_limit_values">
- <item>5</item>
- <item>15</item>
- <item>30</item>
- <item>60</item>
- <item>90</item>
- <item>120</item>
- <item>-1</item>
- </string-array>
-
<!-- Setting title for setting alarm time limit -->
<string name="screensaver_timeout_title">螢幕保護模式逾時</string>
@@ -304,17 +292,6 @@
<item>60 分鐘</item>
</string-array>
- <!-- Values that are retrieved from the ListPreference. These must match
- the alarm_limit_entries above. -->
- <string-array name="screensaver_timeout_values">
- <item>1</item>
- <item>5</item>
- <item>10</item>
- <item>15</item>
- <item>30</item>
- <item>60</item>
- </string-array>
-
<!-- Setting title for screensaver time color picker general title-->
<string name="color_picker">時間色彩</string>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 139bc7647..4edfec7cd 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -292,7 +292,7 @@
<!-- Values that are retrieved from the ListPreference. These must match
the alarm_limit_entries above. -->
- <string-array name="alarm_limit_values">
+ <string-array name="alarm_limit_values" translatable="false">
<item>5</item>
<item>15</item>
<item>30</item>
@@ -318,7 +318,7 @@
<!-- Values that are retrieved from the ListPreference. These must match
the alarm_limit_entries above. -->
- <string-array name="screensaver_timeout_values">
+ <string-array name="screensaver_timeout_values" translatable="false">
<item>1</item>
<item>5</item>
<item>10</item>