inspector translation

This commit is contained in:
John Firebaugh
2013-02-12 20:02:35 -08:00
parent 8882023e5b
commit 6d3d00e78d
9 changed files with 38 additions and 23 deletions
+22 -15
View File
@@ -27,15 +27,19 @@ iD.ui.Inspector = function() {
tagList = inspectorwrap.append('ul');
var newTag = inspectorwrap.append('button')
.attr('class', 'add-tag');
.attr('class', 'add-tag');
newTag.on('click', function() {
addTag();
focusNewKey();
});
newTag.on('click', function () {
addTag();
focusNewKey();
});
newTag.append('span').attr('class', 'icon icon-pre-text plus');
newTag.append('span').attr('class','label').text(t('inspector.new_tag'));
newTag.append('span')
.attr('class', 'icon icon-pre-text plus');
newTag.append('span')
.attr('class', 'label')
.text(t('inspector.new_tag'));
drawTags(entity.tags);
@@ -62,17 +66,20 @@ iD.ui.Inspector = function() {
var entity = selection.datum();
var inspectorButton = selection.append('button')
.attr('class', 'apply action')
.on('click', apply);
.attr('class', 'apply action')
.on('click', apply);
inspectorButton.append('span').attr('class','label').text(t('inspector.okay'));
inspectorButton.append('span')
.attr('class','label')
.text(t('inspector.okay'));
var minorButtons = selection.append('div').attr('class','minor-buttons fl');
var minorButtons = selection.append('div')
.attr('class','minor-buttons fl');
minorButtons.append('a')
.attr('href', 'http://www.openstreetmap.org/browse/' + entity.type + '/' + entity.osmId())
.attr('target', '_blank')
.text('View on OSM');
minorButtons.append('a')
.attr('href', 'http://www.openstreetmap.org/browse/' + entity.type + '/' + entity.osmId())
.attr('target', '_blank')
.text(t('inspector.view_on_osm'));
}
function drawTags(tags) {
+2 -1
View File
@@ -178,7 +178,8 @@ locale.da = {
no_documentation_key: "Der er ingen dokumenation tilgængelig for denne nøgle",
new_tag: "Nyt Tag",
edit_tags: "Ret tags",
okay: "Ok"
okay: "Ok",
view_on_osm: "View on OSM"
},
save: {
+2 -1
View File
@@ -170,7 +170,8 @@ locale.de = {
no_documentation_key: "Für dises Schlüsselwort ist keine Dokumentation verfügbar",
new_tag: "Neues Attribut",
edit_tags: "Attribute bearbeiten",
okay: "OK"
okay: "OK",
view_on_osm: "View on OSM"
},
layerswitcher: {
+2 -1
View File
@@ -170,7 +170,8 @@ locale.en = {
no_documentation_key: "There is no documentation available for this key",
new_tag: "New Tag",
edit_tags: "Edit tags",
okay: "Okay"
okay: "Okay",
view_on_osm: "View on OSM"
},
layerswitcher: {
+2 -1
View File
@@ -170,7 +170,8 @@ locale.es = {
no_documentation_key: "No hay documentación disponible para esta tecla", //"This is no documentation available for this key",
new_tag: "Nueve etiqueta", //"New Tag"
edit_tags: "Editar etiquetas", //"Edit tags",
okay: "OK" //"Okay",
okay: "OK",
view_on_osm: "View on OSM"
},
layerswitcher: {
+2 -1
View File
@@ -170,7 +170,8 @@ locale.fr = {
no_documentation_key: "Aucune documentation n'est disponible pour cette clé",
new_tag: "Nouveau tag",
edit_tags: "Editer les tags",
okay: "Okay"
okay: "Okay",
view_on_osm: "View on OSM"
},
layerswitcher: {
+2 -1
View File
@@ -170,7 +170,8 @@ locale.ja = {
no_documentation_key: "このキーに対する説明文はありません",
new_tag: "新規タグ",
edit_tags: "タグを編集",
okay: "OK"
okay: "OK",
view_on_osm: "View on OSM"
},
layerswitcher: {
+2 -1
View File
@@ -170,7 +170,8 @@ locale.lv = {
no_documentation_key: "There is no documentation available for this key",
new_tag: "Jauns apzīmējums",
edit_tags: "Rediģēt apzīmējumus",
okay: "Labi"
okay: "Labi",
view_on_osm: "View on OSM"
},
layerswitcher: {
+2 -1
View File
@@ -170,7 +170,8 @@ locale.tr = {
no_documentation_key: "Bu anahtar için dökümantasyon bulunmamaktadır.",
new_tag: "Yeni Etiket",
edit_tags: "Etiketleri güncelle",
okay: "Tamam"
okay: "Tamam",
view_on_osm: "View on OSM"
},
layerswitcher: {