Merge "Fix the title mismatch bug of Languages sub-settings page."

This commit is contained in:
TreeHugger Robot
2018-07-17 22:00:15 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 4 deletions

View File

@@ -588,9 +588,6 @@
<!-- Title for the locale picker activity --> <!-- Title for the locale picker activity -->
<string name="language_picker_title">Languages</string> <string name="language_picker_title">Languages</string>
<!-- Title for the language selection screen [CHAR LIMIT=25] -->
<string name="pref_title_lang_selection">Language preferences</string>
<!-- Menu item in the locale menu. Will remove the selected locales. [CHAR LIMIT=30] --> <!-- Menu item in the locale menu. Will remove the selected locales. [CHAR LIMIT=30] -->
<string name="locale_remove_menu">Remove</string> <string name="locale_remove_menu">Remove</string>

View File

@@ -75,7 +75,7 @@ public class PhoneLanguagePreferenceController extends AbstractPreferenceControl
new SubSettingLauncher(mContext) new SubSettingLauncher(mContext)
.setDestination(LocaleListEditor.class.getName()) .setDestination(LocaleListEditor.class.getName())
.setSourceMetricsCategory(MetricsProto.MetricsEvent.SETTINGS_LANGUAGE_CATEGORY) .setSourceMetricsCategory(MetricsProto.MetricsEvent.SETTINGS_LANGUAGE_CATEGORY)
.setTitleRes(R.string.pref_title_lang_selection) .setTitleRes(R.string.language_picker_title)
.launch(); .launch();
return true; return true;
} }