| 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 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: calibre\n" |
| 9 |
"Report-Msgid-Bugs-To: \n" |
| 10 |
"POT-Creation-Date: 2022-07-10 16:17+0000\n" |
| 11 |
"PO-Revision-Date: 2014-06-17 08:37+0000\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: Chinese (Hong Kong) (http://www.transifex.com/calibre/calibre/language/zh_HK/)\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Language: zh_HK\n" |
| 18 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 19 |
|
| 20 |
#: ../../__w/calibre/calibre/manual/customize.rst:6 |
| 21 |
msgid "Customizing calibre" |
| 22 |
msgstr "自訂 calibre" |
| 23 |
|
| 24 |
#: ../../__w/calibre/calibre/manual/customize.rst:8 |
| 25 |
msgid "" |
| 26 |
"calibre has a highly modular design. Various parts of it can be customized." |
| 27 |
" Here, you will learn:" |
| 28 |
msgstr "" |
| 29 |
|
| 30 |
#: ../../__w/calibre/calibre/manual/customize.rst:10 |
| 31 |
msgid "" |
| 32 |
"how to use environment variables and *tweaks* to customize calibre's " |
| 33 |
"behavior," |
| 34 |
msgstr "" |
| 35 |
|
| 36 |
#: ../../__w/calibre/calibre/manual/customize.rst:11 |
| 37 |
msgid "" |
| 38 |
"how to specify your own static resources like icons and templates to " |
| 39 |
"override the defaults" |
| 40 |
msgstr "" |
| 41 |
|
| 42 |
#: ../../__w/calibre/calibre/manual/customize.rst:12 |
| 43 |
msgid "how to use *plugins* to add functionality to calibre." |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#: ../../__w/calibre/calibre/manual/customize.rst:13 |
| 47 |
msgid "how to share icon themes and plugins with other calibre users." |
| 48 |
msgstr "" |
| 49 |
|
| 50 |
#: ../../__w/calibre/calibre/manual/customize.rst:14 |
| 51 |
msgid "" |
| 52 |
"to see how to create *recipes* to add new sources of online content to " |
| 53 |
"calibre visit the Section :ref:`news`." |
| 54 |
msgstr "" |
| 55 |
|
| 56 |
#: ../../__w/calibre/calibre/manual/customize.rst:17 |
| 57 |
msgid "" |
| 58 |
"Note that although icon themes and plugins are indexed and downloadable via " |
| 59 |
"calibre's builtin updater, they are not part of calibre, and their canonical" |
| 60 |
" locations for support and source code are on the `Mobileread forums " |
| 61 |
"<https://www.mobileread.com/forums/forumdisplay.php?f=166>`__ in their " |
| 62 |
"support threads." |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#: ../../__w/calibre/calibre/manual/customize.rst:33 |
| 66 |
msgid "Environment variables" |
| 67 |
msgstr "環境變數" |
| 68 |
|
| 69 |
#: ../../__w/calibre/calibre/manual/customize.rst:35 |
| 70 |
msgid "" |
| 71 |
"``CALIBRE_CONFIG_DIRECTORY`` - sets the folder where configuration files are" |
| 72 |
" stored/read." |
| 73 |
msgstr "" |
| 74 |
|
| 75 |
#: ../../__w/calibre/calibre/manual/customize.rst:36 |
| 76 |
msgid "``CALIBRE_TEMP_DIR`` - sets the temporary folder used by calibre" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#: ../../__w/calibre/calibre/manual/customize.rst:37 |
| 80 |
msgid "" |
| 81 |
"``CALIBRE_CACHE_DIRECTORY`` - sets the folder calibre uses to cache " |
| 82 |
"persistent data between sessions" |
| 83 |
msgstr "" |
| 84 |
|
| 85 |
#: ../../__w/calibre/calibre/manual/customize.rst:38 |
| 86 |
msgid "" |
| 87 |
"``CALIBRE_OVERRIDE_DATABASE_PATH`` - allows you to specify the full path to " |
| 88 |
"metadata.db. Using this variable you can have metadata.db be in a location " |
| 89 |
"other than the library folder. Useful if your library folder is on a " |
| 90 |
"networked drive that does not support file locking." |
| 91 |
msgstr "``CALIBRE_OVERRIDE_DATABASE_PATH`` -允许您指定metadata.db的完整路径。使用此变量可以使metadata.db位于库文件夹以外的位置。如果库文件夹位于不支持文件锁定的网络驱动器上,则此选项非常有用。" |
| 92 |
|
| 93 |
#: ../../__w/calibre/calibre/manual/customize.rst:39 |
| 94 |
msgid "" |
| 95 |
"``CALIBRE_DEVELOP_FROM`` - used to run from a calibre development " |
| 96 |
"environment. See :ref:`develop`." |
| 97 |
msgstr "" |
| 98 |
|
| 99 |
#: ../../__w/calibre/calibre/manual/customize.rst:40 |
| 100 |
msgid "" |
| 101 |
"``CALIBRE_OVERRIDE_LANG`` - used to force the language used by the interface" |
| 102 |
" (ISO 639 language code)" |
| 103 |
msgstr "" |
| 104 |
|
| 105 |
#: ../../__w/calibre/calibre/manual/customize.rst:41 |
| 106 |
msgid "" |
| 107 |
"``CALIBRE_TEST_TRANSLATION`` - used to test a translation .po file (should " |
| 108 |
"be the path to the .po file)" |
| 109 |
msgstr "" |
| 110 |
|
| 111 |
#: ../../__w/calibre/calibre/manual/customize.rst:42 |
| 112 |
msgid "" |
| 113 |
"``CALIBRE_NO_NATIVE_FILEDIALOGS`` - causes calibre to not use native file " |
| 114 |
"dialogs for selecting files/folders." |
| 115 |
msgstr "" |
| 116 |
|
| 117 |
#: ../../__w/calibre/calibre/manual/customize.rst:43 |
| 118 |
msgid "" |
| 119 |
"``CALIBRE_NO_NATIVE_MENUBAR`` - causes calibre to not create a native " |
| 120 |
"(global) menu on Ubuntu Unity and similar Linux desktop environments. The " |
| 121 |
"menu is instead placed inside the window, as is traditional." |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#: ../../__w/calibre/calibre/manual/customize.rst:44 |
| 125 |
msgid "" |
| 126 |
"``CALIBRE_USE_SYSTEM_THEME`` - by default, on Linux, calibre uses its own " |
| 127 |
"builtin Qt style. This is to avoid crashes and hangs caused by " |
| 128 |
"incompatibilities between the version of Qt calibre is built against and the" |
| 129 |
" system Qt. The downside is that calibre may not follow the system look and " |
| 130 |
"feel. If you set this environment variable on Linux, it will cause calibre " |
| 131 |
"to use the system theme -- beware of crashes and hangs." |
| 132 |
msgstr "" |
| 133 |
|
| 134 |
#: ../../__w/calibre/calibre/manual/customize.rst:50 |
| 135 |
msgid "" |
| 136 |
"``CALIBRE_SHOW_DEPRECATION_WARNINGS`` - causes calibre to print deprecation " |
| 137 |
"warnings to stdout. Useful for calibre developers." |
| 138 |
msgstr "" |
| 139 |
|
| 140 |
#: ../../__w/calibre/calibre/manual/customize.rst:51 |
| 141 |
msgid "" |
| 142 |
"``CALIBRE_NO_DEFAULT_PROGRAMS`` - prevent calibre from automatically " |
| 143 |
"registering the filetypes it is capable of handling with Windows." |
| 144 |
msgstr "" |
| 145 |
|
| 146 |
#: ../../__w/calibre/calibre/manual/customize.rst:52 |
| 147 |
msgid "``SYSFS_PATH`` - Use if sysfs is mounted somewhere other than /sys" |
| 148 |
msgstr "``SYSFS_PATH`` - 如果sysfs安装在/sys以外的其他位置,则使用" |
| 149 |
|
| 150 |
#: ../../__w/calibre/calibre/manual/customize.rst:53 |
| 151 |
msgid "" |
| 152 |
"``http_proxy``, ``https_proxy`` - used on Linux to specify an HTTP(S) proxy" |
| 153 |
msgstr "" |
| 154 |
|
| 155 |
#: ../../__w/calibre/calibre/manual/customize.rst:55 |
| 156 |
msgid "" |
| 157 |
"See `How to set environment variables in Windows " |
| 158 |
"<https://www.computerhope.com/issues/ch000549.htm>`_. If you are on macOS " |
| 159 |
"you can set environment variables by creating the " |
| 160 |
":file:`~/Library/Preferences/calibre/macos-env.txt` and putting the " |
| 161 |
"environment variables one per line in it, for example::" |
| 162 |
msgstr "请参阅`如何在Windows中设置环境变量<https://www.computerhope.com/issues/ch000549.htm>`_。如果您使用的是macOS,可以通过创建以下文件来设置环境变量:file:`~/Library/Preferences/calibre/macOS env.txt`,并在其中每行放置一个环境变量,例如:" |
| 163 |
|
| 164 |
#: ../../__w/calibre/calibre/manual/customize.rst:65 |
| 165 |
msgid "Tweaks" |
| 166 |
msgstr "調校設定" |
| 167 |
|
| 168 |
#: ../../__w/calibre/calibre/manual/customize.rst:67 |
| 169 |
msgid "" |
| 170 |
"Tweaks are small changes that you can specify to control various aspects of " |
| 171 |
"calibre's behavior. You can change them by going to " |
| 172 |
"Preferences->Advanced->Tweaks. The default values for the tweaks are " |
| 173 |
"reproduced below" |
| 174 |
msgstr "调整是可以指定以控制calibre行为的各个方面的小更改。您可以通过转到“首选项”->“高级”->“调整”来更改它们。以下是参数的默认值" |
| 175 |
|
| 176 |
#: ../../__w/calibre/calibre/manual/customize.rst:74 |
| 177 |
msgid "Overriding icons, templates, et cetera" |
| 178 |
msgstr "取代图标,模板,等等" |
| 179 |
|
| 180 |
#: ../../__w/calibre/calibre/manual/customize.rst:77 |
| 181 |
msgid "" |
| 182 |
"calibre has direct support for icon themes, there are several icon themes " |
| 183 |
"available for calibre, that you can use by going to " |
| 184 |
":guilabel:`Preferences->Interface->Look & Feel->Change Icon theme`. It is " |
| 185 |
"preferable to use icon themes over overriding individual icons." |
| 186 |
msgstr "" |
| 187 |
|
| 188 |
#: ../../__w/calibre/calibre/manual/customize.rst:82 |
| 189 |
msgid "" |
| 190 |
"calibre allows you to override the static resources, like icons, JavaScript " |
| 191 |
"and templates for the metadata jacket, catalogs, etc. with customized " |
| 192 |
"versions that you like. All static resources are stored in the resources " |
| 193 |
"sub-folder of the calibre install location. On Windows, this is usually " |
| 194 |
":file:`C:\\\\Program Files\\\\Calibre2\\\\app\\\\resources`. On macOS, " |
| 195 |
":file:`/Applications/calibre.app/Contents/Resources/resources/`. On Linux, " |
| 196 |
"if you are using the binary installer from the calibre website it will be " |
| 197 |
":file:`/opt/calibre/resources`. These paths can change depending on where " |
| 198 |
"you choose to install calibre." |
| 199 |
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的位置而更改。" |
| 200 |
|
| 201 |
#: ../../__w/calibre/calibre/manual/customize.rst:91 |
| 202 |
msgid "" |
| 203 |
"You should not change the files in this resources folder, as your changes " |
| 204 |
"will get overwritten the next time you update calibre. Instead, go to " |
| 205 |
":guilabel:`Preferences->Advanced->Miscellaneous` and click :guilabel:`Open " |
| 206 |
"calibre configuration folder`. In this configuration folder, create a sub-" |
| 207 |
"folder called resources and place the files you want to override in it. " |
| 208 |
"Place the files in the appropriate sub folders, for example place images in " |
| 209 |
":file:`resources/images`, etc. calibre will automatically use your custom " |
| 210 |
"file in preference to the built-in one the next time it is started." |
| 211 |
msgstr "" |
| 212 |
|
| 213 |
#: ../../__w/calibre/calibre/manual/customize.rst:100 |
| 214 |
msgid "" |
| 215 |
"For example, if you wanted to change the icon for the :guilabel:`Remove " |
| 216 |
"books` action, you would first look in the built-in resources folder and see" |
| 217 |
" that the relevant file is :file:`resources/images/remove_books.png`. " |
| 218 |
"Assuming you have an alternate icon in PNG format called " |
| 219 |
":file:`my_remove_books.png` you would save it in the configuration folder as" |
| 220 |
" :file:`resources/images/remove_books.png`. All the icons used by the " |
| 221 |
"calibre user interface are in :file:`resources/images` and its sub-folders. " |
| 222 |
"Placing an override file here will have even higher priority than a custom " |
| 223 |
"icon theme." |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#: ../../__w/calibre/calibre/manual/customize.rst:110 |
| 227 |
msgid "Creating your own icon theme for calibre" |
| 228 |
msgstr "制作您自己的Calibre图标和主题" |
| 229 |
|
| 230 |
#: ../../__w/calibre/calibre/manual/customize.rst:112 |
| 231 |
msgid "" |
| 232 |
"If you have created a beautiful set of icons and wish to share them with " |
| 233 |
"other calibre users via calibre's builtin icon theme support, you can easily" |
| 234 |
" package up your icons into a theme. To do so, go to " |
| 235 |
":guilabel:`Preferences->Miscellaneous->Create icon theme`, select the folder" |
| 236 |
" where you have put your icons (usually the :file:`resources/images` folder " |
| 237 |
"in the calibre config folder, as described above). Then fill up the theme " |
| 238 |
"metadata and click OK. This will result in a ZIP file containing the theme " |
| 239 |
"icons. You can upload that to the calibre forum at `Mobileread " |
| 240 |
"<https://www.mobileread.com/forums/forumdisplay.php?f=166>`__ and then I " |
| 241 |
"will make your theme available via calibre's builtin icon theme system." |
| 242 |
msgstr "" |
| 243 |
|
| 244 |
#: ../../__w/calibre/calibre/manual/customize.rst:125 |
| 245 |
msgid "Customizing calibre with plugins" |
| 246 |
msgstr "用插件自定义Calibre" |
| 247 |
|
| 248 |
#: ../../__w/calibre/calibre/manual/customize.rst:127 |
| 249 |
msgid "" |
| 250 |
"calibre has a very modular design. Almost all functionality in calibre comes" |
| 251 |
" in the form of plugins. Plugins are used for conversion, for downloading " |
| 252 |
"news (though these are called recipes), for various components of the user " |
| 253 |
"interface, to connect to different devices, to process files when adding " |
| 254 |
"them to calibre and so on. You can get a complete list of all the built-in " |
| 255 |
"plugins in calibre by going to :guilabel:`Preferences->Advanced->Plugins`." |
| 256 |
msgstr "Calibre是以模块化的形式设计的,其所有功能几乎都以插件的形式实现。这些插件用作于文本转换、新闻(或称之为诀窍)下载,和用户界面的各种组件,来连接到不同的设备,或在将文件添加到Calibre时处理他们等等。您可以在“选项→高级→插件”中完整地得到在Cailbre里已经内建的插件清单。" |
| 257 |
|
| 258 |
#: ../../__w/calibre/calibre/manual/customize.rst:134 |
| 259 |
msgid "" |
| 260 |
"You can write your own plugins to customize and extend the behavior of " |
| 261 |
"calibre. The plugin architecture in calibre is very simple, see the tutorial" |
| 262 |
" :ref:`pluginstutorial`." |
| 263 |
msgstr "您可以编写自己的插件来定制和扩展calibre的行为。calibre中的插件架构非常简单,请参阅教程:ref:`pluginstutorial`。" |
| 264 |
|
| 265 |
#: ../../__w/calibre/calibre/manual/customize.rst:138 |
| 266 |
msgid "" |
| 267 |
"Once you have written a plugin, you can upload that to the calibre plugins " |
| 268 |
"forum at `Mobileread " |
| 269 |
"<https://www.mobileread.com/forums/forumdisplay.php?f=237>`__ and it will be" |
| 270 |
" made available via calibre's builtin plugin updater." |
| 271 |
msgstr "" |