summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Blaesius <andi@unlegacy-android.org>2018-06-08 13:09:23 +0200
committerMichael Bestas <mkbestas@lineageos.org>2018-06-24 18:13:01 +0200
commit1dccab48be6c2b7c70ec46c323eff3b608bd0d52 (patch)
treed12046bb8e34d5d5a21eb23c87ff3481197e75a1
parentf37c0a7ffed6849c26c134e2651ec24700d103a2 (diff)
downloadandroid_packages_apps_Snap-1dccab48be6c2b7c70ec46c323eff3b608bd0d52.zip
android_packages_apps_Snap-1dccab48be6c2b7c70ec46c323eff3b608bd0d52.tar.gz
android_packages_apps_Snap-1dccab48be6c2b7c70ec46c323eff3b608bd0d52.tar.bz2
Snap: turn developer category title into a translatable string
Change-Id: Id543286b1b823adccbab0fabdea1c8df8703f2ad
-rw-r--r--res/values/cm_strings.xml1
-rw-r--r--res/xml/setting_menu_preferences.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 1f79922..b4356d5 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -147,5 +147,6 @@
<!-- Advanced options -->
<string name="developer_menu_enabled">You have enabled advanced camera options</string>
<string name="developer_menu_disabled">You have disabled advanced camera options</string>
+ <string name="pref_camera2_preferences_category_developer">Advanced options</string>
</resources>
diff --git a/res/xml/setting_menu_preferences.xml b/res/xml/setting_menu_preferences.xml
index 589c02c..edc8bba 100644
--- a/res/xml/setting_menu_preferences.xml
+++ b/res/xml/setting_menu_preferences.xml
@@ -267,7 +267,7 @@
<PreferenceCategory
android:key="developer"
android:layout="@layout/preferences_category"
- android:title="DEVELOPER OPTIONS">
+ android:title="@string/pref_camera2_preferences_category_developer">
<ListPreference
android:defaultValue="@string/pref_camera2_instant_aec_default"