Skip to content

Commit

Permalink
translation(Tinebase): add translation for SCF EvaluationDimension
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed Feb 18, 2025
1 parent b5cfa39 commit 82ec189
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tine20/Tinebase/Model/EvaluationDimension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down
6 changes: 6 additions & 0 deletions tine20/Tinebase/translations/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 82ec189

Please sign in to comment.