From 4de3cf47986e8f9f05de9fea1156fc68088fa084 Mon Sep 17 00:00:00 2001 From: Margaret Leibovic Date: Mon, 22 Sep 2014 17:36:41 -0700 Subject: [PATCH] Bug 965377 - Add android:summary text to settings. r=liuche --- .../base/locales/en-US/android_strings.dtd | 8 ++++++++ .../base/resources/xml-v11/preferences.xml | 7 +++++++ .../xml-v11/preferences_customize.xml | 1 + .../base/resources/xml/preferences.xml | 19 +++++++++++++------ .../resources/xml/preferences_customize.xml | 1 + mobile/android/base/strings.xml.in | 8 ++++++++ 6 files changed, 38 insertions(+), 6 deletions(-) diff --git a/mobile/android/base/locales/en-US/android_strings.dtd b/mobile/android/base/locales/en-US/android_strings.dtd index c5c088ae6a29..1ecba156c5eb 100644 --- a/mobile/android/base/locales/en-US/android_strings.dtd +++ b/mobile/android/base/locales/en-US/android_strings.dtd @@ -78,11 +78,13 @@ + + + @@ -207,8 +213,10 @@ size. --> + + diff --git a/mobile/android/base/resources/xml-v11/preferences.xml b/mobile/android/base/resources/xml-v11/preferences.xml index 8dffcbfc4de0..844aa12387c8 100644 --- a/mobile/android/base/resources/xml-v11/preferences.xml +++ b/mobile/android/base/resources/xml-v11/preferences.xml @@ -13,15 +13,18 @@ @@ -29,24 +32,28 @@ diff --git a/mobile/android/base/resources/xml-v11/preferences_customize.xml b/mobile/android/base/resources/xml-v11/preferences_customize.xml index cf766881e7a4..e25fd518a8ad 100644 --- a/mobile/android/base/resources/xml-v11/preferences_customize.xml +++ b/mobile/android/base/resources/xml-v11/preferences_customize.xml @@ -37,6 +37,7 @@ gecko:initialValues="@array/pref_import_android_defaults" gecko:entryKeys="@array/pref_import_android_keys" android:title="@string/pref_import_android" + android:summary="@string/pref_import_android_summary" android:positiveButtonText="@string/bookmarkhistory_button_import" android:negativeButtonText="@string/button_cancel" android:persistent="false" /> diff --git a/mobile/android/base/resources/xml/preferences.xml b/mobile/android/base/resources/xml/preferences.xml index d0b4155b5e3b..25513792f298 100644 --- a/mobile/android/base/resources/xml/preferences.xml +++ b/mobile/android/base/resources/xml/preferences.xml @@ -13,9 +13,11 @@ - + @@ -25,7 +27,8 @@ - + @@ -35,7 +38,8 @@ - + @@ -45,7 +49,8 @@ - + @@ -55,7 +60,8 @@ - + @@ -64,7 +70,8 @@ android:value="preferences_vendor" /> - + diff --git a/mobile/android/base/resources/xml/preferences_customize.xml b/mobile/android/base/resources/xml/preferences_customize.xml index d6864b595f0b..80983b0b59cc 100644 --- a/mobile/android/base/resources/xml/preferences_customize.xml +++ b/mobile/android/base/resources/xml/preferences_customize.xml @@ -45,6 +45,7 @@ gecko:initialValues="@array/pref_import_android_defaults" gecko:entryKeys="@array/pref_import_android_keys" android:title="@string/pref_import_android" + android:summary="@string/pref_import_android_summary" android:positiveButtonText="@string/bookmarkhistory_button_import" android:negativeButtonText="@string/button_cancel" android:persistent="false" /> diff --git a/mobile/android/base/strings.xml.in b/mobile/android/base/strings.xml.in index c56a40f4b160..cccbbdc07a76 100644 --- a/mobile/android/base/strings.xml.in +++ b/mobile/android/base/strings.xml.in @@ -125,11 +125,15 @@ &settings_title; &pref_category_advanced; &pref_category_customize; + &pref_category_customize_summary; &pref_category_search3; &pref_category_search_summary; &pref_category_display; + &pref_category_display_summary; &pref_category_privacy_short; + &pref_category_privacy_summary; &pref_category_vendor; + &pref_category_vendor_summary; &pref_category_datareporting; &pref_category_installed_search_engines; &pref_category_add_search_providers; @@ -139,10 +143,12 @@ &pref_search_hint; &pref_category_language; + &pref_category_language_summary; &pref_browser_locale; &locale_system_default; &pref_category_devtools; + &pref_category_devtools_summary; &pref_developer_paint_flashing; &pref_developer_remotedebugging; @@ -206,6 +212,7 @@ &pref_restore_always; &pref_restore_quit; &pref_sync; + &pref_sync_summary; &pref_search_suggestions; &pref_private_data_history2; &pref_private_data_formdata; @@ -216,6 +223,7 @@ &pref_private_data_siteSettings2; &pref_private_data_downloadFiles2; &pref_import_android; + &pref_import_android_summary; &pref_update_autodownload2; &pref_update_autodownload_wifi; &pref_update_autodownload_never;