From afd64fc3de727a525257c8783abe779a2cfef079 Mon Sep 17 00:00:00 2001 From: Emmanuel Dewaele Date: Sat, 11 Jul 2015 22:35:29 +0200 Subject: [PATCH] "Open OSM" may be translated This fixes the last untranslated string in issue #8 --- js/poi.js | 4 ++-- js_lang.php | 1 + lang/de_DE.php | 1 + lang/en_EN.php | 1 + lang/fr_FR.php | 1 + lang/it_IT.php | 1 + lang/ru_RU.php | 1 + lang/uk_UA.php | 1 + 8 files changed, 9 insertions(+), 2 deletions(-) diff --git a/js/poi.js b/js/poi.js index 1ad2310..6febbc4 100644 --- a/js/poi.js +++ b/js/poi.js @@ -197,9 +197,9 @@ POI.prototype.getInfoBox = function(){ content+=''; if(this.element.id[0]!='w') - content+="Open OSM"; + content+=""+lang_open_osm+""; else - content+="Open OSM"; + content+=""+lang_open_osm+""; content+=''; diff --git a/js_lang.php b/js_lang.php index 3c187d2..f38dc8e 100644 --- a/js_lang.php +++ b/js_lang.php @@ -20,6 +20,7 @@ var lang_loading=''; var lang_please_zoom_in=''; var lang_open=''; +var lang_open_osm=''; var lang_last_hour=''; var lang_close=''; var lang_nodata=''; diff --git a/lang/de_DE.php b/lang/de_DE.php index bb99b09..6fd7a32 100644 --- a/lang/de_DE.php +++ b/lang/de_DE.php @@ -348,6 +348,7 @@ define('JS_LOADING','Lade...'); define('JS_PLEASE_ZOOM_IN','Bitte hineinzoomen'); define('JS_OPEN','Offen'); +define('JS_OPEN_OSM','Open in OSM'); define('JS_LAST_HOUR','Letzte Stunde'); define('JS_CLOSE','Geschlossen'); define('JS_NO_DATA','Keine Daten'); diff --git a/lang/en_EN.php b/lang/en_EN.php index e24e879..7a0935a 100644 --- a/lang/en_EN.php +++ b/lang/en_EN.php @@ -349,6 +349,7 @@ define('JS_LOADING','Loading...'); define('JS_PLEASE_ZOOM_IN','Please zoom in'); define('JS_OPEN','Open'); +define('JS_OPEN_OSM','Open in OSM'); define('JS_LAST_HOUR','Last hour'); define('JS_CLOSE','Closed'); define('JS_NO_DATA','No data'); diff --git a/lang/fr_FR.php b/lang/fr_FR.php index f1d4ec1..e230245 100644 --- a/lang/fr_FR.php +++ b/lang/fr_FR.php @@ -349,6 +349,7 @@ define('JS_LOADING','Chargement...'); define('JS_PLEASE_ZOOM_IN','Zoomez pour voir les points d\'intérêt'); define('JS_OPEN','Ouvert'); +define('JS_OPEN_OSM','Ouvrir dans OpenStreetMap'); define('JS_LAST_HOUR','Moins d\'une heure'); define('JS_CLOSE','Fermé'); define('JS_NO_DATA','Inconnu'); diff --git a/lang/it_IT.php b/lang/it_IT.php index a3bc9e8..a7a3cbf 100644 --- a/lang/it_IT.php +++ b/lang/it_IT.php @@ -345,6 +345,7 @@ define('JS_LOADING','Loading...'); define('JS_PLEASE_ZOOM_IN','Please zoom in'); define('JS_OPEN','Open'); +define('JS_OPEN_OSM','Open in OSM'); define('JS_LAST_HOUR','Last hour'); define('JS_CLOSE','Closed'); define('JS_NO_DATA','No data'); diff --git a/lang/ru_RU.php b/lang/ru_RU.php index a56b586..251d12c 100644 --- a/lang/ru_RU.php +++ b/lang/ru_RU.php @@ -351,6 +351,7 @@ define('JS_LOADING','Идет загрузка...'); define('JS_PLEASE_ZOOM_IN','Приблизьте карту, чтобы увидеть объекты'); define('JS_OPEN','Открыто'); +define('JS_OPEN_OSM','Open in OSM'); define('JS_LAST_HOUR','Последний час'); define('JS_CLOSE','Закрыто'); define('JS_NO_DATA','Нет данных'); diff --git a/lang/uk_UA.php b/lang/uk_UA.php index 7ba1eb3..4188984 100644 --- a/lang/uk_UA.php +++ b/lang/uk_UA.php @@ -351,6 +351,7 @@ define ('JS_LOADING', 'Йде завантаження…'); define ('JS_PLEASE_ZOOM_IN', 'Наблизьте мапу, щоб побачити об’єкти'); define ('JS_OPEN', 'Відкрито'); +define('JS_OPEN_OSM','Open in OSM'); define ('JS_LAST_HOUR', 'Остання година'); define ('JS_CLOSE', 'Зачинено'); define ('JS_NO_DATA', 'Дані');