diff --git a/OsmAnd/res/values-cs/strings.xml b/OsmAnd/res/values-cs/strings.xml index 5a16c54217..9c9ab76464 100644 --- a/OsmAnd/res/values-cs/strings.xml +++ b/OsmAnd/res/values-cs/strings.xml @@ -847,8 +847,8 @@ POI nelze aktualizovat při malém zvětšení Aktualizovat POI Opravdu chcete aktualizovat lokální data z internetu? - Město: {0} - Ulice: {0}, {1} + Město:\n {0} + Ulice:\n {0}, {1} Křižovatka ulic: {0} x {1} v {2} Budova: {0}, {1}, {2} Oblíbené diff --git a/OsmAnd/res/values-de/strings.xml b/OsmAnd/res/values-de/strings.xml index bd43e07aa0..62c1256ae1 100644 --- a/OsmAnd/res/values-de/strings.xml +++ b/OsmAnd/res/values-de/strings.xml @@ -631,8 +631,8 @@ Update von POI ist für kleine Zoomeinstellungen nicht verfügbar POI aktualisieren Wollen Sie die Daten via Internet aktualisieren? - Ort: {0} - Straße: {0}, {1} + Ort:\n {0} + Straße:\n {0}, {1} Querstraße: {0} x {1} in {2} Hausnr.: {0}, {1}, {2} Favoriten diff --git a/OsmAnd/res/values-es/strings.xml b/OsmAnd/res/values-es/strings.xml index 64f4e79988..e474b31c43 100644 --- a/OsmAnd/res/values-es/strings.xml +++ b/OsmAnd/res/values-es/strings.xml @@ -632,8 +632,8 @@ No se puede actualizar POIs para niveles de zoom pequeños Actualizar POI ¿Desea actualizar datos locales vía Internet? -Ciudad: {0} -Calle: {0}, {1} +Ciudad:\n {0} +Calle:\n {0}, {1} Intersección: {0} x {1} en {2} Edificio: {0}, {1}, {2} Favorito diff --git a/OsmAnd/res/values-fr/strings.xml b/OsmAnd/res/values-fr/strings.xml index 485595501c..0a1e6b54a1 100644 --- a/OsmAnd/res/values-fr/strings.xml +++ b/OsmAnd/res/values-fr/strings.xml @@ -594,8 +594,8 @@ Mise à jour de PI n\'est pas disponible pour un petit niveau de zoom Points d\'Intérêts Sélectionnez les données que vous voulez mettre à jour depuis internet -Ville : {0} -Rue : {0}, {1} +Ville:\n {0} +Rue:\n {0}, {1} Intersections : {0} x {1} dans {2} Édifice : {0}, {1}, {2} Favoris diff --git a/OsmAnd/res/values-hu/strings.xml b/OsmAnd/res/values-hu/strings.xml index aec0b1958d..a9c1a5e4d5 100644 --- a/OsmAnd/res/values-hu/strings.xml +++ b/OsmAnd/res/values-hu/strings.xml @@ -708,8 +708,8 @@ Nem lehet a POI-kat frissíteni kis nagyítás mellett POI-k frissítése Biztos, hogy a helyi adatokat internetről frissíti? - Település: {0} - Utca: {0}, {1} + Település:\n {0} + Utca:\n {0}, {1} Kereszteződés: {0} és {1}, {2} Épület: {0}, {1}, {2} Kedvenc diff --git a/OsmAnd/res/values-it/strings.xml b/OsmAnd/res/values-it/strings.xml index 0af81a4b3b..4d884963cd 100644 --- a/OsmAnd/res/values-it/strings.xml +++ b/OsmAnd/res/values-it/strings.xml @@ -613,8 +613,8 @@ L\'aggiornamento PDI non è disponibile a questo zoom Aggiornare PDI Siete sicuri di aggiornare i dati locali via internet? - Città: {0} - Strada: {0}, {1} + Città:\n {0} + Strada:\n {0}, {1} Incrocio: {0} x {1} in {2} Naviga verso lat = {0}, lon = {1} Preferito diff --git a/OsmAnd/res/values-jp/strings.xml b/OsmAnd/res/values-jp/strings.xml index f974bbb3c4..dc6b79cf4f 100644 --- a/OsmAnd/res/values-jp/strings.xml +++ b/OsmAnd/res/values-jp/strings.xml @@ -490,8 +490,8 @@ POIの更新は利用できません POIを更新 インターネット経由で ローカルデータを更新しますか? - 市町村: {0} - 町名: {0}, {1} + 市町村:\n {0} + 町名:\n {0}, {1} 交差点: {0} x {1} in {2} 建物: {0}, {1}, {2} diff --git a/OsmAnd/res/values-nl/strings.xml b/OsmAnd/res/values-nl/strings.xml index f3e45cb60a..c6db0101ad 100644 --- a/OsmAnd/res/values-nl/strings.xml +++ b/OsmAnd/res/values-nl/strings.xml @@ -619,8 +619,8 @@ Het vernieuwen van interessepunten is niet beschikbaar bij lage zoomniveaus Actualisatie interessepunt Locale gegevens via Internet actualiseren? - Stad: {0} - Straat: {0}, {1} + Stad:\n {0} + Straat:\n {0}, {1} Kruispunt: {0} x {1} in {2} Gebouw: {0}, {1}, {2} Favoriet diff --git a/OsmAnd/res/values-pl/strings.xml b/OsmAnd/res/values-pl/strings.xml index 545c48d288..5bdc641021 100644 --- a/OsmAnd/res/values-pl/strings.xml +++ b/OsmAnd/res/values-pl/strings.xml @@ -534,8 +534,8 @@ Updating POIs is not available for small zoom levels Uaktualnij POI Zaktualizować dane lokalne przez Internet? -Miejscowość: {0} -Ulica: {0}, {1} +Miejscowość:\n {0} +Ulica:\n {0}, {1} Przecięcie: {0} x {1} in {2} Budynek: {0}, {1}, {2} Ulubione diff --git a/OsmAnd/res/values-pt/strings.xml b/OsmAnd/res/values-pt/strings.xml index 4fa1dedf1c..3e23ead01e 100644 --- a/OsmAnd/res/values-pt/strings.xml +++ b/OsmAnd/res/values-pt/strings.xml @@ -219,8 +219,8 @@ Atualização dos POI não está disponível para níveis de zoom pequenos Atualizar POIs Atualizar dados locais via Internet? - Cidade : {0} - Rua : {0}, {1} + Cidade:\n {0} + Rua:\n {0}, {1} Interseção : {0} x {1} dans {2} Edifício : {0}, {1}, {2} Favoritos diff --git a/OsmAnd/res/values-ru/strings.xml b/OsmAnd/res/values-ru/strings.xml index 114794d0dd..637711f59d 100644 --- a/OsmAnd/res/values-ru/strings.xml +++ b/OsmAnd/res/values-ru/strings.xml @@ -543,8 +543,8 @@ Обновление POI не доступно для такой большой области Обновить POI Вы действительно хотите обновить локальные данные, загрузив их из Интернета? - Город : {0} - Улица : {0}, {1} + Город:\n {0} + Улица:\n {0}, {1} Пересечение улиц : {0} x {1} в {2} Здание : {0}, {1}, {2} Избранное diff --git a/OsmAnd/res/values-sk/strings.xml b/OsmAnd/res/values-sk/strings.xml index 9548ba847a..3c418a5385 100644 --- a/OsmAnd/res/values-sk/strings.xml +++ b/OsmAnd/res/values-sk/strings.xml @@ -661,8 +661,8 @@ Aktualizácia POI nie je dostupná pre nízke úrovne priblíženia Aktualizovať POI Naozaj chcete aktualizovať lokálne údaje z internetu? -Mesto: {0} -Ulica: {0}, {1} +Mesto:\n {0} +Ulica:\n {0}, {1} Pretínajúce ulice: {0} x {1} v {2} Adresa: {0}, {1}, {2} Obľúbené diff --git a/OsmAnd/res/values-vi/strings.xml b/OsmAnd/res/values-vi/strings.xml index ce1d7f98d9..e0d24d9f41 100644 --- a/OsmAnd/res/values-vi/strings.xml +++ b/OsmAnd/res/values-vi/strings.xml @@ -530,8 +530,8 @@ Translator: Le Viet Thanh; email: lethanhx2k@gmail.com --> Updating POIs is not available for small zoom levels Cập nhật POI Cập nhật dữ liệu qua Internet? - Thành phố: {0} - Đường phố: {0}, {1} + Thành phố:\n {0} + Đường phố:\n {0}, {1} Điểm giao cắt: {0} x {1} in {2} Tòa nhà: {0}, {1}, {2} Ưa thích diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 51052de036..7a3da83890 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -707,8 +707,8 @@ Updating POIs is not available for small zoom levels Update POI Update local data via Internet? - City: {0} - Street: {0}, {1} + City:\n {0} + Street:\n {0}, {1} Intersection: {0} x {1} in {2} Building: {0}, {1}, {2} Favorite diff --git a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java index a54a9908fb..ad87c57144 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java @@ -232,7 +232,7 @@ public class FavouritesActivity extends OsmandExpandableListActivity { OsmandSettings settings = OsmandApplication.getSettings(); settings.SHOW_FAVORITES.set(true); settings.setMapLocationToShow(point.getLatitude(), point.getLongitude(), - Math.max(12, settings.getLastKnownMapZoom()), null, getString(R.string.favorite)+" : " + point.getName(), point); + Math.max(12, settings.getLastKnownMapZoom()), null, getString(R.string.favorite)+":\n " + point.getName(), point); MapActivity.launchMapActivityMoveToTop(FavouritesActivity.this); } return true; @@ -248,7 +248,7 @@ public class FavouritesActivity extends OsmandExpandableListActivity { OsmandSettings settings = OsmandApplication.getSettings(); settings.SHOW_FAVORITES.set(true); settings.setMapLocationToShow(point.getLatitude(), point.getLongitude(), - Math.max(12, settings.getLastKnownMapZoom()), null, getString(R.string.favorite)+" : " + point.getName(), point); + Math.max(12, settings.getLastKnownMapZoom()), null, getString(R.string.favorite)+":\n " + point.getName(), point); MapActivity.launchMapActivityMoveToTop(this); } else if (aItem.getItemId() == NAVIGATE_TO) { OsmandApplication.getSettings().setPointToNavigate(point.getLatitude(), point.getLongitude(), getString(R.string.favorite)+" : " + point.getName()); diff --git a/OsmAnd/src/net/osmand/plus/activities/FavouritesListActivity.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesListActivity.java index bee6d1ea85..44928f4968 100644 --- a/OsmAnd/src/net/osmand/plus/activities/FavouritesListActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesListActivity.java @@ -129,7 +129,7 @@ public class FavouritesListActivity extends ListActivity implements SearchActivi if (which == 0) { OsmandSettings settings = OsmandApplication.getSettings(); settings.setMapLocationToShow(entry.getLatitude(), entry.getLongitude(), settings.getLastKnownMapZoom(), - null, getString(R.string.favorite)+" : " + entry.getName(), entry); //$NON-NLS-1$ + null, getString(R.string.favorite)+":\n " + entry.getName(), entry); //$NON-NLS-1$ } else if (which == 1) { OsmandApplication.getSettings().setPointToNavigate(entry.getLatitude(), entry.getLongitude(), getString(R.string.favorite) + " : " + entry.getName()); @@ -150,7 +150,7 @@ public class FavouritesListActivity extends ListActivity implements SearchActivi FavouritePoint point = favouritesAdapter.getItem(position); settings.SHOW_FAVORITES.set(true); settings.setMapLocationToShow(point.getLatitude(), point.getLongitude(), settings.getLastKnownMapZoom(), null, - getString(R.string.favorite) + " : " + point.getName(), point); //$NON-NLS-1$ + getString(R.string.favorite) + ": \n " + point.getName(), point); //$NON-NLS-1$ MapActivity.launchMapActivityMoveToTop(FavouritesListActivity.this); } else { Intent intent = getIntent(); diff --git a/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java b/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java index 131911359c..4051bd6f93 100644 --- a/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java @@ -89,7 +89,7 @@ public class ContextMenuLayer extends OsmandMapLayer { textView = new TextView(view.getContext()); LayoutParams lp = new LayoutParams(BASE_TEXT_SIZE, LayoutParams.WRAP_CONTENT); textView.setLayoutParams(lp); - textView.setTextSize(15); + textView.setTextSize(15 * dm.scaledDensity); textView.setTextColor(Color.argb(255, 0, 0, 0)); textView.setMinLines(1); // textView.setMaxLines(15);