From bd5925e1d694ec730236cacd9086925b64f1db60 Mon Sep 17 00:00:00 2001 From: ma0068 Date: Thu, 12 Jun 2025 10:58:43 +0200 Subject: [PATCH] phrases for author and editor UID --- public/js/components/Notiz/Notiz.js | 6 +++++ system/phrasesupdate.php | 40 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/public/js/components/Notiz/Notiz.js b/public/js/components/Notiz/Notiz.js index 2e516514f..44cc56374 100644 --- a/public/js/components/Notiz/Notiz.js +++ b/public/js/components/Notiz/Notiz.js @@ -193,6 +193,9 @@ export default { title: this.$p.t('notiz', 'verfasser'), visible: this.showVariables.showVerfasser }); + cm.getColumnByField('verfasser_uid').component.updateDefinition({ + title: this.$p.t('ui', 'verfasser_uid'), + }); cm.getColumnByField('titel').component.updateDefinition({ title: this.$p.t('global', 'titel'), //visible: this.showVariables.showTitel @@ -205,6 +208,9 @@ export default { title: this.$p.t('notiz', 'bearbeiter'), visible: this.showVariables.showBearbeiter }); + cm.getColumnByField('bearbeiter_uid').component.updateDefinition({ + title: this.$p.t('ui', 'bearbeiter_uid'), + }); cm.getColumnByField('start_format').component.updateDefinition({ title: this.$p.t('global', 'gueltigVon'), visible: this.showVariables.showVon diff --git a/system/phrasesupdate.php b/system/phrasesupdate.php index 1c7b5432b..2fc8ff900 100644 --- a/system/phrasesupdate.php +++ b/system/phrasesupdate.php @@ -24911,6 +24911,46 @@ array( ) ) ), + array( + 'app' => 'core', + 'category' => 'ui', + 'phrase' => 'verfasser_uid', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Verfasser*in UID', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'author UID', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), + array( + 'app' => 'core', + 'category' => 'ui', + 'phrase' => 'bearbeiter_uid', + 'insertvon' => 'system', + 'phrases' => array( + array( + 'sprache' => 'German', + 'text' => 'Bearbeiter*in UID', + 'description' => '', + 'insertvon' => 'system' + ), + array( + 'sprache' => 'English', + 'text' => 'editor UID', + 'description' => '', + 'insertvon' => 'system' + ) + ) + ), array( 'app' => 'core', 'category' => 'notiz',