From 812a4d21b95b140eb240c1967b62720c8d370bc3 Mon Sep 17 00:00:00 2001 From: andrashee Date: Sat, 30 Nov 2024 15:12:24 +0100 Subject: [PATCH 1/4] Website: Extract translations for campaign and add Italian translation --- shared/locales/de/website-campaign.json | 28 ++++++++++++++++++ shared/locales/de/website-donate.json | 26 ----------------- shared/locales/en/website-campaign.json | 29 +++++++++++++++++++ shared/locales/en/website-donate.json | 26 ----------------- shared/locales/fr/website-campaign.json | 29 +++++++++++++++++++ shared/locales/fr/website-donate.json | 26 ----------------- shared/locales/it/website-campaign.json | 28 ++++++++++++++++++ .../(website)/campaign/[campaign]/page.tsx | 4 +-- 8 files changed, 116 insertions(+), 80 deletions(-) create mode 100644 shared/locales/de/website-campaign.json create mode 100644 shared/locales/en/website-campaign.json create mode 100644 shared/locales/fr/website-campaign.json create mode 100644 shared/locales/it/website-campaign.json diff --git a/shared/locales/de/website-campaign.json b/shared/locales/de/website-campaign.json new file mode 100644 index 000000000..e22795864 --- /dev/null +++ b/shared/locales/de/website-campaign.json @@ -0,0 +1,28 @@ +{ + "campaign": { + "not-found": "Die Kampagne konnte leider nicht gefunden werden.", + "by": "Von {{ creator }}", + "without-goal": { + "collected_zero": "Noch keine Spenden. Mache den ersten Schritt!", + "collected_one": "{{ amount, currency }} von {{ count }} Spender:in gesammelt", + "collected_other": "{{ amount, currency }} von {{ count }} Spender:innen gesammelt" + }, + "with-goal": { + "collected-percentage": "{{percentage}}% gesammelt", + "goal-title": "Ziel", + "collected-amount_one": "{{ amount, currency }} von {{count}} Spender:in", + "collected-amount_other": "{{ amount, currency }} von {{count}} Spender:innen", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Letzter Tag", + "days-left_one": "Noch einen Tag bis zum Spendeschluss", + "days-left_other": "{{ count }} verbleibende Tage", + "ended": "Die Kampagne ist beendet. Für reguläre Spenden verwende bitte die Hauptspendeseite.", + "card-title": "Mein Beitrag", + "about-si-title": "Über Social Income", + "about-si-text-1": "Social Income ist eine NGO mit Sitz in der Schweiz, die bedingungslose Geldüberweisungen per Mobiltelefon an Menschen in multidimensionaler Armut in Westafrika bereitstellt.", + "about-si-text-2": "Seit 2020 führt Social Income ein zeitlich unbegrenztes Programm für ein universelles Grundeinkommen in Sierra Leone durch.", + "more-faq": "Mehr Fragen", + "badge-highlight": "Aktuelle Kampagne" + } +} \ No newline at end of file diff --git a/shared/locales/de/website-donate.json b/shared/locales/de/website-donate.json index e8545df2e..5d1cb19b6 100644 --- a/shared/locales/de/website-donate.json +++ b/shared/locales/de/website-donate.json @@ -72,31 +72,5 @@ "submit-button": "Account aktivieren", "google-button": "Über Google anmelden" } - }, - "campaign": { - "not-found": "Die Kampagne konnte leider nicht gefunden werden.", - "by": "Von {{ creator }}", - "without-goal": { - "collected_zero": "Noch keine Spenden. Mache den ersten Schritt!", - "collected_one": "{{ amount, currency }} von {{ count }} Spender:in gesammelt", - "collected_other": "{{ amount, currency }} von {{ count }} Spender:innen gesammelt" - }, - "with-goal": { - "collected-percentage": "{{percentage}}% gesammelt", - "goal-title": "Ziel", - "collected-amount_one": "{{ amount, currency }} von {{count}} Spender:in", - "collected-amount_other": "{{ amount, currency }} von {{count}} Spender:innen", - "goal-amount": "{{ amount, currency }}" - }, - "days-left_zero": "Letzter Tag", - "days-left_one": "Noch einen Tag bis zum Spendeschluss", - "days-left_other": "{{ count }} verbleibende Tage", - "ended": "Die Kampagne ist beendet. Für reguläre Spenden verwende bitte die Hauptspendeseite.", - "card-title": "Mein Beitrag", - "about-si-title": "Über Social Income", - "about-si-text-1": "Social Income ist eine NGO mit Sitz in der Schweiz, die bedingungslose Geldüberweisungen per Mobiltelefon an Menschen in multidimensionaler Armut in Westafrika bereitstellt.", - "about-si-text-2": "Seit 2020 führt Social Income ein zeitlich unbegrenztes Programm für ein universelles Grundeinkommen in Sierra Leone durch.", - "more-faq": "Mehr Fragen", - "badge-highlight": "Aktuelle Kampagne" } } diff --git a/shared/locales/en/website-campaign.json b/shared/locales/en/website-campaign.json new file mode 100644 index 000000000..2f4c9cd1c --- /dev/null +++ b/shared/locales/en/website-campaign.json @@ -0,0 +1,29 @@ +{ + "campaign": { + "not-found": "Unfortunately, the campaign couldn't be found.", + "by": "By {{ creator }}", + "without-goal": { + "collected_zero": "No contributions yet. Be the first!", + "collected_one": "{{ amount, currency }} raised by {{ count }} contributor", + "collected_other": "{{ amount, currency }} raised by {{ count }} contributors" + }, + "with-goal": { + "collected-percentage": "Raised {{percentage}}%", + "goal-title": "Goal", + "collected-amount_one": "{{ amount, currency }} by {{count}} contributor", + "collected-amount_other": "{{ amount, currency }} by {{count}} contributors", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Last day left to contribute", + "days-left_one": "1 day left to contribute", + "days-left_other": "{{ count }} days left to contribute", + "ended": "The campaign has ended. For regular donations, please use the main donation page.", + "card-title": "My Contribution", + "about-si-title": "About Social Income", + "about-si-text-1": "Social Income is a nonprofit organization based in Switzerland that provides unconditional cash transfers via mobile phone to people living in multidimensional poverty in West Africa.", + "about-si-text-2": "Since 2020, Social Income has been running an open-ended universal basic income program in Sierra Leone.", + "more-faq": "More questions", + "badge-highlight": "Ongoing Campaign" + } + +} \ No newline at end of file diff --git a/shared/locales/en/website-donate.json b/shared/locales/en/website-donate.json index e9a2d7413..82b0edfa0 100644 --- a/shared/locales/en/website-donate.json +++ b/shared/locales/en/website-donate.json @@ -72,31 +72,5 @@ "submit-button": "Activate Account", "google-button": "Sign up with Google" } - }, - "campaign": { - "not-found": "Unfortunately, the campaign couldn't be found.", - "by": "By {{ creator }}", - "without-goal": { - "collected_zero": "No contributions yet. Be the first!", - "collected_one": "{{ amount, currency }} raised by {{ count }} contributor", - "collected_other": "{{ amount, currency }} raised by {{ count }} contributors" - }, - "with-goal": { - "collected-percentage": "Raised {{percentage}}%", - "goal-title": "Goal", - "collected-amount_one": "{{ amount, currency }} by {{count}} contributor", - "collected-amount_other": "{{ amount, currency }} by {{count}} contributors", - "goal-amount": "{{ amount, currency }}" - }, - "days-left_zero": "Last day left to contribute", - "days-left_one": "1 day left to contribute", - "days-left_other": "{{ count }} days left to contribute", - "ended": "The campaign has ended. For regular donations, please use the main donation page.", - "card-title": "My Contribution", - "about-si-title": "About Social Income", - "about-si-text-1": "Social Income is a nonprofit organization based in Switzerland that provides unconditional cash transfers via mobile phone to people living in multidimensional poverty in West Africa.", - "about-si-text-2": "Since 2020, Social Income has been running an open-ended universal basic income program in Sierra Leone.", - "more-faq": "More questions", - "badge-highlight": "Ongoing Campaign" } } diff --git a/shared/locales/fr/website-campaign.json b/shared/locales/fr/website-campaign.json new file mode 100644 index 000000000..b94021834 --- /dev/null +++ b/shared/locales/fr/website-campaign.json @@ -0,0 +1,29 @@ +{ + "campaign": { + "not-found": "La campagne est malheureusement introuvable.", + "by": "Par {{ creator }}", + "without-goal": { + "collected_zero": "Il n’y a pas encore de dons. Fais le premier pas!", + "collected_one": "Reçu {{ amount, currency }} de {{ count }} personne", + "collected_other": "Reçu {{ amount, currency }} de {{ count }} personnes" + }, + "with-goal": { + "collected-percentage": "Reçu {{percentage}}%", + "goal-title": "Objectif", + "collected-amount_one": "Reçu {{ amount, currency }} de {{count}} personne", + "collected-amount_other": "Reçu {{ amount, currency }} de {{count}} personnes", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Dernier jour", + "days-left_one": "Plus qu’un jour jusqu’à la clôture de la campagne", + "days-left_other": "Encore {{ count }} pour contribuer", + "ended": " La campagne est terminée. Tu peux faire un don en allant sur la page principale du site.", + "card-title": "Ma contribution", + "about-si-title": "Über Social Income", + "about-si-text-1": "Social Income est une ONG basée en Suisse qui assure des transferts d’argent inconditionnels par téléphone mobile à des personnes vivant dans une pauvreté multidimensionnelle en Afrique de l’Ouest.", + "about-si-text-2": "Depuis 2020, Social Income gère un programme de revenu de base universel non limité dans le temps en Sierra Leone.", + "more-faq": "Plus de questions", + "badge-highlight": "Campagne actuelle" + } + +} \ No newline at end of file diff --git a/shared/locales/fr/website-donate.json b/shared/locales/fr/website-donate.json index 95334fe90..f298608ef 100644 --- a/shared/locales/fr/website-donate.json +++ b/shared/locales/fr/website-donate.json @@ -73,31 +73,5 @@ "submit-button": "Activer le compte", "google-button": "S’inscrire avec Google" } - }, - "campaign": { - "not-found": "La campagne est malheureusement introuvable.", - "by": "Par {{ creator }}", - "without-goal": { - "collected_zero": "Il n’y a pas encore de dons. Fais le premier pas!", - "collected_one": "Reçu {{ amount, currency }} de {{ count }} personne", - "collected_other": "Reçu {{ amount, currency }} de {{ count }} personnes" - }, - "with-goal": { - "collected-percentage": "Reçu {{percentage}}%", - "goal-title": "Objectif", - "collected-amount_one": "Reçu {{ amount, currency }} de {{count}} personne", - "collected-amount_other": "Reçu {{ amount, currency }} de {{count}} personnes", - "goal-amount": "{{ amount, currency }}" - }, - "days-left_zero": "Dernier jour", - "days-left_one": "Plus qu’un jour jusqu’à la clôture de la campagne", - "days-left_other": "Encore {{ count }} pour contribuer", - "ended": " La campagne est terminée. Tu peux faire un don en allant sur la page principale du site.", - "card-title": "Ma contribution", - "about-si-title": "Über Social Income", - "about-si-text-1": "Social Income est une ONG basée en Suisse qui assure des transferts d’argent inconditionnels par téléphone mobile à des personnes vivant dans une pauvreté multidimensionnelle en Afrique de l’Ouest.", - "about-si-text-2": "Depuis 2020, Social Income gère un programme de revenu de base universel non limité dans le temps en Sierra Leone.", - "more-faq": "Plus de questions", - "badge-highlight": "Campagne actuelle" } } diff --git a/shared/locales/it/website-campaign.json b/shared/locales/it/website-campaign.json new file mode 100644 index 000000000..6081fcb6f --- /dev/null +++ b/shared/locales/it/website-campaign.json @@ -0,0 +1,28 @@ +{ + "campaign": { + "not-found": "Purtroppo, la campagna non è stata trovata.", + "by": "Di {{ creator }}", + "without-goal": { + "collected_zero": "Nessun contributo ancora. Sii il primo!", + "collected_one": "{{ amount, currency }} raccolti da {{ count }} sostenitore", + "collected_other": "{{ amount, currency }} raccolti da {{ count }} sostenitori" + }, + "with-goal": { + "collected-percentage": "Raggiunto il {{percentage}}%", + "goal-title": "Obiettivo", + "collected-amount_one": "{{ amount, currency }} da {{count}} sostenitore", + "collected-amount_other": "{{ amount, currency }} da {{count}} sostenitori", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Ultimo giorno per contribuire", + "days-left_one": "1 giorno rimanente per contribuire", + "days-left_other": "{{ count }} giorni rimanenti per contribuire", + "ended": "La campagna è terminata. Per donazioni regolari, si prega di utilizzare la pagina principale delle donazioni.", + "card-title": "Il Mio Contributo", + "about-si-title": "Informazioni su Social Income", + "about-si-text-1": "Social Income è un'organizzazione no-profit con sede in Svizzera che fornisce trasferimenti di denaro incondizionati tramite cellulare a persone che vivono in condizioni di povertà multidimensionale nell'Africa occidentale.", + "about-si-text-2": "Dal 2020, Social Income gestisce un programma di reddito di base universale aperto in Sierra Leone.", + "more-faq": "Altre domande", + "badge-highlight": "Campagna in corso" + } +} \ No newline at end of file diff --git a/website/src/app/[lang]/[region]/(website)/campaign/[campaign]/page.tsx b/website/src/app/[lang]/[region]/(website)/campaign/[campaign]/page.tsx index 13cbce608..50bb201bd 100644 --- a/website/src/app/[lang]/[region]/(website)/campaign/[campaign]/page.tsx +++ b/website/src/app/[lang]/[region]/(website)/campaign/[campaign]/page.tsx @@ -56,13 +56,13 @@ export async function generateMetadata({ params }: CampaignPageProps) { }, } : undefined; - return getMetadata(params.lang, 'website-donate', campaignMetadata); + return getMetadata(params.lang, 'website-campaign', campaignMetadata); } export default async function Page({ params }: CampaignPageProps) { const translator = await Translator.getInstance({ language: params.lang, - namespaces: ['website-donate', 'website-videos', 'website-faq'], + namespaces: ['website-campaign', 'website-donate', 'website-videos', 'website-faq'], }); const campaignDoc = await firestoreAdmin.collection(CAMPAIGN_FIRESTORE_PATH).doc(params.campaign).get(); From 9bb431134db61cb35405a69080ba8b1c3e044c39 Mon Sep 17 00:00:00 2001 From: andrashee Date: Sat, 30 Nov 2024 14:15:06 +0000 Subject: [PATCH 2/4] Prettified Code! --- shared/locales/de/website-campaign.json | 54 ++++++++++++------------ shared/locales/en/website-campaign.json | 55 ++++++++++++------------- shared/locales/fr/website-campaign.json | 55 ++++++++++++------------- shared/locales/it/website-campaign.json | 54 ++++++++++++------------ 4 files changed, 108 insertions(+), 110 deletions(-) diff --git a/shared/locales/de/website-campaign.json b/shared/locales/de/website-campaign.json index e22795864..915132b12 100644 --- a/shared/locales/de/website-campaign.json +++ b/shared/locales/de/website-campaign.json @@ -1,28 +1,28 @@ { - "campaign": { - "not-found": "Die Kampagne konnte leider nicht gefunden werden.", - "by": "Von {{ creator }}", - "without-goal": { - "collected_zero": "Noch keine Spenden. Mache den ersten Schritt!", - "collected_one": "{{ amount, currency }} von {{ count }} Spender:in gesammelt", - "collected_other": "{{ amount, currency }} von {{ count }} Spender:innen gesammelt" - }, - "with-goal": { - "collected-percentage": "{{percentage}}% gesammelt", - "goal-title": "Ziel", - "collected-amount_one": "{{ amount, currency }} von {{count}} Spender:in", - "collected-amount_other": "{{ amount, currency }} von {{count}} Spender:innen", - "goal-amount": "{{ amount, currency }}" - }, - "days-left_zero": "Letzter Tag", - "days-left_one": "Noch einen Tag bis zum Spendeschluss", - "days-left_other": "{{ count }} verbleibende Tage", - "ended": "Die Kampagne ist beendet. Für reguläre Spenden verwende bitte die Hauptspendeseite.", - "card-title": "Mein Beitrag", - "about-si-title": "Über Social Income", - "about-si-text-1": "Social Income ist eine NGO mit Sitz in der Schweiz, die bedingungslose Geldüberweisungen per Mobiltelefon an Menschen in multidimensionaler Armut in Westafrika bereitstellt.", - "about-si-text-2": "Seit 2020 führt Social Income ein zeitlich unbegrenztes Programm für ein universelles Grundeinkommen in Sierra Leone durch.", - "more-faq": "Mehr Fragen", - "badge-highlight": "Aktuelle Kampagne" - } -} \ No newline at end of file + "campaign": { + "not-found": "Die Kampagne konnte leider nicht gefunden werden.", + "by": "Von {{ creator }}", + "without-goal": { + "collected_zero": "Noch keine Spenden. Mache den ersten Schritt!", + "collected_one": "{{ amount, currency }} von {{ count }} Spender:in gesammelt", + "collected_other": "{{ amount, currency }} von {{ count }} Spender:innen gesammelt" + }, + "with-goal": { + "collected-percentage": "{{percentage}}% gesammelt", + "goal-title": "Ziel", + "collected-amount_one": "{{ amount, currency }} von {{count}} Spender:in", + "collected-amount_other": "{{ amount, currency }} von {{count}} Spender:innen", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Letzter Tag", + "days-left_one": "Noch einen Tag bis zum Spendeschluss", + "days-left_other": "{{ count }} verbleibende Tage", + "ended": "Die Kampagne ist beendet. Für reguläre Spenden verwende bitte die Hauptspendeseite.", + "card-title": "Mein Beitrag", + "about-si-title": "Über Social Income", + "about-si-text-1": "Social Income ist eine NGO mit Sitz in der Schweiz, die bedingungslose Geldüberweisungen per Mobiltelefon an Menschen in multidimensionaler Armut in Westafrika bereitstellt.", + "about-si-text-2": "Seit 2020 führt Social Income ein zeitlich unbegrenztes Programm für ein universelles Grundeinkommen in Sierra Leone durch.", + "more-faq": "Mehr Fragen", + "badge-highlight": "Aktuelle Kampagne" + } +} diff --git a/shared/locales/en/website-campaign.json b/shared/locales/en/website-campaign.json index 2f4c9cd1c..18be3814d 100644 --- a/shared/locales/en/website-campaign.json +++ b/shared/locales/en/website-campaign.json @@ -1,29 +1,28 @@ { - "campaign": { - "not-found": "Unfortunately, the campaign couldn't be found.", - "by": "By {{ creator }}", - "without-goal": { - "collected_zero": "No contributions yet. Be the first!", - "collected_one": "{{ amount, currency }} raised by {{ count }} contributor", - "collected_other": "{{ amount, currency }} raised by {{ count }} contributors" - }, - "with-goal": { - "collected-percentage": "Raised {{percentage}}%", - "goal-title": "Goal", - "collected-amount_one": "{{ amount, currency }} by {{count}} contributor", - "collected-amount_other": "{{ amount, currency }} by {{count}} contributors", - "goal-amount": "{{ amount, currency }}" - }, - "days-left_zero": "Last day left to contribute", - "days-left_one": "1 day left to contribute", - "days-left_other": "{{ count }} days left to contribute", - "ended": "The campaign has ended. For regular donations, please use the main donation page.", - "card-title": "My Contribution", - "about-si-title": "About Social Income", - "about-si-text-1": "Social Income is a nonprofit organization based in Switzerland that provides unconditional cash transfers via mobile phone to people living in multidimensional poverty in West Africa.", - "about-si-text-2": "Since 2020, Social Income has been running an open-ended universal basic income program in Sierra Leone.", - "more-faq": "More questions", - "badge-highlight": "Ongoing Campaign" - } - -} \ No newline at end of file + "campaign": { + "not-found": "Unfortunately, the campaign couldn't be found.", + "by": "By {{ creator }}", + "without-goal": { + "collected_zero": "No contributions yet. Be the first!", + "collected_one": "{{ amount, currency }} raised by {{ count }} contributor", + "collected_other": "{{ amount, currency }} raised by {{ count }} contributors" + }, + "with-goal": { + "collected-percentage": "Raised {{percentage}}%", + "goal-title": "Goal", + "collected-amount_one": "{{ amount, currency }} by {{count}} contributor", + "collected-amount_other": "{{ amount, currency }} by {{count}} contributors", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Last day left to contribute", + "days-left_one": "1 day left to contribute", + "days-left_other": "{{ count }} days left to contribute", + "ended": "The campaign has ended. For regular donations, please use the main donation page.", + "card-title": "My Contribution", + "about-si-title": "About Social Income", + "about-si-text-1": "Social Income is a nonprofit organization based in Switzerland that provides unconditional cash transfers via mobile phone to people living in multidimensional poverty in West Africa.", + "about-si-text-2": "Since 2020, Social Income has been running an open-ended universal basic income program in Sierra Leone.", + "more-faq": "More questions", + "badge-highlight": "Ongoing Campaign" + } +} diff --git a/shared/locales/fr/website-campaign.json b/shared/locales/fr/website-campaign.json index b94021834..73ca6855c 100644 --- a/shared/locales/fr/website-campaign.json +++ b/shared/locales/fr/website-campaign.json @@ -1,29 +1,28 @@ { - "campaign": { - "not-found": "La campagne est malheureusement introuvable.", - "by": "Par {{ creator }}", - "without-goal": { - "collected_zero": "Il n’y a pas encore de dons. Fais le premier pas!", - "collected_one": "Reçu {{ amount, currency }} de {{ count }} personne", - "collected_other": "Reçu {{ amount, currency }} de {{ count }} personnes" - }, - "with-goal": { - "collected-percentage": "Reçu {{percentage}}%", - "goal-title": "Objectif", - "collected-amount_one": "Reçu {{ amount, currency }} de {{count}} personne", - "collected-amount_other": "Reçu {{ amount, currency }} de {{count}} personnes", - "goal-amount": "{{ amount, currency }}" - }, - "days-left_zero": "Dernier jour", - "days-left_one": "Plus qu’un jour jusqu’à la clôture de la campagne", - "days-left_other": "Encore {{ count }} pour contribuer", - "ended": " La campagne est terminée. Tu peux faire un don en allant sur la page principale du site.", - "card-title": "Ma contribution", - "about-si-title": "Über Social Income", - "about-si-text-1": "Social Income est une ONG basée en Suisse qui assure des transferts d’argent inconditionnels par téléphone mobile à des personnes vivant dans une pauvreté multidimensionnelle en Afrique de l’Ouest.", - "about-si-text-2": "Depuis 2020, Social Income gère un programme de revenu de base universel non limité dans le temps en Sierra Leone.", - "more-faq": "Plus de questions", - "badge-highlight": "Campagne actuelle" - } - -} \ No newline at end of file + "campaign": { + "not-found": "La campagne est malheureusement introuvable.", + "by": "Par {{ creator }}", + "without-goal": { + "collected_zero": "Il n’y a pas encore de dons. Fais le premier pas!", + "collected_one": "Reçu {{ amount, currency }} de {{ count }} personne", + "collected_other": "Reçu {{ amount, currency }} de {{ count }} personnes" + }, + "with-goal": { + "collected-percentage": "Reçu {{percentage}}%", + "goal-title": "Objectif", + "collected-amount_one": "Reçu {{ amount, currency }} de {{count}} personne", + "collected-amount_other": "Reçu {{ amount, currency }} de {{count}} personnes", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Dernier jour", + "days-left_one": "Plus qu’un jour jusqu’à la clôture de la campagne", + "days-left_other": "Encore {{ count }} pour contribuer", + "ended": " La campagne est terminée. Tu peux faire un don en allant sur la page principale du site.", + "card-title": "Ma contribution", + "about-si-title": "Über Social Income", + "about-si-text-1": "Social Income est une ONG basée en Suisse qui assure des transferts d’argent inconditionnels par téléphone mobile à des personnes vivant dans une pauvreté multidimensionnelle en Afrique de l’Ouest.", + "about-si-text-2": "Depuis 2020, Social Income gère un programme de revenu de base universel non limité dans le temps en Sierra Leone.", + "more-faq": "Plus de questions", + "badge-highlight": "Campagne actuelle" + } +} diff --git a/shared/locales/it/website-campaign.json b/shared/locales/it/website-campaign.json index 6081fcb6f..8e12a2ac9 100644 --- a/shared/locales/it/website-campaign.json +++ b/shared/locales/it/website-campaign.json @@ -1,28 +1,28 @@ { - "campaign": { - "not-found": "Purtroppo, la campagna non è stata trovata.", - "by": "Di {{ creator }}", - "without-goal": { - "collected_zero": "Nessun contributo ancora. Sii il primo!", - "collected_one": "{{ amount, currency }} raccolti da {{ count }} sostenitore", - "collected_other": "{{ amount, currency }} raccolti da {{ count }} sostenitori" - }, - "with-goal": { - "collected-percentage": "Raggiunto il {{percentage}}%", - "goal-title": "Obiettivo", - "collected-amount_one": "{{ amount, currency }} da {{count}} sostenitore", - "collected-amount_other": "{{ amount, currency }} da {{count}} sostenitori", - "goal-amount": "{{ amount, currency }}" - }, - "days-left_zero": "Ultimo giorno per contribuire", - "days-left_one": "1 giorno rimanente per contribuire", - "days-left_other": "{{ count }} giorni rimanenti per contribuire", - "ended": "La campagna è terminata. Per donazioni regolari, si prega di utilizzare la pagina principale delle donazioni.", - "card-title": "Il Mio Contributo", - "about-si-title": "Informazioni su Social Income", - "about-si-text-1": "Social Income è un'organizzazione no-profit con sede in Svizzera che fornisce trasferimenti di denaro incondizionati tramite cellulare a persone che vivono in condizioni di povertà multidimensionale nell'Africa occidentale.", - "about-si-text-2": "Dal 2020, Social Income gestisce un programma di reddito di base universale aperto in Sierra Leone.", - "more-faq": "Altre domande", - "badge-highlight": "Campagna in corso" - } -} \ No newline at end of file + "campaign": { + "not-found": "Purtroppo, la campagna non è stata trovata.", + "by": "Di {{ creator }}", + "without-goal": { + "collected_zero": "Nessun contributo ancora. Sii il primo!", + "collected_one": "{{ amount, currency }} raccolti da {{ count }} sostenitore", + "collected_other": "{{ amount, currency }} raccolti da {{ count }} sostenitori" + }, + "with-goal": { + "collected-percentage": "Raggiunto il {{percentage}}%", + "goal-title": "Obiettivo", + "collected-amount_one": "{{ amount, currency }} da {{count}} sostenitore", + "collected-amount_other": "{{ amount, currency }} da {{count}} sostenitori", + "goal-amount": "{{ amount, currency }}" + }, + "days-left_zero": "Ultimo giorno per contribuire", + "days-left_one": "1 giorno rimanente per contribuire", + "days-left_other": "{{ count }} giorni rimanenti per contribuire", + "ended": "La campagna è terminata. Per donazioni regolari, si prega di utilizzare la pagina principale delle donazioni.", + "card-title": "Il Mio Contributo", + "about-si-title": "Informazioni su Social Income", + "about-si-text-1": "Social Income è un'organizzazione no-profit con sede in Svizzera che fornisce trasferimenti di denaro incondizionati tramite cellulare a persone che vivono in condizioni di povertà multidimensionale nell'Africa occidentale.", + "about-si-text-2": "Dal 2020, Social Income gestisce un programma di reddito di base universale aperto in Sierra Leone.", + "more-faq": "Altre domande", + "badge-highlight": "Campagna in corso" + } +} From 97b63dde1ca90cadd7b14f72b027b18475cc50de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20K=C3=BCndig?= Date: Tue, 3 Dec 2024 20:41:28 +0100 Subject: [PATCH 3/4] Add website-videos.json for Italian --- shared/locales/it/website-donate.json | 3 + shared/locales/it/website-videos.json | 80 +++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 shared/locales/it/website-videos.json diff --git a/shared/locales/it/website-donate.json b/shared/locales/it/website-donate.json index 5be1aca12..c7cda32bd 100644 --- a/shared/locales/it/website-donate.json +++ b/shared/locales/it/website-donate.json @@ -23,6 +23,9 @@ "8": "Il tuo contributo mensile di {{ amount, currency }} è straordinario, così come il tuo impatto." }, "donation-interval": { + "0": { + "title": "Donazione una tantum" + }, "1": { "title": "Mensile", "text": "Dona {{ amount, currency }} ogni mese" diff --git a/shared/locales/it/website-videos.json b/shared/locales/it/website-videos.json new file mode 100644 index 000000000..f642f0d12 --- /dev/null +++ b/shared/locales/it/website-videos.json @@ -0,0 +1,80 @@ +{ + "credits": "Crediti", + "id": { + "video-01": "896169775", + "video-02": "433937157", + "video-03": "840215695" + }, + "video-01": { + "credits": [ + { + "role": "Direttore della Fotografia", + "name": "Gabriel Koller" + }, + { + "role": "Montatore", + "name": "Nicolas Küng" + }, + { + "role": "Sound Design & Musica", + "name": "Tidiane Sane" + }, + { + "role": "Mix & Mastering", + "name": "Nicola-Miloš Mišić" + }, + { + "role": "Colorista", + "name": "Simon Hardegger" + }, + { + "role": "Assistente alla Camera", + "name": "Felix Rhodes" + }, + { + "role": "Narratore", + "name": "Ted Limpert" + }, + { + "role": "Animatore Grafico", + "name": "Raphael Schoen" + }, + { + "role": "Traduttore (Sottotitoli)", + "name": "Françoise Légeret (FR), Riccardo Tamburini (ES, IT)" + } + ] + }, + "video-02": { + "credits": [ + { + "role": "Illustrazioni", + "name": "Sueter Studio" + }, + { + "role": "Storyboard", + "name": "Sandino Scheidegger" + }, + { + "role": "Narratore", + "name": "Ted Limpert" + } + ] + }, + "video-03": { + "credits": [ + { + "role": "Illustrazioni", + "name": "Sueter Studio" + }, + { + "role": "Storyboard", + "name": "Riccardo Tamburini" + }, + { + "role": "Narratore", + "name": "Ted Limpert" + } + ] + } +} \ No newline at end of file From 95edf2c60490f75243b1acf211ab254d40b9c8b9 Mon Sep 17 00:00:00 2001 From: mkue Date: Tue, 3 Dec 2024 19:43:44 +0000 Subject: [PATCH 4/4] Prettified Code! --- shared/locales/it/website-videos.json | 158 +++++++++++++------------- 1 file changed, 79 insertions(+), 79 deletions(-) diff --git a/shared/locales/it/website-videos.json b/shared/locales/it/website-videos.json index f642f0d12..7c89f1aba 100644 --- a/shared/locales/it/website-videos.json +++ b/shared/locales/it/website-videos.json @@ -1,80 +1,80 @@ { - "credits": "Crediti", - "id": { - "video-01": "896169775", - "video-02": "433937157", - "video-03": "840215695" - }, - "video-01": { - "credits": [ - { - "role": "Direttore della Fotografia", - "name": "Gabriel Koller" - }, - { - "role": "Montatore", - "name": "Nicolas Küng" - }, - { - "role": "Sound Design & Musica", - "name": "Tidiane Sane" - }, - { - "role": "Mix & Mastering", - "name": "Nicola-Miloš Mišić" - }, - { - "role": "Colorista", - "name": "Simon Hardegger" - }, - { - "role": "Assistente alla Camera", - "name": "Felix Rhodes" - }, - { - "role": "Narratore", - "name": "Ted Limpert" - }, - { - "role": "Animatore Grafico", - "name": "Raphael Schoen" - }, - { - "role": "Traduttore (Sottotitoli)", - "name": "Françoise Légeret (FR), Riccardo Tamburini (ES, IT)" - } - ] - }, - "video-02": { - "credits": [ - { - "role": "Illustrazioni", - "name": "Sueter Studio" - }, - { - "role": "Storyboard", - "name": "Sandino Scheidegger" - }, - { - "role": "Narratore", - "name": "Ted Limpert" - } - ] - }, - "video-03": { - "credits": [ - { - "role": "Illustrazioni", - "name": "Sueter Studio" - }, - { - "role": "Storyboard", - "name": "Riccardo Tamburini" - }, - { - "role": "Narratore", - "name": "Ted Limpert" - } - ] - } -} \ No newline at end of file + "credits": "Crediti", + "id": { + "video-01": "896169775", + "video-02": "433937157", + "video-03": "840215695" + }, + "video-01": { + "credits": [ + { + "role": "Direttore della Fotografia", + "name": "Gabriel Koller" + }, + { + "role": "Montatore", + "name": "Nicolas Küng" + }, + { + "role": "Sound Design & Musica", + "name": "Tidiane Sane" + }, + { + "role": "Mix & Mastering", + "name": "Nicola-Miloš Mišić" + }, + { + "role": "Colorista", + "name": "Simon Hardegger" + }, + { + "role": "Assistente alla Camera", + "name": "Felix Rhodes" + }, + { + "role": "Narratore", + "name": "Ted Limpert" + }, + { + "role": "Animatore Grafico", + "name": "Raphael Schoen" + }, + { + "role": "Traduttore (Sottotitoli)", + "name": "Françoise Légeret (FR), Riccardo Tamburini (ES, IT)" + } + ] + }, + "video-02": { + "credits": [ + { + "role": "Illustrazioni", + "name": "Sueter Studio" + }, + { + "role": "Storyboard", + "name": "Sandino Scheidegger" + }, + { + "role": "Narratore", + "name": "Ted Limpert" + } + ] + }, + "video-03": { + "credits": [ + { + "role": "Illustrazioni", + "name": "Sueter Studio" + }, + { + "role": "Storyboard", + "name": "Riccardo Tamburini" + }, + { + "role": "Narratore", + "name": "Ted Limpert" + } + ] + } +}