]> BookStack Code Mirror - bookstack/commitdiff
Merge pull request #3556 from GongMingCai/development
authorDan Brown <redacted>
Wed, 27 Jul 2022 10:18:05 +0000 (11:18 +0100)
committerGitHub <redacted>
Wed, 27 Jul 2022 10:18:05 +0000 (11:18 +0100)
Fixed comment count update error

1  2 
resources/lang/zh_CN/entities.php
resources/lang/zh_TW/entities.php

index 5deb8ed6f0ac4bb650591d805f94d8590be4400c,e535bd21ee56561e6828dd0f883c0ae429687623..8616766a0dbec5afca2605ec5bd2147d3fca0fe8
@@@ -24,7 -24,6 +24,7 @@@ return 
      'meta_updated_name' => '由 :user 更新于 :timeLength',
      'meta_owned_name' => '拥有者 :user',
      'entity_select' => '选择项目',
 +    'entity_select_lack_permission' => '您没有选择此项目所需的权限',
      'images' => '图片',
      'my_recent_drafts' => '我最近的草稿',
      'my_recently_viewed' => '我最近看过',
@@@ -88,7 -87,7 +88,7 @@@
      'shelves_save' => '保存书架',
      'shelves_books' => '书籍已在此书架里',
      'shelves_add_books' => '将书籍加入此书架',
 -    'shelves_drag_books' => '拖动图书将其添加到此书架',
 +    'shelves_drag_books' => 'Drag books below to add them to this shelf',
      'shelves_empty_contents' => '这个书架没有分配图书',
      'shelves_edit_and_assign' => '编辑书架以分配图书',
      'shelves_edit_named' => '编辑书架 :name',
      'chapters_permissions_active' => '有效的章节权限',
      'chapters_permissions_success' => '章节权限已更新',
      'chapters_search_this' => '从本章节搜索',
 +    'chapter_sort_book' => 'Sort Book',
  
      // Pages
      'page' => '页面',
      'comments' => '评论',
      'comment_add' => '添加评论',
      'comment_placeholder' => '在这里评论',
-     'comment_count' => '{0} 无评论|[1,*] :count条评论',
+     'comment_count' => '{0} 无评论|{1} 1 条评论|[2,*] :count 条评论',
      'comment_save' => '保存评论',
      'comment_saving' => '正在保存评论...',
      'comment_deleting' => '正在删除评论...',
  
      // Conversions
      'convert_to_shelf' => '转换为书架',
 -    'convert_to_shelf_contents_desc' => '你可以将这本书转换为具有相同内容的新书架。本书中的章节将被转换为图书。如果这本书包含任何不在章节分类中的页面,那么将会有一本图书被重命名并包含这些页面,这本书也将成为新书架的一部分。',
 +    'convert_to_shelf_contents_desc' => '你可以将这本书转换为具有相同内容的新书架。本书中的章节将被转换为图书。如果这本书包含有任何不在章节分类中的页面,那么将会有一本单独的图书包含这些页面,这本书也将成为新书架的一部分。',
      'convert_to_shelf_permissions_desc' => '在这本书上设置的任何权限都将复制到所有未强制执行权限的新书架和新子图书上。请注意,书架上的权限不会像图书那样继承到内容物上。',
      'convert_book' => '转换图书',
      'convert_book_confirm' => '您确定要转换此图书吗?',
index 73c738792e0712db68debed6e72a505fd79f367e,a932c3c190e9700437758ace12fcc6cba16581fe..1792fcbad9c7c9558f0b69007ca96d491a890506
@@@ -24,7 -24,6 +24,7 @@@ return 
      'meta_updated_name' => '由 :user 更新於 :timeLength',
      'meta_owned_name' => ':user 所擁有',
      'entity_select' => '選取項目',
 +    'entity_select_lack_permission' => 'You don\'t have the required permissions to select this item',
      'images' => '圖片',
      'my_recent_drafts' => '我最近的草稿',
      'my_recently_viewed' => '我最近檢視',
@@@ -88,7 -87,7 +88,7 @@@
      'shelves_save' => '儲存書架',
      'shelves_books' => '此書架上的書本',
      'shelves_add_books' => '新增書本至此書架',
 -    'shelves_drag_books' => '將書本拖曳到此處來將其新增到此書架',
 +    'shelves_drag_books' => 'Drag books below to add them to this shelf',
      'shelves_empty_contents' => '此書架沒有分配任何書本',
      'shelves_edit_and_assign' => '編輯書架以分配書本',
      'shelves_edit_named' => '編輯書架 :name',
      'chapters_permissions_active' => '章節權限已啟用',
      'chapters_permissions_success' => '章節權限已更新',
      'chapters_search_this' => '搜尋此章節',
 +    'chapter_sort_book' => 'Sort Book',
  
      // Pages
      'page' => '頁面',
      'comments' => '評論',
      'comment_add' => '新增評論',
      'comment_placeholder' => '在這裡評論',
-     'comment_count' => '{0} 無評論 |{1} :count 則評論 | [2,*] :count 則評論',
+     'comment_count' => '{0} 無評論|{1} 1 則評論|[2,*] :count 則評論',
      'comment_save' => '儲存評論',
      'comment_saving' => '正在儲存評論……',
      'comment_deleting' => '正在刪除評論……',