Translate renderer name in menu item description
This commit is contained in:
parent
f027adf0eb
commit
fd26d9d58d
1 changed files with 2 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue