]> BookStack Code Mirror - bookstack/commitdiff
Merge branch 'master' of git://github.com/qianmengnet/BookStack into qianmengnet...
authorDan Brown <redacted>
Fri, 27 Dec 2019 16:28:56 +0000 (16:28 +0000)
committerDan Brown <redacted>
Fri, 27 Dec 2019 16:28:56 +0000 (16:28 +0000)
1  2 
resources/lang/zh_CN/auth.php
resources/lang/zh_CN/entities.php
resources/lang/zh_CN/validation.php

index 3cba7cb19a43b96857829786335679afc559e108,0eec01508ac1899c9763cf535792877b5713be16..4bb08e7d2f72b13cb532ca5df4d0b58711fe7a33
@@@ -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,并点击确认。',
      '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' => '请è¾\93å\85¥å¯\86ç \81以便å®\8cæ\88\90è´¦å\8f·æ³¨å\86\8cï¼\8cå¹¶è\8e·å\8f\96 :appName ç\9a\84访é\97®æ\9d\83é\99\90。',
+     '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' => 'è¦\81å®\8cæ\88\90æ\82¨ç\9a\84å¸\90æ\88·å¹¶è\8e·å¾\97访é\97®æ\9d\83é\99\90ï¼\8cæ\82¨é\9c\80è¦\81设置ä¸\80个å¯\86ç \81ï¼\8c该å¯\86ç \81å°\86å\9c¨ä»¥å\90\8e访é\97®æ\97¶ç\94¨äº\8eç\99»å½\95 :appName。',
      'user_invite_page_confirm_button' => '确认密码',
-     'user_invite_success' => '密码设置成功,您可以注册访问 :appName!'
- ];
+     'user_invite_success' => '已设置密码,您现在可以访问 :appName!'
 -];
++];
index ba1c347d494df81ee090af7d3659bda8b5d117d8,3efcef6a311275a02828926a8d62b3bc2675bdd4..82e520cf2c7fc235a77578480c625c361347e67e
@@@ -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' => '最近创建的书架',
      // 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' => '保存书架',
      'books_popular' => '热门图书',
      'books_recent' => '最近的书',
      'books_new' => '新书',
-     'books_new_action' => '新建图书',
+     'books_new_action' => '新书',
      'books_popular_empty' => '最受欢迎的图书将出现在这里。',
      'books_new_empty' => '最近创建的图书将出现在这里。',
      'books_create' => '创建图书',
      'books_sort' => '排序图书内容',
      'books_sort_named' => '排序图书「:bookName」',
      'books_sort_name' => '按名称排序',
-     'books_sort_created' => '按创建日期排序',
-     'books_sort_updated' => 'æ\8c\89æ\9b´æ\96°æ\97¥æ\9c\9f排序',
-     'books_sort_chapters_first' => '章节在前',
-     'books_sort_chapters_last' => 'ç« è\8a\82å\9c¨å\90\8e',
+     'books_sort_created' => '创建时间排序',
+     'books_sort_updated' => 'æ\8c\89æ\9b´æ\96°æ\97¶é\97´排序',
+     'books_sort_chapters_first' => '章节正序',
+     'books_sort_chapters_last' => 'ç« è\8a\82å\80\92åº\8f',
      'books_sort_show_other' => '显示其他图书',
      'books_sort_save' => '保存新顺序',
  
      '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' => '正在编辑草稿',
      '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' => '当前版本',
      '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' => '这里的更改将立即保存。',
      '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了',
      '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' => '评论',
  
      // 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' => '无法删除最新版本。'
 -];
 +];
index 4abed965c0e48dc44273a3f1795db491b7ffe3b2,9755413fc8ff409c28826b5c36f6160ef885012a..e0bc55523883715bec8cddee26907f364979445d
@@@ -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 å\8c\85å\90«å\86\85容å¿\85é¡»å¤\9aä½\99ï¼\9a :value items.',
+         'numeric' => ':attribute必须大于 :value.',
+         'file'    => ':attribute 必须大于 :value k',
+         'string'  => ':attribute 必须大于 :value 字符。',
+         'array'   => ':attribute å¿\85é¡»å\8c\85å\90«å¤\9a个 :value é¡¹ç\9b®ã\80\82',
      ],
      'gte'                  => [
-         'numeric' => ':attribute 必须大于或等于 :value.',
-         'file'    => ':attribute 必须大于或等于: :value kilobytes.',
-         'string'  => ':attribute 必须大于或等于: :value characters.',
-         'array'   => ':attribute å\8c\85å\90«å\86\85容å¿\85é¡»ç­\89äº\8eæ\88\96å¤\9aä½\99ï¼\9a :value items',
+         'numeric' => ':attribute 必须大于或等于 :value.',
+         'file'    => ':attribute 必须大于或等于 :value k。',
+         'string'  => ':attribute 必须大于或等于 :value 字符。',
+         'array'   => ':attribute å¿\85é¡»å\85·æ\9c\89 :value é¡¹æ\88\96æ\9b´å¤\9a',
      ],
      '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 å\8c\85å\90«å\86\85容å¿\85é¡»å°\91äº\8eï¼\9a :value items.',
+         'file'    => ':attribute 必须小于 :value k',
+         'string'  => ':attribute 必须小于 :value 字符。',
+         'array'   => ':attribute å¿\85é¡»å°\8fäº\8e :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 å\8fªè\83½æ\9c\89ä¸\80个æ\96\87ä»¶æ\89©å±\95å\90\8d',
+     'no_double_extension'  => ':attribute å¿\85é¡»å\85·æ\9c\89ä¸\80个æ\89©å±\95å\90\8dã\80\82',
      'not_in'               => '选中的 :attribute 无效。',
 -    'not_regex'            => 'The :attribute format is invalid.',
 +    'not_regex'            => ':attribute 格式错误。',
      'numeric'              => ':attribute 必须是一个数。',
      'regex'                => ':attribute 格式无效。',
      'required'             => ':attribute 字段是必需的。',
      'timezone'             => ':attribute 必须是有效的区域。',
      'unique'               => ':attribute 已经被使用。',
      'url'                  => ':attribute 格式无效。',
-     'uploaded'             => 'æ\96\87件大å°\8fè¶\85è¿\87æ\9c\8då\8a¡å\99¨è®¾ç½®ï¼\8cä¸\8a传失败。',
+     'uploaded'             => 'æ\97 æ³\95ä¸\8aä¼ æ\96\87ä»¶ã\80\82 æ\9c\8då\8a¡å\99¨å\8f¯è\83½ä¸\8dæ\8e¥å\8f\97此大å°\8fç\9a\84æ\96\87ä»¶。',
  
      // Custom validation lines
      'custom' => [