From 80a0a14a6d9eeea53bafc60f4ea1d9eb9d867193 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 18 May 2024 21:16:17 +0000 Subject: [PATCH] fix languages 5 --- Models/NullPostingElement.php | 47 ++++++++++++++++++++++++++++++++++ Theme/Backend/Lang/de.lang.php | 1 + Theme/Backend/Lang/en.lang.php | 1 + 3 files changed, 49 insertions(+) create mode 100644 Models/NullPostingElement.php diff --git a/Models/NullPostingElement.php b/Models/NullPostingElement.php new file mode 100644 index 0000000..0defa4c --- /dev/null +++ b/Models/NullPostingElement.php @@ -0,0 +1,47 @@ +id = $id; + parent::__construct(); + } + + /** + * {@inheritdoc} + */ + public function jsonSerialize() : mixed + { + return ['id' => $this->id]; + } +} diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index 1d8861c..1d64743 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -13,6 +13,7 @@ declare(strict_types=1); return ['Accounting' => [ + 'Addition' => 'Zusatz', 'Account' => 'Konto', 'Accounts' => 'Konten', 'BatchPostings' => 'Chargenbuchungen', diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index ec6695a..d651ca0 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -13,6 +13,7 @@ declare(strict_types=1); return ['Accounting' => [ + 'Addition' => 'Addition', 'Account' => 'Account', 'Accounts' => 'Accounts', 'BatchPostings' => 'Batch Postings',