| 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 |
#: ../../pelican-themes.rst:2 1fce54d5389b41f4a588e9b23b646aee |
| 22 |
msgid "pelican-themes" |
| 23 |
msgstr "pelican-themes" |
| 24 |
|
| 25 |
#: ../../pelican-themes.rst:7 6158b329ed7b469286405115e2ed7fa0 |
| 26 |
msgid "Description" |
| 27 |
msgstr "简介" |
| 28 |
|
| 29 |
#: ../../pelican-themes.rst:9 3df74d6d079945f7a4e0062ed5ea3eed |
| 30 |
msgid "" |
| 31 |
"``pelican-themes`` is a command line tool for managing themes for " |
| 32 |
"Pelican. See :ref:`settings/themes` for settings related to themes." |
| 33 |
msgstr "" |
| 34 |
"``pelican-themes`` 是一个命令行工具,用于管理Pelican主题。有关主题的配置," |
| 35 |
"请参考 :ref:`设置章节中的主题 <settings/themes>` 。" |
| 36 |
|
| 37 |
#: ../../pelican-themes.rst:14 03eb76faf4544c8dbf478752096c7d7c |
| 38 |
msgid "Usage" |
| 39 |
msgstr "用法" |
| 40 |
|
| 41 |
#: ../../pelican-themes.rst:16 d5dcdc6c26094f5695061f9c53633589 |
| 42 |
msgid "pelican-themes [-h] [-l] [-i theme path [theme path ...]]" |
| 43 |
msgstr "pelican-themes [-h] [-l] [-i theme path [theme path ...]]" |
| 44 |
|
| 45 |
#: ../../pelican-themes.rst:17 99b7a21ca612425da217b72b8c0c9b64 |
| 46 |
msgid "[-r theme name [theme name ...]]" |
| 47 |
msgstr "[-r theme name [theme name ...]]" |
| 48 |
|
| 49 |
#: ../../pelican-themes.rst:18 1f64db909173426dabee822aea3b269b |
| 50 |
msgid "[-s theme path [theme path ...]] [-v] [--version]" |
| 51 |
msgstr "[-s theme path [theme path ...]] [-v] [--version]" |
| 52 |
|
| 53 |
#: ../../pelican-themes.rst:21 63ef4d44a1db4176b4c3866671a93603 |
| 54 |
msgid "Optional arguments:" |
| 55 |
msgstr "可选参数:" |
| 56 |
|
| 57 |
#: ../../pelican-themes.rst:24 348360945a0943ffa8122aad16bf0ec1 |
| 58 |
msgid "Show the help and exit" |
| 59 |
msgstr "显示帮助信息并退出" |
| 60 |
|
| 61 |
#: ../../pelican-themes.rst:26 aaec8d28264b45b7aac617b7140b5b13 |
| 62 |
msgid "Show the themes already installed" |
| 63 |
msgstr "显示已安装的主题" |
| 64 |
|
| 65 |
#: ../../pelican-themes.rst:28 c8d44b6ac6754f4e8e10a39848f042d0 |
| 66 |
msgid "One or more themes to install" |
| 67 |
msgstr "安装一个或多个主题" |
| 68 |
|
| 69 |
#: ../../pelican-themes.rst:30 18077fbf428e476aa218464fb0f18d8d |
| 70 |
msgid "One or more themes to remove" |
| 71 |
msgstr "移除一个或多个主题" |
| 72 |
|
| 73 |
#: ../../pelican-themes.rst:32 e328d59886be45a6ae9530a0f2bea3ca |
| 74 |
msgid "" |
| 75 |
"Same as ``--install``, but create a symbolic link instead of copying the " |
| 76 |
"theme. Useful for theme development" |
| 77 |
msgstr "" |
| 78 |
"和 ``--install`` 相同,区别在于此选项仅会创建一个符号链接到给定的目录," |
| 79 |
"而不会将主题完整拷贝。一般用于主题的开发" |
| 80 |
|
| 81 |
#: ../../pelican-themes.rst:35 481c7a32a5e6400d83c9e2e56e6b94a4 |
| 82 |
msgid "Verbose output" |
| 83 |
msgstr "开启详细输出" |
| 84 |
|
| 85 |
#: ../../pelican-themes.rst:37 d7889dd20ac643ecad73e464ec4cfa55 |
| 86 |
msgid "Print the version of this script" |
| 87 |
msgstr "显示此工具的版本信息" |
| 88 |
|
| 89 |
#: ../../pelican-themes.rst:42 5c3d3aabd5304e8f9a6f0593824f1da6 |
| 90 |
msgid "Examples" |
| 91 |
msgstr "例子" |
| 92 |
|
| 93 |
#: ../../pelican-themes.rst:46 4d6ff63aae06482dbf22f41d4111b001 |
| 94 |
msgid "Listing the installed themes" |
| 95 |
msgstr "列出已安装主题" |
| 96 |
|
| 97 |
#: ../../pelican-themes.rst:48 91a9e942ea36479999586426afead753 |
| 98 |
msgid "" |
| 99 |
"With ``pelican-themes``, you can see the available themes by using the " |
| 100 |
"``-l`` or ``--list`` option:" |
| 101 |
msgstr "" |
| 102 |
"在 ``pelican-themes`` 中使用 ``-l`` 或 ``--list`` 选项,查看可用主题:" |
| 103 |
|
| 104 |
#: ../../pelican-themes.rst:62 7a2f7dc98fcc45cabc4639576d503c28 |
| 105 |
msgid "" |
| 106 |
"In this example, we can see there are three themes available: " |
| 107 |
"``notmyidea``, ``simple``, and ``two-column``." |
| 108 |
msgstr "" |
| 109 |
"在上面的例子中,可以看到有三个主题可供使用: ``notmyidea`` 、 " |
| 110 |
"``simple`` 、和 ``two-column`` 。" |
| 111 |
|
| 112 |
#: ../../pelican-themes.rst:65 8c03dfa908114d92b8a9aeb6673555ce |
| 113 |
msgid "" |
| 114 |
"``two-column`` is followed by an ``@`` because this theme is not copied " |
| 115 |
"to the Pelican theme path, but is instead just linked to it (see " |
| 116 |
"`Creating symbolic links`_ for details about creating symbolic links)." |
| 117 |
msgstr "" |
| 118 |
"主题 ``two-column`` 后有一个 ``@`` ,这是因为该主题没有被拷贝到Pelican的主题" |
| 119 |
"路径下,而只是为其创建了一个符号链接 (详见 `创建符号链接`_ )。" |
| 120 |
|
| 121 |
#: ../../pelican-themes.rst:69 bc91e8c3ff4a44dd9234d0ab186d8515 |
| 122 |
msgid "" |
| 123 |
"Note that you can combine the ``--list`` option with the ``-v`` or " |
| 124 |
"``--verbose`` option to get more verbose output, like this:" |
| 125 |
msgstr "" |
| 126 |
"当然,你可以将 ``--list`` 选项和 ``-v`` 或 ``--verbose`` 结合起来,从而" |
| 127 |
"得到更详细的输出:" |
| 128 |
|
| 129 |
#: ../../pelican-themes.rst:81 0b407ed71e6a4b428f5a582b58a47f3c |
| 130 |
msgid "Installing themes" |
| 131 |
msgstr "安装主题" |
| 132 |
|
| 133 |
#: ../../pelican-themes.rst:83 e95f78a5c3b844b9a6fd2924f455748f |
| 134 |
msgid "" |
| 135 |
"You can install one or more themes using the ``-i`` or ``--install`` " |
| 136 |
"option. This option takes as argument the path(s) of the theme(s) you " |
| 137 |
"want to install, and can be combined with the ``--verbose`` option:" |
| 138 |
msgstr "" |
| 139 |
"使用 ``-i`` 或 ``--install`` 选项可以安装一个或多个主题。此选项将一个" |
| 140 |
"或多个到达主题的路径作为参数,同样可以结合 ``--verbose`` 选项:" |
| 141 |
|
| 142 |
#: ../../pelican-themes.rst:103 5b20e90396564e08860b2b3a569e7166 |
| 143 |
msgid "Removing themes" |
| 144 |
msgstr "移除主题" |
| 145 |
|
| 146 |
#: ../../pelican-themes.rst:105 2415bf89e3804c9dbdc34814b0132b8c |
| 147 |
msgid "" |
| 148 |
"The ``pelican-themes`` command can also remove themes from the Pelican " |
| 149 |
"themes path. The ``-r`` or ``--remove`` option takes as argument the " |
| 150 |
"name(s) of the theme(s) you want to remove, and can be combined with the " |
| 151 |
"``--verbose`` option." |
| 152 |
msgstr "" |
| 153 |
"``pelican-themes`` 命令同样可用于移除Pelican主题文件夹下的主题。 ``-r`` 或 " |
| 154 |
"``--remove`` 选项以一个或多个主题的名称为参数,同样也可以结合 ``--verbose`` " |
| 155 |
"选项使用。" |
| 156 |
|
| 157 |
#: ../../pelican-themes.rst:122 9ea5149543a648049444220a4041da69 |
| 158 |
msgid "Creating symbolic links" |
| 159 |
msgstr "创建符号链接" |
| 160 |
|
| 161 |
#: ../../pelican-themes.rst:124 17cdf3146683485ea72db5fbd9c1f60a |
| 162 |
msgid "" |
| 163 |
"``pelican-themes`` can also install themes by creating symbolic links " |
| 164 |
"instead of copying entire themes into the Pelican themes path." |
| 165 |
msgstr "" |
| 166 |
"``pelican-themes`` 也可以通过创建符号链接来安装主题,如此便无需完整拷贝主题。" |
| 167 |
|
| 168 |
#: ../../pelican-themes.rst:127 1d2c60b41c374936a9986a852d50e898 |
| 169 |
msgid "" |
| 170 |
"To symbolically link a theme, you can use the ``-s`` or ``--symlink``, " |
| 171 |
"which works exactly as the ``--install`` option:" |
| 172 |
msgstr "" |
| 173 |
"使用 ``-s`` 或 ``--symlink`` 选项来为主题创建符号链接,用法和 ``--install`` 选项相同:" |
| 174 |
|
| 175 |
#: ../../pelican-themes.rst:134 66707a8607f549199dca6f93586d2d87 |
| 176 |
msgid "" |
| 177 |
"In this example, the ``two-column`` theme is now symbolically linked to " |
| 178 |
"the Pelican themes path, so we can use it, but we can also modify it " |
| 179 |
"without having to reinstall it after each modification." |
| 180 |
msgstr "" |
| 181 |
"在上面的例子中, ``two-column`` 主题就已经在Pelican主题目录下创建了符号链接," |
| 182 |
"也可以正常使用。如此,当我们修改主题后就无需重新进行安装。" |
| 183 |
|
| 184 |
#: ../../pelican-themes.rst:138 93ec27a473b04bca9d2930a7cb6b609c |
| 185 |
msgid "This is useful for theme development:" |
| 186 |
msgstr "这对主题的开发是很有用的:" |
| 187 |
|
| 188 |
#: ../../pelican-themes.rst:155 66d808308aa64fc9afcef8bdf03bca8b |
| 189 |
msgid "Doing several things at once" |
| 190 |
msgstr "同时执行多个操作" |
| 191 |
|
| 192 |
#: ../../pelican-themes.rst:157 ace10a2c2f4d4adab9ade60631e82c38 |
| 193 |
msgid "" |
| 194 |
"The ``--install``, ``--remove`` and ``--symlink`` options are not " |
| 195 |
"mutually exclusive, so you can combine them in the same command line to " |
| 196 |
"do more than one operation at time, like this:" |
| 197 |
msgstr "" |
| 198 |
"``--install`` 、 ``--remove`` 和 ``--symlink`` 可以同时使用,不会冲突," |
| 199 |
"因此可以在同一行命令中同时做多个操作:" |
| 200 |
|
| 201 |
#: ../../pelican-themes.rst:169 e7adbac04b6a40fd986c02e834cc1756 |
| 202 |
msgid "" |
| 203 |
"In this example, the theme ``notmyidea-cms`` is replaced by the theme " |
| 204 |
"``notmyidea-cms-fr``" |
| 205 |
msgstr "" |
| 206 |
"在上面的例子中,用 ``notmyidea-cms-fr`` 替换了 ``notmyidea-cms`` 主题。" |