add default translations

This commit is contained in:
5ila5
2024-08-16 11:36:16 +02:00
committed by 5ila5
parent 43cfcf6dff
commit a550e01bd7
6 changed files with 14030 additions and 11229 deletions

View File

@@ -4156,12 +4156,12 @@
"module": "ics", "module": "ics",
"default_params": { "default_params": {
"method": "POST", "method": "POST",
"url": "https://www.abfallwirtschaft-sonneberg.de/PHPtoICS{%Y}.php",
"params": { "params": {
"ort": "", "ort": "",
"stadtteil": "", "stadtteil": "",
"strasse": "" "strasse": ""
} },
"url": "https://www.abfallwirtschaft-sonneberg.de/PHPtoICS{%Y}.php"
}, },
"id": "ics_abfallwirtschaft_sonneberg_de" "id": "ics_abfallwirtschaft_sonneberg_de"
}, },
@@ -4385,8 +4385,8 @@
"title": "Allendorf", "title": "Allendorf",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Allendorf",
"city": "Allendorf" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4394,8 +4394,8 @@
"title": "Altena", "title": "Altena",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Altena",
"city": "Altena" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4403,8 +4403,8 @@
"title": "Altenbeken", "title": "Altenbeken",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Altenbeken",
"city": "Altenbeken" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4438,8 +4438,8 @@
"title": "Arnsberg", "title": "Arnsberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Arnsberg",
"city": "Arnsberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4447,8 +4447,8 @@
"title": "ART Trier", "title": "ART Trier",
"module": "ics", "module": "ics",
"default_params": { "default_params": {
"split_at": " & ", "regex": "(.*) - .* - A.R.T. Abfuhrtermin",
"regex": "(.*) - .* - A.R.T. Abfuhrtermin" "split_at": " & "
}, },
"id": "ics_art_trier_de" "id": "ics_art_trier_de"
}, },
@@ -4672,8 +4672,8 @@
"title": "Bad Arolsen", "title": "Bad Arolsen",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Bad Arolsen",
"city": "Bad Arolsen" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4689,8 +4689,8 @@
"title": "Bad Berleburg", "title": "Bad Berleburg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Bad Berleburg",
"city": "Bad Berleburg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4698,8 +4698,8 @@
"title": "Bad Driburg", "title": "Bad Driburg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Bad Driburg",
"city": "Bad Driburg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4723,8 +4723,8 @@
"title": "Bad W\u00fcnnenberg", "title": "Bad W\u00fcnnenberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Bad W\u00fcnnenberg",
"city": "Bad W\u00fcnnenberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4740,8 +4740,8 @@
"title": "Balve", "title": "Balve",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Balve",
"city": "Balve" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4763,8 +4763,8 @@
"title": "Battenberg", "title": "Battenberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Battenberg",
"city": "Battenberg" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4816,8 +4816,8 @@
"title": "Bestwig", "title": "Bestwig",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Bestwig",
"city": "Bestwig" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4861,8 +4861,8 @@
"title": "Borchen", "title": "Borchen",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Borchen",
"city": "Borchen" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4870,8 +4870,8 @@
"title": "Borgentreich", "title": "Borgentreich",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Borgentreich",
"city": "Borgentreich" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4879,8 +4879,8 @@
"title": "Brakel", "title": "Brakel",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Brakel",
"city": "Brakel" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4896,8 +4896,8 @@
"title": "Breckerfeld", "title": "Breckerfeld",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Breckerfeld",
"city": "Breckerfeld" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4929,8 +4929,8 @@
"title": "Brilon", "title": "Brilon",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Brilon",
"city": "Brilon" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4946,8 +4946,8 @@
"title": "Bromskirchen", "title": "Bromskirchen",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Bromskirchen",
"city": "Bromskirchen" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4963,8 +4963,8 @@
"title": "Burgwald", "title": "Burgwald",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Burgwald",
"city": "Burgwald" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -4972,8 +4972,8 @@
"title": "B\u00fcren", "title": "B\u00fcren",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "B\u00fcren",
"city": "B\u00fcren" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5071,8 +5071,8 @@
"title": "Delbr\u00fcck", "title": "Delbr\u00fcck",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Delbr\u00fcck",
"city": "Delbr\u00fcck" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5080,8 +5080,8 @@
"title": "Diemelsee", "title": "Diemelsee",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Diemelsee",
"city": "Diemelsee" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5089,8 +5089,8 @@
"title": "Diemelstadt", "title": "Diemelstadt",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Diemelstadt",
"city": "Diemelstadt" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5146,8 +5146,8 @@
"title": "Edertal", "title": "Edertal",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Edertal",
"city": "Edertal" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5293,8 +5293,8 @@
"title": "Eslohe", "title": "Eslohe",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Eslohe",
"city": "Eslohe" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5355,8 +5355,8 @@
"title": "Frankenau", "title": "Frankenau",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Frankenau",
"city": "Frankenau" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5516,8 +5516,8 @@
"title": "Hallenberg", "title": "Hallenberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Hallenberg",
"city": "Hallenberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5541,8 +5541,8 @@
"title": "Halver", "title": "Halver",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Halver",
"city": "Halver" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5558,8 +5558,8 @@
"title": "Hatzfeld", "title": "Hatzfeld",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Hatzfeld",
"city": "Hatzfeld" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5599,8 +5599,8 @@
"title": "Hemer", "title": "Hemer",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Hemer",
"city": "Hemer" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5674,8 +5674,8 @@
"title": "Iserlohn", "title": "Iserlohn",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Iserlohn",
"city": "Iserlohn" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5709,8 +5709,8 @@
"title": "Kierspe", "title": "Kierspe",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Kierspe",
"city": "Kierspe" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -5732,8 +5732,8 @@
"title": "Korbach", "title": "Korbach",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Korbach",
"city": "Korbach" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -6481,9 +6481,7 @@
"title": "Landkreis Heidenheim", "title": "Landkreis Heidenheim",
"module": "ics", "module": "ics",
"default_params": { "default_params": {
"url": "https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php",
"method": "POST", "method": "POST",
"year_field": "jahr",
"params": { "params": {
"tag": "0", "tag": "0",
"uhrzeit": "", "uhrzeit": "",
@@ -6493,7 +6491,9 @@
"rest": "1", "rest": "1",
"papier": "1", "papier": "1",
"papiertonne": "1" "papiertonne": "1"
} },
"url": "https://mobil.abfallwirtschaft-heidenheim.de/icalendar/download.php",
"year_field": "jahr"
}, },
"id": "ics_abfall_hdh_de" "id": "ics_abfall_hdh_de"
}, },
@@ -6899,8 +6899,8 @@
"title": "Lichtenau", "title": "Lichtenau",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Lichtenau",
"city": "Lichtenau" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -6908,8 +6908,8 @@
"title": "Lichtenfels", "title": "Lichtenfels",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Lichtenfels",
"city": "Lichtenfels" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -6999,8 +6999,8 @@
"title": "Marienm\u00fcnster", "title": "Marienm\u00fcnster",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Marienm\u00fcnster",
"city": "Marienm\u00fcnster" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7008,8 +7008,8 @@
"title": "Marsberg", "title": "Marsberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Marsberg",
"city": "Marsberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7025,8 +7025,8 @@
"title": "Medebach", "title": "Medebach",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Medebach",
"city": "Medebach" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7040,8 +7040,8 @@
"title": "Meinerzhagen", "title": "Meinerzhagen",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Meinerzhagen",
"city": "Meinerzhagen" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7049,8 +7049,8 @@
"title": "Menden", "title": "Menden",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Menden",
"city": "Menden" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7058,8 +7058,8 @@
"title": "Meschede", "title": "Meschede",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Meschede",
"city": "Meschede" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7143,8 +7143,8 @@
"title": "Nachrodt-Wiblingwerde", "title": "Nachrodt-Wiblingwerde",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Nachrodt-Wiblingwerde",
"city": "Nachrodt-Wiblingwerde" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7251,8 +7251,8 @@
"title": "Olsberg", "title": "Olsberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Olsberg",
"city": "Olsberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7284,8 +7284,8 @@
"title": "Plettenberg", "title": "Plettenberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Plettenberg",
"city": "Plettenberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7411,8 +7411,8 @@
"title": "Rosenthal", "title": "Rosenthal",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Rosenthal",
"city": "Rosenthal" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7452,8 +7452,8 @@
"title": "R\u00fcthen", "title": "R\u00fcthen",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "R\u00fcthen",
"city": "R\u00fcthen" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7477,8 +7477,8 @@
"title": "Schalksm\u00fchle", "title": "Schalksm\u00fchle",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Schalksm\u00fchle",
"city": "Schalksm\u00fchle" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7492,8 +7492,8 @@
"title": "Schmallenberg", "title": "Schmallenberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Schmallenberg",
"city": "Schmallenberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7829,8 +7829,8 @@
"title": "Steinheim", "title": "Steinheim",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Steinheim",
"city": "Steinheim" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7852,8 +7852,8 @@
"title": "Sundern", "title": "Sundern",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Sundern",
"city": "Sundern" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -7933,8 +7933,8 @@
"title": "Twistetal", "title": "Twistetal",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Twistetal",
"city": "Twistetal" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8004,8 +8004,8 @@
"title": "V\u00f6hl", "title": "V\u00f6hl",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "V\u00f6hl",
"city": "V\u00f6hl" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8045,8 +8045,8 @@
"title": "Warburg", "title": "Warburg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Warburg",
"city": "Warburg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8054,8 +8054,8 @@
"title": "Warstein", "title": "Warstein",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Warstein",
"city": "Warstein" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8085,8 +8085,8 @@
"title": "Werdohl", "title": "Werdohl",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Werdohl",
"city": "Werdohl" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8132,8 +8132,8 @@
"title": "Willebadessen", "title": "Willebadessen",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Willebadessen",
"city": "Willebadessen" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8141,8 +8141,8 @@
"title": "Willingen", "title": "Willingen",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Hessen", "city": "Willingen",
"city": "Willingen" "state": "Hessen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8150,8 +8150,8 @@
"title": "Winterberg", "title": "Winterberg",
"module": "lobbe_app", "module": "lobbe_app",
"default_params": { "default_params": {
"state": "Nordrhein-Westfalen", "city": "Winterberg",
"city": "Winterberg" "state": "Nordrhein-Westfalen"
}, },
"id": "lobbe_app" "id": "lobbe_app"
}, },
@@ -8439,9 +8439,9 @@
"title": "Contarina S.p.A", "title": "Contarina S.p.A",
"module": "ics", "module": "ics",
"default_params": { "default_params": {
"url": "https://contarina.it/ajax/moduli/appbugfixapi/genera_ics_calendari?id_zona={zone}", "regex": ".*: (.*)",
"split_at": ", ", "split_at": ", ",
"regex": ".*: (.*)" "url": "https://contarina.it/ajax/moduli/appbugfixapi/genera_ics_calendari?id_zona={zone}"
}, },
"id": "ics_contarina_it" "id": "ics_contarina_it"
}, },
@@ -9639,12 +9639,12 @@
"title": "Canton of Z\u00fcrich", "title": "Canton of Z\u00fcrich",
"module": "ics", "module": "ics",
"default_params": { "default_params": {
"regex": "(.*), .*",
"params": { "params": {
"region": "", "region": "",
"zip": "", "zip": "",
"area": "" "area": ""
} },
"regex": "(.*), .*"
}, },
"id": "ics_openerz_metaodi_ch" "id": "ics_openerz_metaodi_ch"
}, },

252
default_tranlsations.py Normal file
View File

@@ -0,0 +1,252 @@
import json
from typing import Iterable
DEFAULT_PARAM_TRANSLATIONS = {
"en": {
"abf_hausnr": "House Number",
"abf_strasse": "Street",
"abf_suche": "Search",
"address_name_number": "Address Name or Number",
"bezirk": "District",
"gemeinde": "Municipality",
"hausnr": "House Number",
"hausnummer": "House Number",
"hnr": "House Number",
"houseNo": "House Number",
"housenameornumber": "House Name or Number",
"housenumber": "House Number",
"housenumberorname": "House Number or Name",
"hpid": "HPID",
"kommune": "Municipality",
"ladeort": "Loading Location",
"lat": "Latitude",
"lon": "Longitude",
"ort": "City",
"ortsgemeinde": "Local Community",
"ortsteil": "District",
"params": "Parameters",
"postCode": "Postcode",
"post_code": "Postcode",
"postcode": "Postcode",
"stadt": "City",
"stadtteil": "District",
"strasse": "Street",
"teilgebiet": "Subarea",
"turnus": "Cycle",
"uprn": "UPRN",
"zipCode": "ZIP Code",
"zip_code": "ZIP Code",
"zipcode": "ZIP Code",
"zusatz": "Addition",
},
"de": {
"Calendar": "Kalender",
"addition": "Zusatz",
"address_postcode": "Postleitzahl",
"address_street": "Straße",
"address": "Addresse",
"adress": "Addresse",
"area": "Gebiet",
"bill_number": "Rechnungsnummer",
"city": "Stadt",
"city_id": "Stadt ID",
"client": "Kunde",
"community": "Gemeinde",
"company": "Unternehmen",
"customer": "Kunde",
"district": "Bezirk",
"email": "E-Mail",
"hausnr": "Hausnummer",
"house": "Haus",
"houseNo": "Hausnummer",
"house_name": "Hausname",
"house_number": "Hausnummer",
"house_number_or_name": "Hausnummer oder Name",
"housenumber": "Hausnummer",
"housenumberorname": "Hausnummer oder Name",
"lat": "Breitengrad",
"location": "Position",
"lon": "Längengrad",
"method": "Methode",
"municipal": "Gemeinde",
"municipality": "Gemeinde",
"number": "Nummer",
"password": "Passwort",
"phone": "Telefon",
"plz": "PLZ",
"postCode": "PLZ",
"post_code": "PLZ",
"postcode": "PLZ",
"property_no": "Grundstück Nr.",
"strasse": "Straße",
"street": "Straße",
"streetId": "Straßen ID",
"street_id": "Straßen ID",
"street_name": "Straßenname",
"subdomain": "Subdomain",
"terretory": "Gebiet",
"town": "Stadt",
"types": "Typen",
"uprn": "UPRN",
"url": "URL",
"username": "Benutzername",
"values": "Werte",
"version": "Version",
"village": "Ort",
"voivodship": "Woiwodschaft",
"zipCode": "PLZ",
"zip_code": "PLZ",
"zipcode": "PLZ",
"zone": "Zone",
},
"it": {
"addressNo": "Indirizzo Numero",
"api_key": "Chiave API",
"bill_number": "Numero della bolletta",
"building_number": "Numero Edificio",
"calendar": "Calendario",
"calendar_splitter": "Calendar Splitter",
"calendar_title": "Nome Calendario",
"city": "Città",
"city_id": "ID Città",
"city_part": "Parte della Città",
"client": "Cliente",
"community": "Comunità",
"company": "Compagnia",
"council": "Consiglio",
"count": "Conteggio",
"county_id": "ID Paese",
"customer": "Cliente",
"dates": "Date",
"district": "Distretto",
"district_id": "ID Distretto",
"door_num": "Numero Interno",
"email": "Email",
"excludes": "Escludi",
"file": "Nome File",
"frequency": "Frequenza",
"house": "Casa",
"houseID": "ID Casa",
"houseNo": "Civico",
"house_letter": "Lettera Casa",
"house_name": "Nome Casa",
"house_number": "Civico",
"housenameornumber": "Numero o Nome Casa",
"housenumber": "Civico",
"housenumberorname": "Numero o Nome Casa",
"ignored_containers": "Ignored Containers",
"interval": "Intervallo",
"ladeort": "Ladeort",
"location": "Posizione",
"location_id": "ID Posizione",
"method": "Metodo",
"municipality": "Municipality",
"municipality_id": "Municipality ID",
"name": "Nome",
"number": "Numero",
"operator": "Operatore",
"p_collect_cycle": "P Collect Cycle",
"params": "Parametri",
"phone": "Telefono",
"pid": "PID",
"postCode": "Codice Postale CAP",
"post_code": "Codice Postale CAP",
"postal_code": "Codice Postale CAP",
"postcode": "Codice Postale CAP",
"predict": "Predict",
"prem_code": "Premises Code",
"premises_id": "Premises ID",
"project_id": "Project ID",
"property": "Proprietà",
"propertyID": "ID Proprietà",
"property_id": "ID Proprietà",
"property_location": "Posizione Proprietà",
"property_no": "Proprietà Numero",
"r_collect_cycle": "R Collect Cycle",
"radius": "Raggio",
"region": "Regione",
"road": "Strada",
"road_name": "Nome Strada",
"sector": "Settore",
"service": "Servizio",
"service_id": "ID Servizio",
"service_provider": "Fornitore di Servizi",
"show_nights": "Mostra Notti",
"start": "Inizio",
"state": "Stato",
"street": "Strada",
"streetId": "ID Strada",
"streetIndex": "Indice Strada",
"streetName": "Nome della Strada",
"street_address": "Indirizzo Strada",
"street_code": "Codice Strada",
"street_id": "ID Strada",
"street_name": "Nome Strada",
"street_number": "Numero Strada",
"street_town": "Città Strada",
"suffix": "Suffisso",
"territory": "Territorio",
"town": "Città",
"unit_number": "Numero Interno",
"until": "Fino",
"uprn": "UPRN",
"values": "Valori",
"verify_ssl": "Verifica SSL",
"version": "Versione",
"village": "Villaggio",
"weekdays": "Giorni feriali",
"zipCode": "Codice Postale CAP",
"zip_code": "Codice Postale CAP",
"zipcode": "Codice Postale CAP",
"zone": "Zona",
"zoneID": "ID Zona",
"zone_id": "ID Zona",
},
}
DEFAULT_PARAM_DESCRIPTIONS = {
"en": {
"uprn": "An easy way to discover your Unique Property Reference Number (UPRN) is by going to https://www.findmyaddress.co.uk/ and entering in your address details.",
},
"de": {
"uprn": "Eine einfache Möglichkeit, Ihre Unique Property Reference Number (UPRN) zu finden, besteht darin, auf https://www.findmyaddress.co.uk/ zu gehen und Ihre Adressdaten einzugeben.",
},
"it": {
"uprn": "Un modo facile per scoprire il tuo Numero di Riferimento Proprietà Unica (UPRN) è andare su https://www.findmyaddress.co.uk/ e inserire i dettagli del tuo indirizzo.",
},
}
def default_translations(args: Iterable[str]) -> dict[str, dict[str, str]]:
translation: dict[str, dict[str, str]] = {}
for arg in args:
for lang, translations in DEFAULT_PARAM_TRANSLATIONS.items():
if not lang in translation:
translation[lang] = {}
if arg in translations:
translation[lang][arg] = translations[arg]
return translation
def default_descriptions(args: Iterable[str]) -> dict[str, dict[str, str]]:
translation: dict[str, dict[str, str]] = {}
for arg in args:
for lang, translations in DEFAULT_PARAM_DESCRIPTIONS.items():
if not lang in translation:
translation[lang] = {}
if arg in translations:
translation[lang][arg] = translations[arg]
return translation
def sort_translations():
for lang in DEFAULT_PARAM_TRANSLATIONS:
DEFAULT_PARAM_TRANSLATIONS[lang] = dict(
sorted(DEFAULT_PARAM_TRANSLATIONS[lang].items())
)
print(json.dumps(DEFAULT_PARAM_TRANSLATIONS, indent=4, ensure_ascii=False))
if __name__ == "__main__":
sort_translations()

View File

@@ -18,6 +18,8 @@ except ImportError:
import yaml import yaml
from default_tranlsations import default_descriptions, default_translations
SECRET_FILENAME = "secrets.yaml" SECRET_FILENAME = "secrets.yaml"
SECRET_REGEX = re.compile(r"!secret\s(\w+)") SECRET_REGEX = re.compile(r"!secret\s(\w+)")
@@ -52,6 +54,21 @@ PACKAGE_DIR = (
SOURCE_DIR = PACKAGE_DIR / "waste_collection_schedule" / "source" SOURCE_DIR = PACKAGE_DIR / "waste_collection_schedule" / "source"
DOC_URL_BASE = "https://github.com/mampfes/hacs_waste_collection_schedule/blob/master" DOC_URL_BASE = "https://github.com/mampfes/hacs_waste_collection_schedule/blob/master"
T = TypeVar("T")
def sort_param_dict(d: dict[str, T]) -> dict[str, T]:
return dict(sorted(d.items()))
def sort_lang_param_dict(d: dict[str, dict[str, T]]) -> dict[str, dict[str, T]]:
# sort lang
d = dict(sorted(d.items()))
# sort param
for lang in d:
d[lang] = sort_param_dict(d[lang])
return d
class SourceInfo: class SourceInfo:
def __init__( def __init__(
@@ -72,12 +89,24 @@ class SourceInfo:
self._title = title self._title = title
self._url = url self._url = url
self._country = country self._country = country
self._params = params self._params = sorted(params)
self._extra_info_default_params = extra_info_default_params self._extra_info_default_params = sort_param_dict(extra_info_default_params)
self._custom_param_translation = custom_param_translation self._custom_param_translation = default_translations(params)
self._custom_param_description = custom_param_description self._custom_param_translation.update(custom_param_translation)
self._custom_howto = custom_howto
# sort alphabetically
self._custom_param_translation = sort_lang_param_dict(
self._custom_param_translation
)
self._custom_param_description = default_descriptions(params)
self._custom_param_description.update(custom_param_description)
self._custom_param_description = sort_lang_param_dict(
self._custom_param_description
)
self._custom_howto = sort_param_dict(custom_howto)
for k, v in custom_param_translation.items(): for k, v in custom_param_translation.items():
if k not in LANGUAGES: if k not in LANGUAGES:
@@ -559,7 +588,7 @@ def get_custom_translations(
if not module in param_descriptions: if not module in param_descriptions:
param_descriptions[module] = {} param_descriptions[module] = {}
for param in e.params: for param in sorted(e.params):
if param not in param_translations[module]: if param not in param_translations[module]:
param_translations[module][param] = {} param_translations[module][param] = {}
if param not in param_descriptions[module]: if param not in param_descriptions[module]: