Update OsmandApplication.java

This commit is contained in:
vshcherb 2015-11-09 17:09:08 +01:00
parent 43372e70cc
commit 9ac55fa12b

View file

@ -717,7 +717,7 @@ public class OsmandApplication extends Application {
public String getLangTranslation(String l) { public String getLangTranslation(String l) {
try { try {
Field f = R.string.class.getField("lang_"+l); java.lang.reflect.Field f = R.string.class.getField("lang_"+l);
if (f != null) { if (f != null) {
Integer in = (Integer) f.get(null); Integer in = (Integer) f.get(null);
return getString(in); return getString(in);