Translate 'Search' (fixes #1358)

This commit is contained in:
John Firebaugh
2013-04-21 16:44:53 -07:00
parent 20833c139c
commit ddfe157a24
7 changed files with 50 additions and 6 deletions

View File

@@ -166,6 +166,7 @@ en:
reference: View on OpenStreetMap Wiki
back_tooltip: Change feature type
remove: Remove
search: Search
background:
title: Background
description: Background settings

View File

@@ -6736,7 +6736,8 @@ locale.en = {
"results": "{n} results for {search}",
"reference": "View on OpenStreetMap Wiki",
"back_tooltip": "Change feature type",
"remove": "Remove"
"remove": "Remove",
"search": "Search"
},
"background": {
"title": "Background",
@@ -6993,6 +6994,9 @@ locale.en = {
"historic": {
"label": "Type"
},
"incline": {
"label": "Incline"
},
"internet_access": {
"label": "Internet Access",
"options": {
@@ -7084,6 +7088,9 @@ locale.en = {
"taoist": "Taoist"
}
},
"sac_scale": {
"label": "Path Difficulty"
},
"service": {
"label": "Type"
},
@@ -7120,6 +7127,9 @@ locale.en = {
"tracktype": {
"label": "Type"
},
"trail_visibility": {
"label": "Trail Visibility"
},
"water": {
"label": "Type"
},

View File

@@ -204,7 +204,8 @@ locale.en = {
"results": "{n} results for {search}",
"reference": "View on OpenStreetMap Wiki",
"back_tooltip": "Change feature type",
"remove": "Remove"
"remove": "Remove",
"search": "Search"
},
"background": {
"title": "Background",
@@ -461,6 +462,9 @@ locale.en = {
"historic": {
"label": "Type"
},
"incline": {
"label": "Incline"
},
"internet_access": {
"label": "Internet Access",
"options": {
@@ -552,6 +556,9 @@ locale.en = {
"taoist": "Taoist"
}
},
"sac_scale": {
"label": "Path Difficulty"
},
"service": {
"label": "Type"
},
@@ -588,6 +595,9 @@ locale.en = {
"tracktype": {
"label": "Type"
},
"trail_visibility": {
"label": "Trail Visibility"
},
"water": {
"label": "Type"
},

View File

@@ -102,6 +102,8 @@ en:
label: Type
historic:
label: Type
incline:
label: Incline
internet_access:
label: Internet Access
options:
@@ -166,6 +168,8 @@ en:
hindu: Hindu
shinto: Shinto
taoist: Taoist
sac_scale:
label: Path Difficulty
service:
label: Type
shelter:
@@ -191,6 +195,8 @@ en:
label: Type
tracktype:
label: Type
trail_visibility:
label: Trail Visibility
water:
label: Type
waterway:

View File

@@ -230,6 +230,11 @@
"type": "combo",
"label": "Type"
},
"incline": {
"key": "incline",
"type": "combo",
"label": "Incline"
},
"internet_access": {
"key": "internet_access",
"type": "combo",
@@ -405,6 +410,11 @@
}
}
},
"sac_scale": {
"key": "sac_scale",
"type": "combo",
"label": "Path Difficulty"
},
"service": {
"key": "service",
"type": "combo",
@@ -477,6 +487,11 @@
"type": "combo",
"label": "Type"
},
"trail_visibility": {
"key": "trail_visibility",
"type": "combo",
"label": "Trail Visibility"
},
"water": {
"key": "water",
"type": "combo",

View File

@@ -1382,11 +1382,13 @@
"highway/path": {
"icon": "highway-path",
"fields": [
"oneway",
"structure",
"access",
"maxspeed",
"surface"
"sac_scale",
"surface",
"incline",
"trail_visibility",
"ref"
],
"geometry": [
"line"

View File

@@ -95,7 +95,7 @@ iD.ui.PresetGrid = function(context, entity) {
var search = searchwrap.append('input')
.attr('class', 'major')
.attr('placeholder','Search')
.attr('placeholder', t('inspector.search'))
.attr('type', 'search')
.on('keydown', keydown)
.on('keyup', keyup);