File tree 2 files changed +4
-2
lines changed
java/fr/free/nrw/commons/explore
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ public void setTabs() {
93
93
searchImageFragment = new SearchImageFragment ();
94
94
searchCategoryFragment = new SearchCategoryFragment ();
95
95
fragmentList .add (searchImageFragment );
96
- titleList .add ("MEDIA" );
96
+ titleList .add (getResources (). getString ( R . string . search_tab_title_media ) );
97
97
fragmentList .add (searchCategoryFragment );
98
- titleList .add ("CATEGORIES" );
98
+ titleList .add (getResources (). getString ( R . string . search_tab_title_categories ) );
99
99
100
100
viewPagerAdapter .setTabData (fragmentList , titleList );
101
101
viewPagerAdapter .notifyDataSetChanged ();
Original file line number Diff line number Diff line change 312
312
<string name =" provider_searches" >Recently searched queries</string >
313
313
<string name =" error_loading_categories" >Error occurred while loading categories.</string >
314
314
<string name =" error_loading_subcategories" >Error occurred while loading subcategories.</string >
315
+ <string name =" search_tab_title_media" >MEDIA</string >
316
+ <string name =" search_tab_title_categories" >CATEGORIES</string >
315
317
316
318
<string name =" successful_wikidata_edit" >Image successfully added to %1$s on Wikidata!</string >
317
319
<string name =" wikidata_edit_failure" >Failed to update corresponding Wikidata entity!</string >
You can’t perform that action at this time.
0 commit comments