diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/Locale/zh_CN/translations.php | 46 | ||||
-rw-r--r-- | app/Template/board/tooltip_files.php | 4 |
2 files changed, 25 insertions, 25 deletions
diff --git a/app/Locale/zh_CN/translations.php b/app/Locale/zh_CN/translations.php index deca1a9b..7fadd6f3 100644 --- a/app/Locale/zh_CN/translations.php +++ b/app/Locale/zh_CN/translations.php @@ -1128,27 +1128,27 @@ return array( 'Uploaded by %s' => '由%s上传', 'Filename' => '文件名', 'Size' => '大小', - // 'Column created successfully.' => '', - // 'Another column with the same name exists in the project' => '', - // 'Default filters' => '', - // 'Your board doesn\'t have any column!' => '', - // 'Change column position' => '', - // 'Switch to the project overview' => '', - // 'User filters' => '', - // 'Category filters' => '', - // 'Upload a file' => '', - // 'There is no attachment at the moment.' => '', - // 'View file' => '', - // 'Last activity' => '', - // 'Change subtask position' => '', - // 'This value must be greater than %d' => '', - // 'Another swimlane with the same name exists in the project' => '', - // 'Example: http://example.kanboard.net/ (used to generate absolute URLs)' => '', - // 'Actions duplicated successfully.' => '', - // 'Unable to duplicate actions.' => '', - // 'Add a new action' => '', - // 'Import from another project' => '', - // 'There is no action at the moment.' => '', - // 'Import actions from another project' => '', - // 'There is no available project.' => '', + 'Column created successfully.' => '新增任务栏成功。', + 'Another column with the same name exists in the project' => '当前项目中重名任务栏已存在', + 'Default filters' => '默认过滤器', + 'Your board doesn\'t have any column!' => '你的看板没有任何栏目', + 'Change column position' => '更改任务栏位置', + 'Switch to the project overview' => '切换到项目视图', + 'User filters' => '用户过滤器', + 'Category filters' => '分类过滤器', + 'Upload a file' => '上传文件', + 'There is no attachment at the moment.' => '当前没有附件。', + 'View file' => '查看文件', + 'Last activity' => '最后活动', + 'Change subtask position' => '更改子任务位置', + 'This value must be greater than %d' => '当前输入值必须大于%d', + 'Another swimlane with the same name exists in the project' => '当前项目中重名里程碑已存在', + 'Example: http://example.kanboard.net/ (used to generate absolute URLs)' => '例如: http://example.kanboard.net/(通常用于生成绝对地址)', + 'Actions duplicated successfully.' => '动作复制成功。', + 'Unable to duplicate actions.' => '无法复制动作。', + 'Add a new action' => '添加新动作', + 'Import from another project' => '从另一个项目中导入', + 'There is no action at the moment.' => '当前没有动作。', + 'Import actions from another project' => '从另一个项目中导入动作', + 'There is no available project.' => '当前没有可用项目', ); diff --git a/app/Template/board/tooltip_files.php b/app/Template/board/tooltip_files.php index 39823757..8ee18626 100644 --- a/app/Template/board/tooltip_files.php +++ b/app/Template/board/tooltip_files.php @@ -8,9 +8,9 @@ </tr> <tr> <td> - <i class="fa fa-download fa-fw"></i><?= $this->url->link(t('download'), 'TaskFile', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> + <i class="fa fa-download fa-fw"></i><?= $this->url->link(t('download'), 'FileViewer', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> <?php if ($file['is_image'] == 1): ?> - <i class="fa fa-eye"></i> <?= $this->url->link(t('open file'), 'TaskFile', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?> + <i class="fa fa-eye"></i> <?= $this->url->link(t('open file'), 'FileViewer', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?> <?php endif ?> </td> </tr> |