summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2018-02-03 23:49:33 +0200
committerMichael Bestas <mkbestas@lineageos.org>2018-02-03 23:49:33 +0200
commitdccd6a022d82e51cf7f86d5fb5278227be97bcac (patch)
treef3684d32c2f164924300ff7211dd6c302d1ecf3b
parent6d78d4a13cd0e4da13f56fcac94cd64a438e8a08 (diff)
downloadandroid_packages_apps_Snap-dccd6a022d82e51cf7f86d5fb5278227be97bcac.zip
android_packages_apps_Snap-dccd6a022d82e51cf7f86d5fb5278227be97bcac.tar.gz
android_packages_apps_Snap-dccd6a022d82e51cf7f86d5fb5278227be97bcac.tar.bz2
Snap: Fix translatability issues
* We should avoid putting arrays in crowdin Change-Id: I599c939f06a1dabb5d39921a0ecd2deecb3a49fe
-rw-r--r--res/values/camera2arrays.xml18
-rw-r--r--res/values/qcomstrings.xml15
2 files changed, 21 insertions, 12 deletions
diff --git a/res/values/camera2arrays.xml b/res/values/camera2arrays.xml
index 04b1683..2b8bbe1 100644
--- a/res/values/camera2arrays.xml
+++ b/res/values/camera2arrays.xml
@@ -39,8 +39,8 @@
</string-array>
<string-array name="pref_camera2_mono_only_entries">
- <item>On</item>
- <item>Off</item>
+ <item>@string/pref_camera2_mono_only_entry_on</item>
+ <item>@string/pref_camera2_mono_only_entry_off</item>
</string-array>
<string-array name="pref_camera2_mono_only_entryvalues" translatable="false">
@@ -49,9 +49,9 @@
</string-array>
<string-array name="pref_camera2_initial_camera_entries">
- <item>Bayer</item>
- <item>Mono</item>
- <item>Front</item>
+ <item>@string/pref_camera2_initial_camera_entry_bayer</item>
+ <item>@string/pref_camera2_initial_camera_entry_mono</item>
+ <item>@string/pref_camera2_initial_camera_entry_front</item>
</string-array>
<string-array name="pref_camera2_initial_camera_entryvalues" translatable="false">
@@ -61,8 +61,8 @@
</string-array>
<string-array name="pref_camera2_makeup_entries">
- <item>On</item>
- <item>Off</item>
+ <item>@string/pref_camera2_makeup_entry_on</item>
+ <item>@string/pref_camera2_makeup_entry_off</item>
</string-array>
<string-array name="pref_camera2_makeup_entryvalues" translatable="false">
@@ -71,8 +71,8 @@
</string-array>
<string-array name="pref_camera2_trackingfocus_entries">
- <item>On</item>
- <item>Off</item>
+ <item>@string/pref_camera2_trackingfocus_entry_on</item>
+ <item>@string/pref_camera2_trackingfocus_entry_off</item>
</string-array>
<string-array name="pref_camera2_trackingfocus_entryvalues" translatable="false">
diff --git a/res/values/qcomstrings.xml b/res/values/qcomstrings.xml
index 56463ae..ade3c9e 100644
--- a/res/values/qcomstrings.xml
+++ b/res/values/qcomstrings.xml
@@ -325,9 +325,6 @@
<string name="pref_camera_shuttersound_entry_enable">Enabled</string>
<string name="pref_camera_shuttersound_entry_disable">Disabled</string>
- <!-- Default mce setting. Do not translate. -->
- <string name="pref_camera_mce_default">enable</string>
-
<!-- The message is shown in toast when the app encounters an unsupported selection for HFR/HSR mode -->
<string name="error_app_unsupported_hfr_selection">High-framerate recording is not supported when using Stabilization/Time lapse/HDR.</string>
@@ -886,6 +883,8 @@
<string name="pref_camera2_mono_only_title">Mono only</string>
<string name="pref_camera2_mono_only_default" translatable="false">off</string>
+ <string name="pref_camera2_mono_only_entry_on">On</string>
+ <string name="pref_camera2_mono_only_entry_off">Off</string>
<string name="pref_camera2_mono_preview_title">Mono preview</string>
<string name="pref_camera2_mono_preview_entry_on">On</string>
@@ -919,6 +918,8 @@
<string name="pref_camera2_flashmode_default" translatable="false">2</string>
<string name="pref_camera2_makeup_title">Makeup</string>
+ <string name="pref_camera2_makeup_entry_on">On</string>
+ <string name="pref_camera2_makeup_entry_off">Off</string>
<string name="pref_camera2_noise_reduction_default" translatable="false">off</string>
<string name="pref_camera2_noise_reduction_title">Noise reduction</string>
@@ -939,7 +940,11 @@
<string name="pref_camera2_videosnap_entry_enable">Enable</string>
<string name="pref_camera2_videosnap_entry_disable">Disable</string>
+
<string name="pref_camera2_trackingfocus_title">Tracking focus</string>
+ <string name="pref_camera2_trackingfocus_entry_on">On</string>
+ <string name="pref_camera2_trackingfocus_entry_off">Off</string>
+
<string name="pref_camera_scenemode_entry_bestpicture">Best picture</string>
<string name="bestpicture_done">DONE</string>
<string name="bestpicture_at_least_one_picture">At least one picture has to be chosen.</string>
@@ -951,5 +956,9 @@
<string name="pref_camera2_shutter_sound_entry_on">On</string>
<string name="pref_camera2_shutter_sound_entry_off">Off</string>
<string name="pref_camera2_shutter_sound_title">Shutter sound</string>
+
+ <string name="pref_camera2_initial_camera_entry_bayer">Bayer</string>
+ <string name="pref_camera2_initial_camera_entry_mono">Mono</string>
+ <string name="pref_camera2_initial_camera_entry_front">Front</string>
</resources>