From 82ec189e94311ee99cba47db4922778b3eefed43 Mon Sep 17 00:00:00 2001 From: Christian Feitl Date: Tue, 18 Feb 2025 11:15:18 +0100 Subject: [PATCH] translation(Tinebase): add translation for SCF EvaluationDimension --- tine20/Tinebase/Model/EvaluationDimension.php | 5 +++-- tine20/Tinebase/translations/de.po | 6 ++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/tine20/Tinebase/Model/EvaluationDimension.php b/tine20/Tinebase/Model/EvaluationDimension.php index 4b0292c175c..2cb56216ff2 100644 --- a/tine20/Tinebase/Model/EvaluationDimension.php +++ b/tine20/Tinebase/Model/EvaluationDimension.php @@ -28,8 +28,8 @@ class Tinebase_Model_EvaluationDimension extends Tinebase_Record_NewAbstract public const FLD_DESCRIPTION = 'description'; public const FLD_SORTING = 'sorting'; - public const COST_CENTER = 'Cost Center'; - public const COST_BEARER = 'Cost Bearer'; + public const COST_CENTER = 'Cost Center'; // gettext('Cost Center') + public const COST_BEARER = 'Cost Bearer'; // gettext('Cost Bearer') /** * Holds the model configuration (must be assigned in the concrete class) @@ -140,6 +140,7 @@ public function getSystemCF(string $model): Tinebase_Model_CustomField_Config $definition = [ Tinebase_Model_CustomField_Config::DEF_FIELD => [ self::LABEL => $this->{self::FLD_NAME}, + self::OWNING_APP => Tinebase_Config::APP_NAME, self::TYPE => self::TYPE_RECORD, self::CONFIG => [ self::APP_NAME => Tinebase_Config::APP_NAME, diff --git a/tine20/Tinebase/translations/de.po b/tine20/Tinebase/translations/de.po index 33815fdc466..892723bcf04 100644 --- a/tine20/Tinebase/translations/de.po +++ b/tine20/Tinebase/translations/de.po @@ -3949,6 +3949,12 @@ msgstr "Nummer" msgid "GENDER_Evaluation Dimension" msgstr "female" +msgid "Cost Center" +msgstr "Kostenstelle" + +msgid "Cost Bearer" +msgstr "Kostenträger" + msgid "Evaluation Dimension" msgid_plural "Evaluation Dimensions" msgstr[0] "Auswertungsdimension"