tag_reference translations

This commit is contained in:
John Firebaugh
2013-02-12 19:59:32 -08:00
parent d92d87ebf5
commit 8882023e5b
9 changed files with 27 additions and 10 deletions
+3 -2
View File
@@ -11,7 +11,7 @@ iD.ui.tagReference = function(selection) {
.enter()
.append('span')
.attr('title', function(d) {
return 'used with ' + d;
return t('tag_reference.used_with', {type: d});
})
.attr('class', function(d) {
return 'icon big icon-pre-text big-' + d;
@@ -36,6 +36,7 @@ iD.ui.tagReference = function(selection) {
referenceBody
.append('p')
.text(g('description'));
referenceBody
.append('a')
.attr('target', '_blank')
@@ -43,7 +44,7 @@ iD.ui.tagReference = function(selection) {
return 'http://wiki.openstreetmap.org/wiki/' + d.title;
})
.text(function(d) {
return d.title + ' on wiki.osm.org';
return t('tag_reference.on_wiki', {tag: d.title});
});
});
};
+3 -1
View File
@@ -195,7 +195,9 @@ locale.da = {
},
tag_reference: {
description: "Description"
description: "Description",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
zoom: {
+3 -1
View File
@@ -195,7 +195,9 @@ locale.de = {
},
tag_reference: {
description: "Beschreibung"
description: "Beschreibung",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
validations: {
+3 -1
View File
@@ -195,7 +195,9 @@ locale.en = {
},
tag_reference: {
description: 'Description'
description: "Description",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
validations: {
+3 -1
View File
@@ -195,7 +195,9 @@ locale.es = {
},
tag_reference: {
description: "Descripción" //"Description",
description: "Descripción",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
validations: {
+3 -1
View File
@@ -195,7 +195,9 @@ locale.fr = {
},
tag_reference: {
description: "Déscription"
description: "Déscription",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
validations: {
+3 -1
View File
@@ -195,7 +195,9 @@ locale.ja = {
},
tag_reference: {
description: "説明"
description: "説明",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
validations: {
+3 -1
View File
@@ -195,7 +195,9 @@ locale.lv = {
},
tag_reference: {
description: "Apraksts"
description: "Apraksts",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
validations: {
+3 -1
View File
@@ -195,7 +195,9 @@ locale.tr = {
},
tag_reference: {
description: "Açıklama"
description: "Açıklama",
on_wiki: "{tag} on wiki.osm.org",
used_with: "used with {type}"
},
validations: {