Update OsmandApplication.java
This commit is contained in:
parent
43372e70cc
commit
9ac55fa12b
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ public class OsmandApplication extends Application {
|
|||
|
||||
public String getLangTranslation(String l) {
|
||||
try {
|
||||
Field f = R.string.class.getField("lang_"+l);
|
||||
java.lang.reflect.Field f = R.string.class.getField("lang_"+l);
|
||||
if (f != null) {
|
||||
Integer in = (Integer) f.get(null);
|
||||
return getString(in);
|
||||
|
|
Loading…
Reference in a new issue