refactor string id
This commit is contained in:
parent
3c39206fe1
commit
4e236a7d0c
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
||||||
Our app defaults to American English with default strings in res/values
|
Our app defaults to American English with default strings in res/values
|
||||||
This file is manually maintained in res/values-en-rGB and should ONLY contain strings where a different spelling should be used for English as used in the United Kingdom
|
This file is manually maintained in res/values-en-rGB and should ONLY contain strings where a different spelling should be used for English as used in the United Kingdom
|
||||||
-->
|
-->
|
||||||
<string name="shared_string_add_edit">Add / Edit Favourite</string>
|
<string name="add_edit_favorite">Add / Edit Favourite</string>
|
||||||
<string name="favorites_item">Favourites</string>
|
<string name="favorites_item">Favourites</string>
|
||||||
<string name="slope_description">Slope uses colours to visualise terrain steepness.</string>
|
<string name="slope_description">Slope uses colours to visualise terrain steepness.</string>
|
||||||
<string name="search_street_in_neighborhood_cities">Search for street in neighbourhood cities</string>
|
<string name="search_street_in_neighborhood_cities">Search for street in neighbourhood cities</string>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
-->
|
-->
|
||||||
<string name="back_to_editing">Back to editing</string>
|
<string name="back_to_editing">Back to editing</string>
|
||||||
<string name="reset_deafult_order">Restore default items order</string>
|
<string name="reset_deafult_order">Restore default items order</string>
|
||||||
<string name="shared_string_add_edit">Add / Edit Favorite</string>
|
<string name="add_edit_favorite">Add / Edit Favorite</string>
|
||||||
<string name="parking_positions">Parking positions</string>
|
<string name="parking_positions">Parking positions</string>
|
||||||
<string name="create_edit_poi">Create/Edit POI</string>
|
<string name="create_edit_poi">Create/Edit POI</string>
|
||||||
<string name="quick_action_transport_descr">A button to show or hide public transport on the map.</string>
|
<string name="quick_action_transport_descr">A button to show or hide public transport on the map.</string>
|
||||||
|
|
|
@ -218,7 +218,7 @@ public class RearrangeMenuItemsAdapter extends RecyclerView.Adapter<RecyclerView
|
||||||
h.title.setText(R.string.create_edit_poi);
|
h.title.setText(R.string.create_edit_poi);
|
||||||
}
|
}
|
||||||
if (id.equals(MAP_CONTEXT_MENU_ADD_ID)) {
|
if (id.equals(MAP_CONTEXT_MENU_ADD_ID)) {
|
||||||
h.title.setText(R.string.shared_string_add_edit);
|
h.title.setText(R.string.add_edit_favorite);
|
||||||
}
|
}
|
||||||
} else if (holder instanceof HeaderHolder) {
|
} else if (holder instanceof HeaderHolder) {
|
||||||
HeaderHolder h = (HeaderHolder) holder;
|
HeaderHolder h = (HeaderHolder) holder;
|
||||||
|
|
Loading…
Reference in a new issue