From: Dan Brown Date: Fri, 27 Dec 2019 16:28:56 +0000 (+0000) Subject: Merge branch 'master' of git://github.com/qianmengnet/BookStack into qianmengnet... X-Git-Tag: v0.28.0~1^2~19^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/8144887e4caf3aab2ad03aaf0bd7e2ac3869842a?ds=inline;hp=-c Merge branch 'master' of git://github.com/qianmengnet/BookStack into qianmengnet-master --- 8144887e4caf3aab2ad03aaf0bd7e2ac3869842a diff --combined resources/lang/zh_CN/auth.php index 3cba7cb19,0eec01508..4bb08e7d2 --- a/resources/lang/zh_CN/auth.php +++ b/resources/lang/zh_CN/auth.php @@@ -26,11 -26,11 +26,11 @@@ return 'remember_me' => '记住我', 'ldap_email_hint' => '请输入用于此帐户的电子邮件。', 'create_account' => '创建账户', - 'already_have_account' => '已有账号?', - 'dont_have_account' => '尚未注册账号?', + 'already_have_account' => '您已经有账号?', + 'dont_have_account' => '您还没注册?', 'social_login' => 'SNS登录', 'social_registration' => 'SNS注册', - 'social_registration_text' => '其他服务注册/登录.', + 'social_registration_text' => '其他服务注册/登录。', 'register_thanks' => '注册完成!', 'register_confirm' => '请点击查收您的Email,并点击确认。', @@@ -66,12 -66,12 +66,12 @@@ 'email_not_confirmed_resend_button' => '重新发送确认Email', // User Invite - 'user_invite_email_subject' => '邀请您加入 :appName!', - 'user_invite_email_greeting' => '已为您创建 :appName 账户', - 'user_invite_email_text' => '点击下方按钮设置您的账户密码,以便获取访问权限。', - 'user_invite_email_action' => '设置登陆密码', - 'user_invite_page_welcome' => '欢迎访问 :appName!', - 'user_invite_page_text' => '请输入密码以便完成账号注册,并获取 :appName 的访问权限。', + 'user_invite_email_subject' => '您已受邀加入 :appName!', + 'user_invite_email_greeting' => ' :appName 已为您创建了一个帐户。', + 'user_invite_email_text' => '点击下面的按钮以设置帐户密码并获得访问权限:', + 'user_invite_email_action' => '设置帐号密码', + 'user_invite_page_welcome' => '欢迎来到 :appName!', + 'user_invite_page_text' => '要完成您的帐户并获得访问权限,您需要设置一个密码,该密码将在以后访问时用于登录 :appName。', 'user_invite_page_confirm_button' => '确认密码', - 'user_invite_success' => '密码设置成功,您可以注册访问 :appName!' - ]; + 'user_invite_success' => '已设置密码,您现在可以访问 :appName!' -]; ++]; diff --combined resources/lang/zh_CN/entities.php index ba1c347d4,3efcef6a3..82e520cf2 --- a/resources/lang/zh_CN/entities.php +++ b/resources/lang/zh_CN/entities.php @@@ -8,7 -8,7 +8,7 @@@ return // Shared 'recently_created' => '最近创建', 'recently_created_pages' => '最近创建的页面', - 'recently_updated_pages' => '最新页面', + 'recently_updated_pages' => '最近更新的页面', 'recently_created_chapters' => '最近创建的章节', 'recently_created_books' => '最近创建的图书', 'recently_created_shelves' => '最近创建的书架', @@@ -68,13 -68,13 +68,13 @@@ // Shelves 'shelf' => '书架', 'shelves' => '书架', - 'x_shelves' => ':count个书架|:count个书架', + 'x_shelves' => ':count 书架|:count 书架', 'shelves_long' => '书架', 'shelves_empty' => '当前未创建书架', 'shelves_create' => '创建新书架', 'shelves_popular' => '热门书架', 'shelves_new' => '新书架', - 'shelves_new_action' => '新建书架', + 'shelves_new_action' => '新书架', 'shelves_popular_empty' => '最热门的书架', 'shelves_new_empty' => '最新创建的书架', 'shelves_save' => '保存书架', @@@ -105,7 -105,7 +105,7 @@@ 'books_popular' => '热门图书', 'books_recent' => '最近的书', 'books_new' => '新书', - 'books_new_action' => '新建图书', + 'books_new_action' => '新书', 'books_popular_empty' => '最受欢迎的图书将出现在这里。', 'books_new_empty' => '最近创建的图书将出现在这里。', 'books_create' => '创建图书', @@@ -129,10 -129,10 +129,10 @@@ 'books_sort' => '排序图书内容', 'books_sort_named' => '排序图书「:bookName」', 'books_sort_name' => '按名称排序', - 'books_sort_created' => '按创建日期排序', - 'books_sort_updated' => '按更新日期排序', - 'books_sort_chapters_first' => '章节在前', - 'books_sort_chapters_last' => '章节在后', + 'books_sort_created' => '创建时间排序', + 'books_sort_updated' => '按更新时间排序', + 'books_sort_chapters_first' => '章节正序', + 'books_sort_chapters_last' => '章节倒序', 'books_sort_show_other' => '显示其他图书', 'books_sort_save' => '保存新顺序', @@@ -176,7 -176,7 +176,7 @@@ 'pages_delete_confirm' => '您确定要删除此页面吗?', 'pages_delete_draft_confirm' => '您确定要删除此草稿页面吗?', 'pages_editing_named' => '正在编辑页面“:pageName”', - 'pages_edit_draft_options' => 'Draft Options', + 'pages_edit_draft_options' => '草稿选项', 'pages_edit_save_draft' => '保存草稿', 'pages_edit_draft' => '编辑页面草稿', 'pages_editing_draft' => '正在编辑草稿', @@@ -210,8 -210,8 +210,8 @@@ 'pages_revisions_created_by' => '创建者', 'pages_revisions_date' => '修订日期', 'pages_revisions_number' => '#', - 'pages_revisions_numbered' => '修订编号 #:id', - 'pages_revisions_numbered_changes' => '修订编号 #:id 内容', + 'pages_revisions_numbered' => '修订 #:id', + 'pages_revisions_numbered_changes' => '修改 #:id ', 'pages_revisions_changelog' => '更新说明', 'pages_revisions_changes' => '说明', 'pages_revisions_current' => '当前版本', @@@ -244,10 -244,10 +244,10 @@@ 'tag' => '标签', 'tags' => '标签', 'tag_name' => '标签名称', - 'tag_value' => '标签值 (非必填)', + 'tag_value' => '标签值 (Optional)', 'tags_explain' => "添加一些标签以更好地对您的内容进行分类。\n您可以为标签分配一个值,以进行更深入的组织。", 'tags_add' => '添加另一个标签', - 'tags_remove' => '删除标签', + 'tags_remove' => 'Remove this tag', 'attachments' => '附件', 'attachments_explain' => '上传一些文件或附加一些链接显示在您的网页上。这些在页面的侧边栏中可见。', 'attachments_explain_instant_save' => '这里的更改将立即保存。', @@@ -274,11 -274,11 +274,11 @@@ 'attachments_file_updated' => '附件更新成功', 'attachments_link_attached' => '链接成功附加到页面', 'templates' => '模板', - 'templates_set_as_template' => '将此页面设置为模板', - 'templates_explain_set_as_template' => '您可将此页面设置为模板,创建新页面时可以引用此模板页面的内容。其他用户在权限允许的条件下,也可在创建页面时引用此模板内容。', - 'templates_replace_content' => '替换页面现有内容', - 'templates_append_content' => '添加至现有内容之后', - 'templates_prepend_content' => '添加至现有内容之前', + 'templates_set_as_template' => '设置为模板', + 'templates_explain_set_as_template' => '您可以将此页面设置为模板,以便在创建其他页面时利用其内容。 如果其他用户对此页面具有查看权限,则将可以使用此模板。', + 'templates_replace_content' => '替换页面内容', + 'templates_append_content' => '附加到页面内容', + 'templates_prepend_content' => '追加到页面内容', // Profile View 'profile_user_for_x' => '来这里:time了', @@@ -286,7 -286,7 +286,7 @@@ 'profile_not_created_pages' => ':userName尚未创建任何页面', 'profile_not_created_chapters' => ':userName尚未创建任何章节', 'profile_not_created_books' => ':userName尚未创建任何图书', - 'profile_not_created_shelves' => ':userName尚未创建任何书架', + 'profile_not_created_shelves' => ':userName 尚未创建任何书架', // Comments 'comment' => '评论', @@@ -308,7 -308,7 +308,7 @@@ // Revision 'revision_delete_confirm' => '您确定要删除此修订版吗?', - 'revision_restore_confirm' => 'Are you sure you want to restore this revision? The current page contents will be replaced.', + 'revision_restore_confirm' => '您确定要恢复到此修订版吗?恢复后原有内容将会被替换。', 'revision_delete_success' => '修订删除', 'revision_cannot_delete_latest' => '无法删除最新版本。' -]; +]; diff --combined resources/lang/zh_CN/validation.php index 4abed965c,9755413fc..e0bc55523 --- a/resources/lang/zh_CN/validation.php +++ b/resources/lang/zh_CN/validation.php @@@ -30,40 -30,40 +30,40 @@@ return 'digits' => ':attribute 必须为:digits位数。', 'digits_between' => ':attribute 必须为:min到:max位数。', 'email' => ':attribute 必须是有效的电子邮件地址。', - 'ends_with' => ':attribute 必须以其中一个为结尾: :values', + 'ends_with' => ' :attribute 必须以 :values 后缀结尾', 'filled' => ':attribute 字段是必需的。', 'gt' => [ - 'numeric' => ':attribute 必须大于: :value.', - 'file' => ':attribute 必须大于: :value kilobytes.', - 'string' => ':attribute 必须大于: :value characters.', - 'array' => ':attribute 包含内容必须多余: :value items.', + 'numeric' => ':attribute必须大于 :value.', + 'file' => ':attribute 必须大于 :value k', + 'string' => ':attribute 必须大于 :value 字符。', + 'array' => ':attribute 必须包含多个 :value 项目。', ], 'gte' => [ - 'numeric' => ':attribute 必须大于或等于: :value.', - 'file' => ':attribute 必须大于或等于: :value kilobytes.', - 'string' => ':attribute 必须大于或等于: :value characters.', - 'array' => ':attribute 包含内容必须等于或多余: :value items', + 'numeric' => ':attribute 必须大于或等于 :value.', + 'file' => ':attribute 必须大于或等于 :value k。', + 'string' => ':attribute 必须大于或等于 :value 字符。', + 'array' => ':attribute 必须具有 :value 项或更多', ], 'exists' => '选中的 :attribute 无效。', 'image' => ':attribute 必须是一个图片。', - 'image_extension' => ':attribute 必须是系统允许的图片格式', + 'image_extension' => ':attribute 必须具有有效且受支持的图像扩展名。', 'in' => '选中的 :attribute 无效。', 'integer' => ':attribute 必须是一个整数。', 'ip' => ':attribute 必须是一个有效的IP地址。', - 'ipv4' => ':attribute 必须是一个有效的IP4地址。', - 'ipv6' => ':attribute 必须是一个有效的IP6地址。', - 'json' => ':attribute 必须是一个有效的JSON字符串。', + 'ipv4' => ':attribute 必须是有效的IPv4地址。', + 'ipv6' => ':attribute必须是有效的IPv6地址。', + 'json' => ':attribute 必须是JSON类型.', 'lt' => [ 'numeric' => ':attribute 必须小于 :value.', - 'file' => ':attribute 必须小于 :value kilobytes.', - 'string' => ':attribute 必须小于 :value characters.', - 'array' => ':attribute 包含内容必须少于: :value items.', + 'file' => ':attribute 必须小于 :value k。', + 'string' => ':attribute 必须小于 :value 字符。', + 'array' => ':attribute 必须小于 :value 项.', ], 'lte' => [ - 'numeric' => ':attribute 必须小于或等于: :value.', - 'file' => ':attribute 必须小于或等于: :value kilobytes.', - 'string' => ':attribute 必须小于或等于: :value characters.', - 'array' => ':attribute 包含内容必须不多于: :value items.', + 'numeric' => ':attribute 必须小于或等于 :value.', + 'file' => ':attribute 必须小于或等于 :value k。', + 'string' => ':attribute 必须小于或等于 :value 字符。', + 'array' => ':attribute 不得超过 :value 项。', ], 'max' => [ 'numeric' => ':attribute 不能超过:max。', @@@ -78,9 -78,9 +78,9 @@@ 'string' => ':attribute 至少为:min个字符。', 'array' => ':attribute 至少有:min项。', ], - 'no_double_extension' => ':attribute 只能有一个文件扩展名', + 'no_double_extension' => ':attribute 必须具有一个扩展名。', 'not_in' => '选中的 :attribute 无效。', - 'not_regex' => 'The :attribute format is invalid.', + 'not_regex' => ':attribute 格式错误。', 'numeric' => ':attribute 必须是一个数。', 'regex' => ':attribute 格式无效。', 'required' => ':attribute 字段是必需的。', @@@ -100,7 -100,7 +100,7 @@@ 'timezone' => ':attribute 必须是有效的区域。', 'unique' => ':attribute 已经被使用。', 'url' => ':attribute 格式无效。', - 'uploaded' => '文件大小超过服务器设置,上传失败。', + 'uploaded' => '无法上传文件。 服务器可能不接受此大小的文件。', // Custom validation lines 'custom' => [