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

- modify the title of Language sub-settings page.
- remove the unused string id, pref_title_lang_selection.

Change-Id: I445493f6769c9888a27b72471fc9282df3655406
Fixes: 111322494
Test: manual
This commit is contained in:
Yanting Yang
2018-07-17 18:09:57 +08:00
parent 0c605c80a7
commit 8086d15347
2 changed files with 1 additions and 4 deletions

View File

@@ -588,9 +588,6 @@
<!-- Title for the locale picker activity -->
<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] -->
<string name="locale_remove_menu">Remove</string>

View File

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