Chore: fix translations
This commit is contained in:
parent
73db05f545
commit
00ab3a1b77
15 changed files with 214 additions and 30 deletions
|
@ -104,7 +104,9 @@
|
||||||
{
|
{
|
||||||
"id": "wikipedia-etymology",
|
"id": "wikipedia-etymology",
|
||||||
"condition": {
|
"condition": {
|
||||||
"and":["name:etymology!=unknown"]
|
"and": [
|
||||||
|
"name:etymology!=unknown"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"question": {
|
"question": {
|
||||||
"en": "What is the Wikidata-item that this object is named after?",
|
"en": "What is the Wikidata-item that this object is named after?",
|
||||||
|
|
|
@ -571,7 +571,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"builtin": "toilet.relevant-questions",
|
"builtin": "toilet.relevant-questions",
|
||||||
"override": {
|
"override": {
|
||||||
|
|
|
@ -423,7 +423,6 @@
|
||||||
"nl": "{quantity} maanden"
|
"nl": "{quantity} maanden"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -308,10 +308,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"question": "Quina és la finalitat del refugi d'animals?"
|
"question": "Quina és la finalitat del refugi d'animals?"
|
||||||
},
|
|
||||||
"7": {
|
|
||||||
"question": "Quan està obert aquest refugi d'animals?",
|
|
||||||
"render": "{opening_hours_table()}"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
|
@ -7129,6 +7125,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "En quina direcció geogràfica apunta aquesta càmera?",
|
||||||
|
"render": "Grava en direcció {direction}"
|
||||||
|
},
|
||||||
"maxspeed": {
|
"maxspeed": {
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"placeholder": "Velocitat màxima permesa"
|
"placeholder": "Velocitat màxima permesa"
|
||||||
|
|
|
@ -7425,6 +7425,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "Ve kterém geografickém směru tato kamera snímá?",
|
||||||
|
"render": "Snímané oblasti podle směru kompasu {direction}"
|
||||||
|
},
|
||||||
"maxspeed": {
|
"maxspeed": {
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"placeholder": "Maximální povolená rychlost"
|
"placeholder": "Maximální povolená rychlost"
|
||||||
|
|
|
@ -1747,6 +1747,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"speed_camera": {
|
||||||
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "I hvilken geografisk retning filmer dette kamera?",
|
||||||
|
"render": "Filmer til en kompasretning af {direction}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"surveillance_camera": {
|
"surveillance_camera": {
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
"Surveillance type: public, outdoor, indoor": {
|
"Surveillance type: public, outdoor, indoor": {
|
||||||
|
|
|
@ -393,10 +393,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"question": "Was ist der Zweck des Tierheims?"
|
"question": "Was ist der Zweck des Tierheims?"
|
||||||
},
|
|
||||||
"7": {
|
|
||||||
"question": "Wann ist das Tierheim geöffnet?",
|
|
||||||
"render": "{opening_hours_table()}"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
|
@ -8956,6 +8952,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "In welche Himmelsrichtung filmt diese Kamera?",
|
||||||
|
"render": "filmt in Himmelsrichtung {direction}"
|
||||||
|
},
|
||||||
"maxspeed": {
|
"maxspeed": {
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"placeholder": "Zulässige Höchstgeschwindigkeit"
|
"placeholder": "Zulässige Höchstgeschwindigkeit"
|
||||||
|
|
|
@ -394,9 +394,26 @@
|
||||||
},
|
},
|
||||||
"question": "What is the purpose of the animal shelter?"
|
"question": "What is the purpose of the animal shelter?"
|
||||||
},
|
},
|
||||||
"7": {
|
"boarded_animals": {
|
||||||
"question": "When is this animal shelter opened?",
|
"mappings": {
|
||||||
"render": "{opening_hours_table()}"
|
"0": {
|
||||||
|
"then": "Dogs are kept here"
|
||||||
|
},
|
||||||
|
"1": {
|
||||||
|
"then": "Cats are kept here"
|
||||||
|
},
|
||||||
|
"2": {
|
||||||
|
"then": "Horses are kept here"
|
||||||
|
},
|
||||||
|
"3": {
|
||||||
|
"then": "Birds are kept here"
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"then": "Wild animals are kept here"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"question": "Which animals are accepted here?",
|
||||||
|
"render": "{animal_shelter} is kept here"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
|
@ -1489,10 +1506,18 @@
|
||||||
},
|
},
|
||||||
"question": "Are these bicycle parkings free to use?"
|
"question": "Are these bicycle parkings free to use?"
|
||||||
},
|
},
|
||||||
|
"maxstay": {
|
||||||
|
"question": "What is the maximum allowed parking duration?",
|
||||||
|
"questionHint": "If the bicycle is parked for a longer amount, it might be removed by the operator",
|
||||||
|
"render": "A bike can be parked here for at most {canonical(maxstay)}"
|
||||||
|
},
|
||||||
"operator": {
|
"operator": {
|
||||||
"question": "Who maintains this bicycle parking?",
|
"question": "Who maintains this bicycle parking?",
|
||||||
"render": "This bicycle parking is maintained by {operator}"
|
"render": "This bicycle parking is maintained by {operator}"
|
||||||
},
|
},
|
||||||
|
"operator_email": {
|
||||||
|
"question": "What is the email address of the operator of this bicycle parking?"
|
||||||
|
},
|
||||||
"operator_phone": {
|
"operator_phone": {
|
||||||
"question": "What is the phone number of the operator of this bicycle parking?",
|
"question": "What is the phone number of the operator of this bicycle parking?",
|
||||||
"questionHint": "One might be able to call this number in case of problems, e.g. to remove unmaintained bicycles"
|
"questionHint": "One might be able to call this number in case of problems, e.g. to remove unmaintained bicycles"
|
||||||
|
@ -2160,6 +2185,9 @@
|
||||||
},
|
},
|
||||||
"16": {
|
"16": {
|
||||||
"question": "Has a <div style='display: inline-block'><b><b>Bosch Active Connect with 5 pins</b> and cable</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/bosch-5pin.svg'/></div> connector"
|
"question": "Has a <div style='display: inline-block'><b><b>Bosch Active Connect with 5 pins</b> and cable</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/bosch-5pin.svg'/></div> connector"
|
||||||
|
},
|
||||||
|
"17": {
|
||||||
|
"question": "Has a <div style='display: inline-block'><b><b>BS1363</b> (Type G)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/bs1363.svg'/></div> connector"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2304,6 +2332,12 @@
|
||||||
},
|
},
|
||||||
"31": {
|
"31": {
|
||||||
"then": "<b>Bosch Active Connect with 5 pins</b> and cable"
|
"then": "<b>Bosch Active Connect with 5 pins</b> and cable"
|
||||||
|
},
|
||||||
|
"32": {
|
||||||
|
"then": "<b>BS1363</b> (Type G)"
|
||||||
|
},
|
||||||
|
"33": {
|
||||||
|
"then": "<b>BS1363</b> (Type G)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"question": "Which charging connections are available here?"
|
"question": "Which charging connections are available here?"
|
||||||
|
@ -2538,6 +2572,9 @@
|
||||||
},
|
},
|
||||||
"15": {
|
"15": {
|
||||||
"2": "<b>Bosch Active Connect with 5 pins</b> and cable"
|
"2": "<b>Bosch Active Connect with 5 pins</b> and cable"
|
||||||
|
},
|
||||||
|
"16": {
|
||||||
|
"2": "<b>BS1363</b> (Type G)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5112,6 +5149,22 @@
|
||||||
"render": "Restaurant"
|
"render": "Restaurant"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"food_courts": {
|
||||||
|
"description": "Food courts with a variety of food options.",
|
||||||
|
"name": "Food Courts",
|
||||||
|
"tagRenderings": {
|
||||||
|
"name": {
|
||||||
|
"freeform": {
|
||||||
|
"placeholder": "Name of the food court"
|
||||||
|
},
|
||||||
|
"question": "What is the name of this food court?",
|
||||||
|
"render": "This food court is called <b>{name}</b>."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"render": "Food Court"
|
||||||
|
}
|
||||||
|
},
|
||||||
"ghost_bike": {
|
"ghost_bike": {
|
||||||
"description": "A layer showing memorials for cyclists, killed in road accidents",
|
"description": "A layer showing memorials for cyclists, killed in road accidents",
|
||||||
"name": "Ghost bikes",
|
"name": "Ghost bikes",
|
||||||
|
@ -6624,6 +6677,74 @@
|
||||||
"render": "OSM Community Index"
|
"render": "OSM Community Index"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"outdoor_seating": {
|
||||||
|
"description": "Outdoor seating areas, usually located near cafes and restaurants.",
|
||||||
|
"name": "Outdoor Seating",
|
||||||
|
"tagRenderings": {
|
||||||
|
"access": {
|
||||||
|
"mappings": {
|
||||||
|
"0": {
|
||||||
|
"then": "Anyone can use this outdoor seating area."
|
||||||
|
},
|
||||||
|
"1": {
|
||||||
|
"then": "Only customers can use this outdoor seating area."
|
||||||
|
},
|
||||||
|
"2": {
|
||||||
|
"then": "This outdoor seating area is private."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"question": "Who can use this outdoor seating area?"
|
||||||
|
},
|
||||||
|
"covered": {
|
||||||
|
"mappings": {
|
||||||
|
"0": {
|
||||||
|
"then": "This outdoor seating area is covered."
|
||||||
|
},
|
||||||
|
"1": {
|
||||||
|
"then": "This outdoor seating area is not covered."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"question": "Is this outdoor seating area covered?"
|
||||||
|
},
|
||||||
|
"heating": {
|
||||||
|
"mappings": {
|
||||||
|
"0": {
|
||||||
|
"then": "This outdoor seating area is heated."
|
||||||
|
},
|
||||||
|
"1": {
|
||||||
|
"then": "This outdoor seating area is not heated."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"question": "Is this outdoor seating area heated?"
|
||||||
|
},
|
||||||
|
"seasonal": {
|
||||||
|
"mappings": {
|
||||||
|
"0": {
|
||||||
|
"then": "This outdoor seating area is available all year round."
|
||||||
|
},
|
||||||
|
"1": {
|
||||||
|
"then": "This outdoor seating area is available in spring."
|
||||||
|
},
|
||||||
|
"2": {
|
||||||
|
"then": "This outdoor seating area is available in summer."
|
||||||
|
},
|
||||||
|
"3": {
|
||||||
|
"then": "This outdoor seating area is available in autumn."
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"then": "This outdoor seating area is available in winter."
|
||||||
|
},
|
||||||
|
"5": {
|
||||||
|
"then": "This outdoor seating area is available in the dry season."
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"question": "Is this outdoor seating area seasonal?"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"render": "Outdoor Seating area"
|
||||||
|
}
|
||||||
|
},
|
||||||
"parcel_lockers": {
|
"parcel_lockers": {
|
||||||
"description": "Layer showing parcel lockers for collecting and sending parcels.",
|
"description": "Layer showing parcel lockers for collecting and sending parcels.",
|
||||||
"name": "Parcel Lockers",
|
"name": "Parcel Lockers",
|
||||||
|
@ -8956,6 +9077,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "In which geographical direction does this camera film?",
|
||||||
|
"render": "Films to a compass heading of {direction}"
|
||||||
|
},
|
||||||
"maxspeed": {
|
"maxspeed": {
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"placeholder": "Maximum speed allowed"
|
"placeholder": "Maximum speed allowed"
|
||||||
|
@ -10532,6 +10657,14 @@
|
||||||
"2": {
|
"2": {
|
||||||
"human": "{quantity} days",
|
"human": "{quantity} days",
|
||||||
"humanSingular": "one day"
|
"humanSingular": "one day"
|
||||||
|
},
|
||||||
|
"3": {
|
||||||
|
"human": "{quantity} weeks",
|
||||||
|
"humanSingular": "one week"
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"human": "{quantity} months",
|
||||||
|
"humanSingular": "one month"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -310,10 +310,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"question": "¿Cuál es la finalidad del refugio de animales?"
|
"question": "¿Cuál es la finalidad del refugio de animales?"
|
||||||
},
|
|
||||||
"7": {
|
|
||||||
"question": "¿Cuándo se abre este refugio de animales?",
|
|
||||||
"render": "{opening_hours_table()}"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
|
@ -4058,6 +4054,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "¿A qué dirección geográfica apunta esta cámara?",
|
||||||
|
"render": "Graba en dirección a {direction}"
|
||||||
|
},
|
||||||
"maxspeed": {
|
"maxspeed": {
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"placeholder": "Velocidad máxima permitida"
|
"placeholder": "Velocidad máxima permitida"
|
||||||
|
|
|
@ -5503,6 +5503,10 @@
|
||||||
},
|
},
|
||||||
"speed_camera": {
|
"speed_camera": {
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "Dans quelle direction géographique cette caméra filme-t-elle ?",
|
||||||
|
"render": "Filme dans une direction {direction}"
|
||||||
|
},
|
||||||
"maxspeed": {
|
"maxspeed": {
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"placeholder": "Vitesse maximale autorisée"
|
"placeholder": "Vitesse maximale autorisée"
|
||||||
|
|
|
@ -2373,6 +2373,14 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"speed_camera": {
|
||||||
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "In quale direzione geografica punta questa videocamera?",
|
||||||
|
"render": "Punta in direzione {direction}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"sport_pitch": {
|
"sport_pitch": {
|
||||||
"description": "Un campo sportivo",
|
"description": "Un campo sportivo",
|
||||||
"name": "Campi sportivi",
|
"name": "Campi sportivi",
|
||||||
|
|
|
@ -1222,10 +1222,18 @@
|
||||||
},
|
},
|
||||||
"question": "Is deze fietsenstalling gratis te gebruiken?"
|
"question": "Is deze fietsenstalling gratis te gebruiken?"
|
||||||
},
|
},
|
||||||
|
"maxstay": {
|
||||||
|
"question": "Wat is de toegestane, maximale parkeerduur?",
|
||||||
|
"questionHint": "Indien een fiets langer geparkeerd staat, kan deze verwijderd worden door de beheerder",
|
||||||
|
"render": "Een fiets mag hier maximaal {canonical(maxstay)} parkeren"
|
||||||
|
},
|
||||||
"operator": {
|
"operator": {
|
||||||
"question": "Wie beheert deze fietsenstalling?",
|
"question": "Wie beheert deze fietsenstalling?",
|
||||||
"render": "Deze fietsenstalling wordt beheerd door {operator}"
|
"render": "Deze fietsenstalling wordt beheerd door {operator}"
|
||||||
},
|
},
|
||||||
|
"operator_email": {
|
||||||
|
"question": "Wat is het emailadres van de beheerder van deze parking?"
|
||||||
|
},
|
||||||
"operator_phone": {
|
"operator_phone": {
|
||||||
"question": "Wat is het telefoonnummer van de operator van deze fietsenstalling?",
|
"question": "Wat is het telefoonnummer van de operator van deze fietsenstalling?",
|
||||||
"questionHint": "Men kan dit nummer bellen om bv. fietswrakken of defecten te melden"
|
"questionHint": "Men kan dit nummer bellen om bv. fietswrakken of defecten te melden"
|
||||||
|
@ -1869,6 +1877,9 @@
|
||||||
},
|
},
|
||||||
"16": {
|
"16": {
|
||||||
"question": "Heeft een <div style='display: inline-block'><b><b>Bosch Active Connect met 5 pinnen</b> aan een kabel</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/bosch-5pin.svg'/></div>"
|
"question": "Heeft een <div style='display: inline-block'><b><b>Bosch Active Connect met 5 pinnen</b> aan een kabel</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/bosch-5pin.svg'/></div>"
|
||||||
|
},
|
||||||
|
"17": {
|
||||||
|
"question": "Heeft een <div style='display: inline-block'><b><b>BS1363</b> (VK 3-pin)</b> <img style='width:1rem; display: inline-block' src='./assets/layers/charging_station/bs1363.svg'/></div>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2013,6 +2024,12 @@
|
||||||
},
|
},
|
||||||
"31": {
|
"31": {
|
||||||
"then": "<b>Bosch Active Connect met 5 pinnen</b> aan een kabel"
|
"then": "<b>Bosch Active Connect met 5 pinnen</b> aan een kabel"
|
||||||
|
},
|
||||||
|
"32": {
|
||||||
|
"then": "<b>BS1363</b> (VK 3-pin)"
|
||||||
|
},
|
||||||
|
"33": {
|
||||||
|
"then": "<b>BS1363</b> (VK 3-pin)"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"question": "Welke aansluitingen zijn hier beschikbaar?"
|
"question": "Welke aansluitingen zijn hier beschikbaar?"
|
||||||
|
@ -2247,6 +2264,9 @@
|
||||||
},
|
},
|
||||||
"15": {
|
"15": {
|
||||||
"2": "<b>Bosch Active Connect met 5 pinnen</b> aan een kabel"
|
"2": "<b>Bosch Active Connect met 5 pinnen</b> aan een kabel"
|
||||||
|
},
|
||||||
|
"16": {
|
||||||
|
"2": "<b>BS1363</b> (VK 3-pin)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7341,6 +7361,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tagRenderings": {
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "In welke geografische richting filmt deze camera?",
|
||||||
|
"render": "Filmt in kompasrichting {direction}"
|
||||||
|
},
|
||||||
"maxspeed": {
|
"maxspeed": {
|
||||||
"freeform": {
|
"freeform": {
|
||||||
"placeholder": "Maximum toegestane snelheid"
|
"placeholder": "Maximum toegestane snelheid"
|
||||||
|
@ -8692,6 +8716,14 @@
|
||||||
"2": {
|
"2": {
|
||||||
"human": "{quantity} day",
|
"human": "{quantity} day",
|
||||||
"humanSingular": "één dag"
|
"humanSingular": "één dag"
|
||||||
|
},
|
||||||
|
"3": {
|
||||||
|
"human": "{quantity} weken",
|
||||||
|
"humanSingular": "één week"
|
||||||
|
},
|
||||||
|
"4": {
|
||||||
|
"human": "{quantity} maanden",
|
||||||
|
"humanSingular": "één maand"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -223,6 +223,12 @@
|
||||||
"0": {
|
"0": {
|
||||||
"title": "hitrostna kamera"
|
"title": "hitrostna kamera"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"tagRenderings": {
|
||||||
|
"camera_direction": {
|
||||||
|
"question": "V katero geografsko smer snema ta kamera?",
|
||||||
|
"render": "Snema v smeri kompasa {direction}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"surveillance_camera": {
|
"surveillance_camera": {
|
||||||
|
|
|
@ -292,10 +292,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"question": "动物收容所的目的是什么?"
|
"question": "动物收容所的目的是什么?"
|
||||||
},
|
|
||||||
"7": {
|
|
||||||
"question": "这个动物收容所什么时候开放?",
|
|
||||||
"render": "{opening_hours_table()}"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
|
|
|
@ -570,10 +570,6 @@ function MergeTranslation(source: any, target: any, language: string, context: s
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const key in source) {
|
for (const key in source) {
|
||||||
if (!source.hasOwnProperty(key)) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
|
|
||||||
const sourceV = source[key]
|
const sourceV = source[key]
|
||||||
const targetV = target[keyRemapping?.get(key) ?? key]
|
const targetV = target[keyRemapping?.get(key) ?? key]
|
||||||
|
|
||||||
|
@ -582,10 +578,7 @@ function MergeTranslation(source: any, target: any, language: string, context: s
|
||||||
if (targetV === undefined) {
|
if (targetV === undefined) {
|
||||||
if (typeof target === "string") {
|
if (typeof target === "string") {
|
||||||
throw (
|
throw (
|
||||||
"Trying to merge a translation into a fixed string at " +
|
`Trying to merge a translation for ${language} into a fixed string at ${context} for key ${key}`
|
||||||
context +
|
|
||||||
" for key " +
|
|
||||||
key
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
target[key] = source[key]
|
target[key] = source[key]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue