Update exceptions langs for basemap names transliteration

This commit is contained in:
xmd5a 2017-04-03 15:32:24 +03:00
parent baac3d5e8e
commit 36f4e57f6a
2 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,7 @@
<string name="do_not_send_anonymous_app_usage">Не отсылать анонимную статистику использования</string>
<string name="driving_region_automatic">Авто</string>
<string name="right_side_navigation">Правосторонняя навигация</string>
<string name="shared_string_visible">Видимый</string>
<string name="shared_string_visible">Видимые</string>
<string name="restore_purchases">Восстановить покупки</string>
<string name="fonts_header">Доп.шрифты для карты</string>
<string name="analyze_on_map">Посмотреть на карте</string>

View file

@ -728,7 +728,8 @@ public class MapRenderRepositories {
if(requestedBox.getZoom() <= zoomOnlyForBasemaps &&
"".equals(prefs.MAP_PREFERRED_LOCALE.get())) {
currentRenderingContext.preferredLocale = app.getLanguage();
currentRenderingContext.transliterate = !"ru".equals(app.getLanguage()) && !"uk".equals(app.getLanguage());
currentRenderingContext.transliterate = !"ru".equals(app.getLanguage()) && !"uk".equals(app.getLanguage()) && !"be".equals(app.getLanguage())
&& !"bg".equals(app.getLanguage()) && !"mk".equals(app.getLanguage()) && !"sr".equals(app.getLanguage());
} else {
currentRenderingContext.preferredLocale = prefs.MAP_PREFERRED_LOCALE.get();
currentRenderingContext.transliterate = prefs.MAP_TRANSLITERATE_NAMES.get();