forked from MapComplete/MapComplete
Translation sync, small fixes
This commit is contained in:
parent
382dec9845
commit
be41ead9bf
7 changed files with 37 additions and 37 deletions
|
@ -127,7 +127,7 @@ export default class PointRenderingConfig extends WithContextLoader {
|
||||||
public GetBaseIcon(tags?: any): BaseUIElement {
|
public GetBaseIcon(tags?: any): BaseUIElement {
|
||||||
tags = tags ?? {id: "node/-1"}
|
tags = tags ?? {id: "node/-1"}
|
||||||
const rotation = Utils.SubstituteKeys(this.rotation?.GetRenderValue(tags)?.txt ?? "0deg", tags)
|
const rotation = Utils.SubstituteKeys(this.rotation?.GetRenderValue(tags)?.txt ?? "0deg", tags)
|
||||||
const htmlDefs = Utils.SubstituteKeys(this.icon.GetRenderValue(tags)?.txt, tags)
|
const htmlDefs = Utils.SubstituteKeys(this.icon?.GetRenderValue(tags)?.txt, tags)
|
||||||
let defaultPin: BaseUIElement = undefined
|
let defaultPin: BaseUIElement = undefined
|
||||||
if (this.label === undefined) {
|
if (this.label === undefined) {
|
||||||
defaultPin = Svg.teardrop_with_hole_green_svg()
|
defaultPin = Svg.teardrop_with_hole_green_svg()
|
||||||
|
|
|
@ -214,9 +214,9 @@ export default class CopyrightPanel extends Combine {
|
||||||
private static IconAttribution(iconPath: string): BaseUIElement {
|
private static IconAttribution(iconPath: string): BaseUIElement {
|
||||||
if (iconPath.startsWith("http")) {
|
if (iconPath.startsWith("http")) {
|
||||||
try{
|
try{
|
||||||
iconPath = "." + new URL(iconPath).pathname;
|
iconPath = "." + new URL(iconPath).pathname;
|
||||||
}catch(e){
|
}catch(e){
|
||||||
console.error(e)
|
console.warn(e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -199,7 +199,7 @@
|
||||||
"id": "Available_charging_stations (generated)",
|
"id": "Available_charging_stations (generated)",
|
||||||
"question": {
|
"question": {
|
||||||
"en": "Which charging connections are available here?",
|
"en": "Which charging connections are available here?",
|
||||||
"nl": "Welke aansluitingen zijn hier beschikbaar?",
|
"nl": "Welke laadaansluitingen zijn hier beschikbaar?",
|
||||||
"de": "Welche Ladeanschlüsse gibt es hier?"
|
"de": "Welche Ladeanschlüsse gibt es hier?"
|
||||||
},
|
},
|
||||||
"multiAnswer": true,
|
"multiAnswer": true,
|
||||||
|
@ -1280,7 +1280,7 @@
|
||||||
"id": "plugs-12",
|
"id": "plugs-12",
|
||||||
"question": {
|
"question": {
|
||||||
"en": "How much plugs of type <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> are available here?",
|
"en": "How much plugs of type <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> are available here?",
|
||||||
"nl": "Hoeveel stekkers van type <div style='display: inline-block'><b><b>Tesla supercharger (destination</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> heeft dit oplaadpunt?"
|
"nl": "Hoeveel stekkers van type <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> heeft dit oplaadpunt?"
|
||||||
},
|
},
|
||||||
"render": {
|
"render": {
|
||||||
"en": "There are <b class='text-xl'>{socket:tesla_destination}</b> plugs of type <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> available here",
|
"en": "There are <b class='text-xl'>{socket:tesla_destination}</b> plugs of type <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> available here",
|
||||||
|
@ -2979,11 +2979,11 @@
|
||||||
"group": "technical",
|
"group": "technical",
|
||||||
"question": {
|
"question": {
|
||||||
"en": "What current do the plugs with <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> offer?",
|
"en": "What current do the plugs with <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> offer?",
|
||||||
"nl": "Welke stroom levert de stekker van type <div style='display: inline-block'><b><b>Tesla supercharger (destination</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div>?"
|
"nl": "Welke stroom levert de stekker van type <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div>?"
|
||||||
},
|
},
|
||||||
"render": {
|
"render": {
|
||||||
"en": "<div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> outputs at most {socket:tesla_destination:current}A",
|
"en": "<div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> outputs at most {socket:tesla_destination:current}A",
|
||||||
"nl": "<div style='display: inline-block'><b><b>Tesla supercharger (destination</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> levert een stroom van maximaal {socket:tesla_destination:current}A"
|
"nl": "<div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> levert een stroom van maximaal {socket:tesla_destination:current}A"
|
||||||
},
|
},
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"key": "socket:tesla_destination:current",
|
"key": "socket:tesla_destination:current",
|
||||||
|
@ -4174,7 +4174,7 @@
|
||||||
{
|
{
|
||||||
"question": {
|
"question": {
|
||||||
"en": "Has a <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> connector",
|
"en": "Has a <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (A Type 2 with cable branded as tesla)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div> connector",
|
||||||
"nl": "Heeft een <div style='display: inline-block'><b><b>Tesla supercharger (destination</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div>"
|
"nl": "Heeft een <div style='display: inline-block'><b><b>Tesla supercharger (destination)</b> (Een Type 2 met kabel en Tesla-logo)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/Type2_tethered.svg'/></div>"
|
||||||
},
|
},
|
||||||
"osmTags": "socket:tesla_destination~*"
|
"osmTags": "socket:tesla_destination~*"
|
||||||
},
|
},
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
},
|
},
|
||||||
"question": {
|
"question": {
|
||||||
"en": "What is the name of this public bookcase?",
|
"en": "What is the name of this public bookcase?",
|
||||||
"nl": "Wat is de naam van dit boekenuilkastje?",
|
"nl": "Wat is de naam van dit boekenruilkastje?",
|
||||||
"de": "Wie heißt dieser öffentliche Bücherschrank?",
|
"de": "Wie heißt dieser öffentliche Bücherschrank?",
|
||||||
"fr": "Quel est le nom de cette microbibliothèque ?",
|
"fr": "Quel est le nom de cette microbibliothèque ?",
|
||||||
"ru": "Как называется этот общественный книжный шкаф?",
|
"ru": "Как называется этот общественный книжный шкаф?",
|
||||||
|
|
|
@ -126,7 +126,7 @@
|
||||||
},
|
},
|
||||||
"then": {
|
"then": {
|
||||||
"en": "This waste basket <b>does not</b> have a dispenser for (dog) excrement bags",
|
"en": "This waste basket <b>does not</b> have a dispenser for (dog) excrement bags",
|
||||||
"nl": "Deze vuilnisbak heeft <i>geen</i>verdeler voor hondenpoepzakjes",
|
"nl": "Deze vuilnisbak heeft <b>geen</b> verdeler voor hondenpoepzakjes",
|
||||||
"de": "Dieser Abfalleimer <b>hat keinen</b> Spender für (Hunde-)Kotbeutel"
|
"de": "Dieser Abfalleimer <b>hat keinen</b> Spender für (Hunde-)Kotbeutel"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
"if": "vending=",
|
"if": "vending=",
|
||||||
"then": {
|
"then": {
|
||||||
"en": "This waste basket <b>does not</b> have a dispenser for (dog) excrement bags",
|
"en": "This waste basket <b>does not</b> have a dispenser for (dog) excrement bags",
|
||||||
"nl": "Deze vuilnisbaak heeft waarschijnlijk geen verdeler voor hondenpoepzakjes",
|
"nl": "Deze vuilnisbak heeft <b>waarschijnlijk geen</b> verdeler voor hondenpoepzakjes",
|
||||||
"de": "Dieser Abfalleimer <b>hat keinen</b> Spender für (Hunde-)Kotbeutel"
|
"de": "Dieser Abfalleimer <b>hat keinen</b> Spender für (Hunde-)Kotbeutel"
|
||||||
},
|
},
|
||||||
"hideInAnwer": true
|
"hideInAnwer": true
|
||||||
|
|
|
@ -7,16 +7,16 @@
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
"cancel": "Cancelar",
|
"cancel": "Cancelar",
|
||||||
|
"cannotBeDeleted": "Esta función no puede ser eliminada",
|
||||||
"delete": "Eliminar",
|
"delete": "Eliminar",
|
||||||
"isDeleted": "Esta función se ha eliminado",
|
|
||||||
"explanations": {
|
"explanations": {
|
||||||
"selectReason": "Por favor, seleccione el motivo por el que esta característica debe ser eliminada",
|
"hardDelete": "Este punto será eliminado en OpenStreetMap. Puede ser recuperado por un colaborador experimentado",
|
||||||
"hardDelete": "Este punto será eliminado en OpenStreetMap. Puede ser recuperado por un colaborador experimentado"
|
"selectReason": "Por favor, seleccione el motivo por el que esta característica debe ser eliminada"
|
||||||
},
|
},
|
||||||
"whyDelete": "¿Por qué debería eliminarse este punto?",
|
"isDeleted": "Esta función se ha eliminado",
|
||||||
"safeDelete": "Este punto puede ser eliminado con seguridad.",
|
"safeDelete": "Este punto puede ser eliminado con seguridad.",
|
||||||
"useSomethingElse": "Utilice otro editor de OpenStreetMap para eliminarlo",
|
"useSomethingElse": "Utilice otro editor de OpenStreetMap para eliminarlo",
|
||||||
"cannotBeDeleted": "Esta función no puede ser eliminada"
|
"whyDelete": "¿Por qué debería eliminarse este punto?"
|
||||||
},
|
},
|
||||||
"favourite": {
|
"favourite": {
|
||||||
"loginNeeded": "<h3>Entrar</h3>El diseño personalizado sólo está disponible para los usuarios de OpenStreetMap",
|
"loginNeeded": "<h3>Entrar</h3>El diseño personalizado sólo está disponible para los usuarios de OpenStreetMap",
|
||||||
|
@ -27,32 +27,36 @@
|
||||||
"about": "Edita fácilmente y añade puntos en OpenStreetMap de un tema concreto",
|
"about": "Edita fácilmente y añade puntos en OpenStreetMap de un tema concreto",
|
||||||
"add": {
|
"add": {
|
||||||
"addNew": "Añadir una nueva {category}",
|
"addNew": "Añadir una nueva {category}",
|
||||||
|
"addNewMapLabel": "Haga clic aquí para añadir un nuevo ítem",
|
||||||
"confirmButton": "Añadir una {category} .<br><div class=\"alert\">Tu contribución es visible para todos</div>",
|
"confirmButton": "Añadir una {category} .<br><div class=\"alert\">Tu contribución es visible para todos</div>",
|
||||||
"confirmIntro": "<h3>Añadir {title} aquí?</h3>El punto que estás creando <b>lo verá todo el mundo</b>. Sólo añade cosas que realmente existan. Muchas aplicaciones usan estos datos.",
|
"confirmIntro": "<h3>Añadir {title} aquí?</h3>El punto que estás creando <b>lo verá todo el mundo</b>. Sólo añade cosas que realmente existan. Muchas aplicaciones usan estos datos.",
|
||||||
|
"disableFilters": "Desactivar todos los filtros",
|
||||||
|
"disableFiltersExplanation": "Algunas características pueden estar ocultas por un filtro",
|
||||||
|
"hasBeenImported": "Este punto ya ha sido importado",
|
||||||
|
"import": {
|
||||||
|
"hasBeenImported": "Este objeto ya ha sido importado",
|
||||||
|
"importTags": "El elemento recibirá {tags}",
|
||||||
|
"officialThemesOnly": "El botón de importación está desactivado para los temas no oficiales para evitar accidentes",
|
||||||
|
"wrongType": "Este elemento no es un punto o una vía y no puede ser importado",
|
||||||
|
"zoomInMore": "Ampliar más para importar este elemento"
|
||||||
|
},
|
||||||
|
"importTags": "El elemento recibirá {tags}",
|
||||||
"intro": "Has marcado un lugar del que no conocemos los datos.<br>",
|
"intro": "Has marcado un lugar del que no conocemos los datos.<br>",
|
||||||
"layerNotEnabled": "La capa {layer} no está habilitada. Hazlo para poder añadir un punto en esta capa",
|
"layerNotEnabled": "La capa {layer} no está habilitada. Hazlo para poder añadir un punto en esta capa",
|
||||||
"openLayerControl": "Abrir el control de capas",
|
"openLayerControl": "Abrir el control de capas",
|
||||||
"pleaseLogin": "<a class=\"activate-osm-authentication\">`Por favor inicia sesión para añadir un nuevo punto</a>",
|
"pleaseLogin": "<a class=\"activate-osm-authentication\">`Por favor inicia sesión para añadir un nuevo punto</a>",
|
||||||
|
"presetInfo": "El nuevo POI tendrá {tags}",
|
||||||
"stillLoading": "Los datos se siguen cargando. Espera un poco antes de añadir ningún punto.",
|
"stillLoading": "Los datos se siguen cargando. Espera un poco antes de añadir ningún punto.",
|
||||||
"title": "Quieres añadir un punto?",
|
"title": "Quieres añadir un punto?",
|
||||||
"zoomInFurther": "Acerca para añadir un punto.",
|
|
||||||
"import": {
|
|
||||||
"hasBeenImported": "Este objeto ya ha sido importado",
|
|
||||||
"importTags": "El elemento recibirá {tags}",
|
|
||||||
"wrongType": "Este elemento no es un punto o una vía y no puede ser importado",
|
|
||||||
"zoomInMore": "Ampliar más para importar este elemento",
|
|
||||||
"officialThemesOnly": "El botón de importación está desactivado para los temas no oficiales para evitar accidentes"
|
|
||||||
},
|
|
||||||
"hasBeenImported": "Este punto ya ha sido importado",
|
|
||||||
"disableFilters": "Desactivar todos los filtros",
|
|
||||||
"warnVisibleForEveryone": "Su adición será visible para todos",
|
"warnVisibleForEveryone": "Su adición será visible para todos",
|
||||||
"disableFiltersExplanation": "Algunas características pueden estar ocultas por un filtro",
|
|
||||||
"presetInfo": "El nuevo POI tendrá {tags}",
|
|
||||||
"importTags": "El elemento recibirá {tags}",
|
|
||||||
"wrongType": "Este elemento no es un punto o una vía y no puede ser importado",
|
"wrongType": "Este elemento no es un punto o una vía y no puede ser importado",
|
||||||
"addNewMapLabel": "Haga clic aquí para añadir un nuevo ítem",
|
"zoomInFurther": "Acerca para añadir un punto.",
|
||||||
"zoomInMore": "Aumente el zoom para importar este elemento"
|
"zoomInMore": "Aumente el zoom para importar este elemento"
|
||||||
},
|
},
|
||||||
|
"apply_button": {
|
||||||
|
"appliedOnAnotherObject": "El objeto {id} recibirá {tags}",
|
||||||
|
"isApplied": "Los cambios serán aplicados"
|
||||||
|
},
|
||||||
"attribution": {
|
"attribution": {
|
||||||
"attributionContent": "<p>Todos los datos son proporcionados por <a href=\"https://osm.org\" target=\"_blank\">OpenStreetMap</a>, reutilizables libremente bajo <a href=\"https://osm.org/copyright\" target=\"_blank\">la Licencia Abierta de Bases de Datos (ODL)</a>.</p>",
|
"attributionContent": "<p>Todos los datos son proporcionados por <a href=\"https://osm.org\" target=\"_blank\">OpenStreetMap</a>, reutilizables libremente bajo <a href=\"https://osm.org/copyright\" target=\"_blank\">la Licencia Abierta de Bases de Datos (ODL)</a>.</p>",
|
||||||
"attributionTitle": "Aviso de atribución",
|
"attributionTitle": "Aviso de atribución",
|
||||||
|
@ -163,11 +167,7 @@
|
||||||
"tuesday": "Martes",
|
"tuesday": "Martes",
|
||||||
"wednesday": "Miércoles"
|
"wednesday": "Miércoles"
|
||||||
},
|
},
|
||||||
"welcomeBack": "Has entrado, bienvenido.",
|
"welcomeBack": "Has entrado, bienvenido."
|
||||||
"apply_button": {
|
|
||||||
"isApplied": "Los cambios serán aplicados",
|
|
||||||
"appliedOnAnotherObject": "El objeto {id} recibirá {tags}"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"image": {
|
"image": {
|
||||||
"addPicture": "Añadir foto",
|
"addPicture": "Añadir foto",
|
||||||
|
@ -208,4 +208,4 @@
|
||||||
"cancel": "Cancelar",
|
"cancel": "Cancelar",
|
||||||
"split": "Dividir"
|
"split": "Dividir"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -4930,4 +4930,4 @@
|
||||||
"render": "Watermolens"
|
"render": "Watermolens"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue