mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-27 12:53:52 +01:00
reduce duplicate translatable strings, closes #686
This commit is contained in:
parent
b90959d2d8
commit
31774890d2
26 changed files with 49 additions and 107 deletions
|
|
@ -4,5 +4,5 @@
|
|||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"label": "Building"
|
||||
"label": "{building}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@
|
|||
"geometry": [
|
||||
"area"
|
||||
],
|
||||
"label": "Building"
|
||||
"label": "{building}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "covered",
|
||||
"type": "check",
|
||||
"label": "Covered",
|
||||
"label": "{covered}",
|
||||
"strings": {
|
||||
"options": {
|
||||
"undefined": "Assumed to be No",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "destination:ref",
|
||||
"type": "semiCombo",
|
||||
"label": "Destination Road Numbers",
|
||||
"label": "{destination/ref}",
|
||||
"prerequisiteTag": {
|
||||
"key": "oneway",
|
||||
"value": "yes"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "destination:symbol",
|
||||
"type": "semiCombo",
|
||||
"label": "Destination Symbols",
|
||||
"label": "{destination/symbol}",
|
||||
"prerequisiteTag": {
|
||||
"key": "oneway",
|
||||
"value": "yes"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "destination",
|
||||
"type": "semiCombo",
|
||||
"label": "Destinations",
|
||||
"label": "{destination}",
|
||||
"prerequisiteTag": {
|
||||
"key": "oneway",
|
||||
"value": "yes"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "direction",
|
||||
"type": "number",
|
||||
"label": "Direction (Degrees Clockwise)",
|
||||
"label": "{direction}",
|
||||
"placeholder": "45, 90, 180, 270",
|
||||
"increment": 5,
|
||||
"geometry": [
|
||||
|
|
|
|||
|
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
"key": "direction",
|
||||
"type": "combo",
|
||||
"label": "Direction Affected",
|
||||
"strings": {
|
||||
"options": {
|
||||
"forward": "Forward",
|
||||
"backward": "Backward"
|
||||
}
|
||||
},
|
||||
"label": "{direction_vertex}",
|
||||
"stringsCrossReference": "{direction_vertex}",
|
||||
"options": [
|
||||
"forward",
|
||||
"backward"
|
||||
],
|
||||
"autoSuggestions": false,
|
||||
"customValues": false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "ele",
|
||||
"type": "number",
|
||||
"label": "Elevation (Meters)",
|
||||
"label": "{ele}",
|
||||
"universal": true,
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "frequency",
|
||||
"type": "combo",
|
||||
"label": "Operating Frequency",
|
||||
"label": "{frequency}",
|
||||
"prerequisiteTag": {
|
||||
"key": "electrified",
|
||||
"valueNot": "no"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "incline",
|
||||
"type": "combo",
|
||||
"label": "Incline",
|
||||
"label": "{incline}",
|
||||
"strings": {
|
||||
"options": {
|
||||
"up": "Up",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"key": "intermittent",
|
||||
"type": "check",
|
||||
"label": "Intermittent",
|
||||
"label": "{intermittent}",
|
||||
"default": "yes"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
{
|
||||
"key": "leaf_cycle",
|
||||
"type": "combo",
|
||||
"label": "Leaf Cycle",
|
||||
"strings": {
|
||||
"options": {
|
||||
"evergreen": "Evergreen",
|
||||
"deciduous": "Deciduous",
|
||||
"semi_evergreen": "Semi-Evergreen",
|
||||
"semi_deciduous": "Semi-Deciduous"
|
||||
}
|
||||
},
|
||||
"label": "{leaf_cycle}",
|
||||
"stringsCrossReference": "{leaf_cycle}",
|
||||
"options": [
|
||||
"evergreen",
|
||||
"deciduous",
|
||||
"semi_evergreen",
|
||||
"semi_deciduous"
|
||||
],
|
||||
"autoSuggestions": false,
|
||||
"customValues": false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,13 +2,12 @@
|
|||
"key": "leaf_type",
|
||||
"type": "combo",
|
||||
"label": "Leaf Type",
|
||||
"strings": {
|
||||
"options": {
|
||||
"broadleaved": "Broadleaved",
|
||||
"needleleaved": "Needleleaved",
|
||||
"leafless": "Leafless"
|
||||
}
|
||||
},
|
||||
"stringsCrossReference": "{leaf_type}",
|
||||
"options": [
|
||||
"broadleaved",
|
||||
"needleleaved",
|
||||
"leafless"
|
||||
],
|
||||
"autoSuggestions": false,
|
||||
"customValues": false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "location",
|
||||
"type": "combo",
|
||||
"label": "Location",
|
||||
"label": "{location}",
|
||||
"strings": {
|
||||
"options": {
|
||||
"outdoor": "Outdoor",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "maxweight",
|
||||
"type": "combo",
|
||||
"label": "Max Weight",
|
||||
"label": "{maxweight}",
|
||||
"snake_case": false,
|
||||
"prerequisiteTag": {
|
||||
"key": "bridge",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "oneway",
|
||||
"type": "onewayCheck",
|
||||
"label": "One Way",
|
||||
"label": "{oneway}",
|
||||
"strings": {
|
||||
"options": {
|
||||
"undefined": "Assumed to be Yes",
|
||||
|
|
|
|||
|
|
@ -2,10 +2,12 @@
|
|||
"key": "parking",
|
||||
"type": "combo",
|
||||
"label": "Type",
|
||||
"strings": {
|
||||
"options": {
|
||||
"underground": "Underground",
|
||||
"multi-storey": "Multilevel"
|
||||
}
|
||||
}
|
||||
"stringsCrossReference": "{parking}",
|
||||
"options": [
|
||||
"underground",
|
||||
"multi-storey",
|
||||
"surface"
|
||||
],
|
||||
"autoSuggestions": false,
|
||||
"customValues": true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "piste:difficulty",
|
||||
"type": "combo",
|
||||
"label": "Difficulty",
|
||||
"label": "{piste/difficulty}",
|
||||
"placeholder": "Easy, Intermediate, Advanced...",
|
||||
"strings": {
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "piste:difficulty",
|
||||
"type": "combo",
|
||||
"label": "Difficulty",
|
||||
"label": "{piste/difficulty}",
|
||||
"placeholder": "Easy, Intermediate, Advanced...",
|
||||
"strings": {
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "piste:difficulty",
|
||||
"type": "combo",
|
||||
"label": "Difficulty",
|
||||
"label": "{piste/difficulty}",
|
||||
"placeholder": "Easy, Intermediate, Advanced...",
|
||||
"strings": {
|
||||
"options": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "piste:grooming",
|
||||
"type": "combo",
|
||||
"label": "Grooming",
|
||||
"label": "{piste/grooming}",
|
||||
"strings": {
|
||||
"options": {
|
||||
"classic": "Classic",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "piste:grooming",
|
||||
"type": "combo",
|
||||
"label": "Grooming",
|
||||
"label": "{piste/grooming}",
|
||||
"strings": {
|
||||
"options": {
|
||||
"classic": "Classic - Winter Hiking",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "piste:grooming",
|
||||
"type": "combo",
|
||||
"label": "Grooming",
|
||||
"label": "{piste/grooming}",
|
||||
"strings": {
|
||||
"options": {
|
||||
"classic": "Classic",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"key": "voltage",
|
||||
"type": "combo",
|
||||
"label": "Voltage",
|
||||
"label": "{voltage}",
|
||||
"prerequisiteTag": {
|
||||
"key": "electrified",
|
||||
"valueNot": "no"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue