From da31d14cbfa3c2fff6db99d78b6c07dcfdc57795 Mon Sep 17 00:00:00 2001 From: chenfeiCF Date: Wed, 27 Feb 2019 11:13:57 +0800 Subject: [PATCH] * Adjust lang of doc. --- module/doc/lang/en.php | 20 ++++++++++++++++++++ module/doc/lang/zh-cn.php | 8 ++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/module/doc/lang/en.php b/module/doc/lang/en.php index 6770736a9c..78a09bcba0 100644 --- a/module/doc/lang/en.php +++ b/module/doc/lang/en.php @@ -119,6 +119,13 @@ $lang->doc->aclList['open'] = 'Public'; $lang->doc->aclList['custom'] = 'Custom'; $lang->doc->aclList['private'] = 'Private'; +$lang->doc->typeList['html'] = 'Html'; +$lang->doc->typeList['markdown'] = 'Markdown'; +$lang->doc->typeList['url'] = 'Url'; +$lang->doc->typeList['word'] = 'Word'; +$lang->doc->typeList['ppt'] = 'PPT'; +$lang->doc->typeList['excel'] = 'Excel'; + $lang->doc->types['text'] = 'Text'; $lang->doc->types['url'] = 'URL'; @@ -142,6 +149,7 @@ $lang->doc->fastMenuIconList['collectedbyme'] = 'icon-folder-star'; $lang->doc->customObjectLibs['files'] = 'Show File Library'; $lang->doc->customObjectLibs['customFiles'] = 'Show Custom Library'; +$lang->doc->orderLib = 'Library order settings'; $lang->doc->customShowLibs = 'Library display settings'; $lang->doc->customShowLibsList['zero'] = 'Display empty library'; $lang->doc->customShowLibsList['unclosed'] = 'Only display projects that are not closed'; @@ -160,6 +168,18 @@ $lang->doc->noEditedDoc = 'You have not edited any document.'; $lang->doc->noOpenedDoc = 'You have not created any document.'; $lang->doc->noCollectedDoc = 'You have not collected any document.'; +$lang->doc->noticeAcl['lib']['product']['default'] = 'Users with privileges to access the selected products have access to it.'; +$lang->doc->noticeAcl['lib']['product']['custom'] = 'Users with privileges to access the selected products or users in the whiltelist have access to visit it.'; +$lang->doc->noticeAcl['lib']['project']['default'] = 'Users with privileges to access the selected projects have access to it.'; +$lang->doc->noticeAcl['lib']['project']['custom'] = 'Users with privileges to access the selected projects or users in the whiltelist have access to it.'; +$lang->doc->noticeAcl['lib']['custom']['open'] = 'All users have access to it.'; +$lang->doc->noticeAcl['lib']['custom']['custom'] = 'Users in the whitelist have access to it.'; +$lang->doc->noticeAcl['lib']['custom']['private'] = 'Only the one who created it has access to it.'; + +$lang->doc->noticeAcl['doc']['open'] = 'Users with privileges to access the doc lib which the doc belongs to have access to it.'; +$lang->doc->noticeAcl['doc']['custom'] = 'Users in the whiltelist have access to visit it.'; +$lang->doc->noticeAcl['doc']['private'] = 'Only the one who created it has access to it.'; + $lang->doc->placeholder = new stdclass(); $lang->doc->placeholder->url = 'Url'; diff --git a/module/doc/lang/zh-cn.php b/module/doc/lang/zh-cn.php index c0184f230f..41e2293a1a 100644 --- a/module/doc/lang/zh-cn.php +++ b/module/doc/lang/zh-cn.php @@ -149,8 +149,8 @@ $lang->doc->fastMenuIconList['collectedbyme'] = 'icon-folder-star'; $lang->doc->customObjectLibs['files'] = '显示附件库'; $lang->doc->customObjectLibs['customFiles'] = '显示自定义文档库'; -$lang->doc->orderLib = '文档库排序'; -$lang->doc->customShowLibs = '显示设置'; +$lang->doc->orderLib = '文档库排序'; +$lang->doc->customShowLibs = '显示设置'; $lang->doc->customShowLibsList['zero'] = '显示空文档的库'; $lang->doc->customShowLibsList['unclosed'] = '只显示未关闭的项目'; @@ -175,11 +175,11 @@ $lang->doc->noticeAcl['lib']['project']['default'] = '有所选项目访问权 $lang->doc->noticeAcl['lib']['project']['custom'] = '有所选项目访问权限或白名单里的用户可以访问。'; $lang->doc->noticeAcl['lib']['custom']['open'] = '所有人都可以访问。'; $lang->doc->noticeAcl['lib']['custom']['custom'] = '白名单的用户可以访问。'; -$lang->doc->noticeAcl['lib']['custom']['private'] = '只有创建人可以访问。'; +$lang->doc->noticeAcl['lib']['custom']['private'] = '只有创建者自己可以访问。'; $lang->doc->noticeAcl['doc']['open'] = '有文档所属文档库访问权限的,都可以访问。'; $lang->doc->noticeAcl['doc']['custom'] = '白名单的用户可以访问。'; -$lang->doc->noticeAcl['doc']['private'] = '只有自己可以访问。'; +$lang->doc->noticeAcl['doc']['private'] = '只有创建者自己可以访问。'; $lang->doc->placeholder = new stdclass(); $lang->doc->placeholder->url = '相应的链接地址';