From 164efbeb4932a9627159ff8def360c9caa986188 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 13 May 2020 16:05:33 +0200 Subject: [PATCH] include javascript translations --- views/bootstrap/class.AttributeMgr.php | 1 + views/bootstrap/class.Categories.php | 1 + 2 files changed, 2 insertions(+) diff --git a/views/bootstrap/class.AttributeMgr.php b/views/bootstrap/class.AttributeMgr.php index 4bc4de3e2..0327e2a96 100644 --- a/views/bootstrap/class.AttributeMgr.php +++ b/views/bootstrap/class.AttributeMgr.php @@ -39,6 +39,7 @@ class SeedDMS_View_AttributeMgr extends SeedDMS_Bootstrap_Style { function js() { /* {{{ */ $selattrdef = $this->params['selattrdef']; header('Content-Type: application/javascript'); + parent::jsTranslations(array('cancel', 'splash_move_document', 'confirm_move_document', 'move_document', 'confirm_transfer_link_document', 'transfer_content', 'link_document', 'splash_move_folder', 'confirm_move_folder', 'move_folder')); ?> $(document).ready( function() { diff --git a/views/bootstrap/class.Categories.php b/views/bootstrap/class.Categories.php index c563fa74f..d6553ba45 100644 --- a/views/bootstrap/class.Categories.php +++ b/views/bootstrap/class.Categories.php @@ -39,6 +39,7 @@ class SeedDMS_View_Categories extends SeedDMS_Bootstrap_Style { function js() { /* {{{ */ $selcat = $this->params['selcategory']; header('Content-Type: application/javascript'); + parent::jsTranslations(array('cancel', 'splash_move_document', 'confirm_move_document', 'move_document', 'confirm_transfer_link_document', 'transfer_content', 'link_document', 'splash_move_folder', 'confirm_move_folder', 'move_folder')); ?> $(document).ready( function() { $( "#selector" ).change(function() {