diff --git a/assets/themes/mapcomplete-changes/mapcomplete-changes.json b/assets/themes/mapcomplete-changes/mapcomplete-changes.json
index c90abd4c4d..2f479a092b 100644
--- a/assets/themes/mapcomplete-changes/mapcomplete-changes.json
+++ b/assets/themes/mapcomplete-changes/mapcomplete-changes.json
@@ -1,13 +1,16 @@
{
"id": "mapcomplete-changes",
"title": {
- "en": "Changes made with MapComplete"
+ "en": "Changes made with MapComplete",
+ "de": "Änderungen mit MapComplete"
},
"shortDescription": {
- "en": "Shows changes made by MapComplete"
+ "en": "Shows changes made by MapComplete",
+ "de": "Zeigt Änderungen von MapComplete"
},
"description": {
- "en": "This maps shows all the changes made with MapComplete"
+ "en": "This maps shows all the changes made with MapComplete",
+ "de": "Diese Karte zeigt alle Änderungen die mit MapComplete gemacht wurden"
},
"maintainer": "",
"icon": "./assets/svg/logo.svg",
@@ -22,7 +25,8 @@
{
"id": "mapcomplete-changes",
"name": {
- "en": "Changeset centers"
+ "en": "Changeset centers",
+ "de": "Schwerpunkte von Änderungssätzen"
},
"minzoom": 0,
"source": {
@@ -36,35 +40,41 @@
],
"title": {
"render": {
- "en": "Changeset for {theme}"
+ "en": "Changeset for {theme}",
+ "de": "Änderungen für {theme}"
}
},
"description": {
- "en": "Shows all MapComplete changes"
+ "en": "Shows all MapComplete changes",
+ "de": "Zeigt alle MapComplete Änderungen"
},
"tagRenderings": [
{
"id": "render_id",
"render": {
- "en": "Changeset {id}"
+ "en": "Changeset {id}",
+ "de": "Änderung {id}"
}
},
{
"id": "contributor",
"render": {
- "en": "Change made by {_last_edit:contributor}"
+ "en": "Change made by {_last_edit:contributor}",
+ "de": "Änderung wurde von {_last_edit:contributor} gemacht"
}
},
{
"id": "theme",
"render": {
- "en": "Change with theme {theme}"
+ "en": "Change with theme {theme}",
+ "de": "Änderung mit Thema {theme}"
},
"mappings": [
{
"if": "theme~http.*",
"then": {
- "en": "Change with unofficial theme {theme}"
+ "en": "Change with unofficial theme {theme}",
+ "de": "Änderung mit inoffiziellem Thema {theme}"
}
}
]
@@ -328,7 +338,8 @@
}
],
"question": {
- "en": "Themename contains {search}"
+ "en": "Themename contains {search}",
+ "de": "Themenname enthält {search}"
}
}
]
@@ -344,7 +355,8 @@
}
],
"question": {
- "en": "Made by contributor {search}"
+ "en": "Made by contributor {search}",
+ "de": "Erstellt von {search}"
}
}
]
@@ -360,7 +372,8 @@
}
],
"question": {
- "en": "Not made by contributor {search}"
+ "en": "Not made by contributor {search}",
+ "de": "Nicht erstellt von {search}"
}
}
]
@@ -375,7 +388,8 @@
{
"id": "link_to_more",
"render": {
- "en": "More statistics can be found here"
+ "en": "More statistics can be found here",
+ "de": "Weitere Statistiken finden Sie hier"
}
},
{
diff --git a/assets/themes/trees/trees.json b/assets/themes/trees/trees.json
index e886c092e3..910160fa58 100644
--- a/assets/themes/trees/trees.json
+++ b/assets/themes/trees/trees.json
@@ -13,7 +13,7 @@
"nb_NO": "Trær",
"id": "Pohon",
"hu": "Fatérkép",
- "ca": "Arbres",
+ "ca": "Arbres",
"es": "Árboles"
},
"shortDescription": {
@@ -62,4 +62,4 @@
"tree_node"
],
"defaultBackgroundId": "AGIV"
-}
+}
\ No newline at end of file
diff --git a/langs/layers/en.json b/langs/layers/en.json
index 574c793046..6d6be2e8dc 100644
--- a/langs/layers/en.json
+++ b/langs/layers/en.json
@@ -5670,6 +5670,7 @@
"name": "Watermill"
},
"windturbine": {
+ "description": "Modern windmills generating electricity",
"name": "wind turbine",
"presets": {
"0": {
diff --git a/langs/themes/es.json b/langs/themes/es.json
index 03be0cd47e..b1af01d8aa 100644
--- a/langs/themes/es.json
+++ b/langs/themes/es.json
@@ -139,5 +139,10 @@
"personal": {
"description": "Crea una interficie basada en todas las capas disponibles de todas las interficies",
"title": "Interficie personal"
+ },
+ "trees": {
+ "description": "Mapa de todos los Árboles",
+ "shortDescription": "Mapa de los Árboles",
+ "title": "Árboles"
}
}
\ No newline at end of file
diff --git a/scripts/generateTranslations.ts b/scripts/generateTranslations.ts
index a046eabbd3..0f83f30ba3 100644
--- a/scripts/generateTranslations.ts
+++ b/scripts/generateTranslations.ts
@@ -582,14 +582,12 @@ if (!themeOverwritesWeblate) {
genTranslations()
const allTranslationFiles = ScriptUtils.readDirRecSync("langs").filter(path => path.endsWith(".json"))
for (const path of allTranslationFiles) {
- console.log("Formatting ", path)
formatFile(path)
}
-
// Some validation
TranslationPart.fromDirectory("./langs").validateStrict("./langs")
TranslationPart.fromDirectory("./langs/layers").validateStrict("layers")
TranslationPart.fromDirectory("./langs/themes").validateStrict("themes")
TranslationPart.fromDirectory("./langs/shared-questions").validateStrict("shared-questions")
-
+console.log("All done!")