CMParts: Move some strings from arrays.xml to strings.xml
- No need to touch the array when translating
Change-Id: I9c58c8bc8bd9f58806386ec2f468b3c4ffef1c0b
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 21af519..db10ab4 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -323,12 +323,12 @@
<item>9</item>
</string-array>
- <string-array name="torch_long_press_power_timeout_entries">
- <item>@string/auto_power_save_never</item>
- <item>1 minute</item>
- <item>2 minutes</item>
- <item>5 minutes</item>
- <item>10 minutes</item>
+ <string-array name="torch_long_press_power_timeout_entries" translatable="false">
+ <item>@string/torch_long_press_power_timeout_never</item>
+ <item>@string/torch_long_press_power_timeout_1min</item>
+ <item>@string/torch_long_press_power_timeout_2min</item>
+ <item>@string/torch_long_press_power_timeout_5min</item>
+ <item>@string/torch_long_press_power_timeout_10min</item>
</string-array>
<string-array name="torch_long_press_power_timeout_values" translatable="false">
diff --git a/res/values/strings.xml b/res/values/strings.xml
index ba2ba14..d4b5ea4 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -261,6 +261,12 @@
<string name="torch_long_press_power_gesture_desc">Activate the torch by long pressing the power button while the display is off</string>
<string name="torch_long_press_power_timeout_title">Automatically turn torch off</string>
+ <string name="torch_long_press_power_timeout_never">Never</string>
+ <string name="torch_long_press_power_timeout_1min">1 minute</string>
+ <string name="torch_long_press_power_timeout_2min">2 minutes</string>
+ <string name="torch_long_press_power_timeout_5min">5 minutes</string>
+ <string name="torch_long_press_power_timeout_10min">10 minutes</string>
+
<!-- Profiles -->
<string name="profile_menu_delete_title">Delete</string>
<string name="profile_action_none">Leave unchanged</string>