Update ConfigureMapMenu.java

This commit is contained in:
vshcherb 2015-11-09 17:09:41 +01:00
parent 9ac55fa12b
commit 3eaf591d56

View file

@ -413,7 +413,7 @@ public class ConfigureMapMenu {
String[] translates = new String[mapNamesIds.length]; String[] translates = new String[mapNamesIds.length];
translates[0] = ctx.getString(R.string.local_map_names); translates[0] = ctx.getString(R.string.local_map_names);
for(int i = 1; i < translates.length; i++) { for(int i = 1; i < translates.length; i++) {
translates[i] = ((OsmandApplication)ctx.getApplication()).getLangTranslation(mapNamesIds[i]); translates[i] = ((OsmandApplication)ctx.getApplicationContext()).getLangTranslation(mapNamesIds[i]);
} }
return translates; return translates;