Debian Codegraph @

translations/manual/zh_CN/customize.po

raw
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 # Krabapple K <[email protected]>, 2016
7 # nhyj <[email protected]>, 2015
8 # RERBIN MA, 2025-2026
9 # tony shen <[email protected]>, 2020,2023-2024
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: calibre\n"
13 "Report-Msgid-Bugs-To: \n"
14 "POT-Creation-Date: 2026-03-12 02:31+0000\n"
15 "PO-Revision-Date: 2014-06-17 08:37+0000\n"
16 "Last-Translator: RERBIN MA, 2025-2026\n"
17 "Language-Team: Chinese (China) (http://app.transifex.com/calibre/calibre/language/zh_CN/)\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Language: zh_CN\n"
22 "Plural-Forms: nplurals=1; plural=0;\n"
23
24 #: ../../../__w/calibre/calibre/manual/customize.rst:6
25 msgid "Customizing calibre"
26 msgstr "自定义Calibre"
27
28 #: ../../../__w/calibre/calibre/manual/customize.rst:8
29 msgid ""
30 "calibre has a highly modular design. Various parts of it can be customized."
31 " Here, you will learn:"
32 msgstr "Calibre拥有高度模块化的设计。它的各个部分都可以定制。在这里,您将了解到:"
33
34 #: ../../../__w/calibre/calibre/manual/customize.rst:10
35 msgid ""
36 "how to use environment variables and *tweaks* to customize calibre's "
37 "behavior,"
38 msgstr "如何使用环境变量和“调整”来定制calibre的行为,"
39
40 #: ../../../__w/calibre/calibre/manual/customize.rst:11
41 msgid ""
42 "how to specify your own static resources like icons and templates to "
43 "override the defaults"
44 msgstr "如何指定自己的静态资源,如图标和模板,以覆盖默认设置"
45
46 #: ../../../__w/calibre/calibre/manual/customize.rst:12
47 msgid "how to use *plugins* to add functionality to calibre."
48 msgstr "如何使用*插件*为Calibre添加功能。"
49
50 #: ../../../__w/calibre/calibre/manual/customize.rst:13
51 msgid "how to share icon themes and plugins with other calibre users."
52 msgstr "如何与其他calibre用户共享图标主题和插件。"
53
54 #: ../../../__w/calibre/calibre/manual/customize.rst:14
55 msgid ""
56 "to see how to create *recipes* to add new sources of online content to "
57 "calibre visit the Section :ref:`news`."
58 msgstr "要了解如何创建“新闻源”以向calibre添加新的在线内容来源,请访问章节:`新闻`。"
59
60 #: ../../../__w/calibre/calibre/manual/customize.rst:17
61 msgid ""
62 "Note that although icon themes and plugins are indexed and downloadable via "
63 "calibre's builtin updater, they are not part of calibre, and their canonical"
64 " locations for support and source code are on the `Mobileread forums "
65 "<https://www.mobileread.com/forums/forumdisplay.php?f=166>`__ in their "
66 "support threads."
67 msgstr "请注意,虽然图标主题和插件通过calibre的内置更新程序进行索引和下载,但它们不是calibre中的一部分,它们的支持及其源代码的规范位置在“Mobileread论坛 <https://www.mobileread.com/forums/forumdisplay.php?f=166>”其支持的主题中。"
68
69 #: ../../../__w/calibre/calibre/manual/customize.rst:36
70 msgid "Environment variables"
71 msgstr "环境变量"
72
73 #: ../../../__w/calibre/calibre/manual/customize.rst:38
74 msgid ""
75 "``CALIBRE_CONFIG_DIRECTORY`` - sets the folder where configuration files are"
76 " stored/read."
77 msgstr "``CALIBRE_CONFIG_DIRECTORY`` - 设置存储/读取配置文件的文件夹。"
78
79 #: ../../../__w/calibre/calibre/manual/customize.rst:39
80 msgid "``CALIBRE_TEMP_DIR`` - sets the temporary folder used by calibre"
81 msgstr "``CALIBRE_TEMP_DIR`` - 设置calibre使用的临时文件夹"
82
83 #: ../../../__w/calibre/calibre/manual/customize.rst:40
84 msgid ""
85 "``CALIBRE_CACHE_DIRECTORY`` - sets the folder calibre uses to cache "
86 "persistent data between sessions"
87 msgstr "``CALIBRE_CACHE_DIRECTORY`` - 设置用于在会话之间缓存持久数据的文件夹calibre"
88
89 #: ../../../__w/calibre/calibre/manual/customize.rst:41
90 msgid ""
91 "``CALIBRE_OVERRIDE_DATABASE_PATH`` - allows you to specify the full path to "
92 "metadata.db. Using this variable you can have metadata.db be in a location "
93 "other than the library folder. Useful if your library folder is on a "
94 "networked drive that does not support file locking."
95 msgstr "``CALIBRE_OVERRIDE_DATABASE_PATH`` -允许您指定 metadata.db的完整路径。使用此变量可以使metadata.db位于库文件夹以外的位置。如果库文件夹位于不支持文件锁定的网络驱动器上,则此选项非常有用。"
96
97 #: ../../../__w/calibre/calibre/manual/customize.rst:42
98 msgid ""
99 "``CALIBRE_ALLOW_PYTHON_TEMPLATES`` - if set to a value other than ``1`` "
100 "disables the use of Python based templates in calibre."
101 msgstr "``CALIBRE_ALLOW_PYTHON_TEMPLATES``——如果该环境变量被设置为除 1 以外的值,将禁用 Calibre 中基于 Python 的模板功能"
102
103 #: ../../../__w/calibre/calibre/manual/customize.rst:43
104 msgid ""
105 "``CALIBRE_DEVELOP_FROM`` - used to run from a calibre development "
106 "environment. See :ref:`develop`."
107 msgstr "``CALIBRE_DEVELOP_FROM`` - 用于在高质量的开发环境中运行。请参见:`开发`。"
108
109 #: ../../../__w/calibre/calibre/manual/customize.rst:44
110 msgid ""
111 "``CALIBRE_OVERRIDE_LANG`` - used to force the language used by the interface"
112 " (ISO 639 language code)"
113 msgstr "``CALIBRE_OVERRIDE_LANG`` - 用于强制界面使用的语言(ISO 639语言代码)"
114
115 #: ../../../__w/calibre/calibre/manual/customize.rst:45
116 msgid ""
117 "``CALIBRE_TEST_TRANSLATION`` - used to test a translation .po file (should "
118 "be the path to the .po file)"
119 msgstr "``CALIBRE_TEST_TRANSLATION`` - 用于测试翻译的.po文件(应该是.po文件的路径)"
120
121 #: ../../../__w/calibre/calibre/manual/customize.rst:46
122 msgid ""
123 "``CALIBRE_NO_NATIVE_FILEDIALOGS`` - causes calibre to not use native file "
124 "dialogs for selecting files/folders."
125 msgstr "``CALIBRE_NO_NATIVE_FILEDIALOGS`` - 导致calibre在选择文件/文件夹时不使用本机文件对话框。"
126
127 #: ../../../__w/calibre/calibre/manual/customize.rst:47
128 msgid ""
129 "``CALIBRE_NO_NATIVE_MENUBAR`` - causes calibre to not create a native "
130 "(global) menu on Ubuntu Unity and similar Linux desktop environments. The "
131 "menu is instead placed inside the window, as is traditional."
132 msgstr "``CALIBRE_NO_NATIVE_MENUBAR`` - 导致calibre无法在Ubuntu Unity和类似的Linux桌面环境中创建本地(全局)菜单。与传统一样,菜单放在窗口内。"
133
134 #: ../../../__w/calibre/calibre/manual/customize.rst:48
135 msgid ""
136 "``CALIBRE_USE_SYSTEM_THEME`` - by default, on Linux, calibre uses its own "
137 "builtin Qt style. This is to avoid crashes and hangs caused by "
138 "incompatibilities between the version of Qt calibre is built against and the"
139 " system Qt. The downside is that calibre may not follow the system look and "
140 "feel. If you set this environment variable on Linux, it will cause calibre "
141 "to use the system theme -- beware of crashes and hangs."
142 msgstr "``CALIBRE_USE_SYSTEM_THEME`` - 默认情况下,在Linux上,Calibre使用自己的内置Qt样式。这是为了避免因构建的Qt Calibre版本与系统Qt之间不兼容而导致的崩溃和挂起。缺点是,Calibre可能不符合系统的外观和感觉。如果在Linux上设置此环境变量,则会导致calibre使用系统主题——当心崩溃和挂起。"
143
144 #: ../../../__w/calibre/calibre/manual/customize.rst:54
145 msgid ""
146 "``CALIBRE_SHOW_DEPRECATION_WARNINGS`` - causes calibre to print deprecation "
147 "warnings to stdout. Useful for calibre developers."
148 msgstr "``CALIBRE_SHOW_DEPRECATION_WARNINGS`` - 使Calibre将弃用警告打印到标准输出。\n对Calibre开发人员非常有用。"
149
150 #: ../../../__w/calibre/calibre/manual/customize.rst:55
151 msgid ""
152 "``CALIBRE_NO_DEFAULT_PROGRAMS`` - prevent calibre from automatically "
153 "registering the filetypes it is capable of handling with Windows."
154 msgstr "``CALIBRE_NO_DEFAULT_PROGRAMS`` - 防止Calibre自动注册其能够使用Windows处理的文件类型。"
155
156 #: ../../../__w/calibre/calibre/manual/customize.rst:56
157 msgid ""
158 "``CALIBRE_USE_SYSTEM_CERTIFICATES`` - make calibre use the system "
159 "certificate store for SSL certificate verification instead of its own "
160 "certificate store on Windows and macOS."
161 msgstr "``CALIBRE_USE_SYSTEM_CERTIFICATES`` —— 让 calibre 在 Windows 和 macOS 上使用系统的证书存储来进行 SSL 证书验证,而不是使用它自带的证书存储。"
162
163 #: ../../../__w/calibre/calibre/manual/customize.rst:57
164 msgid "``CALIBRE_NO_ICONS_IN_MENUS`` - Disable icons in menus"
165 msgstr "``CALIBRE_NO_ICONS_IN_MENUS`` - 禁用菜单中的图标"
166
167 #: ../../../__w/calibre/calibre/manual/customize.rst:58
168 msgid ""
169 "``QT_QPA_PLATFORM`` - On Linux set this to ``wayland`` to force calibre to "
170 "use Wayland and ``xcb`` to force use of X11."
171 msgstr "``QT_QPA_PLATFORM`` - 在Linux上,将此设置为“wayland”以强制calibre使用wayland,将其设置为“xcb”以强制使用X11。"
172
173 #: ../../../__w/calibre/calibre/manual/customize.rst:59
174 msgid "``SYSFS_PATH`` - Use if sysfs is mounted somewhere other than /sys"
175 msgstr "``SYSFS_PATH`` - 如果sysfs安装在/sys以外的其他位置,则使用"
176
177 #: ../../../__w/calibre/calibre/manual/customize.rst:60
178 msgid ""
179 "``http_proxy``, ``https_proxy`` - used on Linux to specify an HTTP(S) proxy"
180 msgstr "``http_proxy``, ``https_proxy`` - 在Linux上用于指定HTTP(S)代理"
181
182 #: ../../../__w/calibre/calibre/manual/customize.rst:62
183 msgid ""
184 "See `How to set environment variables in Windows "
185 "<https://www.computerhope.com/issues/ch000549.htm>`_. If you are on macOS "
186 "you can set environment variables by creating the "
187 ":file:`~/Library/Preferences/calibre/macos-env.txt` and putting the "
188 "environment variables one per line in it, for example::"
189 msgstr "请参阅`如何在Windows中设置环境变量<https://www.computerhope.com/issues/ch000549.htm>`_。如果您使用的是macOS,可以通过创建以下文件来设置环境变量 `~/Library/Preferences/calibre/macOS env.txt`,并在其中每行放置一个环境变量,例如:"
190
191 #: ../../../__w/calibre/calibre/manual/customize.rst:72
192 msgid "Tweaks"
193 msgstr "优化调整"
194
195 #: ../../../__w/calibre/calibre/manual/customize.rst:74
196 msgid ""
197 "Tweaks are small changes that you can specify to control various aspects of "
198 "calibre's behavior. You can change them by going to "
199 "Preferences->Advanced->Tweaks. The default values for the tweaks are "
200 "reproduced below"
201 msgstr "调整是可以指定以控制calibre行为的各个方面的小更改。您可以通过到“首选项”->“高级”->“调整”来更改它们。以下是参数的默认值"
202
203 #: ../../../__w/calibre/calibre/manual/customize.rst:81
204 msgid "Overriding icons, templates, et cetera"
205 msgstr "取代图标,模板,等等"
206
207 #: ../../../__w/calibre/calibre/manual/customize.rst:84
208 msgid ""
209 "calibre has direct support for icon themes, there are several icon themes "
210 "available for calibre, that you can use by going to "
211 ":guilabel:`Preferences->Interface->Look & Feel->Change icon theme`. It is "
212 "preferable to use icon themes over overriding individual icons."
213 msgstr "calibre直接支持图标主题,有几个图标主题可供calibre使用,您可以通过图形界面:`首选项->界面->外观->更改图标主题`来使用。最好使用图标主题,而不是覆盖单个图标。"
214
215 #: ../../../__w/calibre/calibre/manual/customize.rst:89
216 msgid ""
217 "calibre allows you to override the static resources, like icons, JavaScript "
218 "and templates for the metadata jacket, catalogs, etc. with customized "
219 "versions that you like. All static resources are stored in the resources "
220 "sub-folder of the calibre install location. On Windows, this is usually "
221 ":file:`C:\\\\Program Files\\\\Calibre2\\\\app\\\\resources`. On macOS, "
222 ":file:`/Applications/calibre.app/Contents/Resources/resources/`. On Linux, "
223 "if you are using the binary installer from the calibre website it will be "
224 ":file:`/opt/calibre/resources`. These paths can change depending on where "
225 "you choose to install calibre."
226 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的位置而更改。"
227
228 #: ../../../__w/calibre/calibre/manual/customize.rst:98
229 msgid ""
230 "You should not change the files in this resources folder, as your changes "
231 "will get overwritten the next time you update calibre. Instead, go to "
232 ":guilabel:`Preferences->Advanced->Miscellaneous` and click :guilabel:`Open "
233 "calibre configuration folder`. In this configuration folder, create a sub-"
234 "folder called resources and place the files you want to override in it. "
235 "Place the files in the appropriate sub folders, for example place images in "
236 ":file:`resources/images`, etc. calibre will automatically use your custom "
237 "file in preference to the built-in one the next time it is started."
238 msgstr "您不应更改此资源文件夹中的文件,因为您的更改将在下次更新calibre时被覆盖。而是转到图形界面“首选项->高级->杂项”,然后单击“打开calibre配置文件夹”。在此配置文件夹中,创建一个名为resources的子文件夹,并将要覆盖的文件放在其中。将文件放在适当的子文件夹中,例如将图像放在“resources/images”等中。下次启动时,calibre将自动使用自定义文件,而不是内置文件。"
239
240 #: ../../../__w/calibre/calibre/manual/customize.rst:107
241 msgid ""
242 "For example, if you wanted to change the icon for the :guilabel:`Remove "
243 "books` action, you would first look in the built-in resources folder and see"
244 " that the relevant file is :file:`resources/images/remove_books.png`. "
245 "Assuming you have an alternate icon in PNG format called "
246 ":file:`my_remove_books.png` you would save it in the configuration folder as"
247 " :file:`resources/images/remove_books.png`. All the icons used by the "
248 "calibre user interface are in :file:`resources/images` and its sub-folders. "
249 "Placing an override file here will have even higher priority than a custom "
250 "icon theme."
251 msgstr "例如,如果您想更改“删除书籍”操作的图标,您首先要查看内置资源文件夹,并看到相关文件是“resources/images/remove_books.png”。 假设您有一个名为“my_remove_books.png ”的 PNG 格式备用图标,您可以将其保存在配置文件夹中,名称为 “resources/images/remove_books.png”。 calibre 用户界面使用的所有图标都位于 “resources/images”及其子文件夹中。 在此处放置覆盖文件将比自定义图标主题具有更高的优先级。"
252
253 #: ../../../__w/calibre/calibre/manual/customize.rst:117
254 msgid "Creating your own icon theme for calibre"
255 msgstr "制作您自己的Calibre图标和主题"
256
257 #: ../../../__w/calibre/calibre/manual/customize.rst:119
258 msgid ""
259 "If you have created a beautiful set of icons and wish to share them with "
260 "other calibre users via calibre's builtin icon theme support, you can easily"
261 " package up your icons into a theme. To do so, go to "
262 ":guilabel:`Preferences->Miscellaneous->Create icon theme`, select the folder"
263 " where you have put your icons. Then fill in the theme metadata and click "
264 "OK. This will result in a ZIP file containing the theme icons. You can "
265 "upload that to the calibre forum at `Mobileread "
266 "<https://www.mobileread.com/forums/forumdisplay.php?f=166>`__ and then I "
267 "will make your theme available via calibre's builtin icon theme system. By "
268 "default, the icon theme you just created will also be installed as the "
269 "current theme in calibre. If you are testing your theme, remember to remove "
270 "the images from the :file:`resources/images` folder so that the icons from "
271 "the theme are used."
272 msgstr "如果你已经创建了一组漂亮的图标,并希望通过Calibre内置的图标主题支持与其他Calibre用户分享它们,你可以很容易地将你的图标打包成一个主题。 为此,请转到“首选项->杂项->创建图标主题”,选择放置图标的文件夹。然后填写主题元数据并单击“确定”。这将生成一个包含主题图标的ZIP文件。你可以把它上传到calibre论坛`Mobilead<https://www.mobileread.com/forums/forumdisplay.php?f=166>`__,然后我会通过calibre内置的图标主题系统提供你的主题。默认情况下,您刚刚创建的图标主题也将安装为calibre中的当前主题。如果您正在测试主题,请记住从“resources/images”文件夹中删除图像,以便使用主题中的图标。"
273
274 #: ../../../__w/calibre/calibre/manual/customize.rst:133
275 msgid ""
276 "As of calibre 6, you can have custom icons for light and dark mode. Simply "
277 "create two versions of the icon and name the files with the suffix ``-for-"
278 "dark-theme`` and ``-for-light-theme``. For example, ``modified-for-dark-"
279 "theme.png`` and ``modified-for-light-theme.png``. Then calibre will "
280 "automatically use the appropriate icon based on the current theme."
281 msgstr "从Calibre 6开始,你可以定制白天模式和夜间模式的图标。只需创建两个版本的图标,并使用后缀表示夜间模式的``-for-dark-theme``和表示白天模式的``-for-light-theme``来命名文件。例如,``Modify-for-Dark-Theme.png``和``Modify-For-light-Theme.png``。然后,Calibre将根据当前主题自动使用适当的图标。"
282
283 #: ../../../__w/calibre/calibre/manual/customize.rst:140
284 msgid "Customizing calibre with plugins"
285 msgstr "用插件自定义Calibre"
286
287 #: ../../../__w/calibre/calibre/manual/customize.rst:142
288 msgid ""
289 "calibre has a very modular design. Almost all functionality in calibre comes"
290 " in the form of plugins. Plugins are used for conversion, for downloading "
291 "news (though these are called recipes), for various components of the user "
292 "interface, to connect to different devices, to process files when adding "
293 "them to calibre and so on. You can get a complete list of all the built-in "
294 "plugins in calibre by going to :guilabel:`Preferences->Advanced->Plugins`."
295 msgstr "Calibre是以模块化的形式设计的,其所有功能几乎都以插件的形式实现。这些插件用作于文本转换、新闻(或称之为诀窍)下载,和用户界面的各种组件,来连接到不同的设备,或在将文件添加到Calibre时处理他们等等。您可以在“选项→高级→插件”中完整地得到在Cailbre里已经内建的插件清单。"
296
297 #: ../../../__w/calibre/calibre/manual/customize.rst:149
298 msgid ""
299 "You can write your own plugins to customize and extend the behavior of "
300 "calibre. The plugin architecture in calibre is very simple, see the tutorial"
301 " :ref:`pluginstutorial`."
302 msgstr "您可以编写自己的插件来定制和扩展calibre的行为。calibre中的插件架构非常简单,请参阅教程“pluginstutorial”。"
303
304 #: ../../../__w/calibre/calibre/manual/customize.rst:153
305 msgid ""
306 "Once you have written a plugin, you can upload that to the calibre plugins "
307 "forum at `Mobileread "
308 "<https://www.mobileread.com/forums/forumdisplay.php?f=237>`__ and it will be"
309 " made available via calibre's builtin plugin updater."
310 msgstr "一旦你写好了插件,你就可以把它上传到Calibre插件论坛`Mobileread<https://www.mobileread.com/forums/forumdisplay.php?f=237>`__,它将通过Calibre的内置插件更新器提供。"