Debian Codegraph @

docs/locale/zh_CN/LC_MESSAGES/importer.po

raw
1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) 2010–2024
3 # This file is distributed under the same license as the PELICAN package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: PELICAN 4\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2024-06-24 19:06+0800\n"
11 "PO-Revision-Date: 2024-06-27 19:00+0800\n"
12 "Last-Translator: GeorgeHu <[email protected]>\n"
13 "Language: zh_CN\n"
14 "Language-Team: \n"
15 "Plural-Forms: nplurals=1; plural=0;\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=utf-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Generated-By: Babel 2.15.0\n"
20
21 #: ../../importer.rst:4 2e58a5582f664ba0af49aac4480bc799
22 msgid "Importing an existing site"
23 msgstr "导入已有站点"
24
25 #: ../../importer.rst:7 5182de0b717543c7a4813491755b720a
26 msgid "Description"
27 msgstr "简介"
28
29 #: ../../importer.rst:9 29a8bae0ba78486894ed4c286cd2f3b4
30 msgid ""
31 "``pelican-import`` is a command-line tool for converting articles from "
32 "other software to reStructuredText or Markdown. The supported import "
33 "formats are:"
34 msgstr ""
35 "命令行工具 ``pelican-import`` 用于将其他软件生成的文章转换成reStructuredText"
36 "或Markdown格式。支持导入下面这些格式:"
37
38 #: ../../importer.rst:12 c670f6055ad24d818132d74951c9928c
39 msgid "Blogger XML export"
40 msgstr "Blogger XML export"
41
42 #: ../../importer.rst:13 d31ddaa8c7d54a268b379f706164de39
43 msgid "Dotclear export"
44 msgstr "Dotclear export"
45
46 #: ../../importer.rst:14 5102eb70c58240b2ad4d508a196b176e
47 msgid "Medium export"
48 msgstr "Medium export"
49
50 #: ../../importer.rst:15 2cfcdf575387417bae3a9938aa55b0e6
51 msgid "Tumblr API"
52 msgstr "Tumblr API"
53
54 #: ../../importer.rst:16 42233d68a4bc46339b284681bdbdd19c
55 msgid "WordPress XML export"
56 msgstr "WordPress XML export"
57
58 #: ../../importer.rst:17 0170dad08a80435b99a39ccaf887c5bb
59 msgid "RSS/Atom feed"
60 msgstr "RSS/Atom feed"
61
62 #: ../../importer.rst:19 077a8220f4a84dd297ec5aa7cff15a24
63 msgid ""
64 "The conversion from HTML to reStructuredText or Markdown relies on "
65 "`Pandoc`_. For Dotclear, if the source posts are written with Markdown "
66 "syntax, they will not be converted (as Pelican also supports Markdown)."
67 msgstr ""
68 "从HTML转换到reStructuredText或Markdown是依赖 `Pandoc`_ "
69 "完成的。对于Dotclear,若原帖子是由Markdown语法写的,则无需转换"
70 "(因为Pelican本就支持Markdown)。"
71
72 #: ../../importer.rst:25 e9b94b6029204b82b009d3ef23c19814
73 msgid ""
74 "Unlike Pelican, Wordpress supports multiple categories per article. These"
75 " are imported as a comma-separated string. You have to resolve these "
76 "manually, or use a plugin such as `More Categories`_ that enables "
77 "multiple categories per article."
78 msgstr ""
79 "和Pelican不同,在Wordpress中可以将一篇文章同时放在多个分类中。在导入时,各个分类"
80 "会以逗号分隔,你必须自己手动进行处理。或者也可以使用例如 `More Categories`_ "
81 "这样的插件,使得文章可以同时存在于多个分类中。"
82
83 #: ../../importer.rst:32 f7add19b68754b6e8a617a1d50dee759
84 msgid ""
85 "Imported pages may contain links to images that still point to the "
86 "original site. So you might want to download those images into your local"
87 " content and manually re-link them from the relevant pages of your site."
88 msgstr ""
89 "要导入的内容中可能会包含指向原站点的图片链接,你可能希望将他们全部下载下来,然后再"
90 "重新手动调整这些链接。"
91
92 #: ../../importer.rst:37 22cc1a514c4f42efbcf9afc3d987c42e
93 msgid "Dependencies"
94 msgstr "依赖"
95
96 #: ../../importer.rst:39 6139199770a24fc7af7ca7e556d18d5f
97 msgid ""
98 "``pelican-import`` has some dependencies not required by the rest of "
99 "Pelican:"
100 msgstr ""
101 "``pelican-import`` 需要用到一些其他依赖,这些依赖只会被 ``pelican-import`` 用到:"
102
103 #: ../../importer.rst:41 0e8eb04bb07f4752880b873e73e7f7e5
104 msgid ""
105 "*BeautifulSoup4* and *lxml*, for WordPress and Dotclear import. Can be "
106 "installed like any other Python package (``pip install BeautifulSoup4 "
107 "lxml``)."
108 msgstr ""
109 "为了能够导入WordPress和Dotclear的内容,需要 *BeautifulSoup4* 与 *lxml* 。"
110 "安装方法与其他Python包相同( ``pip install BeautifulSoup4 lxml`` )"
111
112 #: ../../importer.rst:44 7d31c1ad4ecb4014a3ef240436b9b3e1
113 msgid "*Feedparser*, for feed import (``pip install feedparser``)."
114 msgstr "为了能够导入订阅源,需要 *Feedparser* ( ``pip install feedparser`` )"
115
116 #: ../../importer.rst:45 db7a18b1a4534a17956c9d030dddff56
117 msgid ""
118 "*Pandoc*, see the `Pandoc site`_ for installation instructions on your "
119 "operating system."
120 msgstr ""
121 "还需要 *Pandoc* ,参照 `Pandoc官方网站`_ 进行安装。"
122
123 #: ../../importer.rst:53 9952881aed104ef0ac82af5339e6b149
124 msgid "Usage"
125 msgstr "用法"
126
127 #: ../../importer.rst:63 83dbe43e4d2e4d8eaf3e37724ac119e3
128 msgid "Positional arguments"
129 msgstr "位置参数"
130
131 #: ../../importer.rst:65 4a12692744024752be75d82ed74d369d
132 msgid "``input``"
133 msgstr "``input``"
134
135 #: ../../importer.rst:65 52f62f22221f4c3d964df5aced3d2a2b
136 msgid "The input file to read"
137 msgstr "需要读取的输入文件"
138
139 #: ../../importer.rst:66 acc46432d5c14ea8a5e27e6ec2b84d18
140 msgid "``api_key``"
141 msgstr "``api_key``"
142
143 #: ../../importer.rst:66 29dd358bf2fe49d8a218c56ca376f6a6
144 msgid ""
145 "(Tumblr only) api_key can be obtained from "
146 "https://www.tumblr.com/oauth/apps"
147 msgstr ""
148 "(只会在Tumblr中用到)从 https://www.tumblr.com/oauth/apps 中获取到的api_key"
149
150 #: ../../importer.rst:70 a81b90d51a9f4c28adc09038715cf5c2
151 msgid "Optional arguments"
152 msgstr "可选参数"
153
154 #: ../../importer.rst:72 d4d5211b75aa4103b06ad7685368af06
155 msgid "Show this help message and exit"
156 msgstr "显示此帮助信息并退出 ``pelican-import`` "
157
158 #: ../../importer.rst:73 a7bae87fe16644f4b5da7d32fdc05f95
159 msgid "Blogger XML export (default: False)"
160 msgstr "输入是否为Blogger XML格式(默认:False)"
161
162 #: ../../importer.rst:74 e8c133125ed04120bcc3737fa2a0ba60
163 msgid "Dotclear export (default: False)"
164 msgstr "输入是否为Dotclear格式(默认:False)"
165
166 #: ../../importer.rst:75 caffd159f92a4f36aadedec398823ac3
167 msgid "Medium export (default: False)"
168 msgstr "输入是否为Medium格式(默认:False)"
169
170 #: ../../importer.rst:76 f1bcaccf8e2f43f6894f2f0540c9d7ba
171 msgid "Tumblr API (default: False)"
172 msgstr "输入是否为Tumblr API格式(默认:False)"
173
174 #: ../../importer.rst:77 6131f8fa00294515a028f4bb1a3a3053
175 msgid "WordPress XML export (default: False)"
176 msgstr "输入是否为WordPress XML格式(默认:False)"
177
178 #: ../../importer.rst:78 dad00ee0aebb4550acae995ecdbb622f
179 msgid "Feed to parse (default: False)"
180 msgstr "输入是否为订阅源格式(默认:False)"
181
182 #: ../../importer.rst:80 0ca3cbbc57c64b5b88444ccde94f94ce
183 msgid "Output path (default: content)"
184 msgstr "输出路径(默认:content)"
185
186 #: ../../importer.rst:82 baa2762a4ee745028e29865720ca299d
187 msgid ""
188 "Output markup format: ``rst``, ``markdown``, or ``asciidoc`` (default: "
189 "``rst``)"
190 msgstr ""
191 "输出格式,可选值为: ``rst`` 、 ``markdown`` 、 ``asciidoc`` (默认: ``rst`` )"
192
193 #: ../../importer.rst:84 53232a317a58422d8f070c245d3b7409
194 msgid "Put files in directories with categories name (default: False)"
195 msgstr "是否要将输出文件按分类名放到各文件夹中(默认:False)"
196
197 #: ../../importer.rst:86 f72e1895d9fc4facb90ddffb53b31a0a
198 msgid ""
199 "Put files recognised as pages in \"pages/\" sub- directory (blogger and "
200 "wordpress import only) (default: False)"
201 msgstr ""
202 "将识别为页面的文件放入“pages/” 子文件夹中(仅在blogger和wordpress中有用)(默认:False)"
203
204 #: ../../importer.rst:89 3f9315af4f1e4ced8ece96fca71cb1e7
205 msgid "Import only post from the specified author"
206 msgstr "仅导入某个作者的帖子"
207
208 #: ../../importer.rst:90 0b34125f0bb744b089fe77b86b3e50f7
209 msgid ""
210 "Strip raw HTML code that can't be converted to markup such as flash "
211 "embeds or iframes (default: False)"
212 msgstr ""
213 "删除无法转换的HTML代码,例如嵌入的flash或iframe(默认:False)"
214
215 #: ../../importer.rst:92 f899a119b708450bbd38913f813255c2
216 msgid ""
217 "Put wordpress custom post types in directories. If used with --dir-cat "
218 "option directories will be created as \"/post_type/category/\" (wordpress"
219 " import only)"
220 msgstr ""
221 "将wordpress中的自定义类型博文放到对应文件夹中。如果同时还使用了 --dir-cat 选项,"
222 "输出转换后文件时会创建诸如“/post_type/category/” 的文件夹(只在wordpress中有效)"
223
224 #: ../../importer.rst:95 627c041fab81460eafd4f5fe361bcd1a
225 msgid ""
226 "Download files uploaded to wordpress as attachments. Files will be added "
227 "to posts as a list in the post header and links to the files within the "
228 "post will be updated. All files will be downloaded, even if they aren't "
229 "associated with a post. Files will be downloaded with their original path"
230 " inside the output directory, e.g. \"output/wp-"
231 "uploads/date/postname/file.jpg\". (wordpress import only) (requires an "
232 "internet connection)"
233 msgstr ""
234 "下载作为附件上传到WordPress的文件。文件会以列表形式添加到帖子的开头,并且到这些"
235 "文件的链接都会进行更新。另外,即使某些文件没有在任何帖子中用到,也同样会被下载。"
236 "文件会被下载到输出文件夹下,并保持原始路径,例如"
237 "“output/wp-uploads/date/postname/file.jpg” 。(仅在wordpress中有效,"
238 "且需要互联网连接)"
239
240 #: ../../importer.rst:104 11162d8c497b4108a38c2a60af4a4215
241 msgid ""
242 "Disable storing slugs from imported posts within output. With this "
243 "disabled, your Pelican URLs may not be consistent with your original "
244 "posts. (default: False)"
245 msgstr ""
246 "不保存导入推文的slug,会导致Pelican的URL和原推文不一致。(默认:False)"
247
248 #: ../../importer.rst:109 f4f4b6e918d3498e927b59c5d0bae05a
249 msgid "Blog name used in Tumblr API"
250 msgstr "Tumblr API中使用的博客名"
251
252 #: ../../importer.rst:113 16e0f9bd1c6e4b338673f1800e6a4995
253 msgid "Examples"
254 msgstr "例子"
255
256 #: ../../importer.rst:115 0cf17b9fd72940c391a1bb8bf7de534b
257 msgid "For Blogger::"
258 msgstr "导入Blogger:"
259
260 #: ../../importer.rst:119 3fc79daf9e9e4f5ba1a121faaabd0c9e
261 msgid "For Dotclear::"
262 msgstr "导入Dotclear:"
263
264 #: ../../importer.rst:123 328ff8145b464fa2ab59505a8bc3236a
265 msgid "For Medium::"
266 msgstr "导入Medium:"
267
268 #: ../../importer.rst:127 8ca5f721833142249b6d798efcb77458
269 msgid ""
270 "The Medium export is a zip file. Unzip it, and point this tool to the "
271 "\"posts\" subdirectory. For more information on how to export, see "
272 "https://help.medium.com/hc/en-us/articles/115004745787-Export-your-"
273 "account-data."
274 msgstr ""
275 "Medium中导出的是一个zip文件。请先解压之,然后再将其中的“posts”子目录传给此工具。 "
276 "https://help.medium.com/hc/en-us/articles/115004745787-Export-your-account-data "
277 "中有更详细的导出指导。"
278
279 #: ../../importer.rst:131 516a83a4d8cf4570a9a6fff416e5cf5a
280 msgid "For Tumblr::"
281 msgstr "导入Tumblr:"
282
283 #: ../../importer.rst:135 8fcab620c0d44bb29a120d8d781f4daa
284 msgid "For WordPress::"
285 msgstr "导入WordPress:"
286
287 #: ../../importer.rst:139 a929213eb21f4118b9adbb6199bd78ea
288 msgid "For Medium (an example of using an RSS feed):"
289 msgstr "导入Medium(例子中使用了RSS订阅源):"
290
291 #: ../../importer.rst:141 5e23c5d167ef4db1994f4323ac3d120e
292 msgid ""
293 "$ python -m pip install feedparser $ pelican-import --feed "
294 "https://medium.com/feed/@username"
295 msgstr ""
296 "$ python -m pip install feedparser $ pelican-import --feed "
297 "https://medium.com/feed/@username"
298
299 #: ../../importer.rst:146 b44dfe0f807049899c0560c6bf62c386
300 msgid "The RSS feed may only return the most recent posts — not all of them."
301 msgstr "RSS订阅源可能只会返回最新的帖子,而不是所有帖子。"
302
303 #: ../../importer.rst:149 575426ff787d4647b3aa2469b8b52412
304 msgid "Tests"
305 msgstr "测试"
306
307 #: ../../importer.rst:151 036d2119412b41f3a3cb69cec74ecc81
308 msgid "To test the module, one can use sample files:"
309 msgstr "可以使用下面的文件作为样例进行测试:"
310
311 #: ../../importer.rst:153 482b30f9aab54717bb14218ae5fa8ea6
312 msgid ""
313 "for WordPress: https://www.wpbeginner.com/wp-themes/how-to-add-dummy-"
314 "content-for-theme-development-in-wordpress/"
315 msgstr ""
316 "WordPress: https://www.wpbeginner.com/wp-themes/how-to-add-dummy-content-"
317 "for-theme-development-in-wordpress/"
318
319 #: ../../importer.rst:154 6cb1bd10d37e4993aabece8aaed20171
320 msgid "for Dotclear: http://media.dotaddict.org/tda/downloads/lorem-backup.txt"
321 msgstr "Dotclear: http://media.dotaddict.org/tda/downloads/lorem-backup.txt"