Change string in fav bottom context menu view
This commit is contained in:
parent
27e21d8f68
commit
62bbf68ed4
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@
|
|||
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
||||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||
-->
|
||||
<string name="context_menu_points_of_group">All points of group</string>
|
||||
<string name="opened_from">Opened from</string>
|
||||
<string name="opened_till">Opened till</string>
|
||||
<string name="will_be_closed_at">Will be closed at</string>
|
||||
|
|
|
@ -72,7 +72,7 @@ public class FavouritePointMenuBuilder extends MenuBuilder {
|
|||
int color = favoriteGroup.color == 0 || favoriteGroup.color == Color.BLACK ? view.getResources().getColor(R.color.color_favorite) : favoriteGroup.color;
|
||||
int disabledColor = light ? R.color.secondary_text_light : R.color.secondary_text_dark;
|
||||
color = favoriteGroup.visible ? (color | 0xff000000) : view.getResources().getColor(disabledColor);
|
||||
String name = Algorithms.isEmpty(favoriteGroup.name) ? view.getResources().getString(R.string.shared_string_favorites) : favoriteGroup.name;
|
||||
String name = view.getContext().getString(R.string.context_menu_points_of_group);
|
||||
buildRow(view, app.getIconsCache().getPaintedIcon(R.drawable.ic_action_folder, color), name, 0,
|
||||
true, getCollapsableItemsView(view.getContext(), true, groupFavs, fav),
|
||||
false, 0, false, null);
|
||||
|
|
Loading…
Reference in a new issue