Changed the header of the region selection list to "All regions"
Bug: 31257462 Change-Id: I3112b5700e23674d2c48c7ca96a2f1a17a5f15db
This commit is contained in:
@@ -145,7 +145,11 @@ public class SuggestedLocaleAdapter extends BaseAdapter implements Filterable {
|
||||
if (itemType == TYPE_HEADER_SUGGESTED) {
|
||||
textView.setText(R.string.language_picker_section_suggested);
|
||||
} else {
|
||||
textView.setText(R.string.language_picker_section_all);
|
||||
if (mCountryMode) {
|
||||
textView.setText(R.string.region_picker_section_all);
|
||||
} else {
|
||||
textView.setText(R.string.language_picker_section_all);
|
||||
}
|
||||
}
|
||||
textView.setTextLocale(Locale.getDefault());
|
||||
break;
|
||||
|
||||
@@ -4357,6 +4357,9 @@
|
||||
<string name="language_picker_section_suggested">Suggested</string>
|
||||
<!-- List section subheader for the language picker, containing a list of all languages available [CHAR LIMIT=30] -->
|
||||
<string name="language_picker_section_all">All languages</string>
|
||||
<!-- List section subheader for the region picker, containing a list of all regions supported for the selected language.
|
||||
Warning: this is a more 'neutral' term for 'country', not for the sub-divisions of a country. [CHAR LIMIT=30] -->
|
||||
<string name="region_picker_section_all">All regions</string>
|
||||
|
||||
<!-- Menu item in the locale menu [CHAR LIMIT=30] -->
|
||||
<string name="locale_search_menu">Search</string>
|
||||
|
||||
@@ -2506,6 +2506,7 @@
|
||||
<java-symbol type="menu" name="language_selection_list" />
|
||||
<java-symbol type="string" name="country_selection_title" />
|
||||
<java-symbol type="string" name="language_picker_section_all" />
|
||||
<java-symbol type="string" name="region_picker_section_all" />
|
||||
<java-symbol type="string" name="language_picker_section_suggested" />
|
||||
<java-symbol type="string" name="language_selection_title" />
|
||||
<java-symbol type="string" name="search_language_hint" />
|
||||
|
||||
Reference in New Issue
Block a user