Underlay, overlay naming fix

This commit is contained in:
androiddevkotlin 2021-04-01 22:00:04 +03:00
parent bf6d5f0b83
commit b9e886ef64
2 changed files with 2 additions and 2 deletions

View file

@ -230,6 +230,6 @@ public class MapOverlayAction extends SwitchableAction<Pair<String, String>> {
String currentSource = application.getSettings().MAP_OVERLAY.get() == null ? KEY_NO_OVERLAY
: 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));
}
}

View file

@ -232,6 +232,6 @@ public class MapUnderlayAction extends SwitchableAction<Pair<String, String>> {
String currentSource = application.getSettings().MAP_UNDERLAY.get() == null ? KEY_NO_UNDERLAY
: 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));
}
}