Underlay, overlay naming fix
This commit is contained in:
parent
bf6d5f0b83
commit
b9e886ef64
2 changed files with 2 additions and 2 deletions
|
@ -230,6 +230,6 @@ public class MapOverlayAction extends SwitchableAction<Pair<String, String>> {
|
||||||
String currentSource = application.getSettings().MAP_OVERLAY.get() == null ? KEY_NO_OVERLAY
|
String currentSource = application.getSettings().MAP_OVERLAY.get() == null ? KEY_NO_OVERLAY
|
||||||
: application.getSettings().MAP_OVERLAY.get();
|
: application.getSettings().MAP_OVERLAY.get();
|
||||||
|
|
||||||
return application.getString(R.string.map_quick_action_pattern, currentSource);
|
return application.getString(R.string.map_quick_action_pattern, getTranslatedItemName(application, currentSource));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -232,6 +232,6 @@ public class MapUnderlayAction extends SwitchableAction<Pair<String, String>> {
|
||||||
String currentSource = application.getSettings().MAP_UNDERLAY.get() == null ? KEY_NO_UNDERLAY
|
String currentSource = application.getSettings().MAP_UNDERLAY.get() == null ? KEY_NO_UNDERLAY
|
||||||
: application.getSettings().MAP_UNDERLAY.get();
|
: application.getSettings().MAP_UNDERLAY.get();
|
||||||
|
|
||||||
return application.getString(R.string.map_quick_action_pattern, currentSource);
|
return application.getString(R.string.map_quick_action_pattern, getTranslatedItemName(application, currentSource));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue