Fix synonyms support
This commit is contained in:
parent
9b26040d40
commit
785f0a5538
1 changed files with 8 additions and 1 deletions
|
@ -416,7 +416,14 @@ public class AppInitializer implements IProgress {
|
||||||
Field f = R.string.class.getField("poi_" + keyName);
|
Field f = R.string.class.getField("poi_" + keyName);
|
||||||
if (f != null) {
|
if (f != null) {
|
||||||
Integer in = (Integer) f.get(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) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue