fix(translation): Corrected missing translation keys for VAT short form across multiple languages.

This commit is contained in:
Philipp Kunz 2024-12-05 01:42:05 +01:00
parent 47b6d4f0b9
commit 5b849b316f
4 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog # 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) ## 2024-12-05 - 1.6.1 - fix(core)
Ensure consistent project structure and code organization without additional changes. Ensure consistent project structure and code organization without additional changes.

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-document', 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.' description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
} }

View File

@ -19,6 +19,7 @@ export const EN_translations = {
continuesOnPage: 'Continues on page', continuesOnPage: 'Continues on page',
finalPageStatement: 'This is the final page of this document.', finalPageStatement: 'This is the final page of this document.',
page: 'Page', page: 'Page',
vatShort: 'VAT',
} as const; } as const;
// Infer keys of EN_translations // Infer keys of EN_translations
@ -49,6 +50,7 @@ export const DE_translations: TTranslationImplementation = {
continuesOnPage: 'Fortsetzung auf Seite', continuesOnPage: 'Fortsetzung auf Seite',
finalPageStatement: 'Dies ist die letzte Seite dieses Dokuments.', finalPageStatement: 'Dies ist die letzte Seite dieses Dokuments.',
page: 'Seite', page: 'Seite',
vatShort: 'USt',
}; };
// Define Spanish translations // Define Spanish translations
@ -70,6 +72,7 @@ export const ES_translations: TTranslationImplementation = {
continuesOnPage: 'Continúa en la página', continuesOnPage: 'Continúa en la página',
finalPageStatement: 'Esta es la última página de este documento.', finalPageStatement: 'Esta es la última página de este documento.',
page: 'Página', page: 'Página',
vatShort: 'IVA',
}; };
// Define French translations // Define French translations
@ -92,6 +95,7 @@ export const FR_translations: TTranslationImplementation = {
continuesOnPage: 'Continue sur la page', continuesOnPage: 'Continue sur la page',
finalPageStatement: 'Ceci est la dernière page de ce document.', finalPageStatement: 'Ceci est la dernière page de ce document.',
page: 'Page', page: 'Page',
vatShort: 'TVA',
}; };
// Define Italian translations // Define Italian translations
@ -113,6 +117,7 @@ export const IT_translations: TTranslationImplementation = {
continuesOnPage: 'Continua alla pagina', continuesOnPage: 'Continua alla pagina',
finalPageStatement: 'Questa è l\'ultima pagina di questo documento.', finalPageStatement: 'Questa è l\'ultima pagina di questo documento.',
page: 'Pagina', page: 'Pagina',
vatShort: 'IVA',
}; };
// Language Code Map // Language Code Map

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@design.estate/dees-document', 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.' description: 'A sophisticated framework for dynamically generating and rendering business documents like invoices with modern web technologies, featuring PDF creation, templating, and automation.'
} }