# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # Dennis Chu, 2023 # sodais, 2017 # c3ada3ecdd62e53eb294689a9c03d273_970c2b3 , 2015 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-03-09 03:59+0000\n" "PO-Revision-Date: 2014-06-17 08:37+0000\n" "Last-Translator: Dennis Chu, 2023\n" "Language-Team: Chinese (Taiwan) (http://www.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/customize.rst:6 msgid "Customizing calibre" msgstr "自訂 calibre" #: ../../__w/calibre/calibre/manual/customize.rst:8 msgid "" "calibre has a highly modular design. Various parts of it can be customized." " Here, you will learn:" msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:10 msgid "" "how to use environment variables and *tweaks* to customize calibre's " "behavior," msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:11 msgid "" "how to specify your own static resources like icons and templates to " "override the defaults" msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:12 msgid "how to use *plugins* to add functionality to calibre." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:13 msgid "how to share icon themes and plugins with other calibre users." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:14 msgid "" "to see how to create *recipes* to add new sources of online content to " "calibre visit the Section :ref:`news`." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:17 msgid "" "Note that although icon themes and plugins are indexed and downloadable via " "calibre's builtin updater, they are not part of calibre, and their canonical" " locations for support and source code are on the `Mobileread forums " "`__ in their " "support threads." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:36 msgid "Environment variables" msgstr "環境變數" #: ../../__w/calibre/calibre/manual/customize.rst:38 msgid "" "``CALIBRE_CONFIG_DIRECTORY`` - sets the folder where configuration files are" " stored/read." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:39 msgid "``CALIBRE_TEMP_DIR`` - sets the temporary folder used by calibre" msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:40 msgid "" "``CALIBRE_CACHE_DIRECTORY`` - sets the folder calibre uses to cache " "persistent data between sessions" msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:41 msgid "" "``CALIBRE_OVERRIDE_DATABASE_PATH`` - allows you to specify the full path to " "metadata.db. Using this variable you can have metadata.db be in a location " "other than the library folder. Useful if your library folder is on a " "networked drive that does not support file locking." msgstr "``CALIBRE_OVERRIDE_DATABASE_PATH`` -允许您指定metadata.db的完整路径。使用此变量可以使metadata.db位于库文件夹以外的位置。如果库文件夹位于不支持文件锁定的网络驱动器上,则此选项非常有用。" #: ../../__w/calibre/calibre/manual/customize.rst:42 msgid "" "``CALIBRE_DEVELOP_FROM`` - used to run from a calibre development " "environment. See :ref:`develop`." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:43 msgid "" "``CALIBRE_OVERRIDE_LANG`` - used to force the language used by the interface" " (ISO 639 language code)" msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:44 msgid "" "``CALIBRE_TEST_TRANSLATION`` - used to test a translation .po file (should " "be the path to the .po file)" msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:45 msgid "" "``CALIBRE_NO_NATIVE_FILEDIALOGS`` - causes calibre to not use native file " "dialogs for selecting files/folders." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:46 msgid "" "``CALIBRE_NO_NATIVE_MENUBAR`` - causes calibre to not create a native " "(global) menu on Ubuntu Unity and similar Linux desktop environments. The " "menu is instead placed inside the window, as is traditional." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:47 msgid "" "``CALIBRE_USE_SYSTEM_THEME`` - by default, on Linux, calibre uses its own " "builtin Qt style. This is to avoid crashes and hangs caused by " "incompatibilities between the version of Qt calibre is built against and the" " system Qt. The downside is that calibre may not follow the system look and " "feel. If you set this environment variable on Linux, it will cause calibre " "to use the system theme -- beware of crashes and hangs." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:53 msgid "" "``CALIBRE_SHOW_DEPRECATION_WARNINGS`` - causes calibre to print deprecation " "warnings to stdout. Useful for calibre developers." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:54 msgid "" "``CALIBRE_NO_DEFAULT_PROGRAMS`` - prevent calibre from automatically " "registering the filetypes it is capable of handling with Windows." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:55 msgid "" "``QT_QPA_PLATFORM`` - On Linux set this to ``wayland`` to force calibre to " "use Wayland and ``xcb`` to force use of X11." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:56 msgid "``SYSFS_PATH`` - Use if sysfs is mounted somewhere other than /sys" msgstr "``SYSFS_PATH`` - 如果sysfs安装在/sys以外的其他位置,则使用" #: ../../__w/calibre/calibre/manual/customize.rst:57 msgid "" "``http_proxy``, ``https_proxy`` - used on Linux to specify an HTTP(S) proxy" msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:59 msgid "" "See `How to set environment variables in Windows " "`_. If you are on macOS " "you can set environment variables by creating the " ":file:`~/Library/Preferences/calibre/macos-env.txt` and putting the " "environment variables one per line in it, for example::" msgstr "请参阅`如何在Windows中设置环境变量`_。如果您使用的是macOS,可以通过创建以下文件来设置环境变量:file:`~/Library/Preferences/calibre/macOS env.txt`,并在其中每行放置一个环境变量,例如:" #: ../../__w/calibre/calibre/manual/customize.rst:69 msgid "Tweaks" msgstr "調整" #: ../../__w/calibre/calibre/manual/customize.rst:71 msgid "" "Tweaks are small changes that you can specify to control various aspects of " "calibre's behavior. You can change them by going to " "Preferences->Advanced->Tweaks. The default values for the tweaks are " "reproduced below" msgstr "调整是可以指定以控制calibre行为的各个方面的小更改。您可以通过转到“首选项”->“高级”->“调整”来更改它们。以下是参数的默认值" #: ../../__w/calibre/calibre/manual/customize.rst:78 msgid "Overriding icons, templates, et cetera" msgstr "取代图标,模板,等等" #: ../../__w/calibre/calibre/manual/customize.rst:81 msgid "" "calibre has direct support for icon themes, there are several icon themes " "available for calibre, that you can use by going to " ":guilabel:`Preferences->Interface->Look & Feel->Change icon theme`. It is " "preferable to use icon themes over overriding individual icons." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:86 msgid "" "calibre allows you to override the static resources, like icons, JavaScript " "and templates for the metadata jacket, catalogs, etc. with customized " "versions that you like. All static resources are stored in the resources " "sub-folder of the calibre install location. On Windows, this is usually " ":file:`C:\\\\Program Files\\\\Calibre2\\\\app\\\\resources`. On macOS, " ":file:`/Applications/calibre.app/Contents/Resources/resources/`. On Linux, " "if you are using the binary installer from the calibre website it will be " ":file:`/opt/calibre/resources`. These paths can change depending on where " "you choose to install calibre." msgstr "calibre允许您使用您喜欢的自定义版本覆盖静态资源,如图标、JavaScript和元数据封套模板、目录等。所有静态资源都存储在calibre安装位置的resources子文件夹中。在Windows上,这通常是文件:`C:\\\\Program Files\\\\Calibre2\\\\app\\\\resources`。在macOS上,通常是:`/Applications/calibre.app/Contents/Resources/Resources/`。在Linux上,如果您使用calibre网站上的二进制安装程序,它将是:`/opt/calibre/resources`。这些路径可以根据您选择安装calibre的位置而更改。" #: ../../__w/calibre/calibre/manual/customize.rst:95 msgid "" "You should not change the files in this resources folder, as your changes " "will get overwritten the next time you update calibre. Instead, go to " ":guilabel:`Preferences->Advanced->Miscellaneous` and click :guilabel:`Open " "calibre configuration folder`. In this configuration folder, create a sub-" "folder called resources and place the files you want to override in it. " "Place the files in the appropriate sub folders, for example place images in " ":file:`resources/images`, etc. calibre will automatically use your custom " "file in preference to the built-in one the next time it is started." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:104 msgid "" "For example, if you wanted to change the icon for the :guilabel:`Remove " "books` action, you would first look in the built-in resources folder and see" " that the relevant file is :file:`resources/images/remove_books.png`. " "Assuming you have an alternate icon in PNG format called " ":file:`my_remove_books.png` you would save it in the configuration folder as" " :file:`resources/images/remove_books.png`. All the icons used by the " "calibre user interface are in :file:`resources/images` and its sub-folders. " "Placing an override file here will have even higher priority than a custom " "icon theme." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:114 msgid "Creating your own icon theme for calibre" msgstr "製作您自己的 calibre 圖示主題" #: ../../__w/calibre/calibre/manual/customize.rst:116 msgid "" "If you have created a beautiful set of icons and wish to share them with " "other calibre users via calibre's builtin icon theme support, you can easily" " package up your icons into a theme. To do so, go to " ":guilabel:`Preferences->Miscellaneous->Create icon theme`, select the folder" " where you have put your icons. Then fill up the theme metadata and click " "OK. This will result in a ZIP file containing the theme icons. You can " "upload that to the calibre forum at `Mobileread " "`__ and then I " "will make your theme available via calibre's builtin icon theme system. By " "default, the icon theme you just created will also be installed as the " "current theme in calibre. If you are testing your theme, remember to remove " "the images from the :file:`resources/images` folder so that the icons from " "the theme are used." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:130 msgid "" "As of calibre 6, you can have custom icons for light and dark mode. Simply " "create two versions of the icon and name the files with the suffix ``-for-" "dark-theme`` and ``-for-light-theme``. For example, ``modified-for-dark-" "theme.png`` and ``modified-for-light-theme.png``. Then calibre will " "automatically use the appropriate icon based on the current theme." msgstr "" #: ../../__w/calibre/calibre/manual/customize.rst:137 msgid "Customizing calibre with plugins" msgstr "用插件自定义Calibre" #: ../../__w/calibre/calibre/manual/customize.rst:139 msgid "" "calibre has a very modular design. Almost all functionality in calibre comes" " in the form of plugins. Plugins are used for conversion, for downloading " "news (though these are called recipes), for various components of the user " "interface, to connect to different devices, to process files when adding " "them to calibre and so on. You can get a complete list of all the built-in " "plugins in calibre by going to :guilabel:`Preferences->Advanced->Plugins`." msgstr "Calibre是以模块化的形式设计的,其所有功能几乎都以插件的形式实现。这些插件用作于文本转换、新闻(或称之为诀窍)下载,和用户界面的各种组件,来连接到不同的设备,或在将文件添加到Calibre时处理他们等等。您可以在“选项→高级→插件”中完整地得到在Cailbre里已经内建的插件清单。" #: ../../__w/calibre/calibre/manual/customize.rst:146 msgid "" "You can write your own plugins to customize and extend the behavior of " "calibre. The plugin architecture in calibre is very simple, see the tutorial" " :ref:`pluginstutorial`." msgstr "您可以编写自己的插件来定制和扩展calibre的行为。calibre中的插件架构非常简单,请参阅教程:ref:`pluginstutorial`。" #: ../../__w/calibre/calibre/manual/customize.rst:150 msgid "" "Once you have written a plugin, you can upload that to the calibre plugins " "forum at `Mobileread " "`__ and it will be" " made available via calibre's builtin plugin updater." msgstr ""