From 5b849b316f813af743cd530b32d27c4be4fa2246 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Thu, 5 Dec 2024 01:42:05 +0100 Subject: [PATCH] fix(translation): Corrected missing translation keys for VAT short form across multiple languages. --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts_shared/translation.ts | 5 +++++ ts_web/00_commitinfo_data.ts | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index dc89329..fcafcee 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2024-12-05 - 1.6.2 - fix(translation) +Corrected missing translation keys for VAT short form across multiple languages. + +- Fixed missing 'vatShort' translation for English, German, Spanish, French, and Italian in translation.ts file. + ## 2024-12-05 - 1.6.1 - fix(core) Ensure consistent project structure and code organization without additional changes. diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 7036232..f17dbb6 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@design.estate/dees-document', - version: '1.6.1', + version: '1.6.2', description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.' } diff --git a/ts_shared/translation.ts b/ts_shared/translation.ts index a69e2cf..6155439 100644 --- a/ts_shared/translation.ts +++ b/ts_shared/translation.ts @@ -19,6 +19,7 @@ export const EN_translations = { continuesOnPage: 'Continues on page', finalPageStatement: 'This is the final page of this document.', page: 'Page', + vatShort: 'VAT', } as const; // Infer keys of EN_translations @@ -49,6 +50,7 @@ export const DE_translations: TTranslationImplementation = { continuesOnPage: 'Fortsetzung auf Seite', finalPageStatement: 'Dies ist die letzte Seite dieses Dokuments.', page: 'Seite', + vatShort: 'USt', }; // Define Spanish translations @@ -70,6 +72,7 @@ export const ES_translations: TTranslationImplementation = { continuesOnPage: 'Continúa en la página', finalPageStatement: 'Esta es la última página de este documento.', page: 'Página', + vatShort: 'IVA', }; // Define French translations @@ -92,6 +95,7 @@ export const FR_translations: TTranslationImplementation = { continuesOnPage: 'Continue sur la page', finalPageStatement: 'Ceci est la dernière page de ce document.', page: 'Page', + vatShort: 'TVA', }; // Define Italian translations @@ -113,6 +117,7 @@ export const IT_translations: TTranslationImplementation = { continuesOnPage: 'Continua alla pagina', finalPageStatement: 'Questa è l\'ultima pagina di questo documento.', page: 'Pagina', + vatShort: 'IVA', }; // Language Code Map diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 7036232..f17dbb6 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@design.estate/dees-document', - version: '1.6.1', + version: '1.6.2', description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.' }