Fix poi additional

This commit is contained in:
Victor Shcherb 2015-04-14 21:43:10 +03:00
parent a635717643
commit 9bbc7b0333

View file

@ -251,7 +251,7 @@ public class AppInitializer implements IProgress {
@Override @Override
public String getTranslation(AbstractPoiType type) { public String getTranslation(AbstractPoiType type) {
try { try {
Field f = R.string.class.getField("poi_" + type.getKeyName()); Field f = R.string.class.getField("poi_" + type.getIconKeyName());
if (f != null) { if (f != null) {
Integer in = (Integer) f.get(null); Integer in = (Integer) f.get(null);
return app.getString(in); return app.getString(in);