From 24fc3c610f4fcfa66df093c3bc05735f1e094c9c Mon Sep 17 00:00:00 2001 From: Till JS Date: Mon, 27 Apr 2026 13:46:43 +0200 Subject: [PATCH] i18n(finance): add namespace JSONs (de/en/es/fr/it) Adds page sub-namespace covering page title, summary cards (Einnahmen/ Ausgaben/Bilanz), category breakdown + transactions sections, and add form (type toggle, amount/description placeholders, submit/cancel). Co-Authored-By: Claude Opus 4.7 (1M context) --- .../web/src/lib/i18n/locales/finance/de.json | 19 +++++++++++++++++++ .../web/src/lib/i18n/locales/finance/en.json | 19 +++++++++++++++++++ .../web/src/lib/i18n/locales/finance/es.json | 19 +++++++++++++++++++ .../web/src/lib/i18n/locales/finance/fr.json | 19 +++++++++++++++++++ .../web/src/lib/i18n/locales/finance/it.json | 19 +++++++++++++++++++ 5 files changed, 95 insertions(+) create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/finance/de.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/finance/en.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/finance/es.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/finance/fr.json create mode 100644 apps/mana/apps/web/src/lib/i18n/locales/finance/it.json diff --git a/apps/mana/apps/web/src/lib/i18n/locales/finance/de.json b/apps/mana/apps/web/src/lib/i18n/locales/finance/de.json new file mode 100644 index 000000000..e3dc8887e --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/finance/de.json @@ -0,0 +1,19 @@ +{ + "page": { + "title": "Finance", + "page_title_html": "Finance - Mana", + "loading": "Laden...", + "summary_income": "Einnahmen", + "summary_expenses": "Ausgaben", + "summary_balance": "Bilanz", + "section_by_category": "Ausgaben nach Kategorie", + "section_transactions": "Transaktionen", + "action_cancel": "Abbrechen", + "action_add_transaction": "+ Transaktion hinzufügen", + "type_expense": "Ausgabe", + "type_income": "Einnahme", + "placeholder_amount": "0,00", + "placeholder_description": "Beschreibung...", + "action_submit": "Hinzufügen" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/finance/en.json b/apps/mana/apps/web/src/lib/i18n/locales/finance/en.json new file mode 100644 index 000000000..a68a39537 --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/finance/en.json @@ -0,0 +1,19 @@ +{ + "page": { + "title": "Finance", + "page_title_html": "Finance - Mana", + "loading": "Loading…", + "summary_income": "Income", + "summary_expenses": "Expenses", + "summary_balance": "Balance", + "section_by_category": "Expenses by category", + "section_transactions": "Transactions", + "action_cancel": "Cancel", + "action_add_transaction": "+ Add transaction", + "type_expense": "Expense", + "type_income": "Income", + "placeholder_amount": "0.00", + "placeholder_description": "Description…", + "action_submit": "Add" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/finance/es.json b/apps/mana/apps/web/src/lib/i18n/locales/finance/es.json new file mode 100644 index 000000000..2bee9ec10 --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/finance/es.json @@ -0,0 +1,19 @@ +{ + "page": { + "title": "Finance", + "page_title_html": "Finance - Mana", + "loading": "Cargando…", + "summary_income": "Ingresos", + "summary_expenses": "Gastos", + "summary_balance": "Balance", + "section_by_category": "Gastos por categoría", + "section_transactions": "Transacciones", + "action_cancel": "Cancelar", + "action_add_transaction": "+ Añadir transacción", + "type_expense": "Gasto", + "type_income": "Ingreso", + "placeholder_amount": "0,00", + "placeholder_description": "Descripción…", + "action_submit": "Añadir" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/finance/fr.json b/apps/mana/apps/web/src/lib/i18n/locales/finance/fr.json new file mode 100644 index 000000000..c16b45a4c --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/finance/fr.json @@ -0,0 +1,19 @@ +{ + "page": { + "title": "Finance", + "page_title_html": "Finance - Mana", + "loading": "Chargement…", + "summary_income": "Revenus", + "summary_expenses": "Dépenses", + "summary_balance": "Solde", + "section_by_category": "Dépenses par catégorie", + "section_transactions": "Transactions", + "action_cancel": "Annuler", + "action_add_transaction": "+ Ajouter une transaction", + "type_expense": "Dépense", + "type_income": "Revenu", + "placeholder_amount": "0,00", + "placeholder_description": "Description…", + "action_submit": "Ajouter" + } +} diff --git a/apps/mana/apps/web/src/lib/i18n/locales/finance/it.json b/apps/mana/apps/web/src/lib/i18n/locales/finance/it.json new file mode 100644 index 000000000..3ca112f41 --- /dev/null +++ b/apps/mana/apps/web/src/lib/i18n/locales/finance/it.json @@ -0,0 +1,19 @@ +{ + "page": { + "title": "Finance", + "page_title_html": "Finance - Mana", + "loading": "Caricamento…", + "summary_income": "Entrate", + "summary_expenses": "Uscite", + "summary_balance": "Saldo", + "section_by_category": "Uscite per categoria", + "section_transactions": "Transazioni", + "action_cancel": "Annulla", + "action_add_transaction": "+ Aggiungi transazione", + "type_expense": "Uscita", + "type_income": "Entrata", + "placeholder_amount": "0,00", + "placeholder_description": "Descrizione…", + "action_submit": "Aggiungi" + } +}