# SOME DESCRIPTIVE TITLE. # Copyright (C) 2010–2024 # This file is distributed under the same license as the PELICAN package. # FIRST AUTHOR , 2024. # msgid "" msgstr "" "Project-Id-Version: PELICAN 4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2024-06-24 19:06+0800\n" "PO-Revision-Date: 2024-06-27 19:00+0800\n" "Last-Translator: GeorgeHu \n" "Language: zh_CN\n" "Language-Team: \n" "Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.15.0\n" #: ../../pelican-themes.rst:2 1fce54d5389b41f4a588e9b23b646aee msgid "pelican-themes" msgstr "pelican-themes" #: ../../pelican-themes.rst:7 6158b329ed7b469286405115e2ed7fa0 msgid "Description" msgstr "简介" #: ../../pelican-themes.rst:9 3df74d6d079945f7a4e0062ed5ea3eed msgid "" "``pelican-themes`` is a command line tool for managing themes for " "Pelican. See :ref:`settings/themes` for settings related to themes." msgstr "" "``pelican-themes`` 是一个命令行工具,用于管理Pelican主题。有关主题的配置," "请参考 :ref:`设置章节中的主题 ` 。" #: ../../pelican-themes.rst:14 03eb76faf4544c8dbf478752096c7d7c msgid "Usage" msgstr "用法" #: ../../pelican-themes.rst:16 d5dcdc6c26094f5695061f9c53633589 msgid "pelican-themes [-h] [-l] [-i theme path [theme path ...]]" msgstr "pelican-themes [-h] [-l] [-i theme path [theme path ...]]" #: ../../pelican-themes.rst:17 99b7a21ca612425da217b72b8c0c9b64 msgid "[-r theme name [theme name ...]]" msgstr "[-r theme name [theme name ...]]" #: ../../pelican-themes.rst:18 1f64db909173426dabee822aea3b269b msgid "[-s theme path [theme path ...]] [-v] [--version]" msgstr "[-s theme path [theme path ...]] [-v] [--version]" #: ../../pelican-themes.rst:21 63ef4d44a1db4176b4c3866671a93603 msgid "Optional arguments:" msgstr "可选参数:" #: ../../pelican-themes.rst:24 348360945a0943ffa8122aad16bf0ec1 msgid "Show the help and exit" msgstr "显示帮助信息并退出" #: ../../pelican-themes.rst:26 aaec8d28264b45b7aac617b7140b5b13 msgid "Show the themes already installed" msgstr "显示已安装的主题" #: ../../pelican-themes.rst:28 c8d44b6ac6754f4e8e10a39848f042d0 msgid "One or more themes to install" msgstr "安装一个或多个主题" #: ../../pelican-themes.rst:30 18077fbf428e476aa218464fb0f18d8d msgid "One or more themes to remove" msgstr "移除一个或多个主题" #: ../../pelican-themes.rst:32 e328d59886be45a6ae9530a0f2bea3ca msgid "" "Same as ``--install``, but create a symbolic link instead of copying the " "theme. Useful for theme development" msgstr "" "和 ``--install`` 相同,区别在于此选项仅会创建一个符号链接到给定的目录," "而不会将主题完整拷贝。一般用于主题的开发" #: ../../pelican-themes.rst:35 481c7a32a5e6400d83c9e2e56e6b94a4 msgid "Verbose output" msgstr "开启详细输出" #: ../../pelican-themes.rst:37 d7889dd20ac643ecad73e464ec4cfa55 msgid "Print the version of this script" msgstr "显示此工具的版本信息" #: ../../pelican-themes.rst:42 5c3d3aabd5304e8f9a6f0593824f1da6 msgid "Examples" msgstr "例子" #: ../../pelican-themes.rst:46 4d6ff63aae06482dbf22f41d4111b001 msgid "Listing the installed themes" msgstr "列出已安装主题" #: ../../pelican-themes.rst:48 91a9e942ea36479999586426afead753 msgid "" "With ``pelican-themes``, you can see the available themes by using the " "``-l`` or ``--list`` option:" msgstr "" "在 ``pelican-themes`` 中使用 ``-l`` 或 ``--list`` 选项,查看可用主题:" #: ../../pelican-themes.rst:62 7a2f7dc98fcc45cabc4639576d503c28 msgid "" "In this example, we can see there are three themes available: " "``notmyidea``, ``simple``, and ``two-column``." msgstr "" "在上面的例子中,可以看到有三个主题可供使用: ``notmyidea`` 、 " "``simple`` 、和 ``two-column`` 。" #: ../../pelican-themes.rst:65 8c03dfa908114d92b8a9aeb6673555ce msgid "" "``two-column`` is followed by an ``@`` because this theme is not copied " "to the Pelican theme path, but is instead just linked to it (see " "`Creating symbolic links`_ for details about creating symbolic links)." msgstr "" "主题 ``two-column`` 后有一个 ``@`` ,这是因为该主题没有被拷贝到Pelican的主题" "路径下,而只是为其创建了一个符号链接 (详见 `创建符号链接`_ )。" #: ../../pelican-themes.rst:69 bc91e8c3ff4a44dd9234d0ab186d8515 msgid "" "Note that you can combine the ``--list`` option with the ``-v`` or " "``--verbose`` option to get more verbose output, like this:" msgstr "" "当然,你可以将 ``--list`` 选项和 ``-v`` 或 ``--verbose`` 结合起来,从而" "得到更详细的输出:" #: ../../pelican-themes.rst:81 0b407ed71e6a4b428f5a582b58a47f3c msgid "Installing themes" msgstr "安装主题" #: ../../pelican-themes.rst:83 e95f78a5c3b844b9a6fd2924f455748f msgid "" "You can install one or more themes using the ``-i`` or ``--install`` " "option. This option takes as argument the path(s) of the theme(s) you " "want to install, and can be combined with the ``--verbose`` option:" msgstr "" "使用 ``-i`` 或 ``--install`` 选项可以安装一个或多个主题。此选项将一个" "或多个到达主题的路径作为参数,同样可以结合 ``--verbose`` 选项:" #: ../../pelican-themes.rst:103 5b20e90396564e08860b2b3a569e7166 msgid "Removing themes" msgstr "移除主题" #: ../../pelican-themes.rst:105 2415bf89e3804c9dbdc34814b0132b8c msgid "" "The ``pelican-themes`` command can also remove themes from the Pelican " "themes path. The ``-r`` or ``--remove`` option takes as argument the " "name(s) of the theme(s) you want to remove, and can be combined with the " "``--verbose`` option." msgstr "" "``pelican-themes`` 命令同样可用于移除Pelican主题文件夹下的主题。 ``-r`` 或 " "``--remove`` 选项以一个或多个主题的名称为参数,同样也可以结合 ``--verbose`` " "选项使用。" #: ../../pelican-themes.rst:122 9ea5149543a648049444220a4041da69 msgid "Creating symbolic links" msgstr "创建符号链接" #: ../../pelican-themes.rst:124 17cdf3146683485ea72db5fbd9c1f60a msgid "" "``pelican-themes`` can also install themes by creating symbolic links " "instead of copying entire themes into the Pelican themes path." msgstr "" "``pelican-themes`` 也可以通过创建符号链接来安装主题,如此便无需完整拷贝主题。" #: ../../pelican-themes.rst:127 1d2c60b41c374936a9986a852d50e898 msgid "" "To symbolically link a theme, you can use the ``-s`` or ``--symlink``, " "which works exactly as the ``--install`` option:" msgstr "" "使用 ``-s`` 或 ``--symlink`` 选项来为主题创建符号链接,用法和 ``--install`` 选项相同:" #: ../../pelican-themes.rst:134 66707a8607f549199dca6f93586d2d87 msgid "" "In this example, the ``two-column`` theme is now symbolically linked to " "the Pelican themes path, so we can use it, but we can also modify it " "without having to reinstall it after each modification." msgstr "" "在上面的例子中, ``two-column`` 主题就已经在Pelican主题目录下创建了符号链接," "也可以正常使用。如此,当我们修改主题后就无需重新进行安装。" #: ../../pelican-themes.rst:138 93ec27a473b04bca9d2930a7cb6b609c msgid "This is useful for theme development:" msgstr "这对主题的开发是很有用的:" #: ../../pelican-themes.rst:155 66d808308aa64fc9afcef8bdf03bca8b msgid "Doing several things at once" msgstr "同时执行多个操作" #: ../../pelican-themes.rst:157 ace10a2c2f4d4adab9ade60631e82c38 msgid "" "The ``--install``, ``--remove`` and ``--symlink`` options are not " "mutually exclusive, so you can combine them in the same command line to " "do more than one operation at time, like this:" msgstr "" "``--install`` 、 ``--remove`` 和 ``--symlink`` 可以同时使用,不会冲突," "因此可以在同一行命令中同时做多个操作:" #: ../../pelican-themes.rst:169 e7adbac04b6a40fd986c02e834cc1756 msgid "" "In this example, the theme ``notmyidea-cms`` is replaced by the theme " "``notmyidea-cms-fr``" msgstr "" "在上面的例子中,用 ``notmyidea-cms-fr`` 替换了 ``notmyidea-cms`` 主题。"