Translate renderer name in menu item description
This commit is contained in:
parent
4858bbb269
commit
48f66065e4
1 changed files with 2 additions and 1 deletions
|
@ -1135,7 +1135,8 @@ public class ConfigureMapMenu {
|
||||||
if (storage == null) {
|
if (storage == null) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return storage.getName();
|
String translation = RendererRegistry.getTranslatedRendererName(activity, storage.getName());
|
||||||
|
return translation == null ? storage.getName() : translation;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String getDayNightDescr(final MapActivity activity) {
|
protected String getDayNightDescr(final MapActivity activity) {
|
||||||
|
|
Loading…
Reference in a new issue