Skip to content

Commit

Permalink
"Open OSM" may be translated
Browse files Browse the repository at this point in the history
This fixes the last untranslated string in issue dotevo#8
  • Loading branch information
edewaele committed Jul 11, 2015
1 parent 90516f5 commit afd64fc
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/poi.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ POI.prototype.getInfoBox = function(){

content+='</tbody></table>';
if(this.element.id[0]!='w')
content+="<a href='http://www.openstreetmap.org/node/"+this.element.id+"' target='_blank'>Open OSM</a>";
content+="<a href='http://www.openstreetmap.org/node/"+this.element.id+"' target='_blank'>"+lang_open_osm+"</a>";
else
content+="<a href='http://www.openstreetmap.org/way/"+this.element.id.substr(1)+"' target='_blank'>Open OSM</a>";
content+="<a href='http://www.openstreetmap.org/way/"+this.element.id.substr(1)+"' target='_blank'>"+lang_open_osm+"</a>";

content+='</div>';

Expand Down
1 change: 1 addition & 0 deletions js_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
var lang_loading='<?php echo addslashes(JS_LOADING);?>';
var lang_please_zoom_in='<?php echo addslashes(JS_PLEASE_ZOOM_IN);?>';
var lang_open='<?php echo addslashes(JS_OPEN);?>';
var lang_open_osm='<?php echo addslashes(JS_OPEN_OSM);?>';
var lang_last_hour='<?php echo addslashes(JS_LAST_HOUR);?>';
var lang_close='<?php echo addslashes(JS_CLOSE);?>';
var lang_nodata='<?php echo addslashes(JS_NO_DATA);?>';
Expand Down
1 change: 1 addition & 0 deletions lang/de_DE.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 1 addition & 0 deletions lang/en_EN.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 1 addition & 0 deletions lang/fr_FR.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 1 addition & 0 deletions lang/it_IT.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
1 change: 1 addition & 0 deletions lang/ru_RU.php
Original file line number Diff line number Diff line change
Expand Up @@ -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','Нет данных');
Expand Down
1 change: 1 addition & 0 deletions lang/uk_UA.php
Original file line number Diff line number Diff line change
Expand Up @@ -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', 'Дані');
Expand Down

0 comments on commit afd64fc

Please sign in to comment.