aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/zh-cn/feedback.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2019-12-04 08:27:39 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-12-04 08:27:39 +0100
commit3e49b44839237693ce1a8151325942704917f6c6 (patch)
tree75a1af8089d48d3bb14de2d9d98c503ee76433e2 /app/i18n/zh-cn/feedback.php
parentde2b323847e0a91119625e4f506f51ec9d43872f (diff)
Update i18n cli tools (#2673)
* Update i18n cli tools Few things were bugging me when using the cli tool for i18n. So I've modified the tools to be easier to use. First, the tool automatically adds missing keys to all languages. This way, we always have all keys in all languages. Second, the tool detects all untranslated keys and adds automatically the todo comment after the value. Third, when adding a new key, the key is pushed to all languages at once. There is no need to duplicate it manually. Thus making the duplication process obsolete. Fourth, translation and ignore keys are manipulated at the same time. Thus we don't have obsolete ignored strings anymore. * Add i18n rules I find that having the common rules in the Makefile is easier to use, as long as you know they are here. As it is self documented, people will see the new rules when using make. * Use long parameters in Makefile I find that using long parameters in scripts makes it easier to understand what's going on. So I've switched all short parameters to long one. * Format all i18n files I've used the updated version of the cli tools to have some output that can be consistently formated. This commit is a huge formating commit. Nothing was added but some comments were removed in the process.
Diffstat (limited to 'app/i18n/zh-cn/feedback.php')
-rw-r--r--app/i18n/zh-cn/feedback.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/app/i18n/zh-cn/feedback.php b/app/i18n/zh-cn/feedback.php
index 9dbc45cf5..67fb181bd 100644
--- a/app/i18n/zh-cn/feedback.php
+++ b/app/i18n/zh-cn/feedback.php
@@ -1,17 +1,17 @@
<?php
return array(
- 'admin' => array(
- 'optimization_complete' => '优化完成',
- ),
'access' => array(
'denied' => '你无权访问此页面',
'not_found' => '你寻找的页面不存在',
),
+ 'admin' => array(
+ 'optimization_complete' => '优化完成',
+ ),
'api' => array(
'password' => array(
- 'failed' => 'Your password cannot be modified', // TODO - Translation
- 'updated' => 'Your password has been modified', // TODO - Translation
+ 'failed' => 'Your password cannot be modified', // TODO - Translation
+ 'updated' => 'Your password has been modified', // TODO - Translation
),
),
'auth' => array(
@@ -44,9 +44,9 @@ return array(
'ko' => '%s 启用失败。<a href="%s">检查 FreshRSS 日志</a> 查看详情。',
'ok' => '%s 现已禁用',
),
- 'no_access' => '你无权访问 %s',
'not_enabled' => '%s 未启用',
'not_found' => '%s 不存在',
+ 'no_access' => '你无权访问 %s',
),
'import_export' => array(
'export_no_zip_extension' => '服务器未启用 ZIP 扩展。请尝试逐个导出文件。',
@@ -72,10 +72,10 @@ return array(
'emptied' => '分类已清空。',
'error' => '分类更新失败。',
'name_exists' => '分类名已存在。',
- 'no_id' => '你必须明确分类 ID',
- 'no_name' => '分类名不能为空。',
'not_delete_default' => '你不能删除默认分类!',
'not_exist' => '分类不存在!',
+ 'no_id' => '你必须明确分类 ID',
+ 'no_name' => '分类名不能为空。',
'over_max' => '你已达到分类数限制 (%d)',
'updated' => '分类已更新。',
),
@@ -88,10 +88,10 @@ return array(
'error' => 'RSS 源更新失败',
'internal_problem' => 'RSS 源添加失败。<a href="%s">检查 FreshRSS 日志</a> 查看详情。你可以在URL后附加 <code>#force_feed</code> 从而尝试强制添加。',
'invalid_url' => 'URL <em>%s</em> 无效',
+ 'not_added' => '<em>%s</em> 添加失败',
+ 'no_refresh' => '没有可刷新的 RSS 源…',
'n_actualized' => '%d 个 RSS 源已更新',
'n_entries_deleted' => '%d 篇文章已删除',
- 'no_refresh' => '没有可刷新的 RSS 源…',
- 'not_added' => '<em>%s</em> 添加失败',
'over_max' => '你已达到 RSS 源数限制 (%d)',
'updated' => 'RSS 源已更新',
),
@@ -107,16 +107,16 @@ return array(
),
'user' => array(
'created' => array(
- '_' => '用户 %s 已创建',
'error' => '用户 %s 创建失败',
+ '_' => '用户 %s 已创建',
),
'deleted' => array(
- '_' => '用户 %s 已删除',
'error' => '用户 %s 删除失败',
+ '_' => '用户 %s 已删除',
),
'updated' => array(
- '_' => '用户 %s 已更新',
'error' => '用户 %s 更新失败',
+ '_' => '用户 %s 已更新',
),
),
);