Loading res/values/strings.xml +1 −1 Original line number Diff line number Diff line Loading @@ -519,7 +519,7 @@ <string name="preference_of_system_locale_title">System language</string> <!-- Summary for preference of the system default locale. [CHAR LIMIT=50]--> <string name="preference_of_system_locale_summary">System default - <xliff:g id="default_language" example="English (United States)">%1$s</xliff:g></string> <string name="preference_of_system_locale_summary">System default</string> <!-- Description for the app without any supported languages. [CHAR LIMIT=NONE]--> <string name="desc_no_available_supported_locale">Language selection for this app isn\u2019t available from Settings.</string> src/com/android/settings/applications/appinfo/AppLocaleDetails.java +1 −3 Original line number Diff line number Diff line Loading @@ -276,9 +276,7 @@ public class AppLocaleDetails extends SettingsPreferenceFragment { final Context contextAsUser = context.createContextAsUser(userHandle, 0); Locale appLocale = getAppDefaultLocale(contextAsUser, entry.info.packageName); if (appLocale == null) { Locale systemLocale = Locale.getDefault(); return context.getString(R.string.preference_of_system_locale_summary, systemLocale.getDisplayName(systemLocale)); return context.getString(R.string.preference_of_system_locale_summary); } else { return appLocale.getDisplayName(appLocale); } Loading Loading
res/values/strings.xml +1 −1 Original line number Diff line number Diff line Loading @@ -519,7 +519,7 @@ <string name="preference_of_system_locale_title">System language</string> <!-- Summary for preference of the system default locale. [CHAR LIMIT=50]--> <string name="preference_of_system_locale_summary">System default - <xliff:g id="default_language" example="English (United States)">%1$s</xliff:g></string> <string name="preference_of_system_locale_summary">System default</string> <!-- Description for the app without any supported languages. [CHAR LIMIT=NONE]--> <string name="desc_no_available_supported_locale">Language selection for this app isn\u2019t available from Settings.</string>
src/com/android/settings/applications/appinfo/AppLocaleDetails.java +1 −3 Original line number Diff line number Diff line Loading @@ -276,9 +276,7 @@ public class AppLocaleDetails extends SettingsPreferenceFragment { final Context contextAsUser = context.createContextAsUser(userHandle, 0); Locale appLocale = getAppDefaultLocale(contextAsUser, entry.info.packageName); if (appLocale == null) { Locale systemLocale = Locale.getDefault(); return context.getString(R.string.preference_of_system_locale_summary, systemLocale.getDisplayName(systemLocale)); return context.getString(R.string.preference_of_system_locale_summary); } else { return appLocale.getDisplayName(appLocale); } Loading