| 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 |
#: ../../quickstart.rst:2 e5f32d61440744aab3f878488ef9e1e3 |
| 22 |
msgid "Quickstart" |
| 23 |
msgstr "快速开始" |
| 24 |
|
| 25 |
#: ../../quickstart.rst:4 d3762ec7c3934f85b25b04cf4024a90c |
| 26 |
msgid "" |
| 27 |
"Reading through all the documentation is highly recommended, but for the " |
| 28 |
"truly impatient, following are some quick steps to get started." |
| 29 |
msgstr "" |
| 30 |
"强烈建议将所有文档完整地看一遍,但如果您目前没空,下面的步骤可以帮助您快速开始" |
| 31 |
"使用Pelican。" |
| 32 |
|
| 33 |
#: ../../quickstart.rst:8 c5982d5ecf7c445590254370b84995be |
| 34 |
msgid "Installation" |
| 35 |
msgstr "安装" |
| 36 |
|
| 37 |
#: ../../quickstart.rst:10 fda7d08c05f14e2fa0c07a4a1d216db5 |
| 38 |
msgid "" |
| 39 |
"Install Pelican (and optionally Markdown if you intend to use it) on " |
| 40 |
"Python |min_python| by running the following command in your preferred " |
| 41 |
"terminal, prefixing with ``sudo`` if permissions warrant::" |
| 42 |
msgstr "" |
| 43 |
"在命令行中执行下面的命令以安装Pelican(如果您需要Markdown支持的话,也可以同时安装之)。" |
| 44 |
"Pelican需要使用 |min_python| 以上版本的Python。在必要情况下,请在命令前加上 ``sudo`` 。" |
| 45 |
|
| 46 |
#: ../../quickstart.rst:17 9db650d9dc9d4ac48df4dd9fc0a246ac |
| 47 |
msgid "Create a project" |
| 48 |
msgstr "创建项目" |
| 49 |
|
| 50 |
#: ../../quickstart.rst:19 2e9a72a878754604abdb27d9ec37937e |
| 51 |
msgid "" |
| 52 |
"First, choose a name for your project, create an appropriately-named " |
| 53 |
"directory for your site, and switch to that directory::" |
| 54 |
msgstr "" |
| 55 |
"首先,给您的项目想个名字,并以合适的名字创建一个文件夹来存放您的站点。" |
| 56 |
"接着,进入这个新创建的文件夹:" |
| 57 |
|
| 58 |
#: ../../quickstart.rst:25 da759420dd8440b485936a5a054f142a |
| 59 |
msgid "" |
| 60 |
"Create a skeleton project via the ``pelican-quickstart`` command, which " |
| 61 |
"begins by asking some questions about your site::" |
| 62 |
msgstr "" |
| 63 |
"通过 ``pelican-quickstart`` 命令创建一个项目的框架,执行这个命令后," |
| 64 |
"您需要输入一些站点相关的信息:" |
| 65 |
|
| 66 |
#: ../../quickstart.rst:30 eb2d702c9f5a4981a93f805e98674cfe |
| 67 |
msgid "" |
| 68 |
"For questions that have default values denoted in brackets, feel free to " |
| 69 |
"use the Return key to accept those default values [#tzlocal_fn]_. When " |
| 70 |
"asked for your URL prefix, enter your domain name as indicated (e.g., " |
| 71 |
"``https://example.com``)." |
| 72 |
msgstr "" |
| 73 |
"对于那些在括号中写了默认值的问题,完全可以直接回车以使用预设值 [#tzlocal_fn]_。" |
| 74 |
"在输入站点URL的前缀(prefix)时,请根据提示的格式输入站点的域名(例如 " |
| 75 |
"``https://example.com``)。" |
| 76 |
|
| 77 |
#: ../../quickstart.rst:36 66d29d63cce0488a8ec9e43ce97035f9 |
| 78 |
msgid "Create an article" |
| 79 |
msgstr "创作文章" |
| 80 |
|
| 81 |
#: ../../quickstart.rst:38 03af35552ef84e4491b46d8bf8c0f51e |
| 82 |
msgid "" |
| 83 |
"You cannot run Pelican until you have created some content. Use your " |
| 84 |
"preferred text editor to create your first article with the following " |
| 85 |
"content::" |
| 86 |
msgstr "" |
| 87 |
"您可以使用喜欢的文本编辑器来创建第一篇文章。下面是一个样例,可以将它作为您的第一篇文章:" |
| 88 |
|
| 89 |
#: ../../quickstart.rst:47 165d46a3f9da4f949375c70115fdeb3b |
| 90 |
msgid "" |
| 91 |
"Given that this example article is in Markdown format, save it as " |
| 92 |
"``~/projects/yoursite/content/keyboard-review.md``." |
| 93 |
msgstr "" |
| 94 |
"上面这篇文章是以Markdown的格式完成的,一定要将其保存在站点目录的content文件夹下,例如 " |
| 95 |
"``~/projects/yoursite/content/keyboard-review.md``。" |
| 96 |
|
| 97 |
#: ../../quickstart.rst:51 5cc306848439434f81708eddee812f0e |
| 98 |
msgid "Generate your site" |
| 99 |
msgstr "生成站点" |
| 100 |
|
| 101 |
#: ../../quickstart.rst:53 03037d0c3b0b4a64b957f8284f008c9d |
| 102 |
msgid "" |
| 103 |
"From your project root directory, run the ``pelican`` command to generate" |
| 104 |
" your site::" |
| 105 |
msgstr "" |
| 106 |
"在项目的根目录下,直接运行命令 ``pelican`` 就可以生成您自己的站点了:" |
| 107 |
|
| 108 |
#: ../../quickstart.rst:57 abadae17b6f94e36b8603bad69f6e24f |
| 109 |
msgid "" |
| 110 |
"Your site has now been generated inside the ``output/`` directory. (You " |
| 111 |
"may see a warning related to feeds, but that is normal when developing " |
| 112 |
"locally and can be ignored for now.)" |
| 113 |
msgstr "" |
| 114 |
"站点会生成在 ``output/`` 目录下。(此时可能会显示和feeds有关的警告,这和当前的" |
| 115 |
"本地开发环境有关,目前可以忽略之)" |
| 116 |
|
| 117 |
#: ../../quickstart.rst:62 7cf36e609f544f02a0c800f8412cf79c |
| 118 |
msgid "Preview your site" |
| 119 |
msgstr "预览站点" |
| 120 |
|
| 121 |
#: ../../quickstart.rst:64 1a64015c5cc9401bac0a6ac953164fb3 |
| 122 |
msgid "" |
| 123 |
"Open a new terminal session, navigate to your project root directory, and" |
| 124 |
" run the following command to launch Pelican's web server::" |
| 125 |
msgstr "" |
| 126 |
"打开一个新的命令行,进入刚才项目的根目录,执行下面的命令以运行一个Pelican web服务器:" |
| 127 |
|
| 128 |
#: ../../quickstart.rst:69 eb286b4785304d22a46e90884d26de07 |
| 129 |
msgid "Preview your site by navigating to http://localhost:8000/ in your browser." |
| 130 |
msgstr "打开浏览器,进入 http://localhost:8000/ 就可以看到刚刚生成的站点了。" |
| 131 |
|
| 132 |
#: ../../quickstart.rst:71 1dc30b5cb267402c9da251303ff59dbf |
| 133 |
msgid "" |
| 134 |
"Continue reading the other documentation sections for more detail, and " |
| 135 |
"check out the Pelican wiki's Tutorials_ page for links to community-" |
| 136 |
"published tutorials." |
| 137 |
msgstr "" |
| 138 |
"请继续阅读文档中的其他部分来了解Pelican的更多用法,也可以前往Pelican的" |
| 139 |
"wiki 教程_ 页面获取社区发布的教程。" |
| 140 |
|
| 141 |
#: ../../quickstart.rst:78 6c135ea1cbb44400b446c0f9074e0fc5 |
| 142 |
msgid "Footnotes" |
| 143 |
msgstr "脚注" |
| 144 |
|
| 145 |
#: ../../quickstart.rst:80 911df4217fd94e6184502153ed0e53dc |
| 146 |
msgid "" |
| 147 |
"You can help localize default fields by installing the optional `tzlocal " |
| 148 |
"<https://pypi.org/project/tzlocal/>`_ module." |
| 149 |
msgstr "" |
| 150 |
"您可以安装可选模块 `tzlocal <https://pypi.org/project/tzlocal/>`_ 来" |
| 151 |
"本地化默认字段。" |