From f004ef44092f5a39c59bb39617ff2329690536ce Mon Sep 17 00:00:00 2001 From: wumo Date: Mon, 2 Apr 2018 09:40:14 +0800 Subject: [PATCH] * Make the rights of task clear. --- module/task/lang/en.php | 2 +- module/task/lang/zh-cn.php | 2 +- module/task/view/start.html.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/module/task/lang/en.php b/module/task/lang/en.php index 107750fbfc..8705343ec5 100644 --- a/module/task/lang/en.php +++ b/module/task/lang/en.php @@ -108,7 +108,7 @@ $lang->task->parent = 'Parent Task'; $lang->task->parentAB = 'Parent Task'; $lang->task->lblPri = 'P'; $lang->task->lblHour = '(h)'; -$lang->task->deniedNotice = 'Current user has no right to start.'; +$lang->task->deniedNotice = 'Only the %s can %s the task.'; $lang->task->ditto = 'Ditto'; $lang->task->dittoNotice = "This Task does not belong to the Project as the previous one does!"; diff --git a/module/task/lang/zh-cn.php b/module/task/lang/zh-cn.php index 3f26022059..b033e141f8 100644 --- a/module/task/lang/zh-cn.php +++ b/module/task/lang/zh-cn.php @@ -108,7 +108,7 @@ $lang->task->parent = '父任务'; $lang->task->parentAB = '父'; $lang->task->lblPri = 'P'; $lang->task->lblHour = '(h)'; -$lang->task->deniedNotice = '当前用户无开始权限'; +$lang->task->deniedNotice = '当前任务只有【%s】才可以 %s'; $lang->task->ditto = '同上'; $lang->task->dittoNotice = "该任务与上一任务不属于同一项目!"; diff --git a/module/task/view/start.html.php b/module/task/view/start.html.php index 112f338c34..50ce8955c4 100644 --- a/module/task/view/start.html.php +++ b/module/task/view/start.html.php @@ -19,7 +19,7 @@
-

task->deniedNotice;?>

+

task->deniedNotice, $task->assignedTo, $lang->task->start);?>