Merge "Using different strings for language/region picker" into tm-qpr-dev
This commit is contained in:
@@ -207,7 +207,11 @@ public class SuggestedLocaleAdapter extends BaseAdapter implements Filterable {
|
||||
case TYPE_HEADER_ALL_OTHERS:
|
||||
TextView textView = (TextView) itemView;
|
||||
if (itemType == TYPE_HEADER_SUGGESTED) {
|
||||
setTextTo(textView, R.string.language_picker_section_suggested);
|
||||
if (mCountryMode) {
|
||||
setTextTo(textView, R.string.language_picker_regions_section_suggested);
|
||||
} else {
|
||||
setTextTo(textView, R.string.language_picker_section_suggested);
|
||||
}
|
||||
} else {
|
||||
if (mCountryMode) {
|
||||
setTextTo(textView, R.string.region_picker_section_all);
|
||||
|
||||
@@ -5429,8 +5429,10 @@
|
||||
<!-- Hint text in a search edit box (used to filter long language / country lists) [CHAR LIMIT=25] -->
|
||||
<string name="search_language_hint">Type language name</string>
|
||||
|
||||
<!-- List section subheader for the language picker, containing a list of suggested languages determined by the default region [CHAR LIMIT=30] -->
|
||||
<!-- List section subheader for the language picker, containing a list of suggested languages [CHAR LIMIT=30] -->
|
||||
<string name="language_picker_section_suggested">Suggested</string>
|
||||
<!-- "List section subheader for the language picker, containing a list of suggested regions available for that language [CHAR LIMIT=30] -->
|
||||
<string name="language_picker_regions_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.
|
||||
|
||||
@@ -3135,6 +3135,7 @@
|
||||
<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_picker_regions_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