diff --git a/module/doc/lang/de.php b/module/doc/lang/de.php index a6adf32b2f..bf6f3b6253 100644 --- a/module/doc/lang/de.php +++ b/module/doc/lang/de.php @@ -114,6 +114,7 @@ $lang->docTemplate->confirmDeleteTemplateWithSub = "After deleting the template, $lang->docTemplate->scopeHasTemplateTips = 'There are templates within this scope. Please remove them before deleting the scope.'; $lang->docTemplate->scopeHasModuleTips = 'There are template category data within this scope. Please remove them before deleting the scope.'; $lang->docTemplate->confirmDeleteReviewTemplate = "After deletion, it will affect the ability of the template to automatically generate system data for review in the project. Are you sure you want to delete it?"; +$lang->docTemplate->needEditable = 'This template is not editable.'; $lang->docTemplate->create = 'Create Template'; $lang->docTemplate->edit = 'Edit Template'; diff --git a/module/doc/lang/en.php b/module/doc/lang/en.php index 618a757945..77d6b2db35 100644 --- a/module/doc/lang/en.php +++ b/module/doc/lang/en.php @@ -114,6 +114,7 @@ $lang->docTemplate->confirmDeleteTemplateWithSub = "After deleting the template, $lang->docTemplate->scopeHasTemplateTips = 'There are templates within this scope. Please remove them before deleting the scope.'; $lang->docTemplate->scopeHasModuleTips = 'There are template category data within this scope. Please remove them before deleting the scope.'; $lang->docTemplate->confirmDeleteReviewTemplate = "After deletion, it will affect the ability of the template to automatically generate system data for review in the project. Are you sure you want to delete it?"; +$lang->docTemplate->needEditable = 'This template is not editable.'; $lang->docTemplate->create = 'Create Template'; $lang->docTemplate->edit = 'Edit Template'; diff --git a/module/doc/lang/fr.php b/module/doc/lang/fr.php index 9ca9cf3adb..945df6a021 100644 --- a/module/doc/lang/fr.php +++ b/module/doc/lang/fr.php @@ -114,6 +114,7 @@ $lang->docTemplate->confirmDeleteTemplateWithSub = "After deleting the template, $lang->docTemplate->scopeHasTemplateTips = 'There are templates within this scope. Please remove them before deleting the scope.'; $lang->docTemplate->scopeHasModuleTips = 'There are template category data within this scope. Please remove them before deleting the scope.'; $lang->docTemplate->confirmDeleteReviewTemplate = "After deletion, it will affect the ability of the template to automatically generate system data for review in the project. Are you sure you want to delete it?"; +$lang->docTemplate->needEditable = 'This template is not editable.'; $lang->docTemplate->create = 'Create Template'; $lang->docTemplate->edit = 'Edit Template'; diff --git a/module/doc/lang/zh-cn.php b/module/doc/lang/zh-cn.php index 1ff835a6a5..bbb812a955 100644 --- a/module/doc/lang/zh-cn.php +++ b/module/doc/lang/zh-cn.php @@ -114,6 +114,7 @@ $lang->docTemplate->confirmDeleteTemplateWithSub = "删除文档模板后,文 $lang->docTemplate->scopeHasTemplateTips = '该范围下有文档模板,请移除后再删除范围。'; $lang->docTemplate->scopeHasModuleTips = '该范围下有模板分类数据,请移除后再删除范围。'; $lang->docTemplate->confirmDeleteReviewTemplate = "删除后,会影响项目中由该模板自动生成系统数据进行评审的功能,确认要删除吗?"; +$lang->docTemplate->needEditable = '您没有当前文档模板的编辑权限。'; $lang->docTemplate->more = '更多'; $lang->docTemplate->scopeLabel = '范围'; diff --git a/module/doc/ui/templatelist.html.php b/module/doc/ui/templatelist.html.php index b3261bc698..9d8174a2f3 100644 --- a/module/doc/ui/templatelist.html.php +++ b/module/doc/ui/templatelist.html.php @@ -76,6 +76,7 @@ $langData['addSubDocTemplate'] = $lang->docTemplate->addSubDocTemplate $langData['confirmDeleteChapterWithSub'] = $lang->docTemplate->confirmDeleteChapterWithSub; $langData['confirmDeleteWithSub'] = $lang->docTemplate->confirmDeleteTemplateWithSub; $langData['confirmDeleteReviewTemplate'] = $lang->docTemplate->confirmDeleteReviewTemplate; +$langData['needEditable'] = $lang->docTemplate->needEditable; $langData['actions']['addModule'] = $lang->docTemplate->addTemplateType; $langData['actions']['addSameModule'] = $lang->docTemplate->addSameModule;