# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Pei Qing, 2024 # RERBIN MA, 2025-2026 # tony shen , 2020,2024 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-03-12 02:31+0000\n" "PO-Revision-Date: 2016-02-29 11:58+0000\n" "Last-Translator: RERBIN MA, 2025-2026\n" "Language-Team: Chinese (China) (http://app.transifex.com/calibre/calibre/language/zh_CN/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: zh_CN\n" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../../__w/calibre/calibre/manual/edit.rst:4 msgid "Editing e-books" msgstr "编辑书籍" #: ../../../__w/calibre/calibre/manual/edit.rst:6 msgid "" "calibre has an integrated e-book editor that can be used to edit books in " "the EPUB, KEPUB (Kobo) and AZW3 (Kindle) formats. The editor shows you the " "HTML and CSS that is used internally inside the book files, with a live " "preview that updates as you make changes. It also contains various automated" " tools to perform common cleanup and fixing tasks." msgstr "calibre 内置了一个电子书编辑器,可用于编辑 EPUB、KEPUB(Kobo)和 AZW3(Kindle)格式的书籍。该编辑器可以显示书籍文件内部使用的 HTML 和 CSS,并在你进行修改时提供实时预览。此外,它还包含多种自动化工具,用于执行常见的清理和修复任务。" #: ../../../__w/calibre/calibre/manual/edit.rst:12 msgid "" "You can use this editor by right clicking on any book in calibre and " "selecting :guilabel:`Edit book`." msgstr "你可以通过在calibre里右键单击任意一本书--选择“编辑书籍”来进入编辑器" #: ../../../__w/calibre/calibre/manual/edit.rst:15 #: ../../../__w/calibre/calibre/manual/edit.rst:230 msgid "The Edit book tool" msgstr "书籍编辑工具" #: ../../../__w/calibre/calibre/manual/edit.rst:23 msgid "Contents" msgstr "目录" #: ../../../__w/calibre/calibre/manual/edit.rst:26 msgid "Basic workflow" msgstr "基本的工作流程" #: ../../../__w/calibre/calibre/manual/edit.rst:29 msgid "" "A video tour of the calibre E-book editor is available :website:`here " "`." msgstr "calibre电子书编辑器的视频向导在 `此处 `。" #: ../../../__w/calibre/calibre/manual/edit.rst:31 msgid "" "When you first open a book with the Edit book tool, you will be presented " "with a list of files on the left. These are the individual HTML files, " "stylesheets, images, etc. that make up the content of the book. Simply " "double click on a file to start editing it. Note that if you want to do " "anything more sophisticated than making a few small tweaks, you will need to" " know `HTML Tutorial `_ and `CSS" " Tutorial `_." msgstr "当你首次使用“编辑书籍”工具打开一本书时,界面左侧会显示一个文件列表。这些文件包括构成图书内容的各个 HTML 文件、样式表、图片等。只需双击某个文件即可开始编辑。\n请注意,如果你想进行比简单修改更复杂的操作,则需要了解“HTML 教程 ”和“CSS 教程 ”。" #: ../../../__w/calibre/calibre/manual/edit.rst:39 msgid "" "As you make changes to the HTML or CSS in the editor, the changes will be " "previewed, live, in the preview panel to the right. When you are happy with " "how the changes you have made look, click the :guilabel:`Save` button or use" " :guilabel:`File->Save` to save your changes into the e-book." msgstr "当您在编辑器中更改HTML或CSS时,更改将在右侧的预览面板中实时预览。如果您对所做更改的外观感到满意,请单击:guilabel:`保存`按钮或使用:guilabel:`文件->保存`将更改保存到电子书中。" #: ../../../__w/calibre/calibre/manual/edit.rst:44 msgid "" "One useful feature is :guilabel:`Checkpoints`. Before you embark on some " "ambitious set of edits, you can create a checkpoint. The checkpoint will " "preserve the current state of your book, then if in the future you decide " "you don't like the changes you have made, you can go back to the state when " "you created the checkpoint. To create a checkpoint, use " ":guilabel:`Edit->Create checkpoint`. Checkpoints will also be automatically " "created for you whenever you run any automated tool like global search and " "replace. The checkpointing functionality is in addition to the normal " "undo/redo mechanism when editing individual files. Checkpoints are needed " "for when changes are spread over multiple files in the book." msgstr "一项有用的功能是“检查点”。 在开始进行一些雄心勃勃的编辑之前,您可以创建一个检查点。 检查点将保留图书的当前状态,如果将来您决定不喜欢所做的更改,则可以返回到创建检查点时的状态。 要创建检查点,请使用“编辑->创建检查点”。 每当您运行任何自动化工具时,例如全局搜索和替换,也会自动为您创建检查点。 检查点功能是编辑单个文件时正常撤消/重做机制之外的功能。 当更改分布在书中的多个文件时,需要检查点。" #: ../../../__w/calibre/calibre/manual/edit.rst:55 msgid "" "That is the basic work flow for editing books -- Open a file, make changes, " "preview and save. The rest of this manual will discuss the various tools and" " features present to allow you to perform specific tasks efficiently." msgstr "这是编辑图书的基本工作流程--打开文件、进行更改、预览和保存。本手册的其余部分将讨论现有的各种工具和功能,使您能够高效地执行特定任务。" #: ../../../__w/calibre/calibre/manual/edit.rst:60 msgid "The File browser" msgstr "文件浏览器" #: ../../../__w/calibre/calibre/manual/edit.rst:62 msgid "The File browser showing files in the book" msgstr "显示书中文件的文件浏览器" #: ../../../__w/calibre/calibre/manual/edit.rst:66 msgid "" "The :guilabel:`File browser` gives you an overview of the various files " "inside the book you are editing. The files are arranged by category, with " "text (HTML) files at the top, followed by stylesheet (CSS) files, images and" " so on. Simply double click on a file to start editing it. Editing is " "supported for HTML, CSS and image files. The order of text files is the same" " order that they would be displayed in, if you were reading the book. All " "other files are arranged alphabetically." msgstr "`文件浏览器`为您提供正在编辑的书本内各种文件的概览。文件按类别排列,文本(HTML)文件位于顶部,后面是样式表(CSS)文件、图像等。只需双击文件即可开始编辑。HTML、CSS和图像文件支持编辑。如果您正在阅读图书,则文本文件的顺序与它们的显示顺序相同。所有其他文件都按字母顺序排列。" #: ../../../__w/calibre/calibre/manual/edit.rst:74 msgid "" "By hovering your mouse over an entry, you can see its size, and also, at the" " bottom of the screen, the full path to the file inside the book. Note that " "files inside e-books are compressed, so the size of the final book is not " "the sum of the individual file sizes." msgstr "通过将鼠标悬停在条目上,您可以看到它的大小,还可以在屏幕底部看到书中文件的完整路径。请注意,电子书中的文件是压缩的,因此最终图书的大小不是单个文件大小的总和。" #: ../../../__w/calibre/calibre/manual/edit.rst:79 msgid "" "Many files have special meaning, in the book. These will typically have an " "icon next to their names, indicating the special meaning. For example, in " "the picture to the left, you can see that the files " ":guilabel:`cover_image.jpg` and :guilabel:`titlepage.xhtml` have the icon of" " a cover next to them, this indicates they are the book cover image and " "titlepage. Similarly, the :guilabel:`content.opf` file has a metadata icon " "next to it, indicating the book metadata is present in it and the " ":guilabel:`toc.ncx` file has a T icon next to it, indicating it is the Table" " of Contents." msgstr "在这本书中,许多文件都有特殊的意义。它们的名称旁边通常会有一个图标,表示特殊含义。例如,在左边的图片中,您可以看到文件`cover_image.jpg`和`title lepage.xhtml`旁边有封面图标,这表示它们是图书封面图片和标题页。同样,`content.opf`文件旁边有一个元数据图标,表示其中存在图书元数据,而`toc.ncx`文件旁边有一个T图标,表示它是目录。" #: ../../../__w/calibre/calibre/manual/edit.rst:88 msgid "" "You can perform many actions on individual files, by right clicking them." msgstr "通过右键单击单个文件,可以对它们执行许多操作。" #: ../../../__w/calibre/calibre/manual/edit.rst:91 msgid "Renaming files" msgstr "重命名文件" #: ../../../__w/calibre/calibre/manual/edit.rst:93 msgid "" "You can rename an individual file by right clicking it and selecting " ":guilabel:`Rename`. Renaming a file automatically updates all links and " "references to it throughout the book. So all you have to do is provide the " "new name, calibre will take care of the rest." msgstr "您可以通过右键单击单个文件并选择:`Rename`来重命名该文件。重命名文件会自动更新整本书中对该文件的所有链接和引用。所以你要做的就是提供新的名字,其他的都会由Calibre来处理。" #: ../../../__w/calibre/calibre/manual/edit.rst:98 msgid "" "You can also bulk rename many files at once. This is useful if you want the " "files to have some simple name pattern. For example you might want to rename" " all the HTML files to have names Chapter-1.html, Chapter-2.html and so on. " "Select the files you want bulk renamed by holding down the :kbd:`Shift` or " ":kbd:`Ctrl` key and clicking the files. Then right click and select " ":guilabel:`Bulk rename`. Enter a prefix and what number you would like the " "automatic numbering to start at, click OK and you are done. The bulk rename " "dialog also lets you rename files by the order they appear in the book " "instead of the order you selected them in, useful, for instance to rename " "all images by the order they appear." msgstr "您还可以一次批量重命名多个文件。 如果您希望文件具有一些简单的名称模式,这非常有用。 例如,您可能想要将所有 HTML 文件重命名为 Chapter-1.html、Chapter-2.html 等。 按住“Shift”或“Ctrl”键并单击文件,选择要批量重命名的文件。 然后右键单击并选择“批量重命名”。 输入前缀以及您希望自动编号从哪个数字开始,单击“确定”即可完成。 批量重命名对话框还允许您按照文件在书中出现的顺序重命名文件,而不是您选择它们的顺序重命名文件,这很有用,例如按它们出现的顺序重命名所有图像。" #: ../../../__w/calibre/calibre/manual/edit.rst:109 msgid "" "Finally, you can bulk change the file extension for all selected files. " "Select multiple files, as above, and right click and choose " ":guilabel:`Change the file extension for the selected files`." msgstr "最后,您可以批量更改所有选定文件的文件扩展名。如上选择多个文件,右键选择`更改所选文件的文件扩展名`。" #: ../../../__w/calibre/calibre/manual/edit.rst:114 msgid "Merging files" msgstr "合并文件" #: ../../../__w/calibre/calibre/manual/edit.rst:116 msgid "" "Sometimes, you may want to merge two HTML files or two CSS files together. " "It can sometimes be useful to have everything in a single file. Be wary, " "though, putting a lot of content into a single file will cause performance " "problems when viewing the book in a typical e-book reader." msgstr "有时,您可能希望将两个HTML文件或两个CSS文件合并在一起。有时将所有内容都放在一个文件中会很有用。不过要小心,在典型的电子书阅读器中查看图书时,将大量内容放入单个文件会导致性能问题。" #: ../../../__w/calibre/calibre/manual/edit.rst:121 msgid "" "To merge multiple files together, select them by holding the :kbd:`Ctrl` key" " and clicking on them (make sure you only select files of one type, either " "all HTML files or all CSS files and so on). Then right click and select " "merge. That's all, calibre will merge the files, automatically taking care " "of migrating all links and references to the merged files. Note that merging" " files can sometimes cause text styling to change, since the individual " "files could have used different stylesheets." msgstr "要将多个文件合并在一起,请按住“Ctrl”键并单击它们来选择它们(确保仅选择一种类型的文件,可以是所有 HTML 文件或所有 CSS 文件等)。 然后右键单击并选择合并。 就这样,calibre 将合并文件,自动迁移所有链接和对合并文件的引用。 请注意,合并文件有时会导致文本样式发生更改,因为各个文件可能使用不同的样式表。" #: ../../../__w/calibre/calibre/manual/edit.rst:129 msgid "" "You can also select text files and then drag and drop the text files onto " "another text file to merge the dropped text files into the target text file." msgstr "您还可以选择文本文件,然后将文本文件拖放到另一个文本文件上,以将拖放的文本文件合并到目标文本文件中。" #: ../../../__w/calibre/calibre/manual/edit.rst:133 msgid "Changing text file order" msgstr "更改文本文件顺序" #: ../../../__w/calibre/calibre/manual/edit.rst:135 msgid "" "You can re-arrange the order in which text (HTML) files are opened when " "reading the book by simply dragging and dropping them in the :guilabel:`File" " browser` or clicking on the file to move and then pressing the " ":kbd:`Ctrl+Shift` modifiers with the :kbd:`Up`, :kbd:`Down`, :kbd:`Home` or " ":kbd:`End` keys. For the technically inclined, this is called re-ordering " "the book spine." msgstr "您可以在阅读本书时重新排列文本(HTML)文件的打开顺序,只需将它们拖放到“文件浏览器”中,或者单击要移动的文件,然后按“Ctrl+Shift”修饰符即可 “向上”、“向下”、“Home”或“End”键。 对于技术性的人来说,这称为重新排序 书脊。" #: ../../../__w/calibre/calibre/manual/edit.rst:141 msgid "" "Note that you have to drop the items *between* other items, not on top of " "them, this can be a little fiddly until you get used to it. Dropping on top " "of another file will cause the files to be merged." msgstr "请注意,您必须将项目放在其他项目*之间*,而不是放在它们上面,这可能有点麻烦,直到您习惯为止。 放在另一个文件的顶部将导致文件被合并。" #: ../../../__w/calibre/calibre/manual/edit.rst:146 msgid "Marking the cover" msgstr "标记封面" #: ../../../__w/calibre/calibre/manual/edit.rst:148 msgid "" "E-books typically have a cover image. This image is indicated in the " ":guilabel:`File browser` by the icon of a brown book next to the image name." " If you want to designate some other image as the cover, you can do so by " "right clicking on the file and choosing :guilabel:`Mark as cover`." msgstr "电子书通常都有封面图片。此图像在`文件浏览器`中由图像名称旁边的棕色书图标表示。如果要指定其他图像作为封面,可以通过右键单击该文件并选择`标记为封面‘来实现。" #: ../../../__w/calibre/calibre/manual/edit.rst:153 msgid "" "In addition, EPUB files have the concept of a *titlepage*. A title page is a" " HTML file that acts as the title page/cover for the book. You can mark an " "HTML file as the titlepage when editing EPUBs by right-clicking. Be careful " "that the file you mark contains only the cover information. If it contains " "other content, such as the first chapter, then that content will be lost if " "the user ever converts the EPUB file in calibre to another format. This is " "because when converting, calibre assumes that the marked title page contains" " only the cover and no other content." msgstr "此外,EPUB文件还具有*title page*的概念。标题页是充当图书标题页/封面的HTML文件。在编辑ePub时,您可以通过右键单击将HTML文件标记为标题页。请注意,您标记的文件仅包含封面信息。如果它包含其他内容,如第一章,则如果用户将Calibre格式的EPUB文件转换为另一种格式,则该内容将丢失。这是因为在转换时,Calibre假定标记的标题页只包含封面,不包含其他内容。" #: ../../../__w/calibre/calibre/manual/edit.rst:163 msgid "Deleting files" msgstr "删除文件" #: ../../../__w/calibre/calibre/manual/edit.rst:165 msgid "" "You can delete files by either right clicking on them or by selecting them " "and pressing the Delete key. Deleting a file removes all references to the " "file from the OPF file, saving you that chore. However, references in other " "places are not removed, you can use the Check Book tool to easily find and " "remove/replace them." msgstr "您可以通过右键单击文件或选择文件并按Delete键来删除文件。删除文件会从OPF文件中删除对该文件的所有引用,从而省去了这项工作。但是,其他位置的参照不会被删除,您可以使用Check Book工具轻松地查找和删除/替换它们。" #: ../../../__w/calibre/calibre/manual/edit.rst:172 msgid "Exporting files" msgstr "正在导出文件" #: ../../../__w/calibre/calibre/manual/edit.rst:174 msgid "" "You can export a file from inside the book to somewhere else on your " "computer. This is useful if you want to work on the file in isolation, with " "specialised tools. To do this, simply right click on the file and choose " ":guilabel:`Export`." msgstr "您可以将文件从书内导出到计算机上的其他位置。如果您希望使用专门的工具单独处理文件,这将非常有用。要执行此操作,只需右键单击该文件并选择“导出”。" #: ../../../__w/calibre/calibre/manual/edit.rst:179 msgid "" "Once you are done working on the exported file, you can re-import it into " "the book, by right clicking on the file again and choosing " ":guilabel:`Replace with file...` which will allow you to replace the file in" " the book with the previously exported file." msgstr "处理完导出的文件后,您可以将其重新导入到书中,方法是再次右键单击该文件,然后选择“替换为文件...”,这将允许您将书籍中的文件替换为以前导出的文件。" #: ../../../__w/calibre/calibre/manual/edit.rst:184 msgid "" "You can also copy files between multiple editor instances. Select the files " "you want to copy in the :guilabel:`File browser`, then right click and " "choose, :guilabel:`Copy selected files to another editor instance`. Then, in" " the other editor instance, right click in the :guilabel:`File browser` and " "choose :guilabel:`Paste file from other editor instance`." msgstr "您还可以在多个编辑器实例之间复制文件。在`文件浏览器`中选择要复制的文件,然后右键单击并选择、`将所选文件复制到另一个编辑器实例`。然后,在另一个编辑器实例中,右键单击`文件浏览器`并选择`从其他编辑器实例粘贴文件`。" #: ../../../__w/calibre/calibre/manual/edit.rst:191 msgid "Adding new images/fonts/etc. or creating new blank files" msgstr "增加新的图片/字体等或者创建新空文件" #: ../../../__w/calibre/calibre/manual/edit.rst:193 msgid "" "You can add a new image, font, stylesheet, etc. from your computer into the " "book by clicking :guilabel:`File->New file`. This lets you either import a " "file by clicking the :guilabel:`Import resource file` button or create a new" " blank HTML file or stylesheet by simply entering the file name into the box" " for the new file." msgstr "您可以通过单击“文件->新建文件”将计算机中的新图像、字体、样式表等添加到书本中。这允许您通过单击“导入资源文件”按钮导入文件,或者只需在新文件的框中输入文件名即可创建新的空白HTML文件或样式表。" #: ../../../__w/calibre/calibre/manual/edit.rst:198 msgid "" "You can also import multiple files into the book at once using File->Import " "files into book." msgstr "您还可以使用文件->将文件导入书本,一次将多个文件导入书本。" #: ../../../__w/calibre/calibre/manual/edit.rst:202 msgid "Replacing files" msgstr "替代文件" #: ../../../__w/calibre/calibre/manual/edit.rst:204 msgid "" "You can easily replace existing files in the book, by right clicking on the " "file and choosing replace. This will automatically update all links and " "references, in case the replacement file has a different name than the file " "being replaced." msgstr "通过右键单击文件并选择替换,您可以轻松地替换图书中的现有文件。这将自动更新所有链接和引用,以防替换文件的名称与要替换的文件不同。" #: ../../../__w/calibre/calibre/manual/edit.rst:210 msgid "Linking stylesheets to HTML files efficiently" msgstr "有效地将样式表链接到HTML文件" #: ../../../__w/calibre/calibre/manual/edit.rst:212 msgid "" "As a convenience, you can select multiple HTML files in the File browser, " "right click and choose Link stylesheets to have calibre automatically insert" " the tags for those stylesheets into all the selected HTML files." msgstr "为了方便起见,您可以在文件浏览器中选择多个HTML文件,右键单击并选择链接样式表,以便Calibre自动将这些样式表的 标记插入到所有选定的HTML文件中。" #: ../../../__w/calibre/calibre/manual/edit.rst:222 msgid "Search & replace" msgstr "搜索并替换" #: ../../../__w/calibre/calibre/manual/edit.rst:224 msgid "" "Edit book has a very powerful search and replace interface that allows you " "to search and replace text in the current file, across all files and even in" " a marked region of the current file. You can search using a normal search " "or using regular expressions. To learn how to use regular expressions for " "advanced searching, see :ref:`regexptutorial`." msgstr "编辑书籍有一个非常强大的搜索和替换界面,允许您搜索和替换当前文件中的文本,跨所有文件,甚至在当前文件的标记区域中搜索和替换文本。您可以使用普通搜索或使用正则表达式进行搜索。要了解如何使用正则表达式进行高级搜索,请参阅`regexptutorial`。" #: ../../../__w/calibre/calibre/manual/edit.rst:234 msgid "" "Start the search and replace via the :guilabel:`Search->Find/replace` menu " "entry (you must be editing an HTML or CSS file)." msgstr "通过“搜索->查找/替换”菜单项开始搜索和替换(您必须编辑HTML或CSS文件)。" #: ../../../__w/calibre/calibre/manual/edit.rst:237 msgid "" "Type the text you want to find into the Find box and its replacement into " "the Replace box. You can the click the appropriate buttons to Find the next " "match, replace the current match and replace all matches." msgstr "在“查找”框中键入要查找的文本,并在“替换”框中替换它。您可以单击相应的按钮查找下一个匹配项、替换当前匹配项和替换所有匹配项。" #: ../../../__w/calibre/calibre/manual/edit.rst:241 msgid "" "Using the drop downs at the bottom of the box, you can have the search " "operate over the current file, all text files, all style files or all files." " You can also choose the search mode to be a normal (string) search or a " "regular expression search." msgstr "使用框底部的下拉列表,您可以对当前文件、所有文本文件、所有样式文件或所有文件进行搜索。您还可以将搜索模式选择为普通(字符串)搜索或正则表达式搜索。" #: ../../../__w/calibre/calibre/manual/edit.rst:246 msgid "" "You can count all the matches for a search expression via " ":guilabel:`Search->Count all`. The count will run over whatever " "files/regions you have selected in the dropdown box." msgstr "您可以通过“搜索->全部计数”统计搜索表达式的所有匹配项。计数将遍历您在下拉框中选择的任何文件/区域。" #: ../../../__w/calibre/calibre/manual/edit.rst:250 msgid "" "You can also go to a specific line in the currently open editor via " ":guilabel:`Search->Go to line`." msgstr "您还可以通过“搜索->转到行”转到当前打开的编辑器中的特定行。" #: ../../../__w/calibre/calibre/manual/edit.rst:254 msgid "" "Remember, to harness the full power of search and replace, you will need to " "use regular expressions. See :ref:`regexptutorial`." msgstr "请记住,要充分利用搜索和替换的功能,您将需要使用正则表达式。 请参阅“正则表达式教程”。" #: ../../../__w/calibre/calibre/manual/edit.rst:258 msgid "Saved searches" msgstr "保存的查找" #: ../../../__w/calibre/calibre/manual/edit.rst:260 msgid "" "You can save frequently used search/replace expressions (including function " "mode expressions) and reuse them multiple times. To save a search simply " "right click in the Find box and select :guilabel:`Save current search`." msgstr "您可以保存常用的搜索/替换表达式(包括函数模式表达式)并多次重复使用。 要保存搜索,只需右键单击“查找”框并选择“保存当前搜索”。" #: ../../../__w/calibre/calibre/manual/edit.rst:264 msgid "" "You can bring up the saved searches via :guilabel:`Search->Saved searches`. " "This will present you with a list of search and replace expressions that you" " can apply. You can even select multiple entries in the list by holding down" " the :kbd:`Ctrl` key while clicking so as to run multiple search and replace" " expressions in a single operation." msgstr "您可以通过“搜索->保存的搜索”调出保存的搜索。 这将为您提供可以应用的搜索和替换表达式的列表。 您甚至可以通过按住“Ctrl”键并单击来选择列表中的多个条目,以便在单个操作中运行多个搜索和替换表达式。" #: ../../../__w/calibre/calibre/manual/edit.rst:271 msgid "Function mode" msgstr "功能模式" #: ../../../__w/calibre/calibre/manual/edit.rst:273 msgid "" "Function mode allows you to write arbitrarily powerful Python functions that" " are run on every Find/replace. You can do pretty much any text manipulation" " you like in function mode. For more information, see :doc:`function_mode`." msgstr "函数模式允许您编写在每个查找/替换上运行的任意强大的 Python 函数。 您可以在功能模式下进行几乎任何您喜欢的文本操作。 有关更多信息,请参阅“function_mode”。" #: ../../../__w/calibre/calibre/manual/edit.rst:278 msgid "Search ignoring HTML tags" msgstr "搜索时忽略 HTML 标签" #: ../../../__w/calibre/calibre/manual/edit.rst:280 msgid "" "There is also a dedicated tool for searching for text, ignoring any HTML " "tags in between. For example, if the book has the HTML ``Emphasis on a " "word.`` you can search for ``on a word`` and it will be found even " "though there is an ```` tag in the middle. Use this tool via the " ":guilabel:`Search->Search ignoring HTML markup` menu item." msgstr "还有一个专门的工具用于搜索文本,忽略之间的任何 HTML 标签。 例如,如果这本书有 HTML“Empahisis on a word.”,您可以搜索“on a word”,即使中间有“”标签,也会找到它。 通过“搜索->搜索忽略 HTML 标记”菜单项使用此工具。" #: ../../../__w/calibre/calibre/manual/edit.rst:287 msgid "Automated tools" msgstr "自动化工具" #: ../../../__w/calibre/calibre/manual/edit.rst:289 msgid "" "Edit book has various tools to help with common tasks. These are accessed " "via the :guilabel:`Tools` menu." msgstr "Edit book 有各种工具可以帮助完成常见任务。 这些可以通过“工具”菜单访问。" #: ../../../__w/calibre/calibre/manual/edit.rst:293 msgid "Editing the Table of Contents" msgstr "正在编辑目录" #: ../../../__w/calibre/calibre/manual/edit.rst:295 msgid "" "There is a dedicated tool to ease editing of the Table of Contents. Launch " "it with :guilabel:`Tools->Table of Contents->Edit Table of Contents`." msgstr "有一个专用工具可以轻松编辑目录。 使用“工具->目录->编辑目录”启动它。" #: ../../../__w/calibre/calibre/manual/edit.rst:298 msgid "The Edit Table of Contents tool" msgstr "目录编辑工具" #: ../../../__w/calibre/calibre/manual/edit.rst:302 msgid "" "The Edit Table of Contents tool shows you the current Table of Contents (if " "any) on the left. Simply double click on any entry to change its text. You " "can also re-arrange entries by drag and drop or by using the buttons to the " "right." msgstr "编辑目录工具在左侧显示当前目录(如果有)。 只需双击任何条目即可更改其文本。 您还可以通过拖放或使用右侧的按钮来重新排列条目。" #: ../../../__w/calibre/calibre/manual/edit.rst:306 msgid "" "For books that do not have a pre-existing Table of Contents, the tool gives " "you various options to auto-generate a Table of Contents from the text. You " "can generate from the headings in the document, from links, from individual " "files and so on." msgstr "对于没有预先存在目录的书籍,该工具为您提供了各种选项来从文本自动生成目录。 您可以从文档中的标题、链接、单个文件等生成。" #: ../../../__w/calibre/calibre/manual/edit.rst:311 msgid "" "You can edit individual entries by clicking on them and then clicking the " ":guilabel:`Change the location this entry points to` button. This will open " "up a mini-preview of the book, simply move the mouse cursor over the book " "view panel, and click where you want the entry to point to. A thick green " "line will show you the location. Click OK once you are happy with the " "location." msgstr "您可以通过单击单个条目,然后单击“更改此条目指向的位置”按钮来编辑各个条目。 这将打开书籍的迷你预览,只需将鼠标光标移到书籍视图面板上,然后单击您希望条目指向的位置即可。 一条粗绿线将向您显示该位置。 对位置感到满意后,单击“确定”。" #: ../../../__w/calibre/calibre/manual/edit.rst:317 msgid "" "The Edit Table of Contents tool, how to change the location an entry points " "to" msgstr "编辑目录工具,如何更改条目指向的位置" #: ../../../__w/calibre/calibre/manual/edit.rst:322 msgid "Checking the book" msgstr "正在检查书籍" #: ../../../__w/calibre/calibre/manual/edit.rst:324 msgid "" "The :guilabel:`Check book` tool searches your book for problems that could " "prevent it working as intended on actual reader devices. Activate it via " ":guilabel:`Tools->Check book`." msgstr "“检查图书”工具会搜索您的图书以查找可能妨碍其在实际阅读器设备上正常运行的问题。 通过“工具->支票簿”激活它。" #: ../../../__w/calibre/calibre/manual/edit.rst:328 msgid "The Check book tool" msgstr "书籍检查工具" #: ../../../__w/calibre/calibre/manual/edit.rst:332 msgid "" "Any problems found are reported in a nice, easy to use list. Clicking any " "entry in the list shows you some help about that error as well as giving you" " the option to auto-fix that error, if the error can be fixed automatically." " You can also double click the error to open the location of the error in an" " editor, so you can fix it yourself." msgstr "发现的任何问题都会报告在一个漂亮且易于使用的列表中。 单击列表中的任何条目会显示有关该错误的一些帮助,并为您提供自动修复该错误的选项,如果该错误可以自动修复。 您还可以双击错误以在编辑器中打开错误位置,以便您可以自行修复。" #: ../../../__w/calibre/calibre/manual/edit.rst:339 msgid "Some of the checks performed are:" msgstr "执行的一些检查包括:" #: ../../../__w/calibre/calibre/manual/edit.rst:341 msgid "" "Malformed HTML markup. Any HTML markup that does not parse as well-formed " "XML is reported. Correcting it will ensure that your markup works as " "intended in all contexts. calibre can also auto-fix these errors, but auto-" "fixing can sometimes have unexpected effects, so use with care. As always, a" " checkpoint is created before auto-fixing so you can easily revert all " "changes. Auto-fixing works by parsing the markup using the HTML5 algorithm, " "which is highly fault tolerant and then converting to well formed XML." msgstr "HTML 标记格式错误。 任何不能解析为格式良好的 XML 的 HTML 标记都会被报告。 纠正它将确保您的标记在所有上下文中都能按预期工作。 calibre 还可以自动修复这些错误,但自动修复有时会产生意想不到的效果,因此请谨慎使用。 与往常一样,在自动修复之前会创建一个检查点,以便您可以轻松恢复所有更改。 自动修复的工作原理是使用 HTML5 算法解析标记,该算法具有高度容错性,然后转换为格式良好的 XML。" #: ../../../__w/calibre/calibre/manual/edit.rst:350 msgid "" "Malformed or unknown CSS styles. Any CSS that is not valid or that has " "properties not defined in the CSS 2.1 standard (plus a few from CSS 3) are " "reported. CSS is checked in all stylesheets, inline style attributes and " "