Fix synonyms support

This commit is contained in:
Victor Shcherb 2018-06-17 16:52:54 +02:00
parent 9b26040d40
commit 785f0a5538

View file

@ -416,7 +416,14 @@ public class AppInitializer implements IProgress {
Field f = R.string.class.getField("poi_" + keyName);
if (f != null) {
Integer in = (Integer) f.get(null);
return en.getString(in);
String val = app.getString(in);
if(val != null) {
int ind = val.indexOf(';');
if(ind > 0) {
return val.substring(0, ind);
}
}
return val;
}
} catch (Exception e) {
}