| 1 |
# SOME DESCRIPTIVE TITLE. |
| 2 |
# Copyright (C) Kovid Goyal |
| 3 |
# This file is distributed under the same license as the calibre package. |
| 4 |
# |
| 5 |
# Translators: |
| 6 |
# RERBIN MA, 2026 |
| 7 |
# tony shen <[email protected]>, 2020,2022,2024 |
| 8 |
msgid "" |
| 9 |
msgstr "" |
| 10 |
"Project-Id-Version: calibre\n" |
| 11 |
"Report-Msgid-Bugs-To: \n" |
| 12 |
"POT-Creation-Date: 2026-03-12 02:31+0000\n" |
| 13 |
"PO-Revision-Date: 2014-06-17 08:37+0000\n" |
| 14 |
"Last-Translator: RERBIN MA, 2026\n" |
| 15 |
"Language-Team: Chinese (China) (http://app.transifex.com/calibre/calibre/language/zh_CN/)\n" |
| 16 |
"MIME-Version: 1.0\n" |
| 17 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 18 |
"Content-Transfer-Encoding: 8bit\n" |
| 19 |
"Language: zh_CN\n" |
| 20 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 21 |
|
| 22 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:4 |
| 23 |
msgid "Managing subgroups of books, for example \"genre\"" |
| 24 |
msgstr "管理图书的子组,例如“体裁”" |
| 25 |
|
| 26 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:6 |
| 27 |
msgid "" |
| 28 |
"Some people wish to organize the books in their library into subgroups, " |
| 29 |
"similar to subfolders. The most commonly provided reason is to create genre " |
| 30 |
"hierarchies, but there are many others. One user asked for a way to organize" |
| 31 |
" textbooks by subject and course number. Another wanted to keep track of " |
| 32 |
"gifts by subject and recipient. This tutorial will use the genre example for" |
| 33 |
" the rest of this post." |
| 34 |
msgstr "有些人希望把书库里的书组织成子组,类似于子文件夹。最常见的原因是创建体裁层次结构,但还有许多其他原因。一位用户要求找到一种按学科和课程编号组织教科书的方法。另一个则希望根据礼物的主题和接收者来追踪礼物。本教程将在本文的其余部分使用流派示例。" |
| 35 |
|
| 36 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:8 |
| 37 |
msgid "" |
| 38 |
"Before going on, please note that we are not talking about folders on the " |
| 39 |
"hard disk. Subgroups are not file folders. Books will not be copied " |
| 40 |
"anywhere. calibre's library file structure is not affected. Instead, we are " |
| 41 |
"presenting a way to organize and display subgroups of books within a calibre" |
| 42 |
" library." |
| 43 |
msgstr "在继续之前,请注意我们不是在谈论硬盘上的文件夹。子组不是文件文件夹。任何地方都不会复制书籍。calibre的书库文件结构不受影响。相反,我们提供了一种在一个calibre书库中组织和显示图书子组的方法。" |
| 44 |
|
| 45 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:18 |
| 46 |
msgid "The commonly-provided requirements for subgroups such as genres are:" |
| 47 |
msgstr "通常提供的对子组例如体裁的要求是:" |
| 48 |
|
| 49 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:20 |
| 50 |
msgid "" |
| 51 |
"A subgroup (e.g., a genre) must contain (point to) books, not categories of " |
| 52 |
"books. This is what distinguishes subgroups from calibre user categories." |
| 53 |
msgstr "子组(例如,体裁)必须包含(指向)图书,而不是图书类别。这就是将子组与Calibre用户类别区分开来的原因。" |
| 54 |
|
| 55 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:21 |
| 56 |
msgid "" |
| 57 |
"A book can be in multiple subgroups (genres). This distinguishes subgroups " |
| 58 |
"from physical file folders." |
| 59 |
msgstr "一本书可以分成多个子组(体裁)。这将子组与物理文件夹区分开来。" |
| 60 |
|
| 61 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:22 |
| 62 |
msgid "" |
| 63 |
"Subgroups (genres) must form a hierarchy; subgroups can contain subgroups." |
| 64 |
msgstr "子组(体裁)必须形成层次结构;子组可以包含子组。" |
| 65 |
|
| 66 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:24 |
| 67 |
msgid "" |
| 68 |
"Tags give you the first two. If you tag a book with the genre then you can " |
| 69 |
"use the Tag browser (or search) to find the books with that genre, giving " |
| 70 |
"you the first. Many books can have the same tag(s), giving you the second. " |
| 71 |
"The problem is that tags don't satisfy the third requirement. They don't " |
| 72 |
"provide a hierarchy." |
| 73 |
msgstr "标签给出了前两个。如果你给一本图书贴上这种类型的标签,那么你可以使用标签浏览器 (或搜索) 来查找这种类型的图书,这样你就可以得到第一类。许多图书可以有相同的类型标签 ,为您提供第二类标签。问题是标签不满足第三个要求。它们不提供层次结构。" |
| 74 |
|
| 75 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:26 |
| 76 |
msgid "" |
| 77 |
"|sgtree| The calibre hierarchy feature gives you the third -- the ability to" |
| 78 |
" see the genres in a 'tree' and the ability to easily search for books in " |
| 79 |
"genre or sub-genre. For example, assume that your genre structure is similar" |
| 80 |
" to the following::" |
| 81 |
msgstr "|sgtree | |体裁树搜索|calibre分级特性为您提供了第三种功能,即在“树”中查看体裁,并能够轻松地搜索体裁或子类型的书籍。例如,假设你的体裁结构与以下类似:" |
| 82 |
|
| 83 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:14 |
| 84 |
msgid "sgtree" |
| 85 |
msgstr "子组树" |
| 86 |
|
| 87 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:45 |
| 88 |
msgid "" |
| 89 |
"By using the hierarchy feature, you can see these genres in the Tag browser " |
| 90 |
"in tree form, as shown in the screen image. In this example the outermost " |
| 91 |
"level (Genre) is a custom column that contains the genres. Genres containing" |
| 92 |
" sub-genres appear with a small triangle next to them. Clicking on that " |
| 93 |
"triangle will open the item and show the sub-genres, as you can see with " |
| 94 |
"History and Science Fiction." |
| 95 |
msgstr "通过使用分级结构功能,您可以在“标签浏览器”中以树的形式查看这些流派,如屏幕图像所示。在本例中,最外层(体裁)是包含体裁的自定义列。包含子体裁的体裁旁边会出现一个小三角形。点击那个三角形将打开项目并显示子体裁,就像你在历史和科幻小说中看到的那样。" |
| 96 |
|
| 97 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:47 |
| 98 |
msgid "" |
| 99 |
"Clicking on a genre can search for all books with that genre or children of " |
| 100 |
"that genre. For example, clicking on Science Fiction can give all three of " |
| 101 |
"the child genres, Alternate History, Military, and Space Opera. Clicking on " |
| 102 |
"Alternate History will give books in that genre, ignoring those in Military " |
| 103 |
"and Space Opera. Of course, a book can have multiple genres. If a book has " |
| 104 |
"both Space Opera and Military genres, then you will see that book if you " |
| 105 |
"click on either genre. Searching is discussed in more detail below." |
| 106 |
msgstr "点击一个体裁可以搜索到该体裁的所有书籍或该体裁的子类。例如,点击“科幻小说”可以提供所有三种儿童体裁,“架空历史”,“军事”和“太空歌剧”。点击“架空历史”将给出这种体裁的书,忽略那些军事和太空歌剧体裁。当然,一本书可以有多种体裁。如果一本书同时有太空歌剧和军事流派,那么只要你点击其中一种,你就会看到那本书。下面将更详细地讨论搜索。" |
| 107 |
|
| 108 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:49 |
| 109 |
msgid "" |
| 110 |
"Another thing you can see from the image is that the genre Military appears " |
| 111 |
"twice, once under History and once under Science Fiction. Because the genres" |
| 112 |
" are in a hierarchy, these are two separate genres. A book can be in one, " |
| 113 |
"the other, or (doubtfully in this case) both. For example, the books in " |
| 114 |
"Winston Churchill's \"The Second World War\" could be in " |
| 115 |
"\"History.Military\". David Weber's Honor Harrington books could be in " |
| 116 |
"\"Science Fiction.Military\", and for that matter also in \"Science " |
| 117 |
"Fiction.Space Opera.\"" |
| 118 |
msgstr "从图片中可以看到的另一件事是,军事这一体裁出现了两次,一次出现在历史下面,一次出现在科幻下面。因为体裁是分层次的,所以这是两个独立的体裁。一本书可以在其中一种中,也可以在另一种中,或者( 在这种情况下是怀疑的 )两者兼而有之。例如,温斯顿·丘吉尔 (Winston Churchill)的“第二次世界大战” (The Second World War)中的书可以放在“历史·军事” (History.Military)一体裁中。大卫·韦伯的“荣誉哈林顿”的书可能会出现在“科幻小说.军事”中,就这一点而言,也可能出现在“科幻小说.太空歌剧” (Science Fiction.Space Opera)中。" |
| 119 |
|
| 120 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:51 |
| 121 |
msgid "" |
| 122 |
"Once a genre exists, that is at least one book has that genre, you can " |
| 123 |
"easily apply it to other books by dragging the books from the library view " |
| 124 |
"onto the genre you want the books to have. You can also apply genres in the " |
| 125 |
"metadata editors; more on this below." |
| 126 |
msgstr "一旦存在一种体裁,即至少有一本书具有该体裁,您可以很容易地将其应用于其他图书,方法是将这些图书从书库视图拖到您希望这些图书具有的体裁上。您还可以在元数据编辑器中应用体裁;下面将详细介绍这一点。" |
| 127 |
|
| 128 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:54 |
| 129 |
msgid "Setup" |
| 130 |
msgstr "配置" |
| 131 |
|
| 132 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:56 |
| 133 |
msgid "" |
| 134 |
"By now, your question might be \"How was all of this set up?\" There are " |
| 135 |
"three steps: 1) create the custom column, 2) tell calibre that the new " |
| 136 |
"column is to be treated as a hierarchy, and 3) add genres." |
| 137 |
msgstr "看到这里,您可能会问:“这一切是怎么设置出来的?”其实只需三个步骤:1) 创建自定义列;2) 告知 Calibre 将该新列视为“层级结构”;3) 添加类型名称。" |
| 138 |
|
| 139 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:58 |
| 140 |
msgid "" |
| 141 |
"You create the custom column in the usual way, using Preferences -> Add your" |
| 142 |
" own columns. This example uses \"#genre\" as the lookup name and \"Genre\" " |
| 143 |
"as the column heading. It is important that the column type is set to " |
| 144 |
":guilabel:`Comma-separated text, like tags, shown in the Tag browser`." |
| 145 |
msgstr "您可以使用“首选项->添加自己的列”以正常的方式创建自定义列。此示例使用“#体裁”作为查找名称,使用“体裁”作为列标题。将列类型设置为“标签浏览器中显示的逗号分隔文本,如标签”非常重要。" |
| 146 |
|
| 147 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:63 |
| 148 |
msgid "" |
| 149 |
"Then after restarting calibre, you must tell calibre that the column is to " |
| 150 |
"be treated as a hierarchy. Go to :guilabel:`Preferences -> Look & feel -> " |
| 151 |
"Tag browser -> Hierarchy and searching` and choose the new Genre column as " |
| 152 |
"having hierarchical items." |
| 153 |
msgstr "然后,在重新启动calibre后,您必须告诉calibre该列将被视为一个层次结构。转到“首选项->外观->标签浏览器->层次结构和搜索”,并选择新的类型列包含层次结构项目。" |
| 154 |
|
| 155 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:67 |
| 156 |
msgid "" |
| 157 |
"At this point there are no genres in the column. We are left with the last " |
| 158 |
"step: how to apply a genre to a book. A genre does not exist in calibre " |
| 159 |
"until it appears on at least one book. To learn how to apply a genre for the" |
| 160 |
" first time, we must go into some detail about what a genre looks like in " |
| 161 |
"the metadata for a book." |
| 162 |
msgstr "此时,该列中还没有任何类型。我们还剩下最后一步:如何给书籍应用类型。在 Calibre 中,一个类型只有在至少被分配给一本书之后才算真正存在。为了学习如何首次应用类型,我们必须详细了解一下类型在书籍元数据中的表现形式。" |
| 163 |
|
| 164 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:69 |
| 165 |
msgid "" |
| 166 |
"A hierarchy of 'things' is built by creating an item consisting of phrases " |
| 167 |
"separated by periods. Continuing the genre example, these items would " |
| 168 |
"\"History.Military\", \"Mysteries.Vampire\", \"Science Fiction.Space " |
| 169 |
"Opera\", etc. Thus to create a new genre, you pick a book that should have " |
| 170 |
"that genre, edit its metadata, and enter the new genre into the column you " |
| 171 |
"created. Continuing our example, if you want to assign a new genre " |
| 172 |
"\"Comics\" with a sub-genre \"Superheroes\" to a book, you would 'edit " |
| 173 |
"metadata' for that (comic) book, choose the Custom metadata tab, and then " |
| 174 |
"enter \"Comics.Superheroes\" as shown in the following (ignore the other " |
| 175 |
"custom columns):" |
| 176 |
msgstr "“事物”的层次结构是通过创建一个由句点分隔的短语组成的项来构建的。继续体裁示例,这些项目将“历史.军事\", \"神秘.吸血鬼“,”科幻.太空歌剧”等等。因此,要创建新体裁,请选择一本应该具有该体裁的书,编辑其元数据,并将新体裁输入到您创建的列中。如果你想给一本书分配一个新的体裁“漫画”和一个子体裁“超级英雄”,你需要为那本(漫画)书“编辑元数据”,选择“自定义元数据”选项卡,然后输入“漫画。超级英雄“如下所示(忽略其他自定义列):" |
| 177 |
|
| 178 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:74 |
| 179 |
msgid "After doing the above, you see in the Tag browser:" |
| 180 |
msgstr "完成上述操作后,您将在“标签浏览器”中看到:" |
| 181 |
|
| 182 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:79 |
| 183 |
msgid "" |
| 184 |
"From here on, to apply this new genre to a book (a comic book, presumably), " |
| 185 |
"you can either drag the book onto the genre, or add it to the book using " |
| 186 |
"edit metadata in exactly the same way as done above." |
| 187 |
msgstr "从现在开始,要将这一新体裁应用于一本书(假设是漫画书),您可以将书拖到该体裁上,或者使用编辑元数据将其添加到书中,方法与上面完全相同。" |
| 188 |
|
| 189 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:83 |
| 190 |
msgid "" |
| 191 |
"Hierarchical display only works if the Tag browser is set to sort items by " |
| 192 |
"name. This is the default and can be checked by clicking the " |
| 193 |
":guilabel:`Configure` button at the bottom of the Tag browser." |
| 194 |
msgstr "仅当标签浏览器设置为按名称对项目排序时,分层显示才有效。这是默认设置,单击\"标签浏览器\"底部的“设置”按钮即可查看。" |
| 195 |
|
| 196 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:88 |
| 197 |
msgid "Searching" |
| 198 |
msgstr "搜索" |
| 199 |
|
| 200 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:93 |
| 201 |
msgid "" |
| 202 |
"The easiest way to search for genres is using the Tag browser, clicking on " |
| 203 |
"the genre you wish to see. Clicking on a genre with children will show you " |
| 204 |
"books with that genre and all child genres. However, this might bring up a " |
| 205 |
"question. Just because a genre has children doesn't mean that it isn't a " |
| 206 |
"genre in its own right. For example, a book can have the genre \"History\" " |
| 207 |
"but not \"History.Military\". How do you search for books with only " |
| 208 |
"\"History\"?" |
| 209 |
msgstr "最简单的搜索体裁的方法是使用”标签浏览器”,点击你想看到的体裁。点击一个有儿童的体裁,你会看到有这个体裁和所有儿童体裁的书。然而,这可能会带来一个问题。仅仅因为一个体裁有孩子并不意味着它本身就不是一个体裁。例如,一本书的体裁可以是“历史”,但不是\"历史.军事\". 你如何搜索只有“历史”体裁的书?" |
| 210 |
|
| 211 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:95 |
| 212 |
msgid "" |
| 213 |
"The Tag browser search mechanism knows if an item has children. If it does, " |
| 214 |
"clicking on the item cycles through 5 searches instead of the normal three. " |
| 215 |
"The first is the normal green plus, which shows you books with that genre " |
| 216 |
"only (e.g., History). The second is a doubled plus (shown above), which " |
| 217 |
"shows you books with that genre and all sub-genres (e.g., History and " |
| 218 |
"History.Military). The third is the normal red minus, which shows you books " |
| 219 |
"without that exact genre. The fourth is a doubled minus, which shows you " |
| 220 |
"books without that genre or sub-genres. The fifth is back to the beginning, " |
| 221 |
"no mark, meaning no search." |
| 222 |
msgstr "“标签浏览器”搜索机制知道项是否有子项。如果是这样,单击该项将循环进行5次搜索,而不是常规的三次搜索。第一种是普通的绿色加号,它只向你展示那种体裁的书(例如历史)。第二个是双倍加号(如上图所示),它向您展示具有该类型和所有子类型(例如,历史和历史.军事). 第三种是正常的红色减号,它显示的是没有那种类型的书。第四个是一个双倍减号,它显示的是没有这种类型或子类型的书。第五个是回到开始,没有标记,意味着没有搜索。" |
| 223 |
|
| 224 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:98 |
| 225 |
msgid "Restrictions" |
| 226 |
msgstr "限制" |
| 227 |
|
| 228 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:100 |
| 229 |
msgid "" |
| 230 |
"If you search for a genre then create a saved search for it, you can use the" |
| 231 |
" 'restrict to' box to create a Virtual library of books with that genre. " |
| 232 |
"This is useful if you want to do other searches within the genre or to " |
| 233 |
"manage/update metadata for books in the genre. Continuing our example, you " |
| 234 |
"can create a Saved search named 'History.Japanese' by first clicking on the " |
| 235 |
"genre Japanese in the Tag browser to get a search into the search field, " |
| 236 |
"entering History.Japanese into the saved search field, then pushing the " |
| 237 |
"\"Save search\" button (the green box with the white plus, on the right-hand" |
| 238 |
" side)." |
| 239 |
msgstr "如果您搜索某一体裁,然后为其创建保存的搜索,您可以使用“限制为”框来创建具有该体裁图书的“虚拟书库”。如果要在该体裁内进行其他搜索或管理/更新该体裁图书的元数据,这将非常有用。继续我们的示例,您可以创建名为‘历史.日本’的已保存搜索,方法是:首先单击“标记浏览器”中的\"日本历史\"体裁,将搜索放入搜索字段,在已保存搜索字段中输入历史.日本,然后按下“保存搜索”按钮(右侧带有白色加号的绿色框)。" |
| 240 |
|
| 241 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:105 |
| 242 |
msgid "After creating the saved search, you can use it as a restriction." |
| 243 |
msgstr "创建保存的搜索后,您可以将其用作限制。" |
| 244 |
|
| 245 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:111 |
| 246 |
msgid "Useful template functions" |
| 247 |
msgstr "有用的模板函数" |
| 248 |
|
| 249 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:113 |
| 250 |
msgid "" |
| 251 |
"You might want to use the genre information in a template, such as with save" |
| 252 |
" to disk or send to device. The question might then be \"How do I get the " |
| 253 |
"outermost genre name or names?\" A calibre template function, subitems, is " |
| 254 |
"provided to make doing this easier." |
| 255 |
msgstr "您可能需要在模板中使用体裁信息,例如“保存到磁盘”或“发送到设备”。接下来的问题可能是“如何获得最外层的体裁名称?”提供了一个calibre模板函数subitems来简化这一过程。" |
| 256 |
|
| 257 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:115 |
| 258 |
msgid "" |
| 259 |
"For example, assume you want to add the outermost genre level to the save-" |
| 260 |
"to-disk template to make genre folders, as in \"History/The Gathering Storm " |
| 261 |
"- Churchill, Winston\". To do this, you must extract the first level of the " |
| 262 |
"hierarchy and add it to the front along with a slash to indicate that it " |
| 263 |
"should make a folder. The template below accomplishes this::" |
| 264 |
msgstr "例如,假设您要将最外层的体裁级别添加到“保存到磁盘”模板中,以创建流派文件夹,如“历史/聚集风暴-丘吉尔,温斯顿”中所示。为此,您必须提取层次结构的第一级,并将其与斜线一起添加到前面,以指示它应该成为一个文件夹。下面的模板实现了这一点:" |
| 265 |
|
| 266 |
#: ../../../__w/calibre/calibre/manual/sub_groups.rst:119 |
| 267 |
msgid "" |
| 268 |
"See :ref:`The template language <templatelangcalibre>` for more information " |
| 269 |
"about templates and the :func:`subitems` function." |
| 270 |
msgstr "有关模板和“subitems”函数的更多信息,请参阅:“模板语言<templatelangcalibre>”。" |