summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-05-11 20:03:45 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-11 20:03:46 +0000
commitc24d0e1fcc6ad1b4da39c00094289e71ab9da3a3 (patch)
tree0d82b5a59e4eba7260bc9f2469c281f4a3d322a7 /res
parent9331b9fa0d416b80423b1200a80349be77463c65 (diff)
parentbcb4f2c913a74e1b03c6ac41e014410b10a462bd (diff)
downloadpackages_apps_Settings-c24d0e1fcc6ad1b4da39c00094289e71ab9da3a3.zip
packages_apps_Settings-c24d0e1fcc6ad1b4da39c00094289e71ab9da3a3.tar.gz
packages_apps_Settings-c24d0e1fcc6ad1b4da39c00094289e71ab9da3a3.tar.bz2
Merge "Update strings for ignore optimizations control" into mnc-dev
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml31
-rw-r--r--res/xml/high_power_details.xml7
-rw-r--r--res/xml/power_usage_details.xml2
3 files changed, 20 insertions, 20 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7b4d3b4..242177a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -6552,32 +6552,35 @@
<!-- Label for process [CHAR LIMIT=25] -->
<string name="process_format"><xliff:g id="app_name" example="Settings">%1$s</xliff:g> (<xliff:g id="count" example="3">%2$d</xliff:g>)</string>
- <!-- Label for whether app is allowed to use a lot ef power [CHAR LIMIT=25]-->
- <string name="high_power" translatable="false">High power</string>
+ <!-- Label for list to control apps that ignore battery saving restrictions [CHAR LIMIT=25]-->
+ <string name="high_power_apps">Ignore optimizations</string>
- <!-- List of apps that are allowed to use a lot of power [CHAR LIMIT=25]-->
- <string name="high_power_apps" translatable="false">High power apps</string>
+ <!-- Filter for apps allowed to use a lot of power [CHAR LIMIT=25] -->
+ <string name="high_power_filter_on">Allowed</string>
- <!-- Summary of app allowed to use a lot of power [CHAR LIMIT=25] -->
- <string name="high_power_on">On</string>
+ <!-- Filter for apps not allowed to use a lot of power [CHAR LIMIT=25] -->
+ <string name="high_power_filter_off">Not allowed</string>
- <!-- Summary of app not allowed to use a lot of power [CHAR LIMIT=25] -->
- <string name="high_power_off">Off</string>
+ <!-- Summary of app allowed to use a lot of power [CHAR LIMIT=60] -->
+ <string name="high_power_on">Allowed to ignore optimizations</string>
+
+ <!-- Summary of app not allowed to use a lot of power [CHAR LIMIT=60] -->
+ <string name="high_power_off">Not allowed to ignore optimizations</string>
<!-- Description of high power switch [CHAR LIMIT=NONE] -->
- <string name="high_power_desc" translatable="false">High powered apps description text goes here. This is a placeholder.</string>
+ <string name="high_power_desc">Ignore optimizations including Battery saver, allow instant content refresh etc.</string>
<!-- Description of number of apps with high power turned on [CHAR LIMIT=NONE] -->
- <plurals name="high_power_count" translatable="false">
- <item quantity="one">1 app is allowed to ignore restrictions like battery saver mode, sync etc.</item>
- <item quantity="other"><xliff:g id="count" example="10">%d</xliff:g> apps is allowed to ignore restrictions like battery saver mode, sync etc.</item>
+ <plurals name="high_power_count">
+ <item quantity="one">1 app is allowed to ignore battery optimizations</item>
+ <item quantity="other"><xliff:g id="count" example="10">%d</xliff:g> apps are allowed to battery optimizations</item>
</plurals>
<!-- Summary of power usage for an app [CHAR LIMIT=NONE] -->
- <string name="battery_summary" translatable="false"><xliff:g id="percentage" example="2">%1$d</xliff:g>%% use since last full charge</string>
+ <string name="battery_summary"><xliff:g id="percentage" example="2">%1$d</xliff:g>%% use since last full charge</string>
<!-- Summary for app with no battery usage [CHAR LIMIT=NONE] -->
- <string name="no_battery_summary" translatable="false">No battery use since last full charge</string>
+ <string name="no_battery_summary">No battery use since last full charge</string>
<!-- Link to an apps notification settings [CHAR LIMIT=50] -->
<string name="app_notification_preferences">App notification preferences</string>
diff --git a/res/xml/high_power_details.xml b/res/xml/high_power_details.xml
index 81f7806..d0aae54 100644
--- a/res/xml/high_power_details.xml
+++ b/res/xml/high_power_details.xml
@@ -16,14 +16,11 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings"
- android:title="@string/high_power">
+ android:title="@string/high_power_apps">
<SwitchPreference
android:key="high_power_switch"
- android:title="@string/high_power" />
-
- <Preference
android:summary="@string/high_power_desc"
- android:selectable="false" />
+ android:title="@string/high_power_apps" />
</PreferenceScreen>
diff --git a/res/xml/power_usage_details.xml b/res/xml/power_usage_details.xml
index ca84e89..3ad6547 100644
--- a/res/xml/power_usage_details.xml
+++ b/res/xml/power_usage_details.xml
@@ -27,7 +27,7 @@
<Preference
android:key="high_power"
- android:title="@string/high_power" />
+ android:title="@string/high_power_apps" />
<PreferenceCategory
android:key="details_parent"