Merge pull request #10906 from osmandapp/7891
Allow to disable en transliteration
This commit is contained in:
commit
b7dd8dca05
1 changed files with 1 additions and 2 deletions
|
@ -183,8 +183,7 @@ public abstract class MapObject implements Comparable<MapObject> {
|
||||||
public String getName(String lang, boolean transliterate) {
|
public String getName(String lang, boolean transliterate) {
|
||||||
if (lang != null && lang.length() > 0) {
|
if (lang != null && lang.length() > 0) {
|
||||||
if (lang.equals("en")) {
|
if (lang.equals("en")) {
|
||||||
// ignore transliterate option here for backward compatibility
|
return getEnName(transliterate);
|
||||||
return getEnName(true);
|
|
||||||
} else {
|
} else {
|
||||||
// get name
|
// get name
|
||||||
if (names != null) {
|
if (names != null) {
|
||||||
|
|
Loading…
Reference in a new issue