🇮🇹
This commit is contained in:
parent
decb5c713b
commit
e0cb477939
2 changed files with 5 additions and 3 deletions
|
|
@ -214,7 +214,7 @@
|
|||
"en": "Amount",
|
||||
"de": "Betrag",
|
||||
"tr": "Miktar",
|
||||
"it", "Somma"
|
||||
"it": "Somma"
|
||||
},
|
||||
"purpose": {
|
||||
"en": "Purpose",
|
||||
|
|
@ -232,7 +232,7 @@
|
|||
"en": "The source code is licensed under <a href=\"https://opensource.org/license/mit\">MIT</a>, you can find it <a href=\"https://gitlab.com/xengi/bezahlbrudi/\">here</a>.<br/>This site doesn't store any data outside your browser, not even cookies. The \"Remember data\" function stores your data in your browsers local storage.<br/>This site doesn't provide any financial services. It is a simple QR code generator.",
|
||||
"de": "Der Quellcode ist lizensiert unter <a href=\"https://opensource.org/license/mit\">MIT</a>, du kannst ihn <a href=\"https://gitlab.com/xengi/bezahlbrudi/\">hier</a> finden.<br/>Diese Seite speichert keine Daten außerhalb deines Browsers, noch nicht einmal Cookies. Die \"Daten merken\" Funktion speichert Daten im Local Storage des Browsers.<br/>Diese Seite bietet keine Finanzdienstleistungen an. Sie ist lediglich ein QR Code Generator.",
|
||||
"tr": "Kaynak kodu <a href=\"https://opensource.org/license/mit\">MIT</a> lisansı altındadır, <a href=\"https://gitlab.com/xengi/bezahlbrudi/\">buradan</a> ulaşabilirsiniz.<br/>Bu site, tarayıcınız dışında hiçbir veri, hatta Cookies bile saklamaz. “Verileri hatırla” işlevi, verileri tarayıcının \"Local Storage\" alanında saklar.<br/>Bu site finansal hizmetler sunmaz. Sadece bir QR Kod Oluşturucu'dur.",
|
||||
"it": "Il codice sorgente è concesso in licenza <a href=\"https://opensource.org/license/mit\">MIT</a>, lo puoi trovare <a href=\"https://gitlab.com/xengi/bezahlbrudi/\">qui</a>.<br/>Questo sito non memorizza dati al di fuori del tuo browser, nemmeno i cookie. La funzione “Ricorda dati” memorizza i dati nella memoria locale del browser. Questo sito non offre servizi finanziari. È solo un generatore di codici QR."
|
||||
"it": "Il codice sorgente è concesso in licenza <a href=\"https://opensource.org/license/mit\">MIT</a>, lo puoi trovare <a href=\"https://gitlab.com/xengi/bezahlbrudi/\">qui</a>.<br/>Questo sito non memorizza dati al di fuori del tuo browser, nemmeno i cookie. La funzione “Ricorda dati” memorizza i dati nella memoria locale del browser.<br/>Questo sito non offre servizi finanziari. È solo un generatore di codici QR."
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -40,11 +40,13 @@ for (const l of i18nSupported) {
|
|||
|
||||
changeLanguage = (l) => {
|
||||
const lang = i18nSupported.includes(l) ? l : "en";
|
||||
console.log(`Switching language to ${lang}`);
|
||||
document.querySelectorAll("[data-i18n]").forEach(el => {
|
||||
el.innerHTML = i18n[el.dataset.i18n][lang];
|
||||
});
|
||||
document.getElementById("current-language").innerHTML = `${i18n._flags[lang]} ${lang.toUpperCase()}`;
|
||||
console.log(`Switching language to ${lang}`);
|
||||
document.documentElement.lang = lang;
|
||||
saveFormData();
|
||||
};
|
||||
|
||||
saveFormData = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue