summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/Locale/zh_CN/translations.php46
-rw-r--r--data/web.config6
-rw-r--r--web.config17
3 files changed, 46 insertions, 23 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/data/web.config b/data/web.config
new file mode 100644
index 00000000..80cc488c
--- /dev/null
+++ b/data/web.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <handlers accessPolicy="None" />
+ </system.webServer>
+</configuration>
diff --git a/web.config b/web.config
new file mode 100644
index 00000000..c86be8b4
--- /dev/null
+++ b/web.config
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <rewrite>
+ <rules>
+ <clear />
+ <rule name="Kanboard-nice-urls" stopProcessing="true">
+ <match url="^" ignoreCase="false" />
+ <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
+ <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
+ </conditions>
+ <action type="Rewrite" url="index.php" appendQueryString="true" />
+ </rule>
+ </rules>
+ </rewrite>
+ </system.webServer>
+</configuration>