From 55e519863b1b7228b3bdd3deeff09ad6da78b691 Mon Sep 17 00:00:00 2001 From: JSKitty Date: Wed, 6 Sep 2023 16:03:07 +0100 Subject: [PATCH] Add i18n variable note --- locale/de/translation.js | 1 + locale/fr/translation.js | 1 + locale/ph/translation.js | 1 + locale/pt-br/translation.js | 1 + locale/pt-pt/translation.js | 1 + locale/template/translation.js | 1 + 6 files changed, 6 insertions(+) diff --git a/locale/de/translation.js b/locale/de/translation.js index 45bc1674a..4766224dc 100644 --- a/locale/de/translation.js +++ b/locale/de/translation.js @@ -3,6 +3,7 @@ export const de_translation = { // Basic HTML tags are allowed such as etc. All data is sanitized https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML // NOTE: If a section does NOT need translating, leave it empty. + // NOTE: Variables that MPW insert are denoted by brackets {}, for example, {button}, do NOT translate variables, but place them where it makes the most sense. // General words amount: 'Menge', //Amount diff --git a/locale/fr/translation.js b/locale/fr/translation.js index e4df4d7f9..dcdc0723b 100644 --- a/locale/fr/translation.js +++ b/locale/fr/translation.js @@ -2,6 +2,7 @@ export const fr_translation = { // Les balises HTML de base sont autorisées, comme , etc. Toutes les données sont nettoyées https://developer.mozilla.org/fr/docs/Web/API/Element/innerHTML // NOTA: Si une section n'a PAS besoin d'être traduite, laissez-la vide.. + // NOTE: Variables that MPW insert are denoted by brackets {}, for example, {button}, do NOT translate variables, but place them where it makes the most sense. // General words amount: 'Montant', //Amount diff --git a/locale/ph/translation.js b/locale/ph/translation.js index 87fd7359e..d9881e73a 100644 --- a/locale/ph/translation.js +++ b/locale/ph/translation.js @@ -3,6 +3,7 @@ export const ph_translation = { // Basic HTML tags are allowed such as etc. All data is sanitized https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML // NOTE: If a section does NOT need translating, leave it empty. + // NOTE: Variables that MPW insert are denoted by brackets {}, for example, {button}, do NOT translate variables, but place them where it makes the most sense. // General words amount: 'Halaga', //Amount diff --git a/locale/pt-br/translation.js b/locale/pt-br/translation.js index 28742f6ba..e6e8e9e21 100644 --- a/locale/pt-br/translation.js +++ b/locale/pt-br/translation.js @@ -2,6 +2,7 @@ export const pt_br_translation = { // As tags básicas HTML são permitidas como etc. Todos os dados são higienizados https://developer.mozilla.org/pt-BR/docs/Web/API/Element/innerHTML // NOTA: Se uma seção NÃO precisar ser traduzida, deixe-a vazia. + // NOTE: Variables that MPW insert are denoted by brackets {}, for example, {button}, do NOT translate variables, but place them where it makes the most sense. // General words amount: 'Quantidade', //Amount diff --git a/locale/pt-pt/translation.js b/locale/pt-pt/translation.js index ccca293a1..7d4408b96 100644 --- a/locale/pt-pt/translation.js +++ b/locale/pt-pt/translation.js @@ -2,6 +2,7 @@ export const pt_pt_translation = { // As tags básicas HTML são permitidas como etc. Todos os dados são higienizados https://developer.mozilla.org/pt-BR/docs/Web/API/Element/innerHTML // NOTA: Se uma seção NÃO precisar ser traduzida, deixe-a vazia. + // NOTE: Variables that MPW insert are denoted by brackets {}, for example, {button}, do NOT translate variables, but place them where it makes the most sense. // General words amount: 'Quantia', //Amount diff --git a/locale/template/translation.js b/locale/template/translation.js index 63a85d736..634e7c498 100644 --- a/locale/template/translation.js +++ b/locale/template/translation.js @@ -21,6 +21,7 @@ var translation = { // 4) Submit a push request to the github // NOTE: If a section does NOT need translating, leave it empty. + // NOTE: Variables that MPW insert are denoted by brackets {}, for example, {button}, do NOT translate variables, but place them where it makes the most sense. // General words amount: '', //Amount