# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Simon Lee, 2025 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-02-17 16:44+0000\n" "PO-Revision-Date: 2014-06-17 08:37+0000\n" "Last-Translator: Simon Lee, 2025\n" "Language-Team: Chinese (Taiwan) (http://app.transifex.com/calibre/calibre/language/zh_TW/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_TW\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:4 msgid "Managing subgroups of books, for example \"genre\"" msgstr "管理图书的子组,例如“体裁”" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:6 msgid "" "Some people wish to organize the books in their library into subgroups, " "similar to subfolders. The most commonly provided reason is to create genre " "hierarchies, but there are many others. One user asked for a way to organize" " textbooks by subject and course number. Another wanted to keep track of " "gifts by subject and recipient. This tutorial will use the genre example for" " the rest of this post." msgstr "有些人希望把书库里的书组织成子组,类似于子文件夹。最常见的原因是创建体裁层次结构,但还有许多其他原因。一位用户要求找到一种按学科和课程编号组织教科书的方法。另一个则希望根据礼物的主题和接收者来追踪礼物。本教程将在本文的其余部分使用流派示例。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:8 msgid "" "Before going on, please note that we are not talking about folders on the " "hard disk. Subgroups are not file folders. Books will not be copied " "anywhere. calibre's library file structure is not affected. Instead, we are " "presenting a way to organize and display subgroups of books within a calibre" " library." msgstr "在继续之前,请注意我们不是在谈论硬盘上的文件夹。子组不是文件文件夹。任何地方都不会复制书籍。calibre的书库文件结构不受影响。相反,我们提供了一种在一个calibre书库中组织和显示图书子组的方法。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:18 msgid "The commonly-provided requirements for subgroups such as genres are:" msgstr "通常提供的对子组例如体裁的要求是:" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:20 msgid "" "A subgroup (e.g., a genre) must contain (point to) books, not categories of " "books. This is what distinguishes subgroups from calibre user categories." msgstr "子组(例如,体裁)必须包含(指向)图书,而不是图书类别。这就是将子组与Calibre用户类别区分开来的原因。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:21 msgid "" "A book can be in multiple subgroups (genres). This distinguishes subgroups " "from physical file folders." msgstr "一本书可以分成多个子组(体裁)。这将子组与物理文件夹区分开来。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:22 msgid "" "Subgroups (genres) must form a hierarchy; subgroups can contain subgroups." msgstr "子组(体裁)必须形成层次结构;子组可以包含子组。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:24 msgid "" "Tags give you the first two. If you tag a book with the genre then you can " "use the Tag browser (or search) to find the books with that genre, giving " "you the first. Many books can have the same tag(s), giving you the second. " "The problem is that tags don't satisfy the third requirement. They don't " "provide a hierarchy." msgstr "标签给出了前两个。如果你给一本书贴上这种类型的标签,那么你可以使用标签浏览器(或搜索)来查找这种类型的书,这样你就可以得到第一类。许多书可以有相同的类型标签,为您提供第二类标签。问题是标签不满足第三个要求。它们不提供层次结构。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:26 msgid "" "|sgtree| The calibre hierarchy feature gives you the third -- the ability to" " see the genres in a 'tree' and the ability to easily search for books in " "genre or sub-genre. For example, assume that your genre structure is similar" " to the following::" msgstr "|sgtree | |体裁树搜索|calibre分级特性为您提供了第三种功能,即在“树”中查看体裁,并能够轻松地搜索体裁或子类型的书籍。例如,假设你的体裁结构与以下类似:" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:14 msgid "sgtree" msgstr "子组树" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:45 msgid "" "By using the hierarchy feature, you can see these genres in the Tag browser " "in tree form, as shown in the screen image. In this example the outermost " "level (Genre) is a custom column that contains the genres. Genres containing" " sub-genres appear with a small triangle next to them. Clicking on that " "triangle will open the item and show the sub-genres, as you can see with " "History and Science Fiction." msgstr "通过使用分级结构功能,您可以在“标签浏览器”中以树的形式查看这些流派,如屏幕图像所示。在本例中,最外层(体裁)是包含体裁的自定义列。包含子体裁的体裁旁边会出现一个小三角形。点击那个三角形将打开项目并显示子体裁,就像你在历史和科幻小说中看到的那样。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:47 msgid "" "Clicking on a genre can search for all books with that genre or children of " "that genre. For example, clicking on Science Fiction can give all three of " "the child genres, Alternate History, Military, and Space Opera. Clicking on " "Alternate History will give books in that genre, ignoring those in Military " "and Space Opera. Of course, a book can have multiple genres. If a book has " "both Space Opera and Military genres, then you will see that book if you " "click on either genre. Searching is discussed in more detail below." msgstr "點選一個體裁可以搜索到該體裁的所有書籍或該體裁的子類。例如,點選「科幻小說」可以提供所有三種兒童體裁,「架空歷史」,「軍事」和「太空歌劇」。點選「架空歷史」將給出這種體裁的書,忽略那些軍事和太空歌劇體裁。當然,一本書可以有多種體裁。如果一本書同時有太空歌劇和軍事流派,那麼只要你點選其中一種,你就會看到那本書。下面將更詳細地討論搜索。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:49 msgid "" "Another thing you can see from the image is that the genre Military appears " "twice, once under History and once under Science Fiction. Because the genres" " are in a hierarchy, these are two separate genres. A book can be in one, " "the other, or (doubtfully in this case) both. For example, the books in " "Winston Churchill's \"The Second World War\" could be in " "\"History.Military\". David Weber's Honor Harrington books could be in " "\"Science Fiction.Military\", and for that matter also in \"Science " "Fiction.Space Opera.\"" msgstr "从图片中可以看到的另一件事是,军事这一体裁出现了两次,一次出现在历史下面,一次出现在科幻下面。因为体裁是分层次的,所以这是两个独立的体裁。一本书可以在其中一种中,也可以在另一种中,或者(在这种情况下是怀疑的)两者兼而有之。例如,温斯顿·丘吉尔(Winston Churchill)的“第二次世界大战”(The Second World War)中的书可以放在“历史·军事”(History ory.Military)一体裁中。大卫·韦伯的“荣誉哈林顿”的书可能会出现在“科幻小说.军事”中,就这一点而言,也可能出现在“科幻小说.太空歌剧”(Science Fiction.Space Opera)中。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:51 msgid "" "Once a genre exists, that is at least one book has that genre, you can " "easily apply it to other books by dragging the books from the library view " "onto the genre you want the books to have. You can also apply genres in the " "metadata editors; more on this below." msgstr "一旦存在一种体裁,即至少有一本书具有该体裁,您可以很容易地将其应用于其他图书,方法是将这些图书从书库视图拖到您希望这些图书具有的体裁上。您还可以在元数据编辑器中应用体裁;下面将详细介绍这一点。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:54 msgid "Setup" msgstr "設定" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:56 msgid "" "By now, your question might be \"How was all of this set up?\" There are " "three steps: 1) create the custom column, 2) tell calibre that the new " "column is to be treated as a hierarchy, and 3) add genres." msgstr "" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:58 msgid "" "You create the custom column in the usual way, using Preferences -> Add your" " own columns. This example uses \"#genre\" as the lookup name and \"Genre\" " "as the column heading. It is important that the column type is set to " ":guilabel:`Comma-separated text, like tags, shown in the Tag browser`." msgstr "" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:63 msgid "" "Then after restarting calibre, you must tell calibre that the column is to " "be treated as a hierarchy. Go to :guilabel:`Preferences -> Look & feel -> " "Tag browser -> Hierarchy and searching` and choose the new Genre column as " "having hierarchical items." msgstr "" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:67 msgid "" "At this point there are no genres in the column. We are left with the last " "step: how to apply a genre to a book. A genre does not exist in calibre " "until it appears on at least one book. To learn how to apply a genre for the" " first time, we must go into some detail about what a genre looks like in " "the metadata for a book." msgstr "" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:69 msgid "" "A hierarchy of 'things' is built by creating an item consisting of phrases " "separated by periods. Continuing the genre example, these items would " "\"History.Military\", \"Mysteries.Vampire\", \"Science Fiction.Space " "Opera\", etc. Thus to create a new genre, you pick a book that should have " "that genre, edit its metadata, and enter the new genre into the column you " "created. Continuing our example, if you want to assign a new genre " "\"Comics\" with a sub-genre \"Superheroes\" to a book, you would 'edit " "metadata' for that (comic) book, choose the Custom metadata tab, and then " "enter \"Comics.Superheroes\" as shown in the following (ignore the other " "custom columns):" msgstr "「事物」的層次結構是通過建立一個由句點分隔的短語組成的項來構建的。繼續體裁示例,這些專案將「歷史.軍事\", \"神秘.吸血鬼「,」科幻.太空歌劇」等等。因此,要建立新體裁,請選擇一本應該具有該體裁的書,編輯其後設資料,並將新體裁輸入到您建立的列中。如果你想給一本書分配一個新的體裁「漫畫」和一個子體裁「超級英雄」,你需要為那本(漫畫)書「編輯後設資料」,選擇「自定義後設資料」選項卡,然後輸入「漫畫。超級英雄「如下所示(忽略其他自定義列):" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:74 msgid "After doing the above, you see in the Tag browser:" msgstr "完成上述操作后,您将在“标签浏览器”中看到:" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:79 msgid "" "From here on, to apply this new genre to a book (a comic book, presumably), " "you can either drag the book onto the genre, or add it to the book using " "edit metadata in exactly the same way as done above." msgstr "从现在开始,要将这一新体裁应用于一本书(假设是漫画书),您可以将书拖到该体裁上,或者使用编辑元数据将其添加到书中,方法与上面完全相同。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:83 msgid "" "Hierarchical display only works if the Tag browser is set to sort items by " "name. This is the default and can be checked by clicking the " ":guilabel:`Configure` button at the bottom of the Tag browser." msgstr "仅当Tag Browser设置为按名称对项目排序时,分层显示才有效。这是默认设置,单击\"标签浏览器\"底部的:guilabel:`设置`按钮即可查看。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:88 msgid "Searching" msgstr "搜尋" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:93 msgid "" "The easiest way to search for genres is using the Tag browser, clicking on " "the genre you wish to see. Clicking on a genre with children will show you " "books with that genre and all child genres. However, this might bring up a " "question. Just because a genre has children doesn't mean that it isn't a " "genre in its own right. For example, a book can have the genre \"History\" " "but not \"History.Military\". How do you search for books with only " "\"History\"?" msgstr "最简单的搜索体裁的方法是使用”标签浏览器”,点击你想看到的体裁。点击一个有儿童的体裁,你会看到有这个体裁和所有儿童体裁的书。然而,这可能会带来一个问题。仅仅因为一个体裁有孩子并不意味着它本身就不是一个体裁。例如,一本书的体裁可以是“历史”,但不是\"历史.军事\". 你如何搜索只有“历史”体裁的书?" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:95 msgid "" "The Tag browser search mechanism knows if an item has children. If it does, " "clicking on the item cycles through 5 searches instead of the normal three. " "The first is the normal green plus, which shows you books with that genre " "only (e.g., History). The second is a doubled plus (shown above), which " "shows you books with that genre and all sub-genres (e.g., History and " "History.Military). The third is the normal red minus, which shows you books " "without that exact genre. The fourth is a doubled minus, which shows you " "books without that genre or sub-genres. The fifth is back to the beginning, " "no mark, meaning no search." msgstr "「標籤瀏覽器」搜索機制知道項是否有子項。如果是這樣,單擊該項將循環進行5次搜索,而不是常規的三次搜索。第一種是普通的綠色加號,它只向你展示那種體裁的書(例如歷史)。第二個是雙倍加號(如上圖所示),它向您展示具有該型別和所有子型別(例如,歷史和歷史.軍事). 第三種是正常的紅色減號,它顯示的是沒有那種型別的書。第四個是一個雙倍減號,它顯示的是沒有這種型別或子型別的書。第五個是回到開始,沒有標記,意味著沒有搜索。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:98 msgid "Restrictions" msgstr "限制" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:100 msgid "" "If you search for a genre then create a saved search for it, you can use the" " 'restrict to' box to create a Virtual library of books with that genre. " "This is useful if you want to do other searches within the genre or to " "manage/update metadata for books in the genre. Continuing our example, you " "can create a Saved search named 'History.Japanese' by first clicking on the " "genre Japanese in the Tag browser to get a search into the search field, " "entering History.Japanese into the saved search field, then pushing the " "\"Save search\" button (the green box with the white plus, on the right-hand" " side)." msgstr "如果您搜索某一體裁,然後為其建立儲存的搜索,您可以使用「限制為」框來建立具有該體裁圖書的「虛擬書庫」。如果要在該體裁內進行其他搜索或管理/更新該體裁圖書的後設資料,這將非常有用。繼續我們的示例,您可以建立名為『歷史.日本』的已儲存搜索,方法是:首先單擊「標記瀏覽器」中的\"日本歷史\"體裁,將搜索放入搜索欄位,在已儲存搜索欄位中輸入歷史.日本,然後按下「儲存搜索」按鈕(右側帶有白色加號的綠色框)。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:105 msgid "After creating the saved search, you can use it as a restriction." msgstr "创建保存的搜索后,您可以将其用作限制。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:111 msgid "Useful template functions" msgstr "有用的模板函数" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:113 msgid "" "You might want to use the genre information in a template, such as with save" " to disk or send to device. The question might then be \"How do I get the " "outermost genre name or names?\" A calibre template function, subitems, is " "provided to make doing this easier." msgstr "您可能需要在模板中使用体裁信息,例如“保存到磁盘”或“发送到设备”。接下来的问题可能是“如何获得最外层的体裁名称?”提供了一个calibre模板函数subitems来简化这一过程。" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:115 msgid "" "For example, assume you want to add the outermost genre level to the save-" "to-disk template to make genre folders, as in \"History/The Gathering Storm " "- Churchill, Winston\". To do this, you must extract the first level of the " "hierarchy and add it to the front along with a slash to indicate that it " "should make a folder. The template below accomplishes this::" msgstr "例如,假设您要将最外层的体裁级别添加到“保存到磁盘”模板中,以创建流派文件夹,如“历史/聚集风暴-丘吉尔,温斯顿”中所示。为此,您必须提取层次结构的第一级,并将其与斜线一起添加到前面,以指示它应该成为一个文件夹。下面的模板实现了这一点:" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:119 msgid "" "See :ref:`The template language ` for more information " "about templates and the :func:`subitems` function." msgstr "有关模板和:func:`subitems`函数的更多信息,请参阅:ref:`模板语言`。"