| 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-25 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 |
#: ../../install.rst:2 32d9c99d9171418c89daafbe7260daa9 |
| 22 |
msgid "Installing Pelican" |
| 23 |
msgstr "安装Pelican" |
| 24 |
|
| 25 |
#: ../../install.rst:4 73ec02b650044be6bb17951f4a915075 |
| 26 |
msgid "" |
| 27 |
"Pelican currently runs best on |min_python|; earlier versions of Python " |
| 28 |
"are not supported." |
| 29 |
msgstr "" |
| 30 |
"Pelican需要 |min_python| 以上版本的Python,不支持更低版本。" |
| 31 |
|
| 32 |
#: ../../install.rst:6 9134a5a1bd9a4f54a36a3da163d859d8 |
| 33 |
msgid "" |
| 34 |
"You can install Pelican via several different methods. The simplest is " |
| 35 |
"via Pip_::" |
| 36 |
msgstr "" |
| 37 |
"有多种方法可以安装Pelican,最简单的就是通过 Pip_:" |
| 38 |
|
| 39 |
#: ../../install.rst:10 22d5948b07d14a13bc45aa14ef11e856 |
| 40 |
msgid "Or, if you plan on using Markdown::" |
| 41 |
msgstr "如果您需要使用Markdown,请使用下面的命令安装:" |
| 42 |
|
| 43 |
#: ../../install.rst:14 b910f7faa2c84e5eb62fbd0fae2544d3 |
| 44 |
msgid "" |
| 45 |
"(Keep in mind that some operating systems will require you to prefix the " |
| 46 |
"above command with ``sudo`` in order to install Pelican system-wide.)" |
| 47 |
msgstr "" |
| 48 |
"(在某些操作系统中,需要在命令前加 ``sudo`` 才能在整个系统上安装Pelican)" |
| 49 |
|
| 50 |
#: ../../install.rst:17 afb018b5d42e433e8107ca38dfcb545f |
| 51 |
msgid "" |
| 52 |
"While the above is the simplest method, the recommended approach is to " |
| 53 |
"create a virtual environment for Pelican via virtualenv_ before " |
| 54 |
"installing Pelican. Assuming you have virtualenv_ installed, you can then" |
| 55 |
" open a new terminal session and create a new virtual environment for " |
| 56 |
"Pelican::" |
| 57 |
msgstr "" |
| 58 |
"尽管上面是最简单的安装方法,但我们推荐使用虚拟环境 virtualenv_ 完成" |
| 59 |
"Pelican的安装。当您安装好 virtualenv_ 后,打开一个新的命令行并" |
| 60 |
"为Pelican创建一个虚拟环境:" |
| 61 |
|
| 62 |
#: ../../install.rst:26 7d981233f13e42b6b07fbd5fa58f69fc |
| 63 |
msgid "" |
| 64 |
"Once the virtual environment has been created and activated, Pelican can " |
| 65 |
"be installed via ``python -m pip install pelican`` as noted above. " |
| 66 |
"Alternatively, if you have the project source, you can install Pelican " |
| 67 |
"using the distutils method::" |
| 68 |
msgstr "" |
| 69 |
"当创建并激活虚拟环境后,使用之前提到过的命令 ``python -m pip install pelican`` " |
| 70 |
"就可以安装Pelican了。或者,如果您想要从源码安装,可以使用distutils方式:" |
| 71 |
|
| 72 |
#: ../../install.rst:33 c8109ae3e44541e18e713e39690009ae |
| 73 |
msgid "" |
| 74 |
"If you have Git installed and prefer to install the latest bleeding-edge " |
| 75 |
"version of Pelican rather than a stable release, use the following " |
| 76 |
"command::" |
| 77 |
msgstr "" |
| 78 |
"如果安装过Git,并且您希望安装Pelican的最最新版本(而不是稳定版)," |
| 79 |
"请使用下面的命令:" |
| 80 |
|
| 81 |
#: ../../install.rst:38 2ba389e93d084dea8b702336479a0470 |
| 82 |
msgid "" |
| 83 |
"Once Pelican is installed, you can run ``pelican --help`` to see basic " |
| 84 |
"usage options. For more detail, refer to the :doc:`Publish<publish>` " |
| 85 |
"section." |
| 86 |
msgstr "" |
| 87 |
"当您安装好Pelican,可以执行 ``pelican --help`` 命令来查看一些基本用法。" |
| 88 |
"在 :doc:`发布站点<publish>` 章节中可以了解更多信息。" |
| 89 |
|
| 90 |
#: ../../install.rst:42 d1850a31cca24c5281cc7c9fd748b56b |
| 91 |
msgid "Optional packages" |
| 92 |
msgstr "可选包" |
| 93 |
|
| 94 |
#: ../../install.rst:44 8428281e15354c71a5aec92e9e0041b9 |
| 95 |
msgid "" |
| 96 |
"If you plan on using `Markdown <https://pypi.org/project/Markdown/>`_ as " |
| 97 |
"a markup format, you can install Pelican with Markdown support::" |
| 98 |
msgstr "" |
| 99 |
"如您希望使用 `Markdown <https://pypi.org/project/Markdown/>`_ " |
| 100 |
"来写作,执行下面的命令来安装Markdown支持:" |
| 101 |
|
| 102 |
#: ../../install.rst:49 6dcdacecb0874afd8c88cbf814c522ba |
| 103 |
msgid "" |
| 104 |
"Typographical enhancements can be enabled in your settings file, but " |
| 105 |
"first the requisite `Typogrify <https://pypi.org/project/typogrify/>`_ " |
| 106 |
"library must be installed::" |
| 107 |
msgstr "" |
| 108 |
"Pelican还支持排版增强,若您需要使用,请先安装 `Typogrify " |
| 109 |
"<https://pypi.org/project/typogrify/>`_ 库,稍后您可以在设置文件中启用它。" |
| 110 |
|
| 111 |
#: ../../install.rst:56 d3ff6383ae9745bc9bfed85654086311 |
| 112 |
msgid "Dependencies" |
| 113 |
msgstr "依赖" |
| 114 |
|
| 115 |
#: ../../install.rst:58 2dc22a3fa6c242bdb5b61005e1910d79 |
| 116 |
msgid "" |
| 117 |
"When Pelican is installed, the following dependent Python packages should" |
| 118 |
" be automatically installed without any action on your part:" |
| 119 |
msgstr "" |
| 120 |
"当Pelican安装完成后,下面的所有Python依赖应该都会自动安装," |
| 121 |
"无需另外做任何操作:" |
| 122 |
|
| 123 |
#: ../../install.rst:61 4c7a644a29b540869d69acd10e032039 |
| 124 |
msgid "" |
| 125 |
"`feedgenerator <https://pypi.org/project/feedgenerator/>`_, to generate " |
| 126 |
"the Atom feeds" |
| 127 |
msgstr "" |
| 128 |
"`feedgenerator <https://pypi.org/project/feedgenerator/>`_," |
| 129 |
"用于生成Atom feeds" |
| 130 |
|
| 131 |
#: ../../install.rst:63 365c8fb0938e4d9fbf78d110b05cb99f |
| 132 |
msgid "`jinja2 <https://pypi.org/project/Jinja2/>`_, for templating support" |
| 133 |
msgstr "`jinja2 <https://pypi.org/project/Jinja2/>`_,用于模板系统" |
| 134 |
|
| 135 |
#: ../../install.rst:64 5db63207e60c4997924c3baf8aec8524 |
| 136 |
msgid "`pygments <https://pypi.org/project/Pygments/>`_, for syntax highlighting" |
| 137 |
msgstr "`pygments <https://pypi.org/project/Pygments/>`_,用于语法高亮" |
| 138 |
|
| 139 |
#: ../../install.rst:65 72bfb5fc2b514031a42952502746c100 |
| 140 |
msgid "" |
| 141 |
"`docutils <https://pypi.org/project/docutils/>`_, for supporting " |
| 142 |
"reStructuredText as an input format" |
| 143 |
msgstr "" |
| 144 |
"`docutils <https://pypi.org/project/docutils/>`_," |
| 145 |
"用于reStructuredText格式" |
| 146 |
|
| 147 |
#: ../../install.rst:67 d00ac0c26d884a2d9d7f02fa89491892 |
| 148 |
msgid "" |
| 149 |
"`blinker <https://pypi.org/project/blinker/>`_, an object-to-object and " |
| 150 |
"broadcast signaling system" |
| 151 |
msgstr "" |
| 152 |
"`blinker <https://pypi.org/project/blinker/>`_," |
| 153 |
"对象-对象的信号广播系统" |
| 154 |
|
| 155 |
#: ../../install.rst:69 0d317b007acf49fc879203fa8ffb4048 |
| 156 |
msgid "" |
| 157 |
"`unidecode <https://pypi.org/project/Unidecode/>`_, for ASCII " |
| 158 |
"transliterations of Unicode text utilities" |
| 159 |
msgstr "" |
| 160 |
"`unidecode <https://pypi.org/project/Unidecode/>`_," |
| 161 |
"用于将Unicode文本转为ASCII字符的音译" |
| 162 |
|
| 163 |
#: ../../install.rst:72 ded0aae575854f149bcf2ea9efa4ba21 |
| 164 |
msgid "" |
| 165 |
"`MarkupSafe <https://pypi.org/project/MarkupSafe/>`_, for a markup-safe " |
| 166 |
"string implementation" |
| 167 |
msgstr "" |
| 168 |
"`MarkupSafe <https://pypi.org/project/MarkupSafe/>`_," |
| 169 |
"用于转义字符的安全处理" |
| 170 |
|
| 171 |
#: ../../install.rst:74 eae7d8f6f84040339ccfef98e20502d8 |
| 172 |
msgid "" |
| 173 |
"`python-dateutil <https://pypi.org/project/python-dateutil/>`_, to read " |
| 174 |
"the date metadata" |
| 175 |
msgstr "" |
| 176 |
"`python-dateutil <https://pypi.org/project/python-dateutil/>`_," |
| 177 |
"用于读取日期相关的元数据" |
| 178 |
|
| 179 |
#: ../../install.rst:78 cd33ec4583574c5bb879f08813b9932c |
| 180 |
msgid "Upgrading" |
| 181 |
msgstr "更新升级" |
| 182 |
|
| 183 |
#: ../../install.rst:80 1513dd1e43564cb29da0a14988e0791d |
| 184 |
msgid "" |
| 185 |
"If you installed a stable Pelican release via Pip_ and wish to upgrade to" |
| 186 |
" the latest stable release, you can do so by adding ``--upgrade``::" |
| 187 |
msgstr "" |
| 188 |
"若是通过 Pip_ 安装了稳定版本的Pelican,可以通过在安装命令中" |
| 189 |
"添加 ``--upgrade`` 来升级到最新版:" |
| 190 |
|
| 191 |
#: ../../install.rst:85 fae6900b3acc41d4b7bb34c192fe4c08 |
| 192 |
msgid "" |
| 193 |
"If you installed Pelican via distutils or the bleeding-edge method, " |
| 194 |
"simply perform the same step to install the most recent version." |
| 195 |
msgstr "" |
| 196 |
"若是通过distutils安装或是通过Git安装了测试版的Pelican" |
| 197 |
"重新进行一遍和安装时同样的步骤即可。" |
| 198 |
|
| 199 |
#: ../../install.rst:89 89392d36f81f4c7eb75e9a74d1795faa |
| 200 |
msgid "Kickstart your site" |
| 201 |
msgstr "启动网站" |
| 202 |
|
| 203 |
#: ../../install.rst:91 a8517a0fbbb1420297df214f50d8792d |
| 204 |
msgid "" |
| 205 |
"Once Pelican has been installed, you can create a skeleton project via " |
| 206 |
"the ``pelican-quickstart`` command, which begins by asking some questions" |
| 207 |
" about your site::" |
| 208 |
msgstr "" |
| 209 |
"Pelican安装完成后,通过 ``pelican-quickstart`` 命令创建项目的整体框架," |
| 210 |
"在运行这个命令时,您需要输入一些与站点相关的信息:" |
| 211 |
|
| 212 |
#: ../../install.rst:97 50231ba4b02d4e868995bdacbd02b27d |
| 213 |
msgid "" |
| 214 |
"If run inside an activated virtual environment, ``pelican-quickstart`` " |
| 215 |
"will look for an associated project path inside " |
| 216 |
"``$VIRTUAL_ENV/.project``. If that file exists and contains a valid " |
| 217 |
"directory path, the new Pelican project will be saved at that location. " |
| 218 |
"Otherwise, the default is the current working directory. To set the new " |
| 219 |
"project path on initial invocation, use: ``pelican-quickstart --path " |
| 220 |
"/your/desired/directory``" |
| 221 |
msgstr "" |
| 222 |
"如果是在虚拟环境中执行 ``pelican-quickstart`` ,系统会自动在 " |
| 223 |
"``$VIRTUAL_ENV/.project`` 目录中查找这个命令。若这个这个命令存在" |
| 224 |
"并且路径是正确的,一个新的Pelican项目就会在目标位置创建。否则," |
| 225 |
"会默认在当前的工作目录下创建这个项目。若要在初始化时指定项目路径,请使用 " |
| 226 |
"``pelican-quickstart --path /your/desired/directory``。" |
| 227 |
|
| 228 |
#: ../../install.rst:104 ea893addf15c47f182384509b1a3a2f7 |
| 229 |
msgid "" |
| 230 |
"Once you finish answering all the questions, your project will consist of" |
| 231 |
" the following hierarchy (except for *pages* — shown in parentheses below" |
| 232 |
" — which you can optionally add yourself if you plan to create non-" |
| 233 |
"chronological content)::" |
| 234 |
msgstr "" |
| 235 |
"当您回答完所有问题后,项目就会成功创建。项目中会包含下述的一些层级结构" |
| 236 |
"(除了用括号括起来的 *pages*)。如果有一些内容不需要按时间排序," |
| 237 |
"您可以将它们放在(pages)所在的位置:" |
| 238 |
|
| 239 |
#: ../../install.rst:118 7d13a0cc5ebd44159fddc8de68993fc7 |
| 240 |
msgid "" |
| 241 |
"The next step is to begin to adding content to the *content* folder that " |
| 242 |
"has been created for you." |
| 243 |
msgstr "" |
| 244 |
"接下来就可以开始往 *content* 目录中添加自己创作的内容了。" |