Translate renderer name in menu item description

This commit is contained in:
Alexander Sytnyk 2018-02-05 16:44:38 +02:00
parent 4858bbb269
commit 48f66065e4

View file

@ -1135,7 +1135,8 @@ public class ConfigureMapMenu {
if (storage == null) {
return "";
}
return storage.getName();
String translation = RendererRegistry.getTranslatedRendererName(activity, storage.getName());
return translation == null ? storage.getName() : translation;
}
protected String getDayNightDescr(final MapActivity activity) {