From ee0919e61f981456fd22f7da0f98415da8ff100b Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 7 Mar 2023 13:37:17 +0800 Subject: [PATCH] * Modify language items for product common. --- module/doc/lang/de.php | 14 +++++++------- module/doc/lang/en.php | 14 +++++++------- module/doc/lang/fr.php | 14 +++++++------- module/doc/lang/zh-cn.php | 16 ++++++++-------- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/module/doc/lang/de.php b/module/doc/lang/de.php index 99fd338763..ae37b277a0 100644 --- a/module/doc/lang/de.php +++ b/module/doc/lang/de.php @@ -47,7 +47,7 @@ $lang->doclib->nameList['custom'] = 'Custom Name'; $lang->doc->common = 'Dok'; $lang->doc->id = 'ID'; $lang->doc->product = $lang->productCommon; -$lang->doc->project = 'Project'; +$lang->doc->project = $lang->projectCommon; $lang->doc->execution = $lang->execution->common; $lang->doc->lib = 'Bibliothek'; $lang->doc->module = 'Modul'; @@ -251,12 +251,12 @@ $lang->doc->selectLibType = 'Please select a type of doc library.'; $lang->doc->noLibreOffice = 'You does not have access to office conversion settings!'; $lang->doc->errorParentChapter = 'The parent chapter cannot be its own chapter or sub chapter!'; -$lang->doc->noticeAcl['lib']['product']['default'] = 'Users who can access the selected product can access it.'; -$lang->doc->noticeAcl['lib']['product']['custom'] = 'Users who can access the selected product or users in the whiltelist can access it.'; -$lang->doc->noticeAcl['lib']['project']['default'] = 'Users who can access the selected project can access it.'; -$lang->doc->noticeAcl['lib']['project']['open'] = 'Users who can access the selected project can access it.'; -$lang->doc->noticeAcl['lib']['project']['private'] = 'Users who can access the selected project or users in the whiltelist can access it.'; -$lang->doc->noticeAcl['lib']['project']['custom'] = 'Users who can access the selected project or users in the whiltelist can access it.'; +$lang->doc->noticeAcl['lib']['product']['default'] = "Users who can access the selected {$lang->productCommon} can access it."; +$lang->doc->noticeAcl['lib']['product']['custom'] = "Users who can access the selected {$lang->productCommon} or users in the whiltelist can access it."; +$lang->doc->noticeAcl['lib']['project']['default'] = "Users who can access the selected {$lang->projectCommon} can access it."; +$lang->doc->noticeAcl['lib']['project']['open'] = "Users who can access the selected {$lang->projectCommon} can access it."; +$lang->doc->noticeAcl['lib']['project']['private'] = "Users who can access the selected {$lang->projectCommon} or users in the whiltelist can access it."; +$lang->doc->noticeAcl['lib']['project']['custom'] = "Users who can access the selected {$lang->projectCommon} or users in the whiltelist can access it."; $lang->doc->noticeAcl['lib']['execution']['default'] = "Users who can access the selected {$lang->execution->common} can access it."; $lang->doc->noticeAcl['lib']['execution']['custom'] = "Users who can access the selected {$lang->execution->common} or users in the whiltelist can access it."; $lang->doc->noticeAcl['lib']['api']['open'] = 'All users can access it.'; diff --git a/module/doc/lang/en.php b/module/doc/lang/en.php index 5ab1ee88ea..134e0dda8e 100644 --- a/module/doc/lang/en.php +++ b/module/doc/lang/en.php @@ -47,7 +47,7 @@ $lang->doclib->nameList['custom'] = 'Custom Name'; $lang->doc->common = 'Document'; $lang->doc->id = 'ID'; $lang->doc->product = $lang->productCommon; -$lang->doc->project = 'Project'; +$lang->doc->project = $lang->projectCommon; $lang->doc->execution = $lang->execution->common; $lang->doc->lib = 'Library'; $lang->doc->module = 'Catalog'; @@ -251,12 +251,12 @@ $lang->doc->selectLibType = 'Please select a type of doc library.'; $lang->doc->noLibreOffice = 'You does not have access to office conversion settings!'; $lang->doc->errorParentChapter = 'The parent chapter cannot be its own chapter or sub chapter!'; -$lang->doc->noticeAcl['lib']['product']['default'] = 'Users who can access the selected product can access it.'; -$lang->doc->noticeAcl['lib']['product']['custom'] = 'Users who can access the selected product or users in the whiltelist can access it.'; -$lang->doc->noticeAcl['lib']['project']['default'] = 'Users who can access the selected project can access it.'; -$lang->doc->noticeAcl['lib']['project']['open'] = 'Users who can access the selected project can access it.'; -$lang->doc->noticeAcl['lib']['project']['private'] = 'Users who can access the selected project or users in the whiltelist can access it.'; -$lang->doc->noticeAcl['lib']['project']['custom'] = 'Users in the whiltelist can access it.'; +$lang->doc->noticeAcl['lib']['product']['default'] = "Users who can access the selected {$lang->productCommon} can access it."; +$lang->doc->noticeAcl['lib']['product']['custom'] = "Users who can access the selected {$lang->productCommon} or users in the whiltelist can access it."; +$lang->doc->noticeAcl['lib']['project']['default'] = "Users who can access the selected {$lang->projectCommon} can access it."; +$lang->doc->noticeAcl['lib']['project']['open'] = "Users who can access the selected {$lang->projectCommon} can access it."; +$lang->doc->noticeAcl['lib']['project']['private'] = "Users who can access the selected {$lang->projectCommon} or users in the whiltelist can access it."; +$lang->doc->noticeAcl['lib']['project']['custom'] = "Users who can access the selected {$lang->projectCommon} or users in the whiltelist can access it."; $lang->doc->noticeAcl['lib']['execution']['default'] = "Users who can access the selected {$lang->execution->common} can access it."; $lang->doc->noticeAcl['lib']['execution']['custom'] = "Users who can access the selected {$lang->execution->common} or users in the whiltelist can access it."; $lang->doc->noticeAcl['lib']['api']['open'] = 'All users can access it.'; diff --git a/module/doc/lang/fr.php b/module/doc/lang/fr.php index 144311558b..d88ae22836 100644 --- a/module/doc/lang/fr.php +++ b/module/doc/lang/fr.php @@ -47,7 +47,7 @@ $lang->doclib->nameList['custom'] = 'Nom personnalisé'; $lang->doc->common = 'Gestion Documentaire'; $lang->doc->id = 'ID'; $lang->doc->product = $lang->productCommon; -$lang->doc->project = 'Project'; +$lang->doc->project = $lang->projectCommon; $lang->doc->execution = $lang->execution->common; $lang->doc->lib = 'Bibliothèque'; $lang->doc->module = 'Catégorie'; @@ -251,12 +251,12 @@ $lang->doc->selectLibType = 'Please select a type of doc library.'; $lang->doc->noLibreOffice = 'You does not have access to office conversion settings!'; $lang->doc->errorParentChapter = 'The parent chapter cannot be its own chapter or sub chapter!'; -$lang->doc->noticeAcl['lib']['product']['default'] = 'Les utilisateurs qui ont accès au Product peuvent y accéder.'; -$lang->doc->noticeAcl['lib']['product']['custom'] = 'Les utilisateurs qui ont accès au Product ou les utilisateurs de la Liste Blanche peuvent y accéder.'; -$lang->doc->noticeAcl['lib']['project']['default'] = 'Les utilisateurs qui ont accès au Projet peuvent y accéder.'; -$lang->doc->noticeAcl['lib']['project']['open'] = 'Users who can access the selected project can access it.'; -$lang->doc->noticeAcl['lib']['project']['private'] = 'Users who can access the selected project or users in the whiltelist can access it.'; -$lang->doc->noticeAcl['lib']['project']['custom'] = 'Les utilisateurs qui ont accès au Projet ou les utilisateurs de la Liste Blanche peuvent y accéder.'; +$lang->doc->noticeAcl['lib']['product']['default'] = "Users who can access the selected {$lang->productCommon} can access it."; +$lang->doc->noticeAcl['lib']['product']['custom'] = "Users who can access the selected {$lang->productCommon} or users in the whiltelist can access it."; +$lang->doc->noticeAcl['lib']['project']['default'] = "Users who can access the selected {$lang->projectCommon} can access it."; +$lang->doc->noticeAcl['lib']['project']['open'] = "Users who can access the selected {$lang->projectCommon} can access it."; +$lang->doc->noticeAcl['lib']['project']['private'] = "Users who can access the selected {$lang->projectCommon} or users in the whiltelist can access it."; +$lang->doc->noticeAcl['lib']['project']['custom'] = "Users who can access the selected {$lang->projectCommon} or users in the whiltelist can access it."; $lang->doc->noticeAcl['lib']['execution']['default'] = "Les utilisateurs qui ont accès au {$lang->execution->common} peuvent y accéder."; $lang->doc->noticeAcl['lib']['execution']['custom'] = "Les utilisateurs qui ont accès au {$lang->execution->common} ou les utilisateurs de la Liste Blanche peuvent y accéder."; $lang->doc->noticeAcl['lib']['api']['open'] = 'All users can access it.'; diff --git a/module/doc/lang/zh-cn.php b/module/doc/lang/zh-cn.php index 57e8382161..8633007239 100644 --- a/module/doc/lang/zh-cn.php +++ b/module/doc/lang/zh-cn.php @@ -34,7 +34,7 @@ $lang->doclib->create['execution'] = '创建' . $lang->executionCommon . '文档 $lang->doclib->create['custom'] = '创建自定义文档库'; $lang->doclib->main['product'] = $lang->productCommon . '主库'; -$lang->doclib->main['project'] = '项目主库'; +$lang->doclib->main['project'] = "{$lang->projectCommon}主库"; $lang->doclib->main['execution'] = $lang->executionCommon . '主库'; $lang->doclib->tabList['product'] = $lang->productCommon; @@ -47,7 +47,7 @@ $lang->doclib->nameList['custom'] = '自定义文档库名称'; $lang->doc->common = '文档'; $lang->doc->id = '文档编号'; $lang->doc->product = '所属' . $lang->productCommon; -$lang->doc->project = '所属项目'; +$lang->doc->project = "所属{$lang->projectCommon}"; $lang->doc->execution = '所属' . $lang->execution->common; $lang->doc->lib = '所属文档库'; $lang->doc->module = '所属目录'; @@ -165,7 +165,7 @@ $lang->doc->allExecutions = '所有' . $lang->executionCommon; $lang->doc->allProjects = '所有' . $lang->projectCommon; $lang->doc->libTypeList['product'] = $lang->productCommon . '文档库'; -$lang->doc->libTypeList['project'] = '项目文档库'; +$lang->doc->libTypeList['project'] = "{$lang->projectCommon}文档库"; $lang->doc->libTypeList['execution'] = $lang->execution->common . '文档库'; $lang->doc->libTypeList['api'] = '接口库'; $lang->doc->libTypeList['custom'] = '自定义文档库'; @@ -251,11 +251,11 @@ $lang->doc->selectLibType = '请选择文档库类型'; $lang->doc->noLibreOffice = '您还没有office转换设置访问权限!'; $lang->doc->errorParentChapter = '父章节不能是自身章节及子章节!'; -$lang->doc->noticeAcl['lib']['product']['default'] = '有所选产品访问权限的用户可以访问。'; -$lang->doc->noticeAcl['lib']['product']['custom'] = '有所选产品访问权限或白名单里的用户可以访问。'; -$lang->doc->noticeAcl['lib']['project']['default'] = "有所选项目访问权限的用户可以访问。"; -$lang->doc->noticeAcl['lib']['project']['open'] = "有所选项目访问权限的用户可以访问。"; -$lang->doc->noticeAcl['lib']['project']['private'] = "有所选项目访问权限或白名单里的用户可以访问。"; +$lang->doc->noticeAcl['lib']['product']['default'] = "有所选{$lang->productCommon}访问权限的用户可以访问。"; +$lang->doc->noticeAcl['lib']['product']['custom'] = "有所选{$lang->productCommon}访问权限或白名单里的用户可以访问。"; +$lang->doc->noticeAcl['lib']['project']['default'] = "有所选{$lang->projectCommon}访问权限的用户可以访问。"; +$lang->doc->noticeAcl['lib']['project']['open'] = "有所选{$lang->projectCommon}访问权限的用户可以访问。"; +$lang->doc->noticeAcl['lib']['project']['private'] = "有所选{$lang->projectCommon}访问权限或白名单里的用户可以访问。"; $lang->doc->noticeAcl['lib']['project']['custom'] = "白名单的用户可以访问。"; $lang->doc->noticeAcl['lib']['execution']['default'] = "有所选{$lang->execution->common}访问权限的用户可以访问。"; $lang->doc->noticeAcl['lib']['execution']['custom'] = "有所选{$lang->execution->common}访问权限或白名单里的用户可以访问。";