Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8086d153 authored by Yanting Yang's avatar Yanting Yang
Browse files

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
parent 0c605c80
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }