Skip to content

Commit

Permalink
Prepare for the addition of the Swedish translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ursjoss committed Sep 22, 2021
1 parent 48b62fa commit 0a4c2da
Show file tree
Hide file tree
Showing 3 changed files with 261 additions and 16 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@
<a href="index.html?a_lang=de">DE</a><br>
<a href="index.html?a_lang=en">EN</a><br>
<a href="index.html?a_lang=fr">FR</a><br>
<a href="index.html?a_lang=it">IT</a>
<a href="index.html?a_lang=it">IT</a><br>
<a href="index.html?a_lang=sv">SV</a>
</div>
< for testing end. -->

Expand Down Expand Up @@ -340,4 +341,4 @@
</div>

</body>
</html>
</html>
55 changes: 51 additions & 4 deletions json_matrix.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,35 @@ arrNoxen = [
"noxe_en": "Particulate matter",
"noxe_fr": "Poussières fines",
"noxe_it": "Polveri sottili",
"noxe_sv": "TODO SV: Particulate matter",
},
{"id": 2,
"noxe_de": "Ozon",
"noxe_en": "Ozone",
"noxe_fr": "Ozone",
"noxe_it": "Ozono",
"noxe_sv": "TODO SV: Ozone",
},
{"id": 3,
"noxe_de": "Stickstoffdioxid",
"noxe_en": "Nitrogen dioxide",
"noxe_fr": "Dioxyde d'azote",
"noxe_it": "Diossido di azoto",
"noxe_sv": "TODO SV: Nitrogen dioxide",
},
{"id": 4,
"noxe_de": "Schwefeldioxid",
"noxe_en": "Sulphur dioxide",
"noxe_fr": "Dioxyde de soufre",
"noxe_it": "Anidride solforosa",
"noxe_sv": "TODO SV: Sulphur dioxide",
},
{"id": 5,
"noxe_de": "Kohlenmonoxid",
"noxe_en": "Carbon monoxide",
"noxe_fr": "Monoxyde de carbone",
"noxe_it": "Monossido di carbonio",
"noxe_sv": "TODO SV: Carbon monoxide",
}
];

Expand All @@ -45,41 +50,47 @@ arrOrgane = [
"organ_en": "Respiratory system",
"organ_fr": "Voies respiratoires",
"organ_it": "Vie respiratorie",
"organ_sv": "TODO SV: Respiratory system",
},
{"id": 2,
"organ": "Herz",
"organ_de": "Herz-/Kreislaufsystem",
"organ_en": "Cardiovascular system",
"organ_fr": "Système cardiovasculaire",
"organ_it": "Sistema cardiovascolare",
"organ_sv": "TODO SV: Cardiovascular system",
},
{"id": 3,
"organ": "Nervensystem",
"organ_de": "Nervensystem",
"organ_en": "Nervous system",
"organ_fr": "Système nerveux",
"organ_it": "Sistema nervoso",
"organ_sv": "TODO SV: Nervous system",
},
{"id": 4,
"organ": "Stoffwechsel",
"organ_de": "Stoffwechsel/Immunsystem",
"organ_en": "Metabolism/Immune system",
"organ_fr": "Métabolisme/système immunitaire",
"organ_it": "Metabolismo/sistema immunitario",
"organ_sv": "TODO SV: Metabolism/Immune system",
},
{"id": 5,
"organ": "Sterblichkeit",
"organ_de": "Sterblichkeit",
"organ_en": "Mortality",
"organ_fr": "Mortalité",
"organ_it": "Mortalità",
"organ_sv": "TODO SV: Mortality",
},
{"id": 6,
"organ": "Notfaelle",
"organ_de": "Notfälle",
"organ_en": "Emergency",
"organ_fr": "Urgences",
"organ_it": "Emergenze",
"organ_sv": "TODO SV: Emergency",
}
];

Expand All @@ -90,223 +101,255 @@ arrEffekte = [
"effekt_en": "Asthma",
"effekt_fr": "Asthme",
"effekt_it": "Asma",
"effekt_sv": "TODO SV: Asthma",
"organ": "Atemwege"
},
{"id": 2,
"effekt_de": "Atemwegssymptome, z.B. pfeifende Atmung",
"effekt_en": "Respiratory/airway symptoms e.g. wheeze",
"effekt_fr": "Symptômes des voies respira&shy;toires, p. ex. respiration sifflante",
"effekt_it": "Sintomi respiratori, ad es. respiro sibilante",
"effekt_sv": "TODO SV: Respiratory/airway symptoms e.g. wheeze",
"organ": "Atemwege"
},
{"id": 3,
"effekt_de": "Verschlechterung der Erkrankung, mehr Symptome oder Medikation bei Patienten mit Asthma",
"effekt_en": "Exacerbation of the disease, increase in symptoms or medication in patients with asthma",
"effekt_fr": "Aggravation de la maladie, augmentation des symptômes ou du traitement chez les patients asthmatiques",
"effekt_it": "Peggioramento della malattia, più sintomi o farmaci nei pazienti con asma",
"effekt_sv": "TODO SV: Exacerbation of the disease, increase in symptoms or medication in patients with asthma",
"organ": "Atemwege"
},
{"id": 4,
"effekt_de": "Lungenfunktion verringert bei Patienten mit Asthma",
"effekt_en": "Lung function decline in patients with asthma",
"effekt_fr": "Fonction pulmonaire réduite chez les patients asthmatiques",
"effekt_it": "Funzione polmonare ridotta nei pazienti con asma",
"effekt_sv": "TODO SV: Lung function decline in patients with asthma",
"organ": "Atemwege"
},
{"id": 5,
"effekt_de": "Verschlechterung der Erkrankung oder mehr Symptome bei Patienten mit COPD",
"effekt_en": "Worsening of the disease or increase in symptoms in patients with COPD",
"effekt_fr": "Aggravation de la maladie ou aug&shy;mentation des symptômes chez les patients atteints de BPCO",
"effekt_it": "Peggioramento della malattia o più sintomi in pazienti con COPD",
"effekt_sv": "TODO SV: Worsening of the disease or increase in symptoms in patients with COPD",
"organ": "Atemwege"
},
{"id": 6,
"effekt_de": "Mehr Symptome bei Allergikern",
"effekt_en": "Increase in symptoms for allergy patients",
"effekt_fr": "Augmentation des symptômes chez les personnes allergiques",
"effekt_it": "Più sintomi per chi soffre di allergie",
"effekt_sv": "TODO SV: Increase in symptoms for allergy patients",
"organ": "Atemwege"
},
{"id": 7,
"effekt_de": "Chronische Bronchitis",
"effekt_en": "Chronic bronchitis",
"effekt_fr": "Bronchite chronique",
"effekt_it": "Bronchite cronica",
"effekt_sv": "TODO SV: Chronic bronchitis",
"organ": "Atemwege"
},
{"id": 8,
"effekt_de": "Lungenfunktion verringert",
"effekt_en": "Lung function decline",
"effekt_fr": "Réduction de la fonction pulmonaire",
"effekt_it": "Funzione polmonare ridotta",
"effekt_sv": "TODO SV: Lung function decline",
"organ": "Atemwege"
},
{"id": 9,
"effekt_de": "Lungenwachstum verringert",
"effekt_en": "Impaired Lung growth",
"effekt_fr": "Réduction de la croissance des poumons",
"effekt_it": "Crescita polmonare ridotta",
"effekt_sv": "TODO SV: Impaired Lung growth",
"organ": "Atemwege"
},
{"id": 10,
"effekt_de": "Beschleunigte Abnahme der Lungenfunktion",
"effekt_en": "Accelerated decline in lung function",
"effekt_fr": "Accélération de la diminution de la fonction pulmonaire",
"effekt_it": "Riduzione accelerata della funzione polmonare",
"effekt_sv": "TODO SV: Accelerated decline in lung function",
"organ": "Atemwege"
},
{"id": 33,
"effekt_de": "Bronchitis",
"effekt_en": "Bronchitis",
"effekt_fr": "Bronchite",
"effekt_it": "Bronchite",
"effekt_sv": "TODO SV: Bronchitis",
"organ": "Atemwege"
},
{"id": 11,
"effekt_de": "Entzündung der Atemwege, entzündliche Reaktion",
"effekt_en": "Airway/respiratory inflammation, inflammatory reaction",
"effekt_fr": "Inflammation des voies respira&shy;toires, réaction inflammatoire",
"effekt_it": "Infiammazione delle vie aeree, reazione infiammatoria",
"effekt_sv": "TODO SV: Airway/respiratory inflammation, inflammatory reaction",
"organ": "Atemwege"
},
{"id": 12,
"effekt_de": "Entstehung von Lungenkrebs",
"effekt_en": "Development of lung cancer",
"effekt_fr": "Développement d’un cancer du poumon",
"effekt_it": "Sviluppo di cancro ai polmoni",
"effekt_sv": "TODO SV: Development of lung cancer",
"organ": "Atemwege"
},
{"id": 13,
"effekt_de": "Arteriosklerose",
"effekt_en": "Atherosclerosis",
"effekt_fr": "Artériosclérose",
"effekt_it": "Arteriosclerosi",
"effekt_sv": "TODO SV: Atherosclerosis",
"organ": "Herz"
},
{"id": 14,
"effekt_de": "Bluthochdruck",
"effekt_en": "Hypertension",
"effekt_fr": "Hypertension artérielle",
"effekt_it": "Ipertensione arteriosa",
"effekt_sv": "TODO SV: Hypertension",
"organ": "Herz"
},
{"id": 15,
"effekt_de": "Herzrhythmusvariabilität",
"effekt_en": "Arrhythmia",
"effekt_fr": "Arythmies cardiaques",
"effekt_it": "Variabilità della frequenza cardiaca",
"effekt_sv": "TODO SV: Arrhythmia",
"organ": "Herz"
},
{"id": 16,
"effekt_de": "Blutgerinnung",
"effekt_en": "Blood coagulation",
"effekt_fr": "Coagulation du sang",
"effekt_it": "Coagulazione del sangue",
"effekt_sv": "TODO SV: Blood coagulation",
"organ": "Herz"
},
{"id": 17,
"effekt_de": "Zucker- und Fettstoffwechsel&shy;störungen/-erkrankungen (z.B. Diabetes)",
"effekt_en": "Sugar- and metabolic disorders/diseases (e.g. diabetes)",
"effekt_fr": "Troubles/maladies du métabolisme des sucres et des graisses (p. ex., diabète)",
"effekt_it": "Disturbi/malattie del metabolismo degli zuccheri e dei grassi (ad es. diabete)",
"effekt_sv": "TODO SV: Sugar- and metabolic disorders/diseases (e.g. diabetes)",
"organ": "Stoffwechsel"
},
{"id": 19,
"effekt_de": "Verringerte Immunabwehr",
"effekt_en": "Decline in immune defence",
"effekt_fr": "Réduction des défenses immunitaires",
"effekt_it": "Difesa immunitaria ridotta",
"effekt_sv": "TODO SV: Decline in immune defence",
"organ": "Stoffwechsel"
},
{"id": 20,
"effekt_de": "Gehirnvolumen (Weisse Masse) reduziert",
"effekt_en": "Brain volume (white matter) decline",
"effekt_fr": "Réduction du volume du cerveau (masse blanche)",
"effekt_it": "Volume del cervello (massa bianca) ridotto",
"effekt_sv": "TODO SV: Brain volume (white matter) decline",
"organ": "Nervensystem"
},
{"id": 21,
"effekt_de": "Abnahme der kognitiven Leistung (Demenz)",
"effekt_en": "Cognitive performance decline (dementia)",
"effekt_fr": "Diminution des performances cognitives (démence)",
"effekt_it": "Diminuzione delle prestazioni cognitive (demenza)",
"effekt_sv": "TODO SV: Cognitive performance decline (dementia)",
"organ": "Nervensystem"
},
{"id": 22,
"effekt_de": "Krankheitsbedingte Sterblichkeit",
"effekt_en": "Non-accidental mortality",
"effekt_fr": "Mortalité due à la maladie",
"effekt_it": "Mortalità dovuta a malattia ",
"effekt_sv": "TODO SV: Non-accidental mortality",
"organ": "Sterblichkeit"
},
{"id": 23,
"effekt_de": "Sterblichkeit wegen Herz-/Kreislaufkrankheiten",
"effekt_en": "Mortality due to cardiovascular disease",
"effekt_fr": "Mortalité due à des maladies cardiovasculaires",
"effekt_it": "Mortalità dovuta a malattie cardiovascolari",
"effekt_sv": "TODO SV: Mortality due to cardiovascular disease",
"organ": "Sterblichkeit"
},
{"id": 24,
"effekt_de": "Sterblichkeit wegen Atemwegserkrankungen",
"effekt_en": "Mortality due to respiratory diseases",
"effekt_fr": "Mortalité due à des maladies des voies respiratoires",
"effekt_it": "Mortalità a causa di malattie respiratorie",
"effekt_sv": "TODO SV: Mortality due to respiratory diseases",
"organ": "Sterblichkeit"
},
{"id": 25,
"effekt_de": "Sterblichkeit: Asthma",
"effekt_en": "Mortality: asthma",
"effekt_fr": "Mortalité: asthme",
"effekt_it": "Mortalità: asma",
"effekt_sv": "TODO SV: Mortality: asthma",
"organ": "Sterblichkeit"
},
{"id": 26,
"effekt_de": "Sterblichkeit: COPD",
"effekt_en": "Mortality: COPD",
"effekt_fr": "Mortalité: BPCO",
"effekt_it": "Mortalità: COPD",
"effekt_sv": "TODO SV: Mortality: COPD",
"organ": "Sterblichkeit"
},
{"id": 27,
"effekt_de": "Sterblichkeit: Lungenkrebs",
"effekt_en": "Mortality: lung cancer",
"effekt_fr": "Mortalité: cancer du poumon",
"effekt_it": "Mortalità: cancro ai polmoni",
"effekt_sv": "TODO SV: Mortality: lung cancer",
"organ": "Sterblichkeit"
},
{"id": 28,
"effekt_de": "Sterblichkeit: Atemwegsinfektionen",
"effekt_en": "Mortality: respiratory (tract) infection",
"effekt_fr": "Mortalité: infections des voies respiratoires",
"effekt_it": "Mortalità: infezioni delle vie respiratorie",
"effekt_sv": "TODO SV: Mortality: respiratory (tract) infection",
"organ": "Sterblichkeit"
},
{"id": 29,
"effekt_de": "Notfälle wegen Atemwegserkrankungen",
"effekt_en": "Emergency due to respiratory diseases",
"effekt_fr": "Urgences dues à des maladies respiratoires",
"effekt_it": "Emergenze a causa di malattie respiratorie",
"effekt_sv": "TODO SV: Emergency due to respiratory diseases",
"organ": "Notfaelle"
},
{"id": 30,
"effekt_de": "Notfälle wegen Asthma",
"effekt_en": "Emergency due to asthma",
"effekt_fr": "Urgences dues à l'asthme",
"effekt_it": "Emergenze a causa di asma",
"effekt_sv": "TODO SV: Emergency due to asthma",
"organ": "Notfaelle"
},
{"id": 31,
"effekt_de": "Notfälle wegen COPD",
"effekt_en": "Emergency due to COPD",
"effekt_fr": "Urgences dues à la BPCO",
"effekt_it": "Emergenze a causa di COPD",
"effekt_sv": "TODO SV: Emergency due to COPD",
"organ": "Notfaelle"
},
{"id": 32,
"effekt_de": "Notfälle wegen Herz-/Kreislaufkrankheiten",
"effekt_en": "Emergency due to cardiovascular diseases",
"effekt_fr": "Urgences dues aux maladies cardiovasculaires",
"effekt_it": "Emergenze a causa di malattie cardiovascolari",
"effekt_sv": "TODO SV: Emergency due to cardiovascular diseases",
"organ": "Notfaelle"
}
];
Expand Down Expand Up @@ -364,7 +407,8 @@ arrMatrix = [
"effekt_zusatz_de": "(Kinder)",
"effekt_zusatz_en": "(children)",
"effekt_zusatz_fr": "(l'enfant)",
"effekt_zusatz_it": "(bambini)"
"effekt_zusatz_it": "(bambini)",
"effekt_zusatz_sv": "TODO SV: (children)",
},
{"id": 1017,
"noxe": "Feinstaub",
Expand Down Expand Up @@ -448,7 +492,8 @@ arrMatrix = [
"effekt_zusatz_de": "(cardio&shy;pulmonary)",
"effekt_zusatz_en": "(cardio&shy;pulmonary)",
"effekt_zusatz_fr": "(cardio&shy;pulmonary)",
"effekt_zusatz_it": "(cardio&shy;pulmonary)"
"effekt_zusatz_it": "(cardio&shy;pulmonary)",
"effekt_zusatz_sv": "TODO SV: (cardio&shy;pulmonary)",
},
{"id": 1054,
"noxe": "Feinstaub",
Expand Down Expand Up @@ -770,7 +815,8 @@ arrMatrix = [
"effekt_zusatz_de": "(Empfindliche)",
"effekt_zusatz_en": "()",
"effekt_zusatz_fr": "()",
"effekt_zusatz_it": "()"
"effekt_zusatz_it": "()",
"effekt_zusatz_sv": "TODO SV: ()",
},
{"id": 4151,
"noxe": "Schwefeldioxid",
Expand All @@ -788,7 +834,8 @@ arrMatrix = [
"effekt_zusatz_de": "(Kinder, 65+)",
"effekt_zusatz_en": "()",
"effekt_zusatz_fr": "()",
"effekt_zusatz_it": "()"
"effekt_zusatz_it": "()",
"effekt_zusatz_sv": "TODO SV: ()",
},

{"id": 5161,
Expand Down
Loading

0 comments on commit 0a4c2da

Please sign in to comment.