From fb5bf43990ba70a8644a71a3492e01b4eb94c5eb Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 13 May 2025 18:53:15 +0200 Subject: [PATCH 1/2] better translation for documents_user_rejected --- languages/en_GB/lang.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/languages/en_GB/lang.inc b/languages/en_GB/lang.inc index 86f6b33c3..f458a7943 100644 --- a/languages/en_GB/lang.inc +++ b/languages/en_GB/lang.inc @@ -19,7 +19,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. // -// Translators: Admin (2546), archonwang (3), dgrutsch (9), netixw (14) +// Translators: Admin (2547), archonwang (3), dgrutsch (9), netixw (14) $text = array( '2_factor_auth' => '2-factor authentication', @@ -467,7 +467,7 @@ URL: [url]

', 'documents_user_no_reception' => 'Documents without reception', 'documents_user_obsolete' => 'Obsolete documents', 'documents_user_reception' => 'Documents awaiting reception', -'documents_user_rejected' => 'Rejected documents', +'documents_user_rejected' => 'Documents rejected', 'documents_user_requiring_attention' => 'Documents owned by you that require attention', 'documents_with_notification' => 'Documents with notification', 'document_access_permission_changed_email' => 'Permission changed', From e9388dc3ece5e57fda38500f7d24cc63ac39a093 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 13 May 2025 18:53:46 +0200 Subject: [PATCH 2/2] use translation of documents_user_rejected in list of menu tasks --- views/bootstrap/class.Tasks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/bootstrap/class.Tasks.php b/views/bootstrap/class.Tasks.php index dfb29f9fc..c37ca6773 100644 --- a/views/bootstrap/class.Tasks.php +++ b/views/bootstrap/class.Tasks.php @@ -230,7 +230,7 @@ class SeedDMS_View_Tasks extends SeedDMS_Theme_Style { $doc = $dms->getDocument($t['id']); $subitems[] = array('label'=>htmlspecialchars($doc->getName()), 'link'=>$this->params['settings']->_httpRoot."out/out.ViewDocument.php?documentid=".$doc->getID()."¤ttab=docinfo", 'class'=>"table-row-document", 'rel'=>"document_".$doc->getID()); } - $menuitems['tasks']['children']['rejected'] = array('label'=>getMLText('documents_rejected'), 'children'=>$subitems); + $menuitems['tasks']['children']['rejected'] = array('label'=>getMLText('documents_user_rejected'), 'children'=>$subitems); } $menuitems['tasks']['children']['divider'] = array('divider'=>true); $menuitems['tasks']['children']['mydocuments'] = array('label'=>getMLText('my_documents'), 'link'=>$this->params['settings']->_httpRoot.'out/out.MyDocuments.php');