Translation sync

This commit is contained in:
pietervdvn 2022-07-18 15:28:58 +02:00
parent c8de5166f1
commit e7ae5973cb
18 changed files with 117 additions and 114 deletions

View file

@ -444,7 +444,7 @@
"tagRenderings": {
"9": {
"renderings": {
"0": {
"rental-capacity-bicycle_type": {
"question": "Wie viele type_plural können hier gemietet werden?",
"render": "{capacity:bicycle_type} type_plural können hier gemietet werden"
}
@ -3912,7 +3912,7 @@
"tagRenderings": {
"6": {
"renderings": {
"0": {
"hackerspaces-service-device-key": {
"mappings": {
"0": {
"then": "In diesem Hackerspace gibt es {device-name}"

View file

@ -444,7 +444,7 @@
"tagRenderings": {
"9": {
"renderings": {
"0": {
"rental-capacity-bicycle_type": {
"question": "How much type_plural can be rented here?",
"render": "{capacity:bicycle_type} type_plural can be rented here"
}
@ -3971,7 +3971,7 @@
"tagRenderings": {
"6": {
"renderings": {
"0": {
"hackerspaces-service-device-key": {
"mappings": {
"0": {
"then": "There is {device-name} available at this hackerspace"

View file

@ -444,7 +444,7 @@
"tagRenderings": {
"9": {
"renderings": {
"0": {
"rental-capacity-bicycle_type": {
"question": "Combien de type_plural peuvent être loués ici ?",
"render": "{capacity:bicycle_type} type_plural peuvent être loués ici"
}

View file

@ -444,7 +444,7 @@
"tagRenderings": {
"9": {
"renderings": {
"0": {
"rental-capacity-bicycle_type": {
"question": "Hoeveel type_plural kunnen hier uitgeleend worden?",
"render": "{capacity:bicycle_type} type_plural kunnen hier uitgeleend worden"
}
@ -3859,7 +3859,7 @@
"tagRenderings": {
"6": {
"renderings": {
"0": {
"hackerspaces-service-device-key": {
"mappings": {
"0": {
"then": "Er is {device-name} beschikbaar in deze hackerspace"

View file

@ -114,7 +114,7 @@
"0": {
"override": {
"tagRenderings+": {
"1": {
"access": {
"mappings": {
"2": {
"then": "Només clients"

View file

@ -241,11 +241,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "Wer betreibt diesen Ort?",
"render": "Dieser Ort wird betrieben von {operator}"
},
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "Dieser Ort hat eine Stromversorgung"
@ -273,7 +273,7 @@
"0": {
"override": {
"tagRenderings+": {
"0": {
"Access from containing feature": {
"mappings": {
"0": {
"then": "<span class='subtle'>Das <a href='#{_embedding_feature:id}'>enthaltende Objekt</a> gibt an, dass es </span>öffentlich zugänglich ist<br/>{_embedding_feature:access:description}"
@ -289,7 +289,7 @@
}
}
},
"1": {
"access": {
"mappings": {
"0": {
"then": "Öffentlich zugänglich für jedermann"
@ -409,7 +409,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "Wann wird diese Straße eine Fahrradstraße?",
"render": "Diese Straße wird am {cyclestreet:start_date} zu einer Fahrradstraße"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "Diese Straße ist eine Fahrradstraße (mit einer Geschwindigkeitsbegrenzung von 30 km/h)"
@ -425,10 +429,6 @@
}
},
"question": "Ist die Straße <b>{name}</b> eine Fahrradstraße?"
},
"1": {
"question": "Wann wird diese Straße eine Fahrradstraße?",
"render": "Diese Straße wird am {cyclestreet:start_date} zu einer Fahrradstraße"
}
}
},

View file

@ -241,11 +241,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "Who operates this place?",
"render": "This place is operated by {operator}"
},
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "This place has a power supply"
@ -273,7 +273,7 @@
"0": {
"override": {
"tagRenderings+": {
"0": {
"Access from containing feature": {
"mappings": {
"0": {
"then": "<span class='subtle'>The <a href='#{_embedding_feature:id}'>containing feature</a> states that this is</span> publicly accessible<br/>{_embedding_feature:access:description}"
@ -289,7 +289,7 @@
}
}
},
"1": {
"access": {
"mappings": {
"0": {
"then": "Publicly accessible to anyone"
@ -409,7 +409,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "When will this street become a cyclestreet?",
"render": "This street will become a cyclestreet at {cyclestreet:start_date}"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "This street is a cyclestreet (and has a speed limit of 30 km/h)"
@ -425,10 +429,6 @@
}
},
"question": "Is the street <b>{name}</b> a cyclestreet?"
},
"1": {
"question": "When will this street become a cyclestreet?",
"render": "This street will become a cyclestreet at {cyclestreet:start_date}"
}
}
},

View file

@ -162,11 +162,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "¿Quién opera este lugar?",
"render": "Este lugar lo opera {operator}"
},
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "Este lugar tiene suministro eléctrico"
@ -192,7 +192,7 @@
"0": {
"override": {
"tagRenderings+": {
"1": {
"access": {
"mappings": {
"0": {
"then": "Accesible públicamente a cualquiera"
@ -311,7 +311,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "¿Cuándo se convertirá esta calle en una ciclocalle?",
"render": "Esta calle se convetirá en una ciclocalle el {cyclestreet:start_date}"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "Esta calle es una ciclocalle (y tiene un límite de velocidad de 30km/h)"
@ -327,10 +331,6 @@
}
},
"question": "¿La calle <b>{name}</b> es una ciclocalle?"
},
"1": {
"question": "¿Cuándo se convertirá esta calle en una ciclocalle?",
"render": "Esta calle se convetirá en una ciclocalle el {cyclestreet:start_date}"
}
}
},

View file

@ -241,11 +241,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "Qui est lexploitant du site ?",
"render": "Ce site est exploité par {operator}"
},
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "Ce site a une source dalimentation"
@ -273,7 +273,7 @@
"0": {
"override": {
"tagRenderings+": {
"0": {
"Access from containing feature": {
"mappings": {
"0": {
"then": "<span class='subtle'>L<a href='#{_embedding_feature:id}'>élément englobant</a> indique un </span> accès libre<br/>{_embedding_feature:access:description}"
@ -289,7 +289,7 @@
}
}
},
"1": {
"access": {
"mappings": {
"0": {
"then": "Libre daccès"
@ -409,7 +409,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "Quand cette rue deviendra-t-elle cyclable ?",
"render": "Cette rue deviendra une rue cyclable le {cyclestreet:start_date}"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "Cette rue est une rue cyclable (et est limitée à 30 km/h)"
@ -425,10 +429,6 @@
}
},
"question": "La rue <b>{name}</b> est-elle une rue cyclable ?"
},
"1": {
"question": "Quand cette rue deviendra-t-elle cyclable ?",
"render": "Cette rue deviendra une rue cyclable le {cyclestreet:start_date}"
}
}
},

View file

@ -77,7 +77,7 @@
},
"overrideAll": {
"tagRenderings+": {
"1": {
"power_supply": {
"question": "Van-e itt elektromos áram?"
}
}
@ -129,7 +129,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "Mikor lesz ez az utca kerékpárosutca?",
"render": "Ez az utca ekkor lesz kerékpárosutca: {cyclestreet:start_date}"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "Ez az utca kerékpárosutca (és 30 km/h a sebességkorlátozás)"
@ -145,10 +149,6 @@
}
},
"question": "Kerékpárosutca-e <b>{name}</b>?"
},
"1": {
"question": "Mikor lesz ez az utca kerékpárosutca?",
"render": "Ez az utca ekkor lesz kerékpárosutca: {cyclestreet:start_date}"
}
}
},

View file

@ -92,7 +92,7 @@
},
"overrideAll": {
"tagRenderings+": {
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "Tempat ini memiliki catu daya"

View file

@ -235,11 +235,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "Chi gestisce questo luogo?",
"render": "Questo luogo è gestito da {operator}"
},
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "Questo luogo fornisce corrente elettrica"
@ -267,7 +267,7 @@
"0": {
"override": {
"tagRenderings+": {
"0": {
"Access from containing feature": {
"mappings": {
"0": {
"then": "<span class='subtle'>L <a href='#{_embedding_feature:id}'>elemento in cui è contenuto</a> indica che è</span> pubblicamente accessibile<br/>{_embedding_feature:access:description}"
@ -283,7 +283,7 @@
}
}
},
"1": {
"access": {
"mappings": {
"0": {
"then": "Pubblicamente accessibile a chiunque"
@ -356,7 +356,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "Questa strada diventerà una strada ciclabile quando?",
"render": "Questa strada diventerà una strada ciclabile dal {cyclestreet:start_date}"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "Questa è una strada ciclabile (e ha un limite di velocità massima di 30 km/h)"
@ -372,10 +376,6 @@
}
},
"question": "È <b>{name}</b> una strada ciclabile?"
},
"1": {
"question": "Questa strada diventerà una strada ciclabile quando?",
"render": "Questa strada diventerà una strada ciclabile dal {cyclestreet:start_date}"
}
}
},

View file

@ -227,11 +227,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "この店は誰が経営しているんですか?",
"render": "この場所は{operator}によって運営されます"
},
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "この場所には電源があります"
@ -286,7 +286,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "この通りはいつcyclestreetになるんですか?",
"render": "この通りは{cyclestreet:start_date}に、cyclestreetになります"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "cyclestreet(最高速度は30km/h)"
@ -301,10 +305,6 @@
"then": "この通りはcyclestreetではない"
}
}
},
"1": {
"question": "この通りはいつcyclestreetになるんですか?",
"render": "この通りは{cyclestreet:start_date}に、cyclestreetになります"
}
}
},

View file

@ -142,7 +142,7 @@
},
"overrideAll": {
"tagRenderings+": {
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "Dette stedet har strømforsyning"
@ -167,7 +167,7 @@
"0": {
"override": {
"tagRenderings+": {
"1": {
"access": {
"mappings": {
"0": {
"then": "Offentlig tilgjengelig for alle"
@ -252,7 +252,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "Når vil denne gaten bli en sykkelgate?",
"render": "Denne gaten vil bli en sykkelgate {cyclestreet:start_date}"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "Denne gaten er en sykkelvei (og har en fartsgrense på 30 km/t)"
@ -268,10 +272,6 @@
}
},
"question": "Er <b>{name}</b>-gaten en sykkelgate?"
},
"1": {
"question": "Når vil denne gaten bli en sykkelgate?",
"render": "Denne gaten vil bli en sykkelgate {cyclestreet:start_date}"
}
}
},

View file

@ -104,7 +104,7 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"Access tag": {
"mappings": {
"0": {
"then": "Dit gebied is vrij toegankelijk"
@ -131,7 +131,26 @@
"question": "Is dit gebied toegankelijk?",
"render": "De toegankelijkheid van dit gebied is: {access:description}"
},
"1": {
"Editable description": {
"render": "Extra info via buurtnatuur.be: <i>{description:0}</i>"
},
"Name tag": {
"mappings": {
"0": {
"then": "Dit gebied heeft geen naam"
}
},
"question": "Wat is de naam van dit gebied?",
"render": "Dit gebied heet {name}"
},
"Name:nl-tag": {
"question": "Wat is de Nederlandstalige naam van dit gebied?",
"render": "Dit gebied heet {name:nl}"
},
"Non-editable description": {
"render": "Extra info: <i>{description}</i>"
},
"Operator tag": {
"mappings": {
"1": {
"then": "Dit gebied wordt beheerd door Natuurpunt"
@ -145,25 +164,6 @@
},
"question": "Wie beheert dit gebied?",
"render": "Beheer door {operator}"
},
"2": {
"render": "Extra info: <i>{description}</i>"
},
"3": {
"render": "Extra info via buurtnatuur.be: <i>{description:0}</i>"
},
"4": {
"question": "Wat is de Nederlandstalige naam van dit gebied?",
"render": "Dit gebied heet {name:nl}"
},
"5": {
"mappings": {
"0": {
"then": "Dit gebied heeft geen naam"
}
},
"question": "Wat is de naam van dit gebied?",
"render": "Dit gebied heet {name}"
}
}
},
@ -381,11 +381,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "Wie beheert deze plaats?",
"render": "Deze plaats wordt beheerd door {operator}"
},
"1": {
"power_supply": {
"mappings": {
"0": {
"then": "Deze plaats heeft stroomvoorziening"
@ -413,7 +413,7 @@
"0": {
"override": {
"tagRenderings+": {
"0": {
"Access from containing feature": {
"mappings": {
"0": {
"then": "<span class='subtle'>Een <a href='#{_embedding_feature:id}'>omvattend element</a> geeft aan dat dit publiek toegangkelijk is</span><br/>{_embedding_feature:access:description}"
@ -429,7 +429,7 @@
}
}
},
"1": {
"access": {
"mappings": {
"0": {
"then": "Voor iedereen publiek toegankelijk"
@ -549,7 +549,11 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"future_cyclestreet": {
"question": "Wanneer wordt deze straat een fietsstraat?",
"render": "Deze straat wordt fietsstraat op {cyclestreet:start_date}"
},
"is_cyclestreet": {
"mappings": {
"0": {
"then": "Deze straat is een fietsstraat (en dus zone 30)"
@ -565,10 +569,6 @@
}
},
"question": "Is de straat <b>{name}</b> een fietsstraat?"
},
"1": {
"question": "Wanneer wordt deze straat een fietsstraat?",
"render": "Deze straat wordt fietsstraat op {cyclestreet:start_date}"
}
}
},
@ -832,14 +832,7 @@
"5": {
"override": {
"tagRenderings+": {
"0": {
"mappings": {
"0": {
"then": "Geen omliggend OSM-gebouw gevonden"
}
}
},
"3": {
"import-button": {
"mappings": {
"0": {
"then": "Geen omliggend OSM-gebouw gevonden. Een omliggend gebouw is nodig om dit punt als adres punt toe te voegen. <div class=subtle>Importeer eerst de gebouwen. Vernieuw dan de pagina om losse adressen toe te voegen</div>"
@ -850,6 +843,13 @@
"text": "Voeg dit adres als een nieuw adrespunt toe"
}
}
},
"render_embedded": {
"mappings": {
"0": {
"then": "Geen omliggend OSM-gebouw gevonden"
}
}
}
}
}

View file

@ -231,7 +231,7 @@
"0": {
"override": {
"tagRenderings+": {
"1": {
"access": {
"mappings": {
"3": {
"then": "Только членам клуба"

View file

@ -235,7 +235,7 @@
},
"overrideAll": {
"tagRenderings+": {
"0": {
"operator": {
"question": "這個地方是誰營運的?",
"render": "這個地方由 {operator} 營運的"
}

View file

@ -63,6 +63,9 @@ class TranslationPart {
}
recursiveAdd(object: any, context: string) {
if(context.startsWith("./assets/themes/onwheels")){
console.log("Hello world")
}
const isProbablyTranslationObject = knownLanguages.some(l => object.hasOwnProperty(l));
if (isProbablyTranslationObject) {
this.addTranslationObject(object, context)
@ -101,7 +104,7 @@ class TranslationPart {
continue
}
if (v["id"] !== undefined && context.endsWith("tagRenderings")) {
if (v["id"] !== undefined && context.indexOf("tagRenderings")>=0) {
// We use the embedded id as key instead of the index as this is more stable
// Note: indonesian is shortened as 'id' as well!
if (v["en"] !== undefined || v["nl"] !== undefined) {