From 648ef9a26e2cd770108de8c31c35e5cdf20cc6da Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Fri, 10 May 2024 16:34:03 +0200 Subject: [PATCH] add backend translation --- .../admin_twig/de/d3DataWizardTasks_lang.php | 25 +++++++++++++++++++ .../admin_twig/en/d3DataWizardTasks_lang.php | 25 +++++++++++++++++++ ...php => d3DataWizardTasks_translations.php} | 4 +-- ...php => d3DataWizardTasks_translations.php} | 4 +-- 4 files changed, 54 insertions(+), 4 deletions(-) create mode 100644 Application/views/admin_twig/de/d3DataWizardTasks_lang.php create mode 100644 Application/views/admin_twig/en/d3DataWizardTasks_lang.php rename Application/views/de/{d3DataWizardTasks_lang.php => d3DataWizardTasks_translations.php} (99%) rename Application/views/en/{d3DataWizardTasks_lang.php => d3DataWizardTasks_translations.php} (99%) diff --git a/Application/views/admin_twig/de/d3DataWizardTasks_lang.php b/Application/views/admin_twig/de/d3DataWizardTasks_lang.php new file mode 100644 index 0000000..8cd5ce7 --- /dev/null +++ b/Application/views/admin_twig/de/d3DataWizardTasks_lang.php @@ -0,0 +1,25 @@ + + * @link https://www.oxidmodule.com + */ + +// @codeCoverageIgnoreStart +declare(strict_types=1); + +$sLangName = 'Deutsch'; + +// ------------------------------- +// RESOURCE IDENTITFIER = STRING +// ------------------------------- + +$aLang = include __DIR__."/../../de/d3DataWizardTasks_translations.php"; + +// @codeCoverageIgnoreEnd diff --git a/Application/views/admin_twig/en/d3DataWizardTasks_lang.php b/Application/views/admin_twig/en/d3DataWizardTasks_lang.php new file mode 100644 index 0000000..e264db9 --- /dev/null +++ b/Application/views/admin_twig/en/d3DataWizardTasks_lang.php @@ -0,0 +1,25 @@ + + * @link https://www.oxidmodule.com + */ + +// @codeCoverageIgnoreStart +declare(strict_types=1); + +$sLangName = 'English'; + +// ------------------------------- +// RESOURCE IDENTITFIER = STRING +// ------------------------------- + +$aLang = include __DIR__."/../../en/d3DataWizardTasks_translations.php"; + +// @codeCoverageIgnoreEnd diff --git a/Application/views/de/d3DataWizardTasks_lang.php b/Application/views/de/d3DataWizardTasks_translations.php similarity index 99% rename from Application/views/de/d3DataWizardTasks_lang.php rename to Application/views/de/d3DataWizardTasks_translations.php index 9d7bba3..d0c46e4 100644 --- a/Application/views/de/d3DataWizardTasks_lang.php +++ b/Application/views/de/d3DataWizardTasks_translations.php @@ -17,7 +17,7 @@ $sLangName = "Deutsch"; // ------------------------------- // RESOURCE IDENTITFIER = STRING // ------------------------------- -$aLang = array( +return [ //Navigation 'charset' => 'UTF-8', @@ -41,4 +41,4 @@ $aLang = array( 'D3_DATAWIZARDTASKS_ACTIONS_FIXARTEXTENDSITEMS' => 'fehlende oxartextends-Einträge nachtragen', 'D3_DATAWIZARDTASKS_ACTIONS_FIXWYSIWYGSPECIALCHARS' => 'Texte mit zerstörten Sonderzeichen korrigieren', -); +]; diff --git a/Application/views/en/d3DataWizardTasks_lang.php b/Application/views/en/d3DataWizardTasks_translations.php similarity index 99% rename from Application/views/en/d3DataWizardTasks_lang.php rename to Application/views/en/d3DataWizardTasks_translations.php index 53e9abc..8b3932e 100644 --- a/Application/views/en/d3DataWizardTasks_lang.php +++ b/Application/views/en/d3DataWizardTasks_translations.php @@ -17,7 +17,7 @@ $sLangName = "English"; // ------------------------------- // RESOURCE IDENTITFIER = STRING // ------------------------------- -$aLang = array( +return [ //Navigation 'charset' => 'UTF-8', @@ -41,4 +41,4 @@ $aLang = array( 'D3_DATAWIZARDTASKS_ACTIONS_FIXARTEXTENDSITEMS' => 'add missing oxartextends entries', 'D3_DATAWIZARDTASKS_ACTIONS_FIXWYSIWYGSPECIALCHARS' => 'fix texts with destroyed special characters', -); +];