From 60261b8c99d57a70ee5ce4d3c576a8a2c0417dfe Mon Sep 17 00:00:00 2001 From: GeorgeHu6 Date: Thu, 7 Nov 2024 16:31:32 +0800 Subject: [PATCH] Doc: update Chinese translation --- docs/locale/zh_CN/LC_MESSAGES/changelog.po | 776 +++++++++++---------- docs/locale/zh_CN/LC_MESSAGES/faq.po | 159 +++-- docs/locale/zh_CN/LC_MESSAGES/tips.po | 416 ++++++----- 3 files changed, 739 insertions(+), 612 deletions(-) diff --git a/docs/locale/zh_CN/LC_MESSAGES/changelog.po b/docs/locale/zh_CN/LC_MESSAGES/changelog.po index 18fec089e..fa2ad4061 100644 --- a/docs/locale/zh_CN/LC_MESSAGES/changelog.po +++ b/docs/locale/zh_CN/LC_MESSAGES/changelog.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PELICAN 4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-24 19:06+0800\n" +"POT-Creation-Date: 2024-11-07 16:25+0800\n" "PO-Revision-Date: 2024-06-27 19:00+0800\n" "Last-Translator: GeorgeHu \n" "Language: zh_CN\n" @@ -16,243 +16,299 @@ msgstr "" "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" +"Generated-By: Babel 2.16.0\n" -#: ../../changelog.rst:2 4aeac72dd31d4f34ae17a35dc3dfb6bb +#: ../../changelog.rst:2 0742e96cabd04fc99355bbfa66fcb719 msgid "Release history" msgstr "更新日志" -#: ../../changelog.rst:5 1e1473d7633a41f6bf9b31bdd8b7fe79 +#: ../../changelog.rst:5 47b916504e6c4a33a499718574212ed2 +msgid "4.10.1 - 2024-09-28" +msgstr "" + +#: ../../changelog.rst:7 33731d204a8f42d6972a5b41035bf6fa +msgid "Fix error when running ``pelican -r -l``" +msgstr "" + +#: ../../changelog.rst:8 0c82e22bd70f497880747a23445a279e +msgid "Fix symlink handling in ``pelican-themes``" +msgstr "" + +#: ../../changelog.rst:11 2a6b4d6833884393bf6eb0f664f07027 +msgid "4.10.0 - 2024-09-16" +msgstr "" + +#: ../../changelog.rst:13 c5b7388ced0246df9383968b896cee1d +msgid "Add setting to specify summary via paragraph count" +msgstr "" + +#: ../../changelog.rst:14 55bef71482124d7ba15dcc13def666b4 +msgid "Add new status to skip generation of a post" +msgstr "" + +#: ../../changelog.rst:15 74aa099718c64ec3864fb4b54e8c7e7b +msgid "Add setting to append ``ref`` parameter to links in feeds" +msgstr "" + +#: ../../changelog.rst:16 be0d21b2ffd648f9aad935e95fa2e9b2 +msgid "Configure logging handler via ``--log-handler`` CLI option" +msgstr "" + +#: ../../changelog.rst:17 f582b79f9b19462988607337626e92e8 +msgid "Resolve intra-site links in summaries" +msgstr "" + +#: ../../changelog.rst:18 00e8752d88364591a1e7844b3605963c +msgid "Warn when files are not processed due to disabled readers" +msgstr "" + +#: ../../changelog.rst:19 0de52c3ba40b44f0816cc8dabf7913ab +msgid "Add Medium post importer" +msgstr "" + +#: ../../changelog.rst:20 051bf922a7304dd798e894ddcfb64635 +msgid "Improve GitHub Pages workflow" +msgstr "" + +#: ../../changelog.rst:21 7db880406e9540de9b2d5b023cc10147 +msgid "Improve code test coverage" +msgstr "" + +#: ../../changelog.rst:22 c4327d2df9e34af384a4b0c96031e7e1 +msgid "Translate documentation into Simplified Chinese" +msgstr "" + +#: ../../changelog.rst:25 75bd952da32744868b68714fa89d62ec msgid "4.9.1 - 2023-11-15" msgstr "" -#: ../../changelog.rst:7 b8408b62a2644333a6f79c46ed50ae40 +#: ../../changelog.rst:27 f896a982ada348e3bf763a9cf620d432 msgid "Ensure ``tzdata`` dependency is installed on Windows" msgstr "" -#: ../../changelog.rst:10 fd27b54d8bc441ffaad0eed5342e3fb0 +#: ../../changelog.rst:30 f7893a294e2c4c44bd82d68283421096 msgid "4.9.0 - 2023-11-12" msgstr "" -#: ../../changelog.rst:12 d2a96d9c7641406db9b5bbbf1e1591f1 +#: ../../changelog.rst:32 3fc89471c16044349176c6bf58daef61 msgid "Upgrade code to new minimum supported Python version: 3.8" msgstr "" -#: ../../changelog.rst:13 eecb4e70e6d64882a298a68a906aa7e7 +#: ../../changelog.rst:33 361eb8523ae54e6c965c4957d5af9a0b msgid "" "Settings support for ``pathlib.Path`` `(#2758) " "`_" msgstr "" -#: ../../changelog.rst:14 73d4ff7624894557974d1e14072e995e +#: ../../changelog.rst:34 7ea2147f8b6c4bc1af0e926b897fbbc7 msgid "" "Various improvements to Simple theme (`#2976 " "`_ & `#3234 " "`_)" msgstr "" -#: ../../changelog.rst:15 242c2330a6264406a9444beb84da5682 +#: ../../changelog.rst:35 fc0e0bb6fd8a49bca130f352208d4e65 msgid "" "Use Furo as Sphinx documentation theme `(#3023) " "`_" msgstr "" -#: ../../changelog.rst:16 dabb5eb48294457aba25a322ab1d0197 +#: ../../changelog.rst:36 1767e84116304b62bff9c66576c8b530 msgid "" "Default to 100 articles maximum in feeds `(#3127) " "`_" msgstr "" -#: ../../changelog.rst:17 86ddf69ef3e74a5e9633b231762624d3 +#: ../../changelog.rst:37 1f42290cb97f4c22b71b49bfd4e1d763 msgid "" "Add ``period_archives common context`` variable `(#3148) " "`_" msgstr "" -#: ../../changelog.rst:18 2e0c631a1cf04880b862de6b807eff48 +#: ../../changelog.rst:38 8e70999f32d743d8be9d7a09a7b8440e msgid "" "Use ``watchfiles`` as the file-watching backend `(#3151) " "`_" msgstr "" -#: ../../changelog.rst:19 59ca5ac64d244f93abcda99d3544de2a +#: ../../changelog.rst:39 eb554022ed4445b4886e5fb7b1ffda48 msgid "" "Add GitHub Actions workflow for GitHub Pages `(#3189) " "`_" msgstr "" -#: ../../changelog.rst:20 88ed863544e64ea5a09301d25cd80d3e +#: ../../changelog.rst:40 aee78c33fc074a5aa2a3e7b6b074a2d1 msgid "" "Allow dataclasses in settings `(#3204) " "`_" msgstr "" -#: ../../changelog.rst:21 b101d1a2f7c04acfa220a77ccf85dc35 +#: ../../changelog.rst:41 b302dcfa9ab347c7a4190e35a2fec468 msgid "" "Switch build tool to PDM instead of Setuptools/Poetry `(#3220) " "`_" msgstr "" -#: ../../changelog.rst:22 422f54c14c4144b986362c831b56cb86 +#: ../../changelog.rst:42 39c35ce577d6418ebe1bdb8bd83855da msgid "" "Provide a ``plugin_enabled`` Jinja test for themes `(#3235) " "`_" msgstr "" -#: ../../changelog.rst:23 1a85c8e28699430cb4ee54e6b1cda9ba +#: ../../changelog.rst:43 10520c5ebec34d02996410cc1d611162 msgid "" "Preserve connection order in Blinker `(#3238) " "`_" msgstr "" -#: ../../changelog.rst:24 f605f3f56552418d80225548b3bea74c +#: ../../changelog.rst:44 e3e01fbe72ff48578ee636044d930861 msgid "" "Remove social icons from default ``notmyidea`` theme `(#3240) " "`_" msgstr "" -#: ../../changelog.rst:25 de509b7854fe41f986b7ea8c86034ded +#: ../../changelog.rst:45 0e0d4fc6f77947a79bc3864dbcfd3025 msgid "" "Remove unreliable ``WRITE_SELECTED`` feature `(#3243) " "`_" msgstr "" -#: ../../changelog.rst:26 1206eb9fb5c344c0ae2fa5ae405bb29e +#: ../../changelog.rst:46 3945b50f56c849e8b756418a049e8bd5 msgid "" "Importer: Report broken embedded video links when importing from Tumblr " "`(#3177) `_" msgstr "" -#: ../../changelog.rst:27 eeefe71248724cd8928500b64c1d24f0 +#: ../../changelog.rst:47 91a65ac386d64de293807b14a1ee66c1 msgid "" "Importer: Remove newline addition when iterating Photo post types " "`(#3178) `_" msgstr "" -#: ../../changelog.rst:28 d9bbceb0175b42b9be8b19b89546c7fd +#: ../../changelog.rst:48 5965fc057a0a4c94a2507956a2227789 msgid "" "Importer: Force timestamp conversion in Tumblr importer to be UTC with " "offset `(#3221) `_" msgstr "" -#: ../../changelog.rst:29 fcb7a001e25345bda01cc0d7fbdcc0c1 +#: ../../changelog.rst:49 f4a79028bfa946debc9a6924670e5456 msgid "" "Importer: Use tempfile for intermediate HTML file for Pandoc `(#3221) " "`_" msgstr "" -#: ../../changelog.rst:30 c7a0a3a319754ada970b27f9913833bd +#: ../../changelog.rst:50 ac3ff1ef109f49898c54eb75bb9d4bf3 msgid "" "Switch linters to Ruff `(#3223) " "`_" msgstr "" -#: ../../changelog.rst:33 b80948b635ca4ba3bdaf0efedf9e8230 +#: ../../changelog.rst:53 87b5ee37dea84dce9c75361f533e8057 msgid "4.8.0 - 2022-07-11" msgstr "" -#: ../../changelog.rst:35 c95dd083acb34ccea579bed98c19d95b +#: ../../changelog.rst:55 858d9945de86466eb1507d7859efc304 msgid "" "Use JSON values for extra settings in Invoke tasks template `(#2994) " "`_" msgstr "" -#: ../../changelog.rst:36 54acbf33444345efa17b6006650cfff2 +#: ../../changelog.rst:56 ad022a2dbbe74c28ab78757f64791daa msgid "" "Add content tag for links, which can help with things like Twitter social" " cards `(#3001) `_" msgstr "" -#: ../../changelog.rst:37 28a4102c014741ac987ba8be6ff00565 +#: ../../changelog.rst:57 889f590d0fda46dbb6a14336644f265e msgid "" "Improve word count behavior when generating summary `(#3002) " "`_" msgstr "" -#: ../../changelog.rst:40 00956e307c3647078780260ec470f0c4 +#: ../../changelog.rst:60 c6c9bfd44396439c8e3a04b083dfc9b3 msgid "4.7.2 - 2022-02-09" msgstr "" -#: ../../changelog.rst:42 9782bf3d611b4168b76fe33602f13d26 +#: ../../changelog.rst:62 21432dcec96e438c8f21de585540e9b9 msgid "" "Fix incorrect parsing of parameters specified via `-e` / `--extra-" "settings` option flags `(#2938) " "`_" msgstr "" -#: ../../changelog.rst:43 b3ce4b03bd92409ea6aea120cd2d3a4f +#: ../../changelog.rst:63 250cb0b205ea4bc091bcbfa18a688398 msgid "" "Add ``categories.html`` template to default theme `(#2973) " "`_" msgstr "" -#: ../../changelog.rst:44 bdcd1255d2534a5c992a53c2c9640299 +#: ../../changelog.rst:64 f404aaef8abe40d89a8394f71043767b msgid "" "Document how to use plugins to inject content `(#2922) " "`_" msgstr "" -#: ../../changelog.rst:47 9052d76f02fc4509998872f8c650696d +#: ../../changelog.rst:67 ea47463991054e678639e2d5afee8733 msgid "4.7.1 - 2021-10-12" msgstr "" -#: ../../changelog.rst:49 1ddc283dca434367a9eebebb4dc19c55 +#: ../../changelog.rst:69 52f38102dca542dcaa5e901ba9cff484 msgid "" "Extend rich logging to server component `(#2927) " "`_" msgstr "" -#: ../../changelog.rst:50 2ebe1d316cc541eba3ef3d20512c97f0 +#: ../../changelog.rst:70 e2f47cedaac946b6b3877063c1531849 msgid "" "Fix an issue where metadata flagged to be discarded was being cached " "`(#2926) `_" msgstr "" -#: ../../changelog.rst:51 7561e4a903db49bba3c7cb5d22ea25be +#: ../../changelog.rst:71 c7270f10045541f992ea76f9b8f938bc msgid "" "Adjust suffix in server to allow redirection when needed `(#2931) " "`_" msgstr "" -#: ../../changelog.rst:52 369516860be2437b9099796b0b3c7847 +#: ../../changelog.rst:72 25eecc81230442e8be149c26afebcba8 msgid "" "Add MIME types for web fonts `(#2929) " "`_" msgstr "" -#: ../../changelog.rst:53 2a4dd51d3c2d46c1a0a774274436fc74 +#: ../../changelog.rst:73 28bdcfa53bcf4bf5908acd39b88b1264 msgid "" "Distribute sample data used to run tests `(#2935) " "`_" msgstr "" -#: ../../changelog.rst:54 63a08ba90a054e369d1be50c491f094b +#: ../../changelog.rst:74 90855b72a6744760a57195ca0566401c msgid "Add Python 3.10 to test matrix" msgstr "" -#: ../../changelog.rst:57 f07f93ca41894e2ea7de889e68dddd63 +#: ../../changelog.rst:77 a5d1ee359c9a472bac01a3c953358994 msgid "4.7.0 - 2021-10-01" msgstr "" -#: ../../changelog.rst:59 1e0f42b1b76e4eb4a356612459563660 +#: ../../changelog.rst:79 1b28838f5000456aa396f8768c307102 msgid "" "Improve default theme rendering on mobile and other small screen devices " "`(#2914) `_" msgstr "" -#: ../../changelog.rst:60 2ae6e8430fd4421994f330f095111d0e +#: ../../changelog.rst:80 e080e2f741464f92b7d988da7e3dba5d msgid "" "Add support for hidden articles `(#2866) " "`_" msgstr "" -#: ../../changelog.rst:61 eabcc4a0ac764f3991805d2f746cd415 +#: ../../changelog.rst:81 71036c834cc4480ba38566d039d9b50a msgid "" "Improve word count behavior when generating summary CJK & other locales " "`(#2864) `_" msgstr "" -#: ../../changelog.rst:62 9a1b80fe805a4c35960c6cba82d813b2 +#: ../../changelog.rst:82 dad2c8c0f0d84a4db5b0139e8dc4bec8 msgid "" "Add progress spinner during generation `(#2869) " "`_ and richer logging " @@ -260,294 +316,294 @@ msgid "" "`Rich `_" msgstr "" -#: ../../changelog.rst:64 5ea56ecd1a0740a1bc75e6f60515dfa8 +#: ../../changelog.rst:84 ad420f41f0fb44809f0f88d2638ed6b9 msgid "" "Invoke tasks ``serve`` and ``livereload`` now auto-open a web browser " "pointing to the locally-served web site `(#2764) " "`_" msgstr "" -#: ../../changelog.rst:65 60ed0fd02107499ead142c41c827f71a +#: ../../changelog.rst:85 34794ceaec054ec4b47706297e65a498 msgid "" "Support some date format codes used by ISO dates `(#2902) " "`_" msgstr "" -#: ../../changelog.rst:66 fbf7c4ded7af44a6813c0b26432d6905 +#: ../../changelog.rst:86 cd9520f44e004be6a7d7fb27032d37a6 msgid "" "Document how to add a new writer `(#2901) " "`_" msgstr "" -#: ../../changelog.rst:69 fbada9e3ad0845b4a72f9688cf251a6a +#: ../../changelog.rst:89 278990583126431793bd184ef69e4315 msgid "4.6.0 - 2021-03-23" msgstr "" -#: ../../changelog.rst:71 fb814688de1a4df58087cb466d7fa24f +#: ../../changelog.rst:91 a7a02445adbd4dd58d066f6f8fa5810b msgid "" "Add new URL pattern to ``PAGINATION_PATTERNS`` for the last page in the " "list `(#1401) `_" msgstr "" -#: ../../changelog.rst:72 9c5ae9de4b3f4ee7bb54ba0f5fe9194b +#: ../../changelog.rst:92 e5e2fd04bc8a40edb8a0d1c088a95708 msgid "" "Speed up ``livereload`` Invoke task via caching `(#2847) " "`_" msgstr "" -#: ../../changelog.rst:73 ccfa403160e6435990a51f311c059f65 +#: ../../changelog.rst:93 e37a383072324f98a8f5698edab71384 msgid "" "Ignore ``None`` return value from ``get_generators`` signal `(#2850) " "`_" msgstr "" -#: ../../changelog.rst:74 e00f58f952cf473390d2d3a0bff95f26 +#: ../../changelog.rst:94 ea446fad671d4e1e8b3220a35ffe170b msgid "Relax dependency minimum versions and remove upper bounds" msgstr "" -#: ../../changelog.rst:77 7d2fd1353eda4e5cb27a27dae71fda0c +#: ../../changelog.rst:97 3e38341f147e414ba7b10c339d28a0d4 msgid "4.5.4 - 2021-01-04" msgstr "" -#: ../../changelog.rst:79 d40e6e0035144705b52124f970bc3ea3 +#: ../../changelog.rst:99 b4296b7abe7a411faedd991310af951f msgid "" "Replace plugin definitions in settings with string representations after " "registering, so they can be cached correctly `(#2828) " "`_." msgstr "" -#: ../../changelog.rst:82 13f1634fef1f4a65a64ad54159de14fe +#: ../../changelog.rst:102 7fc32eaefef846d28cd834cabfa8dee9 msgid "4.5.3 - 2020-12-01" msgstr "" -#: ../../changelog.rst:84 19753217e0b04230998d9f5c9730a423 +#: ../../changelog.rst:104 5e0db3263ddd42bca058026426cf06e6 msgid "Fix a mistake made in PR #2821" msgstr "" -#: ../../changelog.rst:87 1c8a0889b5de47178fab5b9d5d085c55 +#: ../../changelog.rst:107 1ef29d1cc4de42d1aa3c0c163df3514a msgid "4.5.2 - 2020-11-22" msgstr "" -#: ../../changelog.rst:89 8c30ac8608f54fd48f29f1e48f640ccd +#: ../../changelog.rst:109 c7c77959e6d04be4a6a6c7ace8d64c0d msgid "Improve logging of generators and writer loaders" msgstr "" -#: ../../changelog.rst:92 2673cef2ee1c42bdad7f7a80c77002c6 +#: ../../changelog.rst:112 00572ddf9ed24457aedc3f744b684404 msgid "4.5.1 - 2020-11-02" msgstr "" -#: ../../changelog.rst:94 50a7b8039d1d45b4bf85550da4c40318 +#: ../../changelog.rst:114 85d67c71b8664cf3900c982deba934b5 msgid "" "Refactor intra-site link discovery in order to match more permissively " "`(#2646) `_" msgstr "" -#: ../../changelog.rst:95 009addb3893a4c9b98af8eba13e57e11 +#: ../../changelog.rst:115 0ae962176dac4745a0929eac1cb0a671 msgid "" "Fix plugins running twice in auto-reload mode `(#2817) " "`_" msgstr "" -#: ../../changelog.rst:96 43f7f7e70f3948cdaaa3fb6b7a6ab45d +#: ../../changelog.rst:116 6c9d2b7c8f5c40d9830f38cc39807326 msgid "" "Add notice to use ``from pelican import signals`` instead of ``import " "pelican.signals`` `(#2805) " "`_" msgstr "" -#: ../../changelog.rst:99 ef2a1b597d854881bf89d6240fe59ee0 +#: ../../changelog.rst:119 cc543240f72d4e15bafa37e8cbe86c54 msgid "4.5.0 - 2020-08-20" msgstr "" -#: ../../changelog.rst:101 d6f141fa55fc43cfa36eac89d4ec4a67 +#: ../../changelog.rst:121 3b3db764e63f49c0b00d2b1cc71755f2 msgid "Add namespace plugin support; list plugins via ``pelican-plugins`` command" msgstr "" -#: ../../changelog.rst:102 83d9116dd10b404fb3d978977a91f03a +#: ../../changelog.rst:122 ad62f8bcd989447e97326c5845ec146b msgid "Override settings via ``-e`` / ``--extra-settings`` CLI option flags" msgstr "" -#: ../../changelog.rst:103 772c3e4941e64bc9a5a41ee644e980b3 +#: ../../changelog.rst:123 f12bccb1dc904d0bbffb0d9e5291ad3d msgid "Add settings for custom Jinja globals and tests" msgstr "" -#: ../../changelog.rst:104 cf2bd72795894ce796ae65a26307fa9e +#: ../../changelog.rst:124 c569ff52ef904228971c38b1a958847f msgid "Customize article summary ellipsis via ``SUMMARY_END_SUFFIX`` setting" msgstr "" -#: ../../changelog.rst:105 3494ccef87de4029a51d34e9f6ebac8c +#: ../../changelog.rst:125 733087bf4e14447095fb364a1d5b606f msgid "Customize Typogrify dash handling via new ``TYPOGRIFY_DASHES`` setting" msgstr "" -#: ../../changelog.rst:106 441907e7fc27419cad1f678c3d81fcdd +#: ../../changelog.rst:126 9e0de47310964a99bf1ec0a87f810036 msgid "Support Unicode when generating slugs" msgstr "" -#: ../../changelog.rst:107 0466696922dd4904a9a061c79d9e5d01 +#: ../../changelog.rst:127 c496a287d95b47759425578bc29d4cf3 msgid "Support Asciidoc ``.adoc`` file generation in Pelican importer" msgstr "" -#: ../../changelog.rst:108 0711923af6544d84a09b027877cd7318 +#: ../../changelog.rst:128 1f8597af3f9946129cfb150e9728c25c msgid "Improve user experience when ``pelican --listen`` web server is quit" msgstr "" -#: ../../changelog.rst:109 1736b73cd9354c5fb276263a0158f1d0 +#: ../../changelog.rst:129 418a06eb1d9d4332945b5b1729734579 msgid "Improve Invoke tasks template" msgstr "" -#: ../../changelog.rst:110 a243c2afd72349ebb46076aef63a62af +#: ../../changelog.rst:130 8b63e2e5d29a4cde830ea8c1df058ab1 msgid "Include tests in source distributions" msgstr "" -#: ../../changelog.rst:111 d3659b2430704e179785f6edeea9d975 +#: ../../changelog.rst:131 68105e5e919a43518ac6af8b88957e44 msgid "Switch CI from Travis to GitHub Actions" msgstr "" -#: ../../changelog.rst:112 a9ee05a0579d4153935499a3f3bdcc47 +#: ../../changelog.rst:132 053f40c3741c4d54bc840f2ad32f34eb msgid "Remove support for Python 2.7" msgstr "" -#: ../../changelog.rst:115 eb3830c633c14e63995b8fbcf8e3d29b +#: ../../changelog.rst:135 6190d59940dd4c57a603140e0813f9b5 msgid "4.2.0 - 2019-10-17" msgstr "" -#: ../../changelog.rst:117 5af9b29432a94955813a11932e9e38c8 +#: ../../changelog.rst:137 5f11442743c841ff91d46b643698dfa9 msgid "Support inline SVGs; don't treat titles in SVGs as HTML titles" msgstr "" -#: ../../changelog.rst:118 d776137d56d04320a1a70ced25696379 +#: ../../changelog.rst:138 a68bbd4f2a024c7a84c259aee8fcb621 msgid "Add category to feeds (in addition to tags)" msgstr "" -#: ../../changelog.rst:119 ab3c5b4616544a3d89492ff849de5932 +#: ../../changelog.rst:139 dd3937b7cb38480a84e6a5daed48e113 msgid "Improve content metadata field docs" msgstr "" -#: ../../changelog.rst:120 aa20a63221484e90954aaac555dba376 +#: ../../changelog.rst:140 87030fc248dc46e5902d3e7681702351 msgid "Add docs for including other Markdown/reST files in content" msgstr "" -#: ../../changelog.rst:123 f40de58367e94d50af3e6e700523edc7 +#: ../../changelog.rst:143 85163f7808a64f7cac3dd54f98c2a2fd msgid "4.1.3 - 2019-10-09" msgstr "" -#: ../../changelog.rst:125 910c8615c3224456a42555389c268e4c +#: ../../changelog.rst:145 486947a4cc584437aff9364d721eeb41 msgid "Fix quick-start docs regarding ``pelican --listen``" msgstr "" -#: ../../changelog.rst:126 1c9961cd18bd4d17ae1f9ff0f3f45990 +#: ../../changelog.rst:146 cf68238f21bd40b081eb670527e5ad88 msgid "Set default listen address to 127.0.0.1" msgstr "" -#: ../../changelog.rst:127 7108f2b9c2d8444b8fa1ca32a26e36cc +#: ../../changelog.rst:147 21aed223e69549038ee7b840fe0e45a5 msgid "Add extra/optional Markdown dependency to setup.py" msgstr "" -#: ../../changelog.rst:128 7d9eed3579384908b8ab564a4c358df8 +#: ../../changelog.rst:148 5c5c50a24bf945babe1fea501be5b672 msgid "Use correct SSH port syntax for rsync in tasks.py" msgstr "" -#: ../../changelog.rst:129 3b55feb812b14a1198b04659aa01ecf0 +#: ../../changelog.rst:149 cafa64aa81c94212a964ece5f6d00ea6 msgid "Place all deprecated settings handling together" msgstr "" -#: ../../changelog.rst:130 dc17ca3853c04536a3ade24a93d079ac +#: ../../changelog.rst:150 92ad7248e4d848f5b9955653a132ba1d msgid "Add related project URLs for display on PyPI" msgstr "" -#: ../../changelog.rst:131 c513a9e1fed74fe3ae3c23ffe2f804d9 +#: ../../changelog.rst:151 f97dcb0a8c6f41ca8e6a249f975688ab msgid "Skip some tests on Windows that can't pass due to filesystem differences" msgstr "" -#: ../../changelog.rst:134 ced29508dce44f0eb42c45aedc672fa6 +#: ../../changelog.rst:154 cb1b18c4628a48f3a7b59e4447057291 msgid "4.1.2 - 2019-09-23" msgstr "" -#: ../../changelog.rst:136 c448cf2e59da43248819ddb51f9f9738 +#: ../../changelog.rst:156 1cc7ba6aab5a43e9a3fbb04a8cf4c954 msgid "Fix pelican.settings.load_source to avoid caching issues - PR #2621" msgstr "" -#: ../../changelog.rst:139 98b3a78914f14383858960c37872cec0 +#: ../../changelog.rst:159 808b70fac79147a7a30cb263bfc091d5 msgid "4.1.1 - 2019-08-23" msgstr "" -#: ../../changelog.rst:141 7569ab6dfb9f4f59a4d9414a9ec307ac +#: ../../changelog.rst:161 3515525c09794e3eb685696916e9b4a8 msgid "Add AutoPub to auto-publish releases on PR merge" msgstr "" -#: ../../changelog.rst:142 29b086166a89485e9151534a891c8794 +#: ../../changelog.rst:162 e3958153de2543ab8af7b27e424a5199 msgid "Add CSS classes for reStructuredText figures" msgstr "" -#: ../../changelog.rst:143 3d90d9a7e7f244aeb5ef4bc09624c9d8 +#: ../../changelog.rst:163 469aba039b0e4bb5b08bd7bc9fd455f9 msgid "Pass ``argv`` to Pelican ``main`` entrypoint" msgstr "" -#: ../../changelog.rst:144 33de38d2ec8641ca865cebb06167ec58 +#: ../../changelog.rst:164 08494f27a31149a8a4e662d7160d334a msgid "Set default content status to a blank string rather than ``None``" msgstr "" -#: ../../changelog.rst:147 9ba143abfcdf4a9a86f7866b897c9831 +#: ../../changelog.rst:167 4e7e6da9e1a94e5886de5c7bb90da964 msgid "4.1.0 - 2019-07-14" msgstr "" -#: ../../changelog.rst:149 cc59d3e8f5f64f5a9ec02b56956e4d53 +#: ../../changelog.rst:169 de8697dee456433f8fd5592c79dc1235 msgid "Live browser reload upon changed files (provided via Invoke task)" msgstr "" -#: ../../changelog.rst:150 1013f5e7df5448b5a808743127ed0740 +#: ../../changelog.rst:170 67db4943813d410386e77969e6aea98f msgid "Add ``pyproject.toml``, managed by Poetry" msgstr "" -#: ../../changelog.rst:151 9548fcd5133743259a8e586f69e6453e +#: ../../changelog.rst:171 a6388203f3c44a31b2458bd0961c9e91 msgid "Support for invoking ``python -m pelican``" msgstr "" -#: ../../changelog.rst:152 c1ca4a3bfa27477ebcfd9ac5757cd20b +#: ../../changelog.rst:172 b526c18ddea74343b14a62d3933c31db msgid "Add relative source path attribute to content" msgstr "" -#: ../../changelog.rst:153 14c8367983884cd5913ef4aeaaae2ebe +#: ../../changelog.rst:173 98e5827380d24bb2b640c709ee1fa5bf msgid "Allow directories in ``EXTRA_PATH_METADATA``" msgstr "" -#: ../../changelog.rst:154 493069ecda9345cdab15204358d49856 +#: ../../changelog.rst:174 7372879d036e4c19967f008fed50bcfb msgid "" "Add ``all_articles`` variable to period pages (for recent posts " "functionality)" msgstr "" -#: ../../changelog.rst:155 57597a2f853047128a7f19d871a767cd +#: ../../changelog.rst:175 8b41c0640e9a4c4ca9458eea777c6c72 msgid "Improve debug mode output" msgstr "" -#: ../../changelog.rst:156 c1e2985b649844aface3795c16f24799 +#: ../../changelog.rst:176 00af35668b044b6da9e934104b73eac9 msgid "Remove blank or duplicate summaries from Atom feed" msgstr "" -#: ../../changelog.rst:157 be874126bdaa46ab868e9d5d572973ba +#: ../../changelog.rst:177 97c5594b58d94c45ada8a9efdb2216c8 msgid "" "Fix bugs in pagination, pelican-import, pelican-quickstart, and feed " "importer" msgstr "" -#: ../../changelog.rst:160 3220150f83f64d869d28b2f8abdfae29 +#: ../../changelog.rst:180 496531289a9c446c97d5e1842e5761f9 msgid "4.0.1 (2018-11-30)" msgstr "" -#: ../../changelog.rst:162 55ef92708e464069b85c860f407c44ee +#: ../../changelog.rst:182 48f43697fb824914a518283bab0ab39d msgid "Refactor ``pelican.server`` logging" msgstr "" -#: ../../changelog.rst:163 bbe751997c7541f78979d7885be777ad +#: ../../changelog.rst:183 7f431162613848738f2267518e0f435e msgid "Fix bug in which all static files were processed as \"draft\"" msgstr "" -#: ../../changelog.rst:164 e85f8cfa33124937bff767d633c505e6 +#: ../../changelog.rst:184 7c9866081cc0478aab4bcbb65f241b2b msgid "Bug fixes for Invoke/Makefile automation, Importer, and other miscellanea" msgstr "" -#: ../../changelog.rst:166 aee9e749eaa6417c9d7617678fbd5017 +#: ../../changelog.rst:186 b4f0a6a574f54e8baec02108e3cdf121 #, python-format msgid "" "If upgrading from 3.7.x or earlier, please note that slug-related " @@ -560,34 +616,34 @@ msgid "" "``TAG_FEED_ATOM.format(slug=tag.slug)``" msgstr "" -#: ../../changelog.rst:175 1c9f10c7ca554583840076dd4198471b +#: ../../changelog.rst:195 963535bf97cb4048b11dd47fa7fe5cb1 msgid "4.0.0 (2018-11-13)" msgstr "" -#: ../../changelog.rst:177 2e48c6a93f014447a24f76ec22c56634 +#: ../../changelog.rst:197 be207dbf17cc4c38ab4c8617ece18d43 msgid "Replace ``develop_server.sh`` script with ``pelican --listen``" msgstr "" -#: ../../changelog.rst:178 e9913592f867453ca8eb027547556190 +#: ../../changelog.rst:198 bfeb93e653cc44b4a6e65c1b5978e0d2 msgid "Improved copy/link behavior for large static files (e.g., videos)" msgstr "" -#: ../../changelog.rst:179 7b739431500a4e508b4eddee2944998c +#: ../../changelog.rst:199 0f6be38dbd8942c8a8692c377624a26a msgid "" "New ``{static}`` syntax to link to static content; content linked to by " "``{static}`` and ``{attach}`` is automatically copied over even if not in" " ``STATIC_PATHS``" msgstr "" -#: ../../changelog.rst:182 7d5ec1addb4a49b6825a365c1b28e6b7 +#: ../../changelog.rst:202 6d42f604ef724c72b0d691d52cced384 msgid "Pages can now have ``draft`` status" msgstr "" -#: ../../changelog.rst:183 567c77a6a7c24d999b974ce0ed8ea7f9 +#: ../../changelog.rst:203 c6513f293ae04b9fb1cee4ef355de4bd msgid "Show current settings via new ``--print-settings`` flag" msgstr "" -#: ../../changelog.rst:184 f8206229f89f474990ad86f3670eb6c6 +#: ../../changelog.rst:204 63636f2fc7184030bc83647b4f81d63a #, python-format msgid "" "All settings for slugs now use ``{slug}`` and/or ``{lang}`` rather than " @@ -595,1075 +651,1075 @@ msgid "" "warning and fallback to the default setting." msgstr "" -#: ../../changelog.rst:187 55c29729d5ae42f6931b0af7ea314bcb +#: ../../changelog.rst:207 594a958f9f9c495c86c4eb15ee1d353e msgid "New signals: ``feed_generated`` and ``page_generated_write_page``" msgstr "" -#: ../../changelog.rst:188 fdd81adbccd2499988dda1b8faef1ab3 +#: ../../changelog.rst:208 4c1a13c890d04aea9bdb43ba3a85f98e msgid "Replace Fabric with Invoke and ``fabfile.py`` template with ``tasks.py``" msgstr "" -#: ../../changelog.rst:189 85659c414dad4293b8a0d6ad9350c4d9 +#: ../../changelog.rst:209 05c5bacea3de4d159dc464bb80d3b70d msgid "" "Replace ``PAGINATED_DIRECT_TEMPLATES`` by ``PAGINATED_TEMPLATES``, " "extending control over pagination to all templates and making page size " "variable" msgstr "" -#: ../../changelog.rst:191 2e76745f8fea417fb90052f755372212 +#: ../../changelog.rst:211 d4c57ccd147b409bafd324580546ce89 msgid "" "Replace ``SLUG_SUBSTITUTIONS`` (and friends) by " "``SLUG_REGEX_SUBSTITUTIONS`` for more finegrained control" msgstr "" -#: ../../changelog.rst:193 c477dc73b63646c2bf339afff54a2e5f +#: ../../changelog.rst:213 5fcdd3851c4348ffb6f9f30e21d01cca msgid "" "``'{base_name}'`` value in ``PAGINATION_PATTERNS`` setting no longer " "strips ``'bar'`` from ``'foo/bar.html'`` (unless ``'bar' == 'index'``)." msgstr "" -#: ../../changelog.rst:195 0c9192b9f8c64af491d33f9358694940 +#: ../../changelog.rst:215 f21a405be2434ee78cac35d1f653b6ba msgid "" "``ARTICLE_ORDER_BY`` and ``PAGE_ORDER_BY`` now also affect 1) category, " "tag and author pages 2) feeds 3) draft and hidden articles and pages" msgstr "" -#: ../../changelog.rst:197 6e339043faff4d4a9a718a7571bf9698 +#: ../../changelog.rst:217 781dd286cb154c46a9e2036e697bcf7f msgid "" "New ``ARTICLE_TRANSLATION_ID`` and ``PAGE_TRANSLATION_ID`` settings to " "specify metadata attributes used to identify/disable translations" msgstr "" -#: ../../changelog.rst:199 84e3cebb5adf4c45bda8f132772f2bdd +#: ../../changelog.rst:219 ae7fd53c1d6047eb8027016c4a00bd65 msgid "Make the HTML reader parse multiple occurrences of metadata tags as a list" msgstr "" -#: ../../changelog.rst:200 790b535916b4402e8f3e568a96d208cc +#: ../../changelog.rst:220 dca4b981c67c42a080e5724d65ddf825 msgid "New Blogger XML backup importer" msgstr "" -#: ../../changelog.rst:201 84ba1adba13c4c66a843be015263cc5f +#: ../../changelog.rst:221 f92482bf76ec447186de98f4a471dd55 msgid "" "Wordpress importer now updates file links to point to local copies if the" " files were downloaded with ``--wp-attach``." msgstr "" -#: ../../changelog.rst:203 e40ac2db0d404e3d8b51e350256eb49b +#: ../../changelog.rst:223 0778a52f39704e629fed5df26deeaeb6 msgid "" "Importer no longer inserts extra newlines, to prevent breaking of HTML " "attributes." msgstr "" -#: ../../changelog.rst:205 a026ba70157640f9afdbbfd1c52635ed +#: ../../changelog.rst:225 6b21bcb847014ebcb4e658aaf54fd591 msgid "" "Pelican server now prioritises ``foo.html`` and ``foo/index.html`` over " "``foo/`` when resolving ``foo``." msgstr "" -#: ../../changelog.rst:209 7bd3c3fdc45a4e848499d05fd1a2149a +#: ../../changelog.rst:229 d9c7906de4814a988e96a0f836121773 msgid "3.7.1 (2017-01-10)" msgstr "" -#: ../../changelog.rst:211 a2224771f8184ef2ae2ae19e69ffff95 +#: ../../changelog.rst:231 dee875ace0cf4cf4a84e968613c64f1e msgid "Fix locale issues in Quickstart script" msgstr "" -#: ../../changelog.rst:212 4bc8c9d8dbf24260a84512695081a437 +#: ../../changelog.rst:232 0735e4ab311648fba920ba433eb5c81b msgid "Specify encoding for README and CHANGELOG in setup.py" msgstr "" -#: ../../changelog.rst:215 cdc85601d26440c08ba36b90b241218a +#: ../../changelog.rst:235 713d99ebaa1f446a857751b754b63677 msgid "3.7.0 (2016-12-12)" msgstr "" -#: ../../changelog.rst:217 88cad459481748c385a4d15e5041255c +#: ../../changelog.rst:237 0330d842ba514f58965a9b625db18791 msgid "Atom feeds output ```` in addition to ````" msgstr "" -#: ../../changelog.rst:218 e8f51cd31ea94d1cb0fff327607a5106 +#: ../../changelog.rst:238 7e5d0a914d214dbfb969b4e270f148c5 msgid "" "Atom feeds use ```` for the original publication date and " "```` for modifications" msgstr "" -#: ../../changelog.rst:220 56be71bb20124ccbb10bf502c2158ebd +#: ../../changelog.rst:240 4f0ed4869e00418b8b16a7e692516126 msgid "Simplify Atom feed ID generation and support URL fragments" msgstr "" -#: ../../changelog.rst:221 1ece62b3d5424ec4abd099d5b2bf20e0 +#: ../../changelog.rst:241 cdc742c1ed2c44a1b76a5cf7374c1374 msgid "Produce category feeds with category-specific titles" msgstr "" -#: ../../changelog.rst:222 106c730749474695b90ef8e5ddd31a7e +#: ../../changelog.rst:242 6a89fde3d1084e0d91e8b89b293a851c msgid "" "RSS feeds now default to summary instead of full content; set " "``RSS_FEED_SUMMARY_ONLY = False`` to revert to previous behavior" msgstr "" -#: ../../changelog.rst:224 14f1280956dc466a97042a5a313f9511 +#: ../../changelog.rst:244 dbe1f00b9a114bf6a5e7728eb15cbfd2 msgid "Replace ``MD_EXTENSIONS`` with ``MARKDOWN`` setting" msgstr "" -#: ../../changelog.rst:225 57cec9a1574f40f691b026cd680b681e +#: ../../changelog.rst:245 e8d183ddfb3a4b2bbb4ccc523ff1ce4d msgid "" "Replace ``JINJA_EXTENSIONS`` with more-robust ``JINJA_ENVIRONMENT`` " "setting" msgstr "" -#: ../../changelog.rst:226 9a398118c3d34bb996dc9af2d9c9503a +#: ../../changelog.rst:246 c4044fb542ce4772bc469c06f3606f88 msgid "" "Improve summary truncation logic to handle special characters and tags " "that span multiple lines, using HTML parser instead of regular " "expressions" msgstr "" -#: ../../changelog.rst:228 75ef90817db34f7ea869a68fcc3fb469 +#: ../../changelog.rst:248 6f6a8c2b60324ad6b00feb9f492c4d45 msgid "Include summary when looking for intra-site link substitutions" msgstr "" -#: ../../changelog.rst:229 264f880b25284b01b7135c2a2b9e8dc1 +#: ../../changelog.rst:249 e121d156b37b4f59a8846b700e1769ea msgid "Link to authors and index via ``{author}name`` and ``{index}`` syntax" msgstr "" -#: ../../changelog.rst:230 4c7abfddef0b454882888ba479aea6b7 +#: ../../changelog.rst:250 1d210456ced542c1babb622b06b2c4f4 msgid "Override widget names via ``LINKS_WIDGET_NAME`` and ``SOCIAL_WIDGET_NAME``" msgstr "" -#: ../../changelog.rst:231 2c5e79d0ad6141c9b6a19ee3e65d091e +#: ../../changelog.rst:251 6104e9c05e844436b12e538008947f47 msgid "Add ``INDEX_SAVE_AS`` option to override default ``index.html`` value" msgstr "" -#: ../../changelog.rst:232 6f89cd4a39ec445297f7dbb93e662e45 +#: ../../changelog.rst:252 0f875978cade45889a49f818c6664093 msgid "Remove ``PAGES`` context variable for themes in favor of ``pages``" msgstr "" -#: ../../changelog.rst:233 5b5ca0f599de4532964b3abe99a8c0d7 +#: ../../changelog.rst:253 bd6d148038524dbd8889ef4479115f15 msgid "" "``SLUG_SUBSTITUTIONS`` now accepts 3-tuple elements, allowing URL slugs " "to contain non-alphanumeric characters" msgstr "" -#: ../../changelog.rst:235 159f3122fe94405489ccc20fe78f53b5 +#: ../../changelog.rst:255 84e180ffd01640e39c8a02616d665f92 msgid "" "Tag and category slugs can be controlled with greater precision using the" " ``TAG_SUBSTITUTIONS`` and ``CATEGORY_SUBSTITUTIONS`` settings" msgstr "" -#: ../../changelog.rst:237 e163a8d8d61a4997b4259fcad5005d9c +#: ../../changelog.rst:257 c42874e842584772a9c6abda4cf1d2b2 msgid "" "Author slugs can be controlled with greater precision using the " "``AUTHOR_SUBSTITUTIONS`` setting" msgstr "" -#: ../../changelog.rst:239 f81c1120fcd44bfc9dd76acfb090ca9c +#: ../../changelog.rst:259 c3ad7f1d581d4a848a0d80425732faaa msgid "``DEFAULT_DATE`` can be defined as a string" msgstr "" -#: ../../changelog.rst:240 d79a66c8b8b44b3a93ec70011feae3e4 +#: ../../changelog.rst:260 28824188813542f08ef3546d48faeb4d msgid "Use ``mtime`` instead of ``ctime`` when ``DEFAULT_DATE = 'fs'``" msgstr "" -#: ../../changelog.rst:241 ec0aa5c74458441c9ba450673f5fd2ef +#: ../../changelog.rst:261 4cbfd98d99134eaba723b0a98dd38fdd msgid "Add ``--fatal=errors|warnings`` option for use with continuous integration" msgstr "" -#: ../../changelog.rst:242 13b4ab828a2941dfa8f1418685bb81a0 +#: ../../changelog.rst:262 e0346ee13c104f26a360952f415db7ca msgid "" "When using generator-level caching, ensure previously-cached files are " "processed instead of just new files." msgstr "" -#: ../../changelog.rst:244 d89e5097e9984f3daf4db6e9b929ada0 +#: ../../changelog.rst:264 3faa472e3d4440dfacb1e40b20cdbb36 msgid "Add Python and Pelican version information to debug output" msgstr "" -#: ../../changelog.rst:245 4716f79323444484a70f7fe8c2650e1f +#: ../../changelog.rst:265 7ca51c4375d641d18777b07bedb86f2c msgid "Improve compatibility with Python 3.5" msgstr "" -#: ../../changelog.rst:246 0f44c8d133b84c41a41d850300da1578 +#: ../../changelog.rst:266 cf9b150420fa47369ff0c95e8edc002b msgid "Comply with and enforce PEP8 guidelines" msgstr "" -#: ../../changelog.rst:247 c334d1c279204190893641f5ac313e36 +#: ../../changelog.rst:267 889cf4339a4b4d8daf520a7fb9985d8b msgid "Replace tables in settings documentation with ``data::`` directives" msgstr "" -#: ../../changelog.rst:250 461f1d0f43544a69be1139a9f19fe25a +#: ../../changelog.rst:270 586aeb301e8941fcb2171458f12ad198 msgid "3.6.3 (2015-08-14)" msgstr "" -#: ../../changelog.rst:252 7cff2bfca67f43bcb81338e645c16d6a +#: ../../changelog.rst:272 5499ed424969406c924c504f6f62f63e msgid "Fix permissions issue in release tarball" msgstr "" -#: ../../changelog.rst:255 73ecf430824c4621a9feba3aeb0f0435 +#: ../../changelog.rst:275 da9c552726b940a3b07c45b4233657ce msgid "3.6.2 (2015-08-01)" msgstr "" -#: ../../changelog.rst:257 304aa2b89bdb4d6a9765f92c169eeab7 +#: ../../changelog.rst:277 d29fcc033a634d8aac8f656c5eb9674f msgid "Fix installation errors related to Unicode in tests" msgstr "" -#: ../../changelog.rst:258 8b544b800b20492db937b02285e42065 +#: ../../changelog.rst:278 1276e0c3d1a9447d84e25c3ad9e7abe7 msgid "Don't show pagination in ``notmyidea`` theme if there's only one page" msgstr "" -#: ../../changelog.rst:259 f4aa88761161465faaf260a5b8fd25a9 +#: ../../changelog.rst:279 c12da2ed75d64539af457cd49216fd7b msgid "Make hidden pages available in context" msgstr "" -#: ../../changelog.rst:260 13a3a8e59edc4125afa6dee4ed568e9d +#: ../../changelog.rst:280 22195be7d66d49b5a2536d4125dbb247 msgid "Improve URLWrapper comparison" msgstr "" -#: ../../changelog.rst:263 fa56610009e8407a89af312d093f2aff +#: ../../changelog.rst:283 3fa9c04278aa4a6daaaacf03bcbc86c4 msgid "3.6.0 (2015-06-15)" msgstr "" -#: ../../changelog.rst:265 c4f546492e6447edb4d87c9317bdfb3f +#: ../../changelog.rst:285 743e2686d8584c64bba2ff52de34b282 msgid "Disable caching by default in order to prevent potential confusion" msgstr "" -#: ../../changelog.rst:266 b874f6f5b4734a5c80587442728a7544 +#: ../../changelog.rst:286 5b7083ceed2642178328e7faf6c2e3d7 msgid "Improve caching behavior, replacing ``pickle`` with ``cpickle``" msgstr "" -#: ../../changelog.rst:267 1f5690a0d5b6437e99c0ea9104de979b +#: ../../changelog.rst:287 de23594147fd4549af0d010d938b04b1 msgid "Allow Markdown or reST content in metadata fields other than ``summary``" msgstr "" -#: ../../changelog.rst:268 a1f397d14aca4c879211d95a5ca892db +#: ../../changelog.rst:288 7d11607580c449709f22c3a7f1dd8cf1 msgid "Support semicolon-separated author/tag lists" msgstr "" -#: ../../changelog.rst:269 9926a6f073cc4fa9813df12d652898be +#: ../../changelog.rst:289 1b78213ac5644a09b8d58bac7c132b30 msgid "Improve flexibility of article sorting" msgstr "" -#: ../../changelog.rst:270 e832f800cde5424bb332cc49f30f3f0a +#: ../../changelog.rst:290 24fc473a1dcc409fbceb231cc61bf0db msgid "Add ``--relative-urls`` argument" msgstr "" -#: ../../changelog.rst:271 3d1c82c08deb4a778f807be5b779d381 +#: ../../changelog.rst:291 a56f975051ca406b8ba80ed2b688316e msgid "Support devserver listening on addresses other than localhost" msgstr "" -#: ../../changelog.rst:272 b6ee74584c064fac80c6f0e37d4f1d68 +#: ../../changelog.rst:292 e1c6f89208aa43768200ae0b5cb667e4 msgid "Unify HTTP server handlers to ``pelican.server`` throughout" msgstr "" -#: ../../changelog.rst:273 7e5010e2d8b74a03b694e8fa433fdf98 +#: ../../changelog.rst:293 c2543badc27243f1aadd684351852866 msgid "Handle intra-site links to draft posts" msgstr "" -#: ../../changelog.rst:274 a9afa1c067be459886fd7998d52f59d3 +#: ../../changelog.rst:294 3c111a7e2c7b43c683c7bef6a78058a7 msgid "Move ``tag_cloud`` from core to plugin" msgstr "" -#: ../../changelog.rst:275 432317300d7a4b2f82199c0f275716e4 +#: ../../changelog.rst:295 5e8d38af8ae647ba80edfb065967c18a msgid "Load default theme's external resources via HTTPS" msgstr "" -#: ../../changelog.rst:276 56de44e81ae14997afb15c15e59f36ce +#: ../../changelog.rst:296 8577b7a1315f4c0caa8a68379c7b9da6 msgid "Import drafts from WordPress XML" msgstr "" -#: ../../changelog.rst:277 f1ef4f1c13434d6b9614ebe9ebddfce6 +#: ../../changelog.rst:297 e2debaa9a5224d09af847e937c1446a6 msgid "Improve support for Windows users" msgstr "" -#: ../../changelog.rst:278 0fef1b4c413d491a98aba0c84e082594 +#: ../../changelog.rst:298 b2042bbb92e74fe5ae51df03addf61da msgid "Enhance logging and test suite" msgstr "" -#: ../../changelog.rst:279 432c66ec8584401797ea817ec661c45b +#: ../../changelog.rst:299 373b2ce42e7b4b10b4302660f177b137 msgid "Clean up and refactor codebase" msgstr "" -#: ../../changelog.rst:280 e22e5fb2b5264d1ca6eb78c067c76a32 +#: ../../changelog.rst:300 ad174f831fc7487c9efec8f1b1ebc937 msgid "New signals: ``all_generators_finalized`` and ``page_writer_finalized``" msgstr "" -#: ../../changelog.rst:283 b4d02cf4a5b642dcbb0237738d79bfcb +#: ../../changelog.rst:303 a0e616e94c144183bb7cd8f0d0f9f253 msgid "3.5.0 (2014-11-04)" msgstr "" -#: ../../changelog.rst:285 e9efd7356dc9488aa6f4f20ba995683a +#: ../../changelog.rst:305 d4c1d004789b4cfa9187a2994e2f3613 msgid "" "Introduce ``ARTICLE_ORDER_BY`` and ``PAGE_ORDER_BY`` settings to control " "the order of articles and pages." msgstr "" -#: ../../changelog.rst:287 7cba6f51788f47f391c2eb2c35bff315 +#: ../../changelog.rst:307 8532ec7e6c884d6d886c75690a860810 msgid "Include time zone information in dates rendered in templates." msgstr "" -#: ../../changelog.rst:288 8288271ca2e74d6da347bdce53a3cf59 +#: ../../changelog.rst:308 399b4302a06c4d71853eb69309edaec9 msgid "Expose the reader name in the metadata for articles and pages." msgstr "" -#: ../../changelog.rst:289 0c44eda91d9c4722b8ae87ed75416fd1 +#: ../../changelog.rst:309 03f44d912342475d981539bfc28e893b msgid "" "Add the ability to store static files along with content in the same " "directory as articles and pages using ``{attach}`` in the path." msgstr "" -#: ../../changelog.rst:291 d96ca5c3ced44a7db8997feda6d5c36d +#: ../../changelog.rst:311 aad755538ae5458bb0266537ce3a3488 msgid "" "Prevent Pelican from raising an exception when there are duplicate pieces" " of metadata in a Markdown file." msgstr "" -#: ../../changelog.rst:293 59a2c665716a4d51bdec967e877f86a1 +#: ../../changelog.rst:313 6ccca5efc34c43fc9e6549ce27d07b1a msgid "" "Introduce the ``TYPOGRIFY_IGNORE_TAGS`` setting to add HTML tags to be " "ignored by Typogrify." msgstr "" -#: ../../changelog.rst:295 fa33c1b08c7b4286b25b56b4ea285c5a +#: ../../changelog.rst:315 3a07ce5e47fb446f935a8aef182feda9 #, python-format msgid "" "Add the ability to use ``-`` in date formats to strip leading zeros. For " "example, ``%-d/%-m/%y`` will now result in the date ``9/8/12``." msgstr "" -#: ../../changelog.rst:297 64d61ee9d8ae4414b9b84a8051cd5522 +#: ../../changelog.rst:317 2b9865f51d2c431cad79bb1ad85dcf13 msgid "" "Ensure feed generation is correctly disabled during quickstart " "configuration." msgstr "" -#: ../../changelog.rst:298 85d7dfece0244142a1e486fbae2beb01 +#: ../../changelog.rst:318 900fd70063554c06b56e0c13084c5e56 msgid "" "Fix ``PAGE_EXCLUDES`` and ``ARTICLE_EXCLUDES`` from incorrectly matching " "sub-directories." msgstr "" -#: ../../changelog.rst:300 3acc9c23e76e4b289d9de3705c416913 +#: ../../changelog.rst:320 bef97ccdcc354bf68f7a738fefee44d0 msgid "Introduce ``STATIC_EXCLUDE`` setting to add static file excludes." msgstr "" -#: ../../changelog.rst:301 10dd085e254948f986aa41f9bd5ba73b +#: ../../changelog.rst:321 96218c06cbc84b9884f17d4b3c2782d4 msgid "" "Fix an issue when using ``PAGINATION_PATTERNS`` while ``RELATIVE_URLS`` " "is enabled." msgstr "" -#: ../../changelog.rst:303 f7b355566396425cbd08985d5771e6d4 +#: ../../changelog.rst:323 0c2ccbc6e9e74f69912fecf3a9812535 msgid "" "Fix feed generation causing links to use the wrong language for month " "names when using other locales." msgstr "" -#: ../../changelog.rst:305 28f48794554048308015e2fb52cc4c5b +#: ../../changelog.rst:325 ddc6d5315bfa4dd1888de8ff606e1efe msgid "" "Fix an issue where the authors list in the simple template wasn't " "correctly formatted." msgstr "" -#: ../../changelog.rst:307 5509ab0c156845d1a7f1a59306ccfe6c +#: ../../changelog.rst:327 28013aa7b4734809bd162e47c5bded8f msgid "Fix an issue when parsing non-string URLs from settings." msgstr "" -#: ../../changelog.rst:308 4da2cbc439db416daeb4442a29645664 +#: ../../changelog.rst:328 4fe13830f2ed4449820e4a126e29db74 msgid "Improve consistency of debug and warning messages." msgstr "" -#: ../../changelog.rst:311 2e98c390cf6b4b4b93ddcce23014dbe9 +#: ../../changelog.rst:331 e412e8ca8ce94736a1bd9b64260a17c7 msgid "3.4.0 (2014-07-01)" msgstr "" -#: ../../changelog.rst:313 b3f12ddd82d74409b734a8bd10458173 +#: ../../changelog.rst:333 1153f4eed1394ce3a12d65af79337222 msgid "Speed up content generation via new caching mechanism" msgstr "" -#: ../../changelog.rst:314 c1772deca0344f74aad300e77e2641b2 +#: ../../changelog.rst:334 78911d6e2e8f43ce879ae634815c16a4 msgid "Add selective post generation (instead of always building entire site)" msgstr "" -#: ../../changelog.rst:315 7db419405a1740ef917e19f05015228a +#: ../../changelog.rst:335 4fe3d9df73aa40f986e1a6f7602c3b09 msgid "Many documentation improvements, including switching to prettier RtD theme" msgstr "" -#: ../../changelog.rst:316 a045ce18d5724b888849a2036fdf626d +#: ../../changelog.rst:336 517fbe1c874c48c2ab429e1ea5633fe3 msgid "Add support for multiple content and plugin paths" msgstr "" -#: ../../changelog.rst:317 75ddeed2af5e4a56a83e6b4026807ebf +#: ../../changelog.rst:337 ebcfb3cf3a3a4841a4e144fa186ab023 msgid "" "Add ``:modified:`` metadata field to complement ``:date:``. Used to " "specify the last date and time an article was updated independently from " "the date and time it was published." msgstr "" -#: ../../changelog.rst:320 0049c916daed45a6bcd389ad0c120732 +#: ../../changelog.rst:340 350a9e23a1e24e8d927ea35835b92ca0 msgid "Add support for multiple authors via new ``:authors:`` metadata field" msgstr "" -#: ../../changelog.rst:321 bd572ae6cd4c4783b751a35f4f001ed6 +#: ../../changelog.rst:341 0b0f1d5303444f29990c75b5e071be14 msgid "Watch for changes in static directories when in auto-regeneration mode" msgstr "" -#: ../../changelog.rst:322 b48f6001e36e428491aa05fa2d419cd1 +#: ../../changelog.rst:342 29aafd6e485d45188d102fdb72feaafe msgid "Add filters to limit log output when desired" msgstr "" -#: ../../changelog.rst:323 5d67072828f04eb1a2b8d37aca1706e4 +#: ../../changelog.rst:343 a77cea47df51490595f9ee1b8e05fdd1 msgid "Add language support to drafts" msgstr "" -#: ../../changelog.rst:324 5f6eef6c622a468ab0750bc4fbafffcd +#: ../../changelog.rst:344 4bd686906beb45ddab847c0cdac33be8 msgid "Add ``SLUGIFY_SOURCE`` setting to control how post slugs are generated" msgstr "" -#: ../../changelog.rst:325 f77675fb2cb94589b821eaf0116d5b33 +#: ../../changelog.rst:345 6ce9976300e64d7dadb2048080424994 msgid "Fix many issues relating to locale and encoding" msgstr "" -#: ../../changelog.rst:326 b90206854315449696be45e4d459e5b4 +#: ../../changelog.rst:346 da577863fe4844d9b74218625a26f6ad msgid "Apply Typogrify filter to post summary" msgstr "" -#: ../../changelog.rst:327 86383b9bc16e4b4a9ec3d15e7b727ca1 +#: ../../changelog.rst:347 faa72319441d4e8698e29c1bf829189f msgid "" "Preserve file metadata (e.g. time stamps) when copying static files to " "output" msgstr "" -#: ../../changelog.rst:328 f844db2703af4069830a3fbcbd3841bd +#: ../../changelog.rst:348 d2b92229d5494bea903ad60e6a5c8335 msgid "Move AsciiDoc support from Pelican core into separate plugin" msgstr "" -#: ../../changelog.rst:329 1c30d68d58dc42d9b33c2662f1258bcd +#: ../../changelog.rst:349 61a9b4aa9cb44033b2f4229d2b167c64 msgid "" "Produce inline links instead of reference-style links when importing " "content" msgstr "" -#: ../../changelog.rst:330 fa8944dc8e284fe4bf78ad3a0676af3f +#: ../../changelog.rst:350 d94f8c5cce634cc8ba784a3b59fb4819 msgid "Improve handling of ``IGNORE_FILES`` setting behavior" msgstr "" -#: ../../changelog.rst:331 f4c5805f6879483f9aa25e247f49016e +#: ../../changelog.rst:351 e3d657b677384a4588da385c9b21080a msgid "Properly escape symbol characters in tag names (e.g., ``C++``)" msgstr "" -#: ../../changelog.rst:332 d4c27bbafbd0427e821e301a503eec07 +#: ../../changelog.rst:352 d519c9f50e564647987ec969d7ec0ccf msgid "Minor tweaks for Python 3.4 compatibility" msgstr "" -#: ../../changelog.rst:333 743111e35a0c4303985dcce214e3e29f +#: ../../changelog.rst:353 5ce6f5c727f447c9a432d1fd363e2c29 msgid "Add several new signals" msgstr "" -#: ../../changelog.rst:336 46ee1a42a2ac4f688e20db25231a97cc +#: ../../changelog.rst:356 dae29c0187c44c27972be55b01c69ef8 msgid "3.3.0 (2013-09-24)" msgstr "" -#: ../../changelog.rst:338 d38c96a268fb4928b7884c32f04ea781 +#: ../../changelog.rst:358 17fad8c0afd94ba5a3b660e70b74a282 msgid "Drop Python 3.2 support in favor of Python 3.3" msgstr "" -#: ../../changelog.rst:339 e4b1b4170e3a4daf85bb3e0b4a33d84c +#: ../../changelog.rst:359 ad9c00a4712845a9a13423e6b9b02a92 msgid "" "Add ``Fabfile`` so Fabric can be used for workflow automation instead of " "Make" msgstr "" -#: ../../changelog.rst:340 8f898752127545598c060470ba4ea5a6 +#: ../../changelog.rst:360 cd23162f223245a685ff1a9881b8b195 msgid "" "``OUTPUT_RETENTION`` setting can be used to preserve metadata (e.g., VCS " "data such as ``.hg`` and ``.git``) from being removed from output " "directory" msgstr "" -#: ../../changelog.rst:342 3cef6e0824db42ef8eb2a6db21e018c4 +#: ../../changelog.rst:362 2d4af689970445558506be64942cda4d msgid "Tumblr import" msgstr "" -#: ../../changelog.rst:343 9b35ec96add44773857342682a38fbe9 +#: ../../changelog.rst:363 94cb151962db4a4186070048cf9a52d1 msgid "Improve logic and consistency when cleaning output folder" msgstr "" -#: ../../changelog.rst:344 0e3383e3461a44b590b00a88c8543859 +#: ../../changelog.rst:364 4f24e4305c8f49baba762604f81a009b msgid "Improve documentation versioning and release automation" msgstr "" -#: ../../changelog.rst:345 ab9935d7e2c84ccb852185870f8d1cc9 +#: ../../changelog.rst:365 fd8868d0c4ee4ec5b998c117e60fe784 msgid "Improve pagination flexibility" msgstr "" -#: ../../changelog.rst:346 92bd1ab368544083ac4e64f5d424c151 +#: ../../changelog.rst:366 eb2be9edbc6e470f952a97cac0a8c012 msgid "" "Rename signals for better consistency (some plugins may need to be " "updated)" msgstr "" -#: ../../changelog.rst:347 740eae7ce680434c981b4064809072a3 +#: ../../changelog.rst:367 89f9707a3d1e443389b024a5bc34f87e msgid "" "Move metadata extraction from generators to readers; metadata extraction " "no longer article-specific" msgstr "" -#: ../../changelog.rst:349 d1ae5b5bc77f4bcaa40d5bd86cdc0fcc +#: ../../changelog.rst:369 41bb6f6c43cd493ab89c900de7aa6628 msgid "" "Deprecate ``FILES_TO_COPY`` in favor of ``STATIC_PATHS`` and " "``EXTRA_PATH_METADATA``" msgstr "" -#: ../../changelog.rst:351 806154386d4c45d9b625087bbd8706bd +#: ../../changelog.rst:371 86a7dff5bc8645c3be130a8ae4add149 msgid "Summaries in Markdown posts no longer include footnotes" msgstr "" -#: ../../changelog.rst:352 1e20db19c60442a4ae4c517d5edaac8c +#: ../../changelog.rst:372 009790743d7f42ba8278f18c392db041 msgid "" "Remove unnecessary whitespace in output via ``lstrip_blocks`` Jinja " "parameter" msgstr "" -#: ../../changelog.rst:353 72b17016676643d4863b6da2dc5dd585 +#: ../../changelog.rst:373 38b06c9a766c4c93b6d8e2869a5b3711 msgid "Move PDF generation from core to plugin" msgstr "" -#: ../../changelog.rst:354 c8e9e2beddd242038b0655913de16745 +#: ../../changelog.rst:374 bb68b5bb0de84b9abfcd65987be9c368 msgid "Replace ``MARKUP`` setting with ``READERS``" msgstr "" -#: ../../changelog.rst:355 39124ff576a145e194694060c394ebea +#: ../../changelog.rst:375 4a0c9f70f0f24261a597ce1b155e0800 msgid "Add warning if img tag is missing ``alt`` attribute" msgstr "" -#: ../../changelog.rst:356 039cc780731643f882a0dd52bd7486d9 +#: ../../changelog.rst:376 dcabdeff1f5e4ee69292730bb31c9131 msgid "Add support for ``{}`` in relative links syntax, besides ``||``" msgstr "" -#: ../../changelog.rst:357 9289f5f1c5f04c5894cb8e7e02f9f5c8 +#: ../../changelog.rst:377 9fde536f5fca40e6a620b5f07049a0c3 msgid "Add support for ``{tag}`` and ``{category}`` relative links" msgstr "" -#: ../../changelog.rst:358 a214dc13448b479bb7af0a16825457aa +#: ../../changelog.rst:378 b241cd3f2847484bb7a56631c58d5ba4 msgid "Add a ``content_written`` signal" msgstr "" -#: ../../changelog.rst:361 5249278a96bc437fa297368c8f672404 +#: ../../changelog.rst:381 b6077687c2a64ddeafa187b1448c048f msgid "3.2.1 and 3.2.2" msgstr "" -#: ../../changelog.rst:363 3f9b98d264e048949c389dbe3e260652 +#: ../../changelog.rst:383 bf6c37fc7c2e47f0aee3ee9cb0cb5306 msgid "Facilitate inclusion in FreeBSD Ports Collection" msgstr "" -#: ../../changelog.rst:366 124cc3f3f8924e918bd0789422649535 +#: ../../changelog.rst:386 3e800dbf3fe24766b77a043bc8da3c09 msgid "3.2 (2013-04-24)" msgstr "" -#: ../../changelog.rst:368 fa25abf620e84a568df67473d9b3e20f +#: ../../changelog.rst:388 17cb561f2e184679831d2e3ac7eda3de msgid "Support for Python 3!" msgstr "" -#: ../../changelog.rst:369 b1702663f9ff41e387aa055aa8a80985 +#: ../../changelog.rst:389 faee303362bb40ad952cc4581036f070 msgid "" "Override page save-to location from meta-data (enables using a static " "page as the site's home page, for example)" msgstr "" -#: ../../changelog.rst:371 3d9f1c80f4c74f0fb655aaff98846e2e +#: ../../changelog.rst:391 3fc6523eaace489494b61380def294d1 msgid "Time period archives (per-year, per-month, and per-day archives of posts)" msgstr "" -#: ../../changelog.rst:372 ee27abd30d204213967d190e45bc3cce +#: ../../changelog.rst:392 3eafb73945bf414cbcb903a9695ff8de msgid "Posterous blog import" msgstr "" -#: ../../changelog.rst:373 2614d3717c644bd4b567eb2bbcec9c5b +#: ../../changelog.rst:393 cc3982d7a21146319745d929a38b43d9 msgid "Improve WordPress blog import" msgstr "" -#: ../../changelog.rst:374 8e10fa12d60b4473858214e618f934f3 +#: ../../changelog.rst:394 165fdfe5bfe1415c8b6cd56af637f3d4 msgid "Migrate plugins to separate repository" msgstr "" -#: ../../changelog.rst:375 a4ff557f266149e992884d5bc180f6fd +#: ../../changelog.rst:395 2f62212ada534de6ade55404aae98383 msgid "Improve HTML parser" msgstr "" -#: ../../changelog.rst:376 e9a87539173943dcb76ffff618a205cc +#: ../../changelog.rst:396 66b0bf3a2b4a47c78a5a936c80c0e4fb msgid "" "Provide ability to show or hide categories from menu using " "``DISPLAY_CATEGORIES_ON_MENU`` option" msgstr "" -#: ../../changelog.rst:378 721df0da641444c1a41fe72e38bafa20 +#: ../../changelog.rst:398 d316333413c3459f803d9ec694450dab msgid "Auto-regeneration can be told to ignore files via ``IGNORE_FILES`` setting" msgstr "" -#: ../../changelog.rst:379 2f925e2291c54bc0b6da964d7f17079f +#: ../../changelog.rst:399 7a199ee7396d485aaa55496b32e8a5c0 msgid "Improve post-generation feedback to user" msgstr "" -#: ../../changelog.rst:380 bc36457afeaa449583693dcef652e072 +#: ../../changelog.rst:400 6deb9ccecfab4fcba7157680ce6a35b9 msgid "" "For multilingual posts, use meta-data to designate which is the original " "and which is the translation" msgstr "" -#: ../../changelog.rst:382 8abbe86f8e4a4786886f887bad894983 +#: ../../changelog.rst:402 be2051f4c2304904b3264bd61da6bb3b msgid "Add ``.mdown`` to list of supported Markdown file extensions" msgstr "" -#: ../../changelog.rst:383 84e1d9cee66c4ee3ba779eb697169d35 +#: ../../changelog.rst:403 be4c498c73604b7289bd908490b820fe msgid "Document-relative URL generation (``RELATIVE_URLS``) is now off by default" msgstr "" -#: ../../changelog.rst:386 461aa8ba882c4543980540c6686a69ff +#: ../../changelog.rst:406 26c902ee59b54f5199b53dbd841981ce msgid "3.1 (2012-12-04)" msgstr "" -#: ../../changelog.rst:388 ea4445533819403b8a54af8f62d30dab +#: ../../changelog.rst:408 1dce4c50db964039b0d0b4a27e19ce96 msgid "" "Importer now stores slugs within files by default. This can be disabled " "with the ``--disable-slugs`` option." msgstr "" -#: ../../changelog.rst:390 a00bcb155126439ab341cff0f37ecc5a +#: ../../changelog.rst:410 247f3c4937844361a98a9bbc557774cb msgid "Improve handling of links to intra-site resources" msgstr "" -#: ../../changelog.rst:391 5d47bb0eac84452b829ea7a5a7447bdd +#: ../../changelog.rst:411 baf6646be1424810853be748d7a15129 msgid "" "Ensure WordPress import adds paragraphs for all types of line endings in " "post content" msgstr "" -#: ../../changelog.rst:393 6d41430cf1ae4bbe95c7206bed9fe17c +#: ../../changelog.rst:413 4cefab609bb64186a2f597cedad65b61 msgid "Decode HTML entities within WordPress post titles on import" msgstr "" -#: ../../changelog.rst:394 17121b597e6148768c531523a9b6f955 +#: ../../changelog.rst:414 8b1e222311f749a5b50858f0dc34466d msgid "Improve appearance of LinkedIn icon in default theme" msgstr "" -#: ../../changelog.rst:395 cfc8bfbe89c44ce9a30e230f255d79dd +#: ../../changelog.rst:415 bd4f42ac16a040d6b0e5cb1e9f5d5977 msgid "Add GitHub and Google+ social icons support in default theme" msgstr "" -#: ../../changelog.rst:396 5bd746b4bcc64c7382d492f61d50193c +#: ../../changelog.rst:416 d65513f7ff4d4294a5a4b755f6aa65c4 msgid "Optimize social icons" msgstr "" -#: ../../changelog.rst:397 bdb1513252d54c1f89e9efc11516b368 +#: ../../changelog.rst:417 9c930d0296f9464490df06094597739f msgid "" "Add ``FEED_ALL_ATOM`` and ``FEED_ALL_RSS`` to generate feeds containing " "all posts regardless of their language" msgstr "" -#: ../../changelog.rst:399 6d52c5f3e6e64dcc8b11fb5f80d6df46 +#: ../../changelog.rst:419 c3c18b3ea6ce4a24abb55abd44b7164f msgid "" "Split ``TRANSLATION_FEED`` into ``TRANSLATION_FEED_ATOM`` and " "``TRANSLATION_FEED_RSS``" msgstr "" -#: ../../changelog.rst:401 12c0a402411f47a4a71f64d7f19efd01 +#: ../../changelog.rst:421 9994413cfc6347fd8b9879e117b2b889 msgid "Different feeds can now be enabled/disabled individually" msgstr "" -#: ../../changelog.rst:402 f7ddae2570b34df1b598fa35239449ad +#: ../../changelog.rst:422 ca5c45416f784c87bed555ace354af21 msgid "" "Allow for blank author: if ``AUTHOR`` setting is not set, author won't " "default to ``${USER}`` anymore, and a post won't contain any author " "information if the post author is empty" msgstr "" -#: ../../changelog.rst:405 e12a883add8d41f1b330e51ace547b06 +#: ../../changelog.rst:425 5270ac00aa8f4f2d98f2a3a57a6bf03c msgid "Move LESS and Webassets support from Pelican core to plugin" msgstr "" -#: ../../changelog.rst:406 d2e26f930edf4d68801b4e005ab7cdca +#: ../../changelog.rst:426 a8e64d393d0a4e3195dbdc1215302f9c msgid "" "The ``DEFAULT_DATE`` setting now defaults to ``None``, which means that " "articles won't be generated unless date metadata is specified" msgstr "" -#: ../../changelog.rst:408 c198ce6b37c94d98b358cf8aae3fa1c0 +#: ../../changelog.rst:428 e9d682bcd1de45f3a1a98ae17193aced msgid "" "Add ``FILENAME_METADATA`` setting to support metadata extraction from " "filename" msgstr "" -#: ../../changelog.rst:410 c3a2e1677eab4de3a12963b8c13e4875 +#: ../../changelog.rst:430 fe3a4d2bc15d4b4fba48fc8af3569336 msgid "" "Add ``gzip_cache`` plugin to compress common text files into a ``.gz`` " "file within the same directory as the original file, preventing the " "server (e.g. Nginx) from having to compress files during an HTTP call" msgstr "" -#: ../../changelog.rst:413 666bac4d13ba42d5b61833beb0950beb +#: ../../changelog.rst:433 c44353005d5d4e1293cc9a1878517726 msgid "Add support for AsciiDoc-formatted content" msgstr "" -#: ../../changelog.rst:414 aaf5c771064c4c46975523a15609e6c9 +#: ../../changelog.rst:434 dcdc1aff409544f1b60d7c22a7a41b6b msgid "" "Add ``USE_FOLDER_AS_CATEGORY`` setting so that feature can be toggled " "on/off" msgstr "" -#: ../../changelog.rst:415 71233f0cf0844770a9374a375bce2ed6 +#: ../../changelog.rst:435 f6675e347a114c75a3952ef5ef5f1e29 msgid "Support arbitrary Jinja template files" msgstr "" -#: ../../changelog.rst:416 fa2c3365a6c049bdb69a3215fd4010f7 +#: ../../changelog.rst:436 87ba44c075b144ee8c4734e4f6f4e4c9 msgid "Restore basic functional tests" msgstr "" -#: ../../changelog.rst:417 925cdeb6a5344275a69e3d93ecc88eea +#: ../../changelog.rst:437 0354818a87df49e59ac35a7d738c8e83 msgid "" "New signals: ``generator_init``, ``get_generators``, and " "``article_generate_preread``" msgstr "" -#: ../../changelog.rst:421 a534e61fa0374d0cb03ec9d83b5fe387 +#: ../../changelog.rst:441 1256b71b526e43dbb94823c0604f0bc6 msgid "3.0 (2012-08-08)" msgstr "" -#: ../../changelog.rst:423 7ec504fa35f84ec1b47a86fb9ef3b685 +#: ../../changelog.rst:443 e79ee10015eb41fea71877bff6453a0b msgid "Refactored the way URLs are handled" msgstr "" -#: ../../changelog.rst:424 a268577292d945649ad12e1430ed9eaf +#: ../../changelog.rst:444 f41008aff59344b0a964a38304c8f27d msgid "Improved the English documentation" msgstr "" -#: ../../changelog.rst:425 c694abe18818459d83a25f01c6257d9b +#: ../../changelog.rst:445 9cfcf344ed0d41c0aa20d2e4178de487 msgid "Fixed packaging using ``setuptools`` entrypoints" msgstr "" -#: ../../changelog.rst:426 81b5a9a2740340e6ad48d2baceef5ebd +#: ../../changelog.rst:446 75d4a7f700424bb69bd8fbba899fe5f2 msgid "Added ``typogrify`` support" msgstr "" -#: ../../changelog.rst:427 39d0f35b4ee343259ec7375597a718ec +#: ../../changelog.rst:447 e9e8e0933822437381e4a099118d17a8 msgid "Added a way to disable feed generation" msgstr "" -#: ../../changelog.rst:428 8eb4aa1d17ff406aaf5be093c4310966 +#: ../../changelog.rst:448 c9746121791347a18725b210eb69fca6 msgid "Added support for ``DIRECT_TEMPLATES``" msgstr "" -#: ../../changelog.rst:429 0b43a8fa70db455696e298f4c11ac0c3 +#: ../../changelog.rst:449 84b68057366c4c1eb56502f64a42bb73 msgid "Allow multiple extensions for content files" msgstr "" -#: ../../changelog.rst:430 89b94d339a3f46f882451d1dfac8df08 +#: ../../changelog.rst:450 36450fadc3a1446898365333ebd9a369 msgid "Added LESS support" msgstr "" -#: ../../changelog.rst:431 bb9a3c00bb23405698d39c49b812ec07 +#: ../../changelog.rst:451 1e1d7cc4e8b647c1b9c5be55374c43f0 msgid "Improved the import script" msgstr "" -#: ../../changelog.rst:432 d4b7b6302e4b48b6990484066099dec1 +#: ../../changelog.rst:452 bbb3522bded542c9af30ade57961b005 msgid "Added functional tests" msgstr "" -#: ../../changelog.rst:433 cc8d47d8e96d47c1965b6b721ad32de5 +#: ../../changelog.rst:453 06d82b81708d4234911c4552adb21aa3 msgid "Rsync support in the generated Makefile" msgstr "" -#: ../../changelog.rst:434 10cb71db95504caf9c45928191f650b0 +#: ../../changelog.rst:454 9e0ef37470e4457d91f43b9a7ceb77aa msgid "Improved feed support (easily pluggable with Feedburner for instance)" msgstr "" -#: ../../changelog.rst:435 61c7cb5819f94c89bd6dc3773375048f +#: ../../changelog.rst:455 5a84812ef2d440b5953327383ac064ed msgid "Added support for ``abbr`` in reST" msgstr "" -#: ../../changelog.rst:436 f65624c8dd3f4047be4adc66a8a9d1f4 +#: ../../changelog.rst:456 3e899ccc01a94cca8886244190cf5944 msgid "Fixed a bunch of bugs :-)" msgstr "" -#: ../../changelog.rst:439 d87300bfd91e495286e96a06c76fea5a +#: ../../changelog.rst:459 73ed385ee1c143dcb9d1f5a2aa21a101 msgid "2.8 (2012-02-28)" msgstr "" -#: ../../changelog.rst:441 a96f4e4b17034044a7fad630eba6f6c3 +#: ../../changelog.rst:461 e037cd34f3af4d2c826ccc7a949f2df8 msgid "Dotclear importer" msgstr "" -#: ../../changelog.rst:442 769b7e899fe44b2299b3bc021b23724d +#: ../../changelog.rst:462 994601f5041a465086869af70ae072dc msgid "Allow the usage of Markdown extensions" msgstr "" -#: ../../changelog.rst:443 c11b737547f44ee4b9f206d78fd69034 +#: ../../changelog.rst:463 0830c593481e4e5ea1526f4d1a8848fa msgid "Themes are now easily extensible" msgstr "" -#: ../../changelog.rst:444 22b0eea97e5c4d5ea4615961685ddfda +#: ../../changelog.rst:464 3ff0b224c93e442684a1b686d8666ced msgid "Don't output pagination information if there is only one page" msgstr "" -#: ../../changelog.rst:445 739a53e452714197918fdb7c730685c2 +#: ../../changelog.rst:465 ec4ec66862df420caf61a32c472f972b msgid "Add a page per author, with all their articles" msgstr "" -#: ../../changelog.rst:446 6b9d84b09f954dba8e2ad225e26ad68a +#: ../../changelog.rst:466 864df61f6eef43e4980bf957b14ac26e msgid "Improved the test suite" msgstr "" -#: ../../changelog.rst:447 6099f1c52f7c48adad09f9b84f50f181 +#: ../../changelog.rst:467 285e4cb5a43241558e3d2bf1876c0ee5 msgid "Made the themes easier to extend" msgstr "" -#: ../../changelog.rst:448 e4090cb5f1634fe0b30e498e8f1c0eca +#: ../../changelog.rst:468 7597e818692d42039cffc1fb67513c52 msgid "Removed Skribit support" msgstr "" -#: ../../changelog.rst:449 04ff51eeefd24306804c5a2daa98d59e +#: ../../changelog.rst:469 867bceffc3cf431a919f92d33691870a msgid "Added a ``pelican-quickstart`` script" msgstr "" -#: ../../changelog.rst:450 550158557c904ad8abe330a0b86e6755 +#: ../../changelog.rst:470 bdbf4396e57242af8f2be7c4c20ea455 msgid "Fixed timezone-related issues" msgstr "" -#: ../../changelog.rst:451 f41a6fafa9d548adbae1dfc7276a7f3a +#: ../../changelog.rst:471 2a8752a2c1d14916aa78eaf4878db4f9 msgid "Added some scripts for Windows support" msgstr "" -#: ../../changelog.rst:452 e8b30590d7c64808b604f03d4bf25ffc +#: ../../changelog.rst:472 67d470d30d8d41d38022c6a7024f3c62 msgid "Date can be specified in seconds" msgstr "" -#: ../../changelog.rst:453 bbdf1c456cc3417e876855d8b792753c +#: ../../changelog.rst:473 fcdf6b71286b4951ac69786e590c7649 msgid "Never fail when generating posts (skip and continue)" msgstr "" -#: ../../changelog.rst:454 33545506148f48c7a1f42d12535604ad +#: ../../changelog.rst:474 9cba8ad7120b4ea0bdd385d5facb119f msgid "Allow the use of future dates" msgstr "" -#: ../../changelog.rst:455 1d56de44e22c432eb61fbd23fe27ae88 +#: ../../changelog.rst:475 4ded329080034fac931b6be8f801ce2d msgid "Support having different timezones per language" msgstr "" -#: ../../changelog.rst:456 0002c845a16a4d5bb19eeca4dedb0ce9 +#: ../../changelog.rst:476 5a5f49be18c449fba6a8aeaa2b36b14e msgid "Enhanced the documentation" msgstr "" -#: ../../changelog.rst:459 2dd8c562cd44466cbbc868023bc8eef6 +#: ../../changelog.rst:479 d49c481caef348f59c74d194bcca6579 msgid "2.7 (2011-06-11)" msgstr "" -#: ../../changelog.rst:461 6383d280fbbf47e99be6cbceaaa30245 +#: ../../changelog.rst:481 7d8c241cc73642d8a5214b44dcfe30ca msgid "Use ``logging`` rather than echoing to stdout" msgstr "" -#: ../../changelog.rst:462 80e585445f284f95be38a221068c817d +#: ../../changelog.rst:482 670a6095a13c4970aac3016915813b9c msgid "Support custom Jinja filters" msgstr "" -#: ../../changelog.rst:463 a2431e6f9cd041d7ae9a81ee9ea1f1d3 +#: ../../changelog.rst:483 be2c4c82052b4cb48e02ca0dca49eeb6 msgid "Compatibility with Python 2.5" msgstr "" -#: ../../changelog.rst:464 8cdec91cfae54eef979319ffcd7b2b4b +#: ../../changelog.rst:484 773398476e4d45df89d7d958d2e496e6 msgid "Added a theme manager" msgstr "" -#: ../../changelog.rst:465 53823ba8924f4092a13f30d612b6d147 +#: ../../changelog.rst:485 963c80928b8e4d92a9c549a4daa58cb9 msgid "Packaged for Debian" msgstr "" -#: ../../changelog.rst:466 dcf480ab75f849e78f2e15e0de4880c9 +#: ../../changelog.rst:486 c37c96fad3ad438395e73f2b2fdd5678 msgid "Added draft support" msgstr "" -#: ../../changelog.rst:469 9e46e5ecc5aa48ed9c973f181250bb2d +#: ../../changelog.rst:489 7c215208f8a34f53ae0d22361f9305af msgid "2.6 (2011-03-08)" msgstr "" -#: ../../changelog.rst:471 3b00b44b0dc74320bcc30ac3c3b8d43f +#: ../../changelog.rst:491 deeb4eb9a00547bea54a8f4486cea948 msgid "Changes in the output directory structure" msgstr "" -#: ../../changelog.rst:472 7edd59c2885748b18242900bc717e6f2 +#: ../../changelog.rst:492 5719cd5592b442549b860851c95ace8a msgid "Makes templates easier to work with / create" msgstr "" -#: ../../changelog.rst:473 80ecbc256d074c0ab966b3f8f90b2fa7 +#: ../../changelog.rst:493 a14ed59f0b7d43b7b64033cbda6fa1b3 msgid "Added RSS support (was Atom-only)" msgstr "" -#: ../../changelog.rst:474 6bcd42cb56ae4e52b1fd66833cad6bd3 +#: ../../changelog.rst:494 2b78e48ee5c04ee88a19e82dd5736b08 msgid "Added tag support for the feeds" msgstr "" -#: ../../changelog.rst:475 e8875e8c6317488eb0fa76f5d444763f +#: ../../changelog.rst:495 129c8684dfe34773943a63f7294422dc msgid "Enhance the documentation" msgstr "" -#: ../../changelog.rst:476 feb91b6347cb467ba693cb55a2cd8a00 +#: ../../changelog.rst:496 865503839227447ca15dae5cccbbd7f8 msgid "Added another theme (brownstone)" msgstr "" -#: ../../changelog.rst:477 3e8cd0da99fe408bb66b8db1caaa336b +#: ../../changelog.rst:497 ecbde1d7724c445283ca769b43684207 msgid "Added translations" msgstr "" -#: ../../changelog.rst:478 888218f74f754c209363573264452100 +#: ../../changelog.rst:498 6877cc6c1e92490fab2840698dadba59 msgid "Added a way to use cleaner URLs with a rewrite url module (or equivalent)" msgstr "" -#: ../../changelog.rst:479 5006a51a923042dcabda9843b155d177 +#: ../../changelog.rst:499 4b937b4f363b4bfd86d3447d61ac79e0 msgid "Added a tag cloud" msgstr "" -#: ../../changelog.rst:480 a329ec582419436392aea3556205352c +#: ../../changelog.rst:500 61ebc53121c34b96bb6edf9bd95b385e msgid "" "Added an autoreloading feature: the blog is automatically regenerated " "each time a modification is detected" msgstr "" -#: ../../changelog.rst:482 8b136937ff5c42b6a9d4ca2c09f49399 +#: ../../changelog.rst:502 79b3ebc425c64a60a5e9914da9e43752 msgid "Translate the documentation into French" msgstr "" -#: ../../changelog.rst:483 00b39926200d4f1389445e6f7a25ea34 +#: ../../changelog.rst:503 a1446ce9b3e147ac9926754b1db32746 msgid "Import a blog from an RSS feed" msgstr "" -#: ../../changelog.rst:484 92dd7ebe963e4c3da3dd0b138d8c0cd7 +#: ../../changelog.rst:504 0d427fc4738a447fbdae05b78559171e msgid "Pagination support" msgstr "" -#: ../../changelog.rst:485 45dc61ad8c664e1e84511003c2431e7f +#: ../../changelog.rst:505 d70488ef9cea45db8389a99209fe9d9a msgid "Added Skribit support" msgstr "" -#: ../../changelog.rst:488 17729e7145b04f21b6adef1c94284e4b +#: ../../changelog.rst:508 ee9730d28c0a4e378618499401e1e399 msgid "2.5 (2010-11-20)" msgstr "" -#: ../../changelog.rst:490 44ae6d5ba68944cea82d7b3598be287e +#: ../../changelog.rst:510 41764632aa2a46a9864a41bfa73b3d58 msgid "Import from WordPress" msgstr "" -#: ../../changelog.rst:491 a0af2d8823354b8fa048b456f9d0df25 +#: ../../changelog.rst:511 b3ee93bdd46e4699adea39b8e99ba3c4 msgid "Added some new themes (martyalchin / wide-notmyidea)" msgstr "" -#: ../../changelog.rst:492 ec519864fa79463b8eea11f06934cbc5 +#: ../../changelog.rst:512 1a023f24ad50438c947a0c980213819a msgid "First bug report!" msgstr "" -#: ../../changelog.rst:493 7d38312ffc1f4589ad54b2d019cad3ea +#: ../../changelog.rst:513 573a4f64b2d2486f80416c4f98e5a3e4 msgid "Linkedin support" msgstr "" -#: ../../changelog.rst:494 99a73194501a4469acac9ffdd791502f +#: ../../changelog.rst:514 c3c6ab49cad54f60a2f167abc9888764 msgid "Added a FAQ" msgstr "" -#: ../../changelog.rst:495 49dc1d7af56c43a8b21e3d0e0bf141ad +#: ../../changelog.rst:515 7cf0a7d9c46545dd81397ed03bcd542e msgid "Google Analytics support" msgstr "" -#: ../../changelog.rst:496 59edf76455f2489993739d027964bb63 +#: ../../changelog.rst:516 de467a7c0a654db0a31ec42908c83b39 msgid "Twitter support" msgstr "" -#: ../../changelog.rst:497 9c2d230b25e24b179049dc9e0332401c +#: ../../changelog.rst:517 455af156688d454f8dea6b8dcca0cb48 msgid "Use relative URLs, not static ones" msgstr "" -#: ../../changelog.rst:500 fc4e0772192648cd89baed818dbeb908 +#: ../../changelog.rst:520 12dceabc363e493599eb83725eb0d891 msgid "2.4 (2010-11-06)" msgstr "" -#: ../../changelog.rst:502 d01de90563a94bafae690740613aa682 +#: ../../changelog.rst:522 0d24870c616a4d02a6e23758a1022a0c msgid "Minor themes changes" msgstr "" -#: ../../changelog.rst:503 38a95f8b00684dc3ab279840640a01d8 +#: ../../changelog.rst:523 4d8d6c48d9824e258c6789afe95ffb4e msgid "Add Disqus support (so we have comments)" msgstr "" -#: ../../changelog.rst:504 13dca871c120491a90240c43c7d0f4c7 +#: ../../changelog.rst:524 74cd4df65f8b41a1967033aedead1c87 msgid "Another code refactoring" msgstr "" -#: ../../changelog.rst:505 87ec5e2d8b80482aac6e0a82f31c0d12 +#: ../../changelog.rst:525 a44c01fa1c1242ab86a6ab32851e0284 msgid "Added config settings about pages" msgstr "" -#: ../../changelog.rst:506 30c338ee5d85462588119841675c73f4 +#: ../../changelog.rst:526 c4519c5267eb4606b7f5de643028429e msgid "Blog entries can also be generated in PDF" msgstr "" -#: ../../changelog.rst:509 6d1ebe0620ff46939743b2fe2e9f1683 +#: ../../changelog.rst:529 7164d3eacbd946c8a317dc16929ba48d msgid "2.3 (2010-10-31)" msgstr "" -#: ../../changelog.rst:511 3df14b83afaa446ca893c157189e33fb +#: ../../changelog.rst:531 ca062e8a7c1a43f2a678bbfe22484d6a msgid "Markdown support" msgstr "" -#: ../../changelog.rst:514 91b45ea2e78047ccbbd97c7059930864 +#: ../../changelog.rst:534 fc9a53b1a9034f809688d3c4114b412c msgid "2.2 (2010-10-30)" msgstr "" -#: ../../changelog.rst:516 4b96d6c2c47d463ebb66d1eaeb1f004e +#: ../../changelog.rst:536 121f2a61adc043a79c029fb4acc3ea0d msgid "Prettify output" msgstr "" -#: ../../changelog.rst:517 cd805a3c55c84ddd89080a4912d91633 +#: ../../changelog.rst:537 f6a56a02617e458089148229dd92bd08 msgid "Manages static pages as well" msgstr "" -#: ../../changelog.rst:520 bc8859b0bf4043e09aed54af4b3c6ba7 +#: ../../changelog.rst:540 c4d2a7150f2a46f7a87e1d810777b5be msgid "2.1 (2010-10-30)" msgstr "" -#: ../../changelog.rst:522 3146db5382224eddad41228f6f539e4c +#: ../../changelog.rst:542 739f08f2d6a746199390e3809f4a27f1 msgid "Make notmyidea the default theme" msgstr "" -#: ../../changelog.rst:525 f1bff0048805473d90461c68f8c82f07 +#: ../../changelog.rst:545 2596c0b20ea947a5845cd92f3190f32e msgid "2.0 (2010-10-30)" msgstr "" -#: ../../changelog.rst:527 9c0181b93ed34eaa87a8e323a773a4c9 +#: ../../changelog.rst:547 a023ea05a0864c2085b91526bfa23554 msgid "Refactoring to be more extensible" msgstr "" -#: ../../changelog.rst:528 878c1cc7b2bb4adbb1684439b029cd14 +#: ../../changelog.rst:548 a411e0742c7a4751b1b5d8f7848cbf2b msgid "Change into the setting variables" msgstr "" -#: ../../changelog.rst:531 ca506f63c6474fa4ba68a7b57a840e81 +#: ../../changelog.rst:551 d8933a28653242fc942087162ac6a4c9 msgid "1.2 (2010-09-28)" msgstr "" -#: ../../changelog.rst:533 eef62c1f5bff457eba9733aba004b18d +#: ../../changelog.rst:553 66415309e0d64d06a490ecaef4efb36d msgid "Added a debug option" msgstr "" -#: ../../changelog.rst:534 5c800901f23b4dceac320db21cb1e3db +#: ../../changelog.rst:554 ceaef7c8b0fe4df79600738d71b8d094 msgid "Added per-category feeds" msgstr "" -#: ../../changelog.rst:535 d51b96b46a2b4dc09088ad32fbc61bbb +#: ../../changelog.rst:555 6bac9fd70e104b28bfd06a936d71e32a msgid "Use filesystem to get dates if no metadata is provided" msgstr "" -#: ../../changelog.rst:536 9b6420ecf5fb459d885d70db9190ad3b +#: ../../changelog.rst:556 1f663ceee61b4c0595834cc72a9e3e7d msgid "Add Pygments support" msgstr "" -#: ../../changelog.rst:539 5ccc5d9fa9424ec8896c57c3d62e1b6e +#: ../../changelog.rst:559 1df408a7787943e68de9384710331200 msgid "1.1 (2010-08-19)" msgstr "" -#: ../../changelog.rst:541 a992372f04e345b5b37b6e20891b9b60 +#: ../../changelog.rst:561 7e611ea96d6c4b4db5751229abbfec38 msgid "First working version" msgstr "" diff --git a/docs/locale/zh_CN/LC_MESSAGES/faq.po b/docs/locale/zh_CN/LC_MESSAGES/faq.po index 81712a827..f63513eab 100644 --- a/docs/locale/zh_CN/LC_MESSAGES/faq.po +++ b/docs/locale/zh_CN/LC_MESSAGES/faq.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PELICAN 4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-31 22:54+0800\n" +"POT-Creation-Date: 2024-11-07 16:25+0800\n" "PO-Revision-Date: 2024-06-27 19:00+0800\n" "Last-Translator: GeorgeHu \n" "Language: zh_CN\n" @@ -16,29 +16,29 @@ msgstr "" "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" +"Generated-By: Babel 2.16.0\n" -#: ../../faq.rst:2 87acb7c16d974b4eb060949b8ce40914 +#: ../../faq.rst:2 84467b3ab4b8411589855b3130e14406 msgid "Frequently Asked Questions (FAQ)" msgstr "常见问题解答" -#: ../../faq.rst:4 76aee892f7f14d0590db2d76c7cc0123 +#: ../../faq.rst:4 54c28b1640fd4939b5f196fa377292eb msgid "Here are some frequently asked questions about Pelican." msgstr "以下是一些Pelican的常见问题解答。" -#: ../../faq.rst:7 c98549fdd5814984bfa3a6eaf4631d37 +#: ../../faq.rst:7 a95f8f3dcb6741949ba9d4761199dd0a msgid "What's the best way to communicate a problem, question, or suggestion?" msgstr "交流问题、疑问或提建议的最佳方式是什么?" -#: ../../faq.rst:9 dbecb306adeb482ba3b9bd68483bc372 +#: ../../faq.rst:9 d93f8424407d42b2b3ce37b39baecd8a msgid "Please read our :doc:`feedback guidelines `." msgstr "请参阅文档 :doc:`项目贡献与意见反馈 ` 。" -#: ../../faq.rst:12 8fe91d51140946f1b2cb131d786c1814 +#: ../../faq.rst:12 9fea72b4670c4fe6a3d67e1ddb158f47 msgid "How can I help?" msgstr "我可以帮上什么忙?" -#: ../../faq.rst:14 d8477da414c446b3936e73931eb4f63a +#: ../../faq.rst:14 3f4b88cf5b814e678a552c821ae4b450 msgid "" "There are several ways to help out. First, you can communicate any " "Pelican suggestions or problems you might have via `Pelican Discussions " @@ -50,7 +50,7 @@ msgstr "" "`_ " "中提出任何关于Pelican的建议或是问题。在提问或建议之前,请先查看已关闭或开放的issues中是否已有相关内容,以避免内容上的重复。" -#: ../../faq.rst:20 95a29a97e08a452f89aa4eaad191b698 +#: ../../faq.rst:20 ca9e66682caf43a481ca91ecace43ed0 msgid "" "If you want to contribute, please fork `the Git repository " "`_, create a new feature branch, " @@ -62,17 +62,17 @@ msgstr "" ",创建一个新的功能分支,并在其中进行修改,在修改完成后提出一个PR。项目组会尽快审核你的PR。关于此的更多内容,请参见 " ":doc:`项目贡献与意见反馈 ` 一节。" -#: ../../faq.rst:26 bf7a6828eec74dc588c18e185bdd7090 +#: ../../faq.rst:26 f05e9b722b084a439cd6d99b3155910d msgid "" "You can also contribute by creating themes and improving the " "documentation." msgstr "你可以发起的贡献当然也包括创建主题和改进文档。" -#: ../../faq.rst:29 2ce846241ce744fd81981a376d3f5fe2 +#: ../../faq.rst:29 d40c58aeafe54bdaa389c3c05a0fd721 msgid "Is the Pelican settings file mandatory?" msgstr "Pelican配置文件是必要的吗?" -#: ../../faq.rst:31 527720062339422095e2c95755af5584 +#: ../../faq.rst:31 96ef0c57471d4a669bd7f2a7f493c23b msgid "" "Configuration files are optional and are just an easy way to configure " "Pelican. For basic operations, it's possible to specify options while " @@ -82,11 +82,11 @@ msgstr "" "配置文件是可选的,其本质是使您可以更方便地配置Pelican。对于一些基本的配置操作,完全可以在命令行中指定,调用 ``pelican " "--help`` 可以查看pelican命令的更多信息。" -#: ../../faq.rst:36 d0ca19a2e40c4ecaa9ecba6cc677f142 +#: ../../faq.rst:36 e3752aec18514ce292ee4ebd0d95db37 msgid "Changes to the settings file take no effect" msgstr "修改后的配置文件没有生效" -#: ../../faq.rst:38 5b741cbb28854893818826c593f8e323 +#: ../../faq.rst:38 3f5c632fd20446cf8dd70a5eb88dbbcf msgid "" "When experimenting with different settings (especially the metadata ones)" " caching may interfere and the changes may not be visible. In such cases," @@ -96,11 +96,11 @@ msgstr "" "在尝试不同的配置时(尤其是尝试不同元数据时),缓存很可能会产生干扰,使得修改不可见。此时,确保配置了 ``LOAD_CONTENT_CACHE =" " False`` 或在命令行中加上 ``--ignore-cache`` 以禁用缓存。" -#: ../../faq.rst:44 439f2221927b42f7a4c219ab1a76f849 +#: ../../faq.rst:44 067892211d0d4f4bae85d65a0132eb1d msgid "I'm creating my own theme. How do I use Pygments for syntax highlighting?" msgstr "在自己创建主题时,如何使用Pygments来调整语法高亮?" -#: ../../faq.rst:46 3475c1550e584c84a118ac061461f9f6 +#: ../../faq.rst:46 b1e6ed1bea2e4b3cb3798131f30a828c msgid "" "Pygments adds some classes to the generated content. These classes are " "used by themes to style code syntax highlighting via CSS. Specifically, " @@ -114,30 +114,49 @@ msgstr "" "``.highlight pre`` 类来自定义语法高亮的外观。在 `Pygments 项目的demo网站 " "`_ 上可以预览能够渲染的代码类型。" -#: ../../faq.rst:53 ecffb1f9501f46c88f799b79fc0ba343 +#: ../../faq.rst:53 5dccc8ae367545b08bdce61e008e0a20 msgid "" "You can use the following example commands to generate a starting CSS " "file from a Pygments built-in style (in this case, \"monokai\") and then " "copy the generated CSS file to your new theme::" msgstr "你可以使用下面的命令来让Pygments使用内置风格(此处为“monokai”)生成一个初始CSS文件,然后将此文件拷贝到新主题中:" -#: ../../faq.rst:60 8fc71763c5c243339c9e737cc55b99da +#: ../../faq.rst:60 027edae1ebdf4d52b59171a26915c1ac msgid "Don't forget to import your ``pygment.css`` file from your main CSS file." msgstr "不要忘了在你的CSS主文件中引入 ``pygment.css`` 文件。" -#: ../../faq.rst:63 ad118f1f46db423fab19f570cd789798 +#: ../../faq.rst:63 164af3be4dce45879963c5d3ee0cd264 msgid "How do I create my own theme?" msgstr "如何创建我自己的主题?" -#: ../../faq.rst:65 1674585960e742cbade644b63d3bb32a +#: ../../faq.rst:65 7b1db6528b0a4735894868a229a5969d msgid "Please refer to :ref:`theming-pelican`." msgstr "请参阅 :ref:`theming-pelican` 。" -#: ../../faq.rst:68 b06c6a8df1634d20b988515af6536e2c +#: ../../faq.rst:68 b8e21f837e0744c49cfe8f0cb3a1d5ee +msgid "Can I override individual templates without forking the whole theme?" +msgstr "我只需要覆盖主题中单独的几个模板文件,可不可以不fork整个主题?" + +#: ../../faq.rst:70 70fd7b5c55c246a6a25b20304bfdb616 +msgid "" +"Yes, you can override existing templates of the theme that you are using," +" or add new templates, via the ``THEME_TEMPLATES_OVERRIDES`` variable. " +"For example, to override the page template, you can define the location " +"for your templates like this::" +msgstr "当然可以,覆盖部分模板文件或是添加一些模板文件都是可以的,使用 ``THEME_TEMPLATES_OVERRIDES`` 变量即可。" +"例如,若需要覆盖page的模板,可以向这样定义你自己的模板文件位置:" + +#: ../../faq.rst:77 a96870f0cad74996bec2469ea0c2e9e1 +msgid "" +"You can then define a custom template in ``templates/page.html``. See " +":ref:`settings/themes` for details." +msgstr "自定义的模板可以为 ``templates/page.html`` 。详情请参看 :ref:`settings/themes` 。" + +#: ../../faq.rst:81 b832cd952cf44a0097f383825f0f295f msgid "I want to use Markdown, but I got an error." msgstr "我想要使用Markdown,但是出错了。" -#: ../../faq.rst:70 c0a89314dbdf4368b2e32d781c0ae95b +#: ../../faq.rst:83 32d9dbde7029412d852ab8e710112573 msgid "" "If you try to generate Markdown content without first installing the " "Markdown library, you may see a message that says ``No valid files found " @@ -151,77 +170,79 @@ msgstr "" "。虽然Markdown并不是必需依赖,但如果你写的内容中含有Markdown格式,就需要安装Markdown库了。输入下面的命令以安装Markdown库,如果需要权限,请在前面添加" " ``sudo`` :" -#: ../../faq.rst:80 a4c93b71eb914652b3f05357067f87b3 +#: ../../faq.rst:93 46728a367ffe47d9afeb7608e9c0db5f msgid "Can I use arbitrary metadata in my templates?" msgstr "在模板中可以使用任意元数据吗?" -#: ../../faq.rst:82 6ac1579e5d8842f5bf97b87745848c6a +#: ../../faq.rst:95 9b7fbafc6d29429a88a079bfb74e3af5 msgid "" "Yes. For example, to include a modified date in a Markdown post, one " "could include the following at the top of the article::" msgstr "当然可以。例如,可以在Markdown帖子中包含一个“修改日期”,加在文章开头即可:" -#: ../../faq.rst:87 d1ad8fa8e07c4500ab754962064749a8 +#: ../../faq.rst:100 ce62442a4c9d4347bd6ae8a59476fcee msgid "" "For reStructuredText, this metadata should of course be prefixed with a " "colon::" msgstr "对于reStructuredText,此元数据也应当以冒号为前缀:" -#: ../../faq.rst:91 e3c9814b5b3849a7957f964565038e45 +#: ../../faq.rst:104 bf869a6da43e448a9cc512843aa4a183 msgid "" "This metadata can then be accessed in templates such as ``article.html`` " "via::" msgstr "此元数据可以在模板中获取到,例如在 ``article.html`` 中,可以像这样获取:" -#: ../../faq.rst:97 11d953b5718c4baeb7f7fbbb9538c763 +#: ../../faq.rst:110 b9c9a648b30942b996b124af9fd5a84c msgid "" "If you want to include metadata in templates outside the article context " "(e.g., ``base.html``), the ``if`` statement should instead be::" msgstr "如果您想在其他模板(例如 ``base.html`` )中获取此元数据,则 ``if`` 语句应改为:" -#: ../../faq.rst:103 99ca0aeea6d14c159cf1f1b8d9cf016d +#: ../../faq.rst:116 b78a678a165d40f4823fac2b19bcafc1 msgid "" "How do I make my output folder structure identical to my content " "hierarchy?" msgstr "如何使得输出目录的结构和content目录的结构保持一致?" -#: ../../faq.rst:105 e97223e6c7c94c08a1d42f783fd67f7e +#: ../../faq.rst:118 851d1019c070482991667cc024063d29 msgid "Try these settings::" msgstr "可以尝试如下配置:" -#: ../../faq.rst:112 d35f11a227ba421596458ea8f26ecde0 +#: ../../faq.rst:125 5195876e3f364a838d72b16c568263bc msgid "How do I assign custom templates on a per-page basis?" msgstr "如何为某个页面指定某个模板?" -#: ../../faq.rst:114 287bac0946dc47feab068bdb76d0bc2e +#: ../../faq.rst:127 2ddd3cf1fbf048b1819bcfc9b3691a12 msgid "" "It's as simple as adding an extra line of metadata to any page or article" " that you want to have its own template. For example, this is how it " "would be handled for content in reST format::" msgstr "这非常简单,在任何页面或者文章中,都可以通过多添加一行元数据来指定特定模板。例如,在reST中,使用:" -#: ../../faq.rst:120 b845784299bf47629e616505000724c1 +#: ../../faq.rst:133 6f5eb40b4a5e4f83ab9d1cb48fefad57 msgid "For content in Markdown format::" msgstr "对于Markdown,则使用:" -#: ../../faq.rst:124 fa734dbb540e4cda8a5be5fb1b2da124 +#: ../../faq.rst:137 2e28d1bf074c437eb5017bf6f345bf71 msgid "" "Then just make sure your theme contains the relevant template file (e.g. " -"``template_name.html``)." -msgstr "确保对应的模板文件在主题中存在即可(例如 ``template_name.html`` )。" +"``template_name.html``). If you just want to add a new custom template to" +" an existing theme, you can also provide it in a directory specified by " +"``THEME_TEMPLATES_OVERRIDES`` (see :ref:`settings/themes`)." +msgstr "" -#: ../../faq.rst:128 bdee9be4397f4839855295ee1a0fdd12 +#: ../../faq.rst:142 675e77f99f3c42bb8715c84a97c7a064 msgid "How can I override the generated URL of a specific page or article?" msgstr "如何重写某一个页面或文章生成的URL?" -#: ../../faq.rst:130 ed91b5bdcbe24473a6fed738784311b8 +#: ../../faq.rst:144 7e518b99b29d4787addc732d57e94ed1 msgid "" "Include ``url`` and ``save_as`` metadata in any pages or articles that " "you want to override the generated URL. Here is an example page in reST " "format::" msgstr "在任意页面或文章中都可以添加 ``url`` 和 ``save_as`` 元数据,这样就可以重写URL了。下面以reST格式为例:" -#: ../../faq.rst:139 5aa733d8d3bd4d86920e7e142715b1f4 +#: ../../faq.rst:153 903306ecaed3483591b4ed2dcba3d183 msgid "" "With this metadata, the page will be written to " "``override/url/index.html`` and Pelican will use the URL " @@ -230,18 +251,18 @@ msgstr "" "有了这样的元数据,此页面会保存为 ``override/url/index.html`` ,Pelican会将 ``override/url/``" " 作为链接到此页面的URL。" -#: ../../faq.rst:143 04d9890aa34d4c1e86bc7a49cd64938a +#: ../../faq.rst:157 d80d84fcb6844e25a8452e29c4113181 msgid "How can I use a static page as my home page?" msgstr "如何使用一个静态页面作为主页?" -#: ../../faq.rst:145 d3e8a4e2d453446f9037fa46e6775080 +#: ../../faq.rst:159 e17a2e2dd9014109888bab9286ee607c msgid "" "The override feature mentioned above can be used to specify a static page" " as your home page. The following Markdown example could be stored in " "``content/pages/home.md``::" msgstr "上一个问题中提到的特性可以用于实现此需求。下面例子中的Markdown文件保存为 ``content/pages/home.md`` :" -#: ../../faq.rst:155 739da75e7ce946af99c9f577e8a284ff +#: ../../faq.rst:169 b99ba0ca8656416cbdc38f3fa263b7eb msgid "" "If the original blog index is still wanted, it can then be saved in a " "different location by setting ``INDEX_SAVE_AS = 'blog_index.html'`` for " @@ -250,11 +271,11 @@ msgstr "" "如果仍需要原来的博客主页(即 ``'index'`` 直接模板),可以通过设置 ``INDEX_SAVE_AS = " "'blog_index.html'`` 将其存储在其他位置。" -#: ../../faq.rst:160 5224f09821d24e4a8db6870da1266a20 +#: ../../faq.rst:174 fca4725a57dd451fb3b0fb9df78f69b5 msgid "What if I want to disable feed generation?" msgstr "可以禁用订阅源生成吗?" -#: ../../faq.rst:162 8f014ffab3c44b0ebf2b0d9872bfbfa7 +#: ../../faq.rst:176 e9c08140e2ed44f189a7a156db027a3e msgid "" "To disable feed generation, all feed settings should be set to ``None``. " "All but three feed settings already default to ``None``, so if you want " @@ -264,19 +285,19 @@ msgstr "" "要禁用订阅源,所有订阅源相关的配置都应被设为 ``None`` 。其中有三项设置默认为 ``None`` " ",因此如果要彻底不生成订阅源,你只需要指定下面这些设置:" -#: ../../faq.rst:172 9ab29ccca83c4ecfabcb3ad4dd17c751 +#: ../../faq.rst:186 7820a481af4c4f44a40fb3ae80768a1d msgid "" "The word ``None`` should not be surrounded by quotes. Please note that " "``None`` and ``''`` are not the same thing." msgstr "``None`` 两侧不需要加引号。请注意 ``None`` 和 ``''`` 不是同一个东西。" -#: ../../faq.rst:176 fd8cbe4962d145ccadfd480419dbea9e +#: ../../faq.rst:190 4fa2ffbf1c274ec396a0d756762c260d msgid "" "I'm getting a warning about feeds generated without SITEURL being set " "properly" msgstr "Pelican警告说由于SITEURL设置不正确,无法正常生成订阅源" -#: ../../faq.rst:178 e3135e5903ec422f8d7895866ca6f365 +#: ../../faq.rst:192 8d52f14f6b03476897dfb15c188a961a msgid "" "`RSS and Atom feeds require all URL links to be absolute " "`_. In order to " @@ -287,17 +308,17 @@ msgstr "" "`_ " "。为了使得Pelican能正确生成链接,你需要将站点的 ``SITEURL`` 设置为完整路径。" -#: ../../faq.rst:183 4f2cd929dda7464cbd577d1249969920 +#: ../../faq.rst:197 1412ceb735d44a30b58db3241248e7ec msgid "" "Feeds are still generated when this warning is displayed, but links " "within may be malformed and thus the feed may not validate." msgstr "虽然Pelican提出了警告,但是仍会生成订阅源,但其中的链接可能是无效的,这会导致订阅源不可用。" -#: ../../faq.rst:187 a9f3465fda8c4a0d9395b2d6d9d5478f +#: ../../faq.rst:201 20cadccc527e4ebda08eac9ed34f5055 msgid "Can I force Atom feeds to show only summaries instead of article content?" msgstr "可以让Atom订阅源只显示摘要,不显示文章内容吗?" -#: ../../faq.rst:189 baf140533501453aa8caeddfc276d8fb +#: ../../faq.rst:203 9c45ba2ec5c6402e86e89661b943d1ad msgid "" "Instead of having to open a separate browser window to read articles, the" " overwhelming majority of folks who use feed readers prefer to read " @@ -314,11 +335,11 @@ msgstr "" " ``content`` " "字段,因此Pelican在发布RSS时默认只包含摘要(当然也可以设置为包含文章内容)。Pelican在订阅源生成上的如此行为就可以让用户自行选择订阅类型:包含了完整内容的Atom或是只包含摘要的RSS。" -#: ../../faq.rst:200 850ac093f2764547a7df74d5d055cbd4 +#: ../../faq.rst:214 bf0d4ca837f74d9ab6618db6306c6a70 msgid "Is Pelican only suitable for blogs?" msgstr "Pelican只适合用于博客吗?" -#: ../../faq.rst:202 1fb5d92096b242d09da5e0e490b34685 +#: ../../faq.rst:216 49697f375cfc49b08f5d0c2297d15028 msgid "" "No. Pelican can be easily configured to create and maintain any type of " "static site. This may require a little customization of your theme and " @@ -328,13 +349,13 @@ msgid "" "tag-related pages via::" msgstr "不是的。Pelican可以方便地用于创建维护任何静态站点,为此你需要对主题和配置做一些定制。例如,如果要为你的产品构建一个宣传网站,即不需要使用标签特性,从主题中移除与标签相关的HTML代码即可。另外,还可以通过下面的设置来禁用标签相关页面的生成:" -#: ../../faq.rst:212 5452959b3b694cbc89bb8e91bfbef840 +#: ../../faq.rst:226 0a59dd7209554237912579b362d07788 msgid "" "Why does Pelican always write all HTML files even with content caching " "enabled?" msgstr "启用内容缓存后,为什么Pelican仍会每次都写入所有HTML文件?" -#: ../../faq.rst:214 b27b4b7256f749f1bc5970b95fa742ab +#: ../../faq.rst:228 6291b82d02fc4450a79d1200b5d04f62 msgid "" "In order to reliably determine whether the HTML output is different " "before writing it, a large part of the generation environment including " @@ -347,7 +368,7 @@ msgid "" "reliable." msgstr "为了确定HTML输出确实和之前的不同,模板上下文、插件等很多生成环境都需要保存并比较某种哈希值(对于不可哈希的内容类型还需要进行一些额外处理)。另外,由于插件、分页等内容的存在,输出的HTML很可能会与之前不同。因此,考虑到处理时间和存储空间,每次都重新写入全部HTML会更快更可靠。" -#: ../../faq.rst:223 dcb5b1cf0e1b413bb7c04f6deb4ad5d7 +#: ../../faq.rst:237 5cc5e1361f914c92b0670030f0c83f5d msgid "" "However, this means that the modification time of the files changes every" " time, so a ``rsync`` based upload will transfer them even if their " @@ -359,11 +380,11 @@ msgstr "" "上传时会把没有变化的内容也进行上传。一个简便的解决方法就是给 ``rsync`` 加上 ``--checksum`` " "选项,这会比Pelican在生成时进行校验更快。" -#: ../../faq.rst:230 628a1180f3fd4c0b8301b33e0728d2c2 +#: ../../faq.rst:244 b24c40be89b94f3b980cbbda38d46115 msgid "How to process only a subset of all articles?" msgstr "如何只处理一部分文章?" -#: ../../faq.rst:232 c2bfe768775342bb8386255ea1bbbe4e +#: ../../faq.rst:246 fa34a90481f44ace83ee16401543ce09 msgid "" "It is often useful to process only e.g. 10 articles for debugging " "purposes. This can be achieved by explicitly specifying only the " @@ -374,11 +395,11 @@ msgstr "" "简便起见,在调试时可能只需要处理几篇文章。可以直接在配置项 ``ARTICLE_PATHS`` 中添加需要处理文章的文件名。可以通过像 ``cd " "content; find -name '*.md' | head -n 10`` 这样的命令获取文章文件名的列表。" -#: ../../faq.rst:238 72d30cb7a6e348c483cba0c6b6de8d3a +#: ../../faq.rst:252 0fa566e3aa084cb9b04e0cee32684222 msgid "My tag cloud is missing/broken since I upgraded Pelican" msgstr "在升级Pelican后,标签云消失或不可用了" -#: ../../faq.rst:240 7d07dcddab5d42d1aab6a8dbd27ce36c +#: ../../faq.rst:254 0bd1304a12c24f048b227c68391b148c msgid "" "In an ongoing effort to streamline Pelican, tag cloud generation has been" " moved out of Pelican core and into a separate `plugin " @@ -389,11 +410,11 @@ msgstr "" "`_ 中。查看 :ref:`plugins` " "文档获取更多关于Pelican插件系统的信息。" -#: ../../faq.rst:246 51c727bc21f946b8915f958312369e0f +#: ../../faq.rst:260 1833dfba94c74f4bb9e9f0a112ed3e0f msgid "Since I upgraded Pelican my pages are no longer rendered" msgstr "升级Pelican后,一些页面没有被渲染" -#: ../../faq.rst:248 4a0d962bc2d844cbab3d0b3e7f6f7bba +#: ../../faq.rst:262 576e5c2338ba4c43a51bb562301ad0c2 msgid "" "Pages were available to themes as lowercase ``pages`` and uppercase " "``PAGES``. To bring this inline with the :ref:`templates-variables` " @@ -405,15 +426,15 @@ msgstr "" "variables` 一节中的内容保持一致,大写的 ``PAGES`` 被删除了。只要将主题中的 ``PAGES`` 替换为 ``pages`` " ",问题即可解决。例如将原先的:" -#: ../../faq.rst:255 6167ad6b52db43d384247747db1884ca +#: ../../faq.rst:269 355512b9f6b34ece9b6baed128b2ca4d msgid "with something like::" msgstr "替换为:" -#: ../../faq.rst:260 a7a04eb9e8e549fa8a2a72db3f35b532 +#: ../../faq.rst:274 99ef769943fe41c4a37ca951e905b2ba msgid "How can I stop Pelican from trying to parse my static files as content?" msgstr "如何避免让Pelican将我的静态文件解析为内容文件?(译者注:例如要将一个HTML文件作为静态文件)?" -#: ../../faq.rst:262 6baaf265738d4acaa26f7829c64a0ac5 +#: ../../faq.rst:276 4efb20c5b82d41afb07151599fa189dd msgid "" "Pelican's article and page generators run before it's static generator. " "That means if you use a setup similar to the default configuration, where" @@ -426,7 +447,7 @@ msgstr "" "配置项中,所有以有效内容文件后缀结尾的文件( ``.html`` 、 ``.rst`` 、 ``.md`` " "等)都会被视为文章或者页面,而不是静态文件。" -#: ../../faq.rst:268 e4591dd94ddd4199900b9a451d12929e +#: ../../faq.rst:282 d959eb6a67fe440caa70105e1692bf93 msgid "" "To circumvent this issue either use the appropriate ``*_EXCLUDES`` " "setting or disable the offending reader via ``READERS`` if you don't need" @@ -435,11 +456,11 @@ msgstr "" "为了避免这个问题,使用合适的 ``*_EXCLUDES`` 配置,在必要时还可以通过 ``READERS`` " "配置项来直接禁用产生问题的reader。" -#: ../../faq.rst:272 ca927fe2be10411ab365bcc3e4fa4dbd +#: ../../faq.rst:286 5e64dc4b6fad4e7ea07278f5a2529e89 msgid "Why is [arbitrary Markdown syntax] not supported?" msgstr "为什么不是所有的Markdown语法都支持?" -#: ../../faq.rst:274 5c9cc929a6bf4f1db9d4eed5f37fc0af +#: ../../faq.rst:288 6872a70ec1434c41a78d465271761c69 msgid "" "Pelican does not directly handle Markdown processing and instead " "delegates that task to the Python-Markdown_ project, the core of which " @@ -455,3 +476,9 @@ msgstr "" "项目,此项目的核心有意只遵循原始的Markdown语法规则,而不服从之后传播开的大量Markdown风格。另外, Python-Markdown_" " 是相当模块化的,你想要使用的语法可能已经有现成的 `Markdown扩展`_ " "进行了实现。或者,也有人创建了支持Markdown变体的Pelican插件,如果你想要用某种Markdown变体,可以在这些地方寻找支持。" + +#~ msgid "" +#~ "Then just make sure your theme " +#~ "contains the relevant template file " +#~ "(e.g. ``template_name.html``)." +#~ msgstr "确保对应的模板文件在主题中存在即可(例如 ``template_name.html`` )。" diff --git a/docs/locale/zh_CN/LC_MESSAGES/tips.po b/docs/locale/zh_CN/LC_MESSAGES/tips.po index 4ecdcb1be..a65edf139 100644 --- a/docs/locale/zh_CN/LC_MESSAGES/tips.po +++ b/docs/locale/zh_CN/LC_MESSAGES/tips.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PELICAN 4\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-06-25 20:36+0800\n" +"POT-Creation-Date: 2024-11-07 16:25+0800\n" "PO-Revision-Date: 2024-06-27 19:00+0800\n" "Last-Translator: GeorgeHu \n" "Language: zh_CN\n" @@ -16,22 +16,22 @@ msgstr "" "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" +"Generated-By: Babel 2.16.0\n" -#: ../../tips.rst:2 415f61a654104cf4826423e3aa1d3807 +#: ../../tips.rst:2 9c4618aaecd44b0d93537cb760e227fa msgid "Tips" msgstr "小技巧" -#: ../../tips.rst:4 1bc50144d85845f3a7f21f9ef87bba44 +#: ../../tips.rst:4 f49ab5e1ef034ca29140bac3832e8e1c msgid "Here are some tips about Pelican that you might find useful." msgstr "以下是一些实用的小技巧。" -#: ../../tips.rst:7 ../../tips.rst:264 d9115f4b162d46e6aa89d56309c1ec41 -#: e693dc009e5c466d99655b705223f300 +#: ../../tips.rst:7 ../../tips.rst:309 95bea35d0347495bb551fe9486bcd29d +#: b64b7ed713b64f588ea7488c6d0b0441 msgid "Custom 404 Pages" msgstr "自定义404页面" -#: ../../tips.rst:9 5c7cd70793f44d3c9fcf63779755d62b +#: ../../tips.rst:9 d59dc30de5954aa1abc7c46fbac596c6 msgid "" "When a browser requests a resource that the web server cannot find, the " "web server usually displays a generic \"File not found\" (404) error page" @@ -40,36 +40,34 @@ msgid "" "article), such as this Markdown-formatted example stored in " "``content/pages/404.md``::" msgstr "" -"当浏览器请求的资源无法在服务器中找到时,web服务器常常会显示一个通用的“File not " -"found 404”的错误页面,这可能会不太美观。为了能使用一个与站点主题相匹配的404页面" -"(注意是页面而 **不是** 文章),例如下面这个Markdown格式的例子,将此文件存为了 " -"``content/pages/404.md`` :" +"当浏览器请求的资源无法在服务器中找到时,web服务器常常会显示一个通用的“File not found " +"404”的错误页面,这可能会不太美观。为了能使用一个与站点主题相匹配的404页面(注意是页面而 **不是** " +"文章),例如下面这个Markdown格式的例子,将此文件存为了 ``content/pages/404.md`` :" -#: ../../tips.rst:22 cab28bb6b2a548a09f8cc6e4778f1a78 +#: ../../tips.rst:22 416f9b3eeaac4af8bdc9f32b7cdcba39 msgid "" "The next step is to configure your web server to display this custom page" " instead of its default 404 page. For Nginx, add the following to your " "configuration file's ``location`` block::" msgstr "" -"接下来就是要配置web服务器,使其显示此自定义页面而不是默认的404页面。例如对于Nginx," -"在配置文件的 ``location`` 块中添加下面的命令:" +"接下来就是要配置web服务器,使其显示此自定义页面而不是默认的404页面。例如对于Nginx,在配置文件的 ``location`` " +"块中添加下面的命令:" -#: ../../tips.rst:28 f8acbc4d00de4cfb8dfd9358a8168c14 +#: ../../tips.rst:28 5d52fbcc9d9d4603b3f9d97360face10 msgid "For Apache::" msgstr "对于Apache:" -#: ../../tips.rst:32 3701d02f6dba4936a86a9fbb226261e8 +#: ../../tips.rst:32 5413c6bcff6a41688ffcede94b9955e4 msgid "" "For Amazon S3, first navigate to the ``Static Site Hosting`` menu in the " "bucket settings on your AWS console. From there::" -msgstr "" -"对于Amazon S3实例,先在控制台的设置中找到 ``Static Site Hosting`` ,并添加:" +msgstr "对于Amazon S3实例,先在控制台的设置中找到 ``Static Site Hosting`` ,并添加:" -#: ../../tips.rst:38 4d111f7cca2e49828e343ff889847358 +#: ../../tips.rst:38 9b02aa39367a4c33918bddef02d1788d msgid "Publishing to GitHub Pages" msgstr "发布到GitHub Pages" -#: ../../tips.rst:40 f7fa83b00f6d4dd58d6f119725474538 +#: ../../tips.rst:40 ca3f1deb69a04d40a89576f580d63781 msgid "" "If you use `GitHub `_ for your Pelican site you can " "publish your site to `GitHub Pages `_ for " @@ -80,14 +78,14 @@ msgid "" "`_." msgstr "" -"如果将Pelican站点放在了 `GitHub `_ 上,那么你就可以将站点" -"免费发布在 `GitHub Pages `_ 上。如果是用户或组织的" -"站点,发布的地址为 ``https://.github.io`` ;如果是某个项目的站点," -"发布的地址则为 ``https://.github.io/`` 。当然也可以 " -"`在GitHub Pages上使用自定义域名 `_ 上,那么你就可以将站点免费发布在 `GitHub " +"Pages `_ 上。如果是用户或组织的站点,发布的地址为 " +"``https://.github.io`` ;如果是某个项目的站点,发布的地址则为 " +"``https://.github.io/`` 。当然也可以 `在GitHub " +"Pages上使用自定义域名 `_ 。" -#: ../../tips.rst:46 a3167f2a605d44288b83d66f052e8cdd +#: ../../tips.rst:46 5962c3cb4a0b41289d6b08b9edd2fdee msgid "" "There are `two ways to publish a site to GitHub Pages " "`_ :" -#: ../../tips.rst:48 b2f270c5a15d4e3e92331c3c37db25dd +#: ../../tips.rst:48 ad6f071b3cdc4529a41776f799347da0 msgid "" "**Publishing from a branch:** run ``pelican`` locally and push the output" " directory to a special branch of your GitHub repo. GitHub will then " "publish the contents of this branch to your GitHub Pages site." msgstr "" -"**从某一分支发布:** 在本地运行 ``pelican`` 后将输出文件夹push到GitHub仓库的" -"某一分支。GitHub就会将该分支的内容发布到GitHub Pages上。" +"**从某一分支发布:** 在本地运行 ``pelican`` " +"后将输出文件夹push到GitHub仓库的某一分支。GitHub就会将该分支的内容发布到GitHub Pages上。" -#: ../../tips.rst:51 4ffdb550d8bf468dbfe4d32dfcda21cd +#: ../../tips.rst:51 6237e147cf4142d9b172588964ec00d2 msgid "" "**Publishing with a custom GitHub Actions workflow:** just push the " "source files of your Pelican site to your GitHub repo's default branch " @@ -116,25 +114,24 @@ msgid "" "your site's source files using GitHub's web interface and any changes " "that you commit will be published." msgstr "" -"**从自定义GitHub Actions工作流发布:** 将内容源文件推送到GitHub仓库的默认分支," -"然后在GitHub Actions工作流中执行 ``pelican`` 以生成输出文件夹,最后将其发布到你" -"的GitHub Pages站点。此种方法下就无需在本地执行 ``pelican`` 命令了。甚至可以直接" -"在GitHub的网页中在线修改站点内容源文件。" +"**从自定义GitHub Actions工作流发布:** 将内容源文件推送到GitHub仓库的默认分支,然后在GitHub " +"Actions工作流中执行 ``pelican`` 以生成输出文件夹,最后将其发布到你的GitHub Pages站点。此种方法下就无需在本地执行 " +"``pelican`` 命令了。甚至可以直接在GitHub的网页中在线修改站点内容源文件。" -#: ../../tips.rst:60 0e9c34ce1a5948098a5d0812eb8ac1b4 +#: ../../tips.rst:60 f2655b8ab23147e58fd68e2385a7624a msgid "Publishing a Project Site to GitHub Pages from a Branch" msgstr "从某一分支发布项目站点到GitHub Pages" -#: ../../tips.rst:62 5190ebea8d8b4542ac9ecb98c297594e +#: ../../tips.rst:62 1a156c5a8019400d86a33ce306b521ac msgid "" "To publish a Pelican site as a Project Page you need to *push* the " "content of the ``output`` dir generated by Pelican to a repository's " "``gh-pages`` branch on GitHub." msgstr "" -"要将Pelican站点发布为项目页面,你需要将Pelican生成的 ``output`` 目录 " -"**push** 到GitHub仓库的 ``gh-pages`` 分支。" +"要将Pelican站点发布为项目页面,你需要将Pelican生成的 ``output`` 目录 **push** 到GitHub仓库的 ``gh-" +"pages`` 分支。" -#: ../../tips.rst:66 e12298010e9745b59d60d31ae909fd4c +#: ../../tips.rst:66 22caeeba90b24dbe9f0305370de074fc msgid "" "The excellent `ghp-import `_, which" " can be installed with ``pip``, makes this process really easy." @@ -142,15 +139,14 @@ msgstr "" "可通过 ``pip`` 安装的 `ghp-import `_ " "使这一步变得非常简单。" -#: ../../tips.rst:69 cd5a5847355846dd81a0ad37858358f2 +#: ../../tips.rst:69 6ea08af050644b58ae5255dafb4f4d8b msgid "" "For example, if the source of your Pelican site is contained in a GitHub " "repository, and if you want to publish that Pelican site in the form of " "Project Pages to this repository, you can then use the following::" -msgstr "" -"例如,当Pelican站点的源文件已经包含在GitHub仓库中时,可以将其作为此仓库的项目页面:" +msgstr "例如,当Pelican站点的源文件已经包含在GitHub仓库中时,可以将其作为此仓库的项目页面:" -#: ../../tips.rst:77 18d3e7316a5a48acb337c3c67e94084c +#: ../../tips.rst:77 355b81e8a2194cf9b91bee0f4ee6dca9 msgid "" "The ``ghp-import output`` command updates the local ``gh-pages`` branch " "with the content of the ``output`` directory (creating the branch if it " @@ -158,37 +154,36 @@ msgid "" "the remote ``gh-pages`` branch, effectively publishing the Pelican site." msgstr "" "``ghp-import output`` 命令会用 ``output`` 目录下的内容更新本地的 ``gh-pages`` " -"分支(如果此分支不存在则会先创建)。接着再用 ``git push origin gh-pages`` " -"命令更新远程分支 ``gh-pages`` ,如此就能够发布Pelican站点了。" +"分支(如果此分支不存在则会先创建)。接着再用 ``git push origin gh-pages`` 命令更新远程分支 ``gh-" +"pages`` ,如此就能够发布Pelican站点了。" -#: ../../tips.rst:84 cc8b9d96da674850b39373728000f722 +#: ../../tips.rst:84 8a3fd725eba44fa99541376722601cce msgid "" "The ``github`` target of the Makefile (and the ``gh_pages`` task of " "``tasks.py``) created by the ``pelican-quickstart`` command publishes the" " Pelican site as Project Pages, as described above." msgstr "" -"``pelican-quickstart`` 在Makefile文件中所生成的 ``github`` 目标(以及为 " -"``gh_pages`` 任务生成的 ``tasks.py`` )使得Pelican站点能像上面描述的那样被发布" -"为项目页面。" +"``pelican-quickstart`` 在Makefile文件中所生成的 ``github`` 目标(以及为 ``gh_pages`` " +"任务生成的 ``tasks.py`` )使得Pelican站点能像上面描述的那样被发布为项目页面。" -#: ../../tips.rst:89 41c7b129fd334796848c4d75404dbe81 +#: ../../tips.rst:89 e8ebf23099ed45e7a65d23b9a7e4ccbd msgid "Publishing a User Site to GitHub Pages from a Branch" msgstr "从某一分支发布用户站点到GitHub Pages" -#: ../../tips.rst:91 b379f950927d484ba91fbe649a248cfe +#: ../../tips.rst:91 7dc8ae1992b7411d9d6db7cc4a0127cb msgid "" "To publish a Pelican site in the form of User Pages, you need to *push* " "the content of the ``output`` dir generated by Pelican to the ``main`` " "branch of your ``.github.io`` repository on GitHub." msgstr "" -"要以用户页面形式发布Pelican站点,你需要将Pelican生成的 ``output`` 目录内容 " -"**push** 到 ``.github.io`` 仓库的 ``master`` 分支上。" +"要以用户页面形式发布Pelican站点,你需要将Pelican生成的 ``output`` 目录内容 **push** 到 " +"``.github.io`` 仓库的 ``master`` 分支上。" -#: ../../tips.rst:95 6d1bd6c0ff25494e997c4efbdcd1d861 +#: ../../tips.rst:95 da706340ef5f4d18bfb183596a4196c9 msgid "Again, you can take advantage of ``ghp-import``::" msgstr "同样的,此处也可以使用 ``ghp-import`` :" -#: ../../tips.rst:101 45fb7ba534af4f7d828e1630e591c02a +#: ../../tips.rst:101 61aa6f0d9fdf407682d3f781ae5475c6 msgid "" "The ``git push`` command pushes the local ``gh-pages`` branch (freshly " "updated by the ``ghp-import`` command) to the ``elemoine.github.io`` " @@ -197,21 +192,19 @@ msgstr "" "``git push`` 命令将本地的 ``gh-pages`` 分支(此分支在刚刚通过 ``ghp-import`` " "命令进行了更新)push到了GitHub仓库 ``elemoine.github.io`` 的 ``master`` 分支。" -#: ../../tips.rst:107 b105e7dd1aef441896c0f59166808113 +#: ../../tips.rst:107 f74afbf668a1472d901fe0a16472ab98 msgid "" "To publish your Pelican site as User Pages, feel free to adjust the " "``github`` target of the Makefile." -msgstr "" -"要将Pelican站点发布为用户页面,可以根据需要修改Makefile中的 ``github`` 目标。" +msgstr "要将Pelican站点发布为用户页面,可以根据需要修改Makefile中的 ``github`` 目标。" -#: ../../tips.rst:110 87a89a932eec40e8bfdd5c756f4d54fc +#: ../../tips.rst:110 d69dcdb58a4b4b38aa8b8bf8e4fd733a msgid "" "Another option for publishing to User Pages is to generate the output " "files in the root directory of the project." -msgstr "" -"发布用户页面的另一种方法就是将输出文件生成在项目的根目录下。" +msgstr "发布用户页面的另一种方法就是将输出文件生成在项目的根目录下。" -#: ../../tips.rst:113 dab76a45349c432cb4b763484661ec2c +#: ../../tips.rst:113 4991892f24df40b982faf01ddb292175 msgid "" "For example, your main project folder is ``.github.io`` and you" " can create the Pelican project in a subdirectory called ``Pelican``. " @@ -220,22 +213,21 @@ msgstr "" "例如,项目的主文件夹是 ``.github.io`` ,你可以在子目录 ``Pelican`` " "中创建一个Pelican项目。然后你可以在这个 ``Pelican`` 文件夹中执行下面的命令:" -#: ../../tips.rst:119 7f13464c92f14cc18f8c00f7dae78f93 +#: ../../tips.rst:119 ca5939f8c58b44b69ebfb2f953a4a73b msgid "" "Now you can push the whole project ``.github.io`` to the main " "branch of your GitHub repository::" -msgstr "" -"接着可以将整个项目 ``.github.io`` push到GitHub仓库的master分支中:" +msgstr "接着可以将整个项目 ``.github.io`` push到GitHub仓库的master分支中:" -#: ../../tips.rst:124 e82ff566e32b4696863aa04216aaf355 +#: ../../tips.rst:124 54962439805d47abb121ca9454e7a4cc msgid "(assuming origin is set to your remote repository)." msgstr "(此处假设远程仓库命名为origin)。" -#: ../../tips.rst:127 1958522ba7c34537855505f1e64c7b43 +#: ../../tips.rst:127 b3fe320a90904fbda8c7ed8c7bddbd6e msgid "Publishing to GitHub Pages Using a Custom GitHub Actions Workflow" msgstr "使用自定义GitHub Actions工作流将站点发布GitHub Pages中" -#: ../../tips.rst:129 19c47b80d248451facd8407bd960b527 +#: ../../tips.rst:129 3b368bc0a307473dae560671fd9527be msgid "" "Pelican-powered sites can be published to GitHub Pages via a `custom " "workflow " @@ -246,22 +238,21 @@ msgstr "" "`_" " ,你可以直接使用此工作流发布站点:" -#: ../../tips.rst:133 bdc132ef5b974d1eae684d8118e4d914 +#: ../../tips.rst:133 a7b1be522b694d9a8beb186b4603a7aa msgid "" "Enable GitHub Pages in your repo: go to **Settings → Pages** and choose " "**GitHub Actions** for the **Source** setting." msgstr "" -"首先为仓库开启GitHub Pages: **Settings → Pages** 中有个 **Source** 设置项," -"将其选择为 **GitHub Actions** 。" +"首先为仓库开启GitHub Pages: **Settings → Pages** 中有个 **Source** 设置项,将其选择为 " +"**GitHub Actions** 。" -#: ../../tips.rst:136 d7d197c176bd4127a75cfaf9dd29212b +#: ../../tips.rst:136 9cc114d8a6b44ff49fa7fecbdbcd012f msgid "" "Commit a ``.github/workflows/pelican.yml`` file to your repo with these " "contents:" -msgstr "" -"往你的仓库中commit一个 ``.github/workflows/pelican.yml`` 文件,文件内容如下:" +msgstr "往你的仓库中commit一个 ``.github/workflows/pelican.yml`` 文件,文件内容如下:" -#: ../../tips.rst:155 656a2b783b6043f2ac26b1e7b342732e +#: ../../tips.rst:155 f7d029425d7047deae43e9506c7f4779 msgid "" "You may want to replace the ``@main`` with the ID of a specific commit in" " this repo in order to pin the version of the reusable workflow that " @@ -270,62 +261,63 @@ msgid "" "you do this you might want to get Dependabot to send you automated pull " "requests to update that commit ID whenever new versions of this workflow " "are published, like so:" -msgstr "你可能想要将 ``@main`` 替换为这个仓库中某个特定commit的ID,以便将你使用的" -"可重用工作流的版本固定下来,此时,可以使用 ``uses: getpelican/pelican/.github/workflows/" -"github_pages.yml@`` 。在这种情况下,你可能想让Dependabot自动向你发送" -"PR,以便在发布新版本的工作流时更新commit ID,如下所示:" +msgstr "" +"你可能想要将 ``@main`` 替换为这个仓库中某个特定commit的ID,以便将你使用的可重用工作流的版本固定下来,此时,可以使用 " +"``uses: " +"getpelican/pelican/.github/workflows/github_pages.yml@`` " +"。在这种情况下,你可能想让Dependabot自动向你发送PR,以便在发布新版本的工作流时更新commit ID,如下所示:" -#: ../../tips.rst:172 0e2e10f42d6142e1b2f9d2251879ffad +#: ../../tips.rst:172 fd060b5d5d824ab8825b384d37872894 msgid "" "See `GitHub's docs about using Dependabot to keep your actions up to date" " `_." -msgstr "请参阅 `GitHub文档 `_ ,了解如何使用Dependabot使您的action保持最新。" -#: ../../tips.rst:174 2475397adfbb48af9a1d16fc0a24d9b9 +#: ../../tips.rst:174 1b862876e15c4fcd898c4d9b3ba616c5 msgid "" "Go to the **Actions** tab in your repo " "(``https://github.com///actions``) and you should " "see a **Deploy to GitHub Pages** action running." msgstr "" -"选中仓库的 **Actions** 标签栏( ``https://github.com//" -"/actions`` ),此时你应该会看到已经有一个名为 **Deploy to GitHub Pages** 的" -"action正在运行。" +"选中仓库的 **Actions** 标签栏( " +"``https://github.com///actions`` ),此时你应该会看到已经有一个名为 " +"**Deploy to GitHub Pages** 的action正在运行。" -#: ../../tips.rst:178 df30a15c460b442796f7f2007c283f32 +#: ../../tips.rst:178 f8413793636140f9b017abad379b3429 msgid "" "Once the action completes you should see your Pelican site deployed at " "your repo's GitHub Pages URL: ``https://.github.io`` for a user" " or organization site or ``https://.github.io/>`` " "for a project site." msgstr "" -"当此action执行完成,就能够通过仓库的GitHub Pages地址 ``https://." -"github.io`` 看到部署好了的用户或组织站点了,对于项目站点,可通过 ``https://" -".github.io/`` 访问。" +"当此action执行完成,就能够通过仓库的GitHub Pages地址 ``https://.github.io`` " +"看到部署好了的用户或组织站点了,对于项目站点,可通过 ``https://.github.io/`` " +"访问。" -#: ../../tips.rst:183 f79963fcfd204f2780ff536516e6d407 +#: ../../tips.rst:183 d792bb046c474f70aa98b2c16a5b1254 msgid "Notes:" msgstr "注意事项:" -#: ../../tips.rst:185 3a2dc6a36d38454e85265ef35c5e8010 +#: ../../tips.rst:185 89472d2b7231439faf9e51eda07d8323 msgid "" "You don't need to set ``SITEURL`` or ``FEED_DOMAIN`` in your Pelican " "settings: the workflow will set them correctly for you" -msgstr "" -"无需在Pelican配置文件中设置 ``SITEURL`` ,工作流会帮你进行设置。" +msgstr "无需在Pelican配置文件中设置 ``SITEURL`` ,工作流会帮你进行设置。" -#: ../../tips.rst:188 ea406746a7db49dfa10de025a3be4a31 +#: ../../tips.rst:188 ea2b632160804a6e9bf1b4cecb7de716 msgid "" "You don't need to commit your ``--output`` / ``OUTPUT_PATH`` directory " "(``output/``) to git: the workflow will run ``pelican`` to build the " "output directory for you on GitHub Actions" msgstr "" -"无需commit ``--output`` 或 ``OUTPUT_PATH`` 所指定的目录( ``output/`` ):" -"工作流会自己执行 ``pelican`` 命令来构建输出目录。" +"无需commit ``--output`` 或 ``OUTPUT_PATH`` 所指定的目录( ``output/`` ):工作流会自己执行 " +"``pelican`` 命令来构建输出目录。" -#: ../../tips.rst:192 a92a4068ac294a22ac80b1db68090634 +#: ../../tips.rst:192 fd9fb772fba844f099cac781f2b0642f msgid "" "See `GitHub's docs about reusable workflows " "`_ " @@ -334,46 +326,45 @@ msgstr "" "更多信息请参阅 `GitHub可重用工作流文档 `_ 。" -#: ../../tips.rst:195 1264d8a048aa4bd7878845ba2dac0d0d +#: ../../tips.rst:195 f9c527704af24f6da0b4229b7882a25b msgid "" "A number of optional inputs can be added to the ``with:`` block when " "calling the workflow, for example:" -msgstr "" -"有一些可选输入可以添加到工作流的 ``with:`` 块中:" +msgstr "有一些可选输入可以添加到工作流的 ``with:`` 块中:" -#: ../../tips.rst:206 3faf65d7567244e3bc65a15dc84cf247 +#: ../../tips.rst:206 956f5bae1fc64096acd2a2540a29004c msgid "Here's the complete list of workflow inputs:" msgstr "下面是工作流可用输入参数的完整列表:" -#: ../../tips.rst:209 37919ce86ddb4546bd191440ba1c5b9a +#: ../../tips.rst:209 eb37c894d7bc4278ab1a92e3b82c5603 msgid "Name" msgstr "名称" -#: ../../tips.rst:209 645ae6a27c7b40ecbc795dbd698b0649 +#: ../../tips.rst:209 446faf9e7d544e6aa47d4a1eca506c01 msgid "Required" msgstr "是否必需" -#: ../../tips.rst:209 18917f8f278440e38882a4f1ca62fc8f +#: ../../tips.rst:209 de96e4f5cd09488296f97f569fe1fb90 msgid "Description" msgstr "描述" -#: ../../tips.rst:209 99be24eafb6d43578e6eabba25f568fe +#: ../../tips.rst:209 181bbfff09144f5b9c241b2fc79c989d msgid "Type" msgstr "值的类型" -#: ../../tips.rst:209 24860d0693b84e6c9297f8733b338824 +#: ../../tips.rst:209 c3d44d1e7be6421a83bae2f5dc6e578f msgid "Default" msgstr "默认值" -#: ../../tips.rst:211 7e9bb7ea151c4e8c99116dd4decbe3c1 +#: ../../tips.rst:211 305d9d73681b4c6c80161cc906d60bbd msgid "``settings``" msgstr "``settings``" -#: ../../tips.rst:211 647c4173846f4057920030c8f774d5ea +#: ../../tips.rst:211 dbe6210f19914ae3b11e4caec7a945f0 msgid "Yes" msgstr "是" -#: ../../tips.rst:211 05c57822d0a249de9718a9a3c56e9e56 +#: ../../tips.rst:211 bbd2306b324d4b5eae513cb7a7683286 msgid "" "The path to your Pelican settings file (``pelican``'s ``--settings`` " "option), for example: ``\"publishconf.py\"``" @@ -383,26 +374,27 @@ msgstr "" #: ../../tips.rst:211 ../../tips.rst:216 ../../tips.rst:223 ../../tips.rst:227 #: ../../tips.rst:231 ../../tips.rst:237 ../../tips.rst:243 -#: 4e21f78e86f049048a800ddd5c51e230 618fd4eb66ff45b29c98df87b145613c -#: 93083ab6eb974293820f40d16349c100 9684f50652484820b924109f31418cd7 -#: 9df48660f1a84fe1af952256c7b58aec cef3fc9239d941969fda711c74994d8c -#: d09fff93593844cfbb0b270b4cd74193 +#: 073e18d8ae29406eb05040d4e3a9ae60 7d43e6cfb091410ebec7464da05b61b4 +#: 8837cc8935f148fb80f05cc5d3d53629 b2da1f7640f948039230cd835c49accd +#: bfe3d052cdc443bb81fed82e77acf3c1 c93816e00a254ef69c69f05833e8762b +#: ee35302c7e034070af1d234ab919c32a msgid "string" msgstr "string" -#: ../../tips.rst:216 f867df810054493f9d6be16271822ddb +#: ../../tips.rst:216 4eab6faa96244f13a09754112a783f2f msgid "``requirements``" msgstr "``requirements``" #: ../../tips.rst:216 ../../tips.rst:223 ../../tips.rst:227 ../../tips.rst:231 -#: ../../tips.rst:237 ../../tips.rst:243 019e197dd56b44229549da7a2421ce37 -#: 636f76c7f1ca4c61bcea4bbe39a4eb1f 671a0ff87e294e7ab0ac8cdf70fdfe1d -#: 848f43cf99c447a595f4760e2cf25f2b b425d772694640d0a7bae06c236fa1a2 -#: d145c924e4f348f5ad24b51286ce61e6 +#: ../../tips.rst:237 ../../tips.rst:243 ../../tips.rst:249 +#: 197d6ee11fce4a50996a0c458cfdbdad 2086d667b9b1475cb0f002924cdfde12 +#: 25e940621f5b48c9af487d898d7f93cf 5664232c9fdd46c7b8278b8ecef8e3b1 +#: 6693126a0da74c61b67e14ca8e535ec3 7f8a93a2048140748fa73537bfae2a54 +#: 85fd40a29f31490bb23b20f05e574aaa msgid "No" msgstr "否" -#: ../../tips.rst:216 0d5ee9c193994b2cac7757e881f01a42 +#: ../../tips.rst:216 9d5bdd70e7da4794805180cc758ebe37 msgid "" "The Python requirements to install, for example to enable markdown and " "typogrify use: ``\"pelican[markdown] typogrify\"`` or if you have a " @@ -411,138 +403,194 @@ msgstr "" "需要安装的Python模块,例如要开启markdown和typogrify,可指定 ``\"pelican[markdown] " "typogrify\"`` ,或者可以指定一个requirements文件: ``\"-r requirements.txt\"`` " -#: ../../tips.rst:216 67298d60de17486dbc1b6841f2c433b9 +#: ../../tips.rst:216 03ad0b322a714032bcce9f56ce66318d msgid "``\"pelican\"``" msgstr "``\"pelican\"``" -#: ../../tips.rst:223 219a8d185ac440329e8aa7306e55e708 +#: ../../tips.rst:223 e568553782b443dbacecaa7ded4c391c msgid "``output-path``" msgstr "``output-path``" -#: ../../tips.rst:223 21a3530e340349afa64d7eb69b393c98 +#: ../../tips.rst:223 2920ae9de5a64ae1ad82bd2287fa7c1e msgid "Where to output the generated files (``pelican``'s ``--output`` option)" msgstr "生成文件的输出位置(会被用于 ``pelican`` 命令的 ``--output`` 选项)" -#: ../../tips.rst:223 dea97da0dfc24941b8850d1d26ea3cd3 +#: ../../tips.rst:223 41b90747f0954a5799c8baf4a59d99fd msgid "``\"output/\"``" msgstr "``\"output/\"``" -#: ../../tips.rst:227 688ac4687d7841629137bf97ce97deee +#: ../../tips.rst:227 e2cc62185182463abc5140244a808e6d msgid "``theme``" msgstr "``theme``" -#: ../../tips.rst:227 2c2e6b6d8a6044c0ba64d00ea1b12d40 +#: ../../tips.rst:227 cd3b78d03dcd4554a8ce10a873f5ff9f msgid "" "The GitHub repo URL of a custom theme to use, for example: " "``\"https://github.com/seanh/sidecar.git\"``" -msgstr "" -"要使用的自定义主题的GitHub仓库URL,例如: ``\"https://github.com/seanh/" -"sidecar.git\"``" +msgstr "要使用的自定义主题的GitHub仓库URL,例如: ``\"https://github.com/seanh/sidecar.git\"``" -#: ../../tips.rst:227 bd63884f7e60412d9a6cccc5da9c47ac +#: ../../tips.rst:227 d94f331173334fb2a84b1caadffb72df msgid "``\"\"``" msgstr "``\"\"``" -#: ../../tips.rst:231 9527d9e89d704210baff0bb6e3e23b20 +#: ../../tips.rst:231 44ceb2743481486b95c1c739d543f15d msgid "``python``" msgstr "``python``" -#: ../../tips.rst:231 1aa44193e62647c0ba275507ea84b42c +#: ../../tips.rst:231 4b5cddab44d24c7c8560e16991b784c7 msgid "" "The version of Python to use to build the site, for example: ``\"3.12\"``" " (to use the most recent version of Python 3.12, this is faster) or " "``\"3.12.1\"`` (to use an exact version, slower)" -msgstr "" -"构建站点时使用的Python版本,例如: ``\"3.12\"`` 或 ``\"3.12.1\"``" +msgstr "构建站点时使用的Python版本,例如: ``\"3.12\"`` 或 ``\"3.12.1\"``" -#: ../../tips.rst:231 d182ae2dd44c482fb3f2373a7d97087c +#: ../../tips.rst:231 919c0e36e8ff40bcbcc4480081b49ce5 msgid "``\"3.12\"``" msgstr "``\"3.12\"``" -#: ../../tips.rst:237 dc65b4e578e24d179c38066871c2c572 +#: ../../tips.rst:237 842af56c539f4a74a97c7a5b1525eb35 msgid "``siteurl``" msgstr "``siteurl``" -#: ../../tips.rst:237 5909de5d60224c7b875753f88fd13296 +#: ../../tips.rst:237 7fc0777d6e174d6f8d757926a61aa3c8 msgid "" "The base URL of your web site (Pelican's ``SITEURL`` setting). If not " "passed this will default to the URL of your GitHub Pages site, which is " "correct in most cases." -msgstr "" -"站点的基URL,会用于配置项 ``SITEURL`` 。若未指定,默认值为GitHub Pages站点" -"的URL,这适用于大部分情况。" +msgstr "站点的基URL,会用于配置项 ``SITEURL`` 。若未指定,默认值为GitHub Pages站点的URL,这适用于大部分情况。" -#: ../../tips.rst:237 ../../tips.rst:243 0c0b86aa4b984615afb3564b76e379ff -#: c7ddd6347a7f4467b31aaa8f4d4a2309 +#: ../../tips.rst:237 ../../tips.rst:243 082f65333e224d71817b82b1e4f515c4 +#: 3d786e828a4745db849bdb8f47738db8 msgid "The URL of your GitHub Pages site." msgstr "GitHub Pages站点的URL" -#: ../../tips.rst:243 af7d2b52c5504ac2b69490a18d14f80f +#: ../../tips.rst:243 e5adb69f985547b7b3cc2bd3f31d4cc3 msgid "``feed_domain``" msgstr "``feed_domain``" -#: ../../tips.rst:243 2cc126862a8047c286381aa258aad013 +#: ../../tips.rst:243 c88f037c9f1f4148bef6347228257f7d msgid "" "The domain to be prepended to feed URLs (Pelican's ``FEED_DOMAIN`` " "setting). If not passed this will default to the URL of your GitHub Pages" " site, which is correct in most cases." msgstr "" -"订阅源URL前要附加的域名,会用于配置项 ``FEED_DOMAIN`` 。若未指定,默认值为" -"GitHub Pages站点的URL,这适用于大部分情况。" +"订阅源URL前要附加的域名,会用于配置项 ``FEED_DOMAIN`` 。若未指定,默认值为GitHub " +"Pages站点的URL,这适用于大部分情况。" + +#: ../../tips.rst:249 358c5aa434cd4ad09beab02df88413d5 +msgid "``deploy``" +msgstr "``deploy``" + +#: ../../tips.rst:249 b8748aeace5a448d9382e225be98f90c +msgid "" +"This is used to determine whether you will deploy the site or not to " +"GitHub Pages. This is most useful if you want to test a change to your " +"website in a pull request before deploying those change." +msgstr "此项配置用于表示是否要将站点部署至GitHub Pages。当对站点做了更改,并且在正式部署前进行测试,就可以用到此项。" -#: ../../tips.rst:252 b86ab8a1fa24447d99becc592411010e +#: ../../tips.rst:249 034006b9b71b4cb486f230b8aad873ce +msgid "bool" +msgstr "bool" + +#: ../../tips.rst:249 078ac613a8b74703af98c75bb5a007c1 +msgid "``true``" +msgstr "``true``" + +#: ../../tips.rst:257 e63cf881e3204be8b52ee5d8635ba4cf +msgid "Testing Your Build in a GitHub Pull Request" +msgstr "在Github拉取请求时进行测试" + +#: ../../tips.rst:259 a2f6bd3420eb46a08f54efda35a6eaf4 +msgid "" +"If you want to test your build in a pull request before deploying to " +"GitHub, your workflow might look something like this:" +msgstr "如果想在正式部署到 GitHub 前在PR中进行测试,下面是一个可用的 workflow 示例" + +#: ../../tips.rst:288 84393693279741efa82c5ee6b27cbd28 +msgid "" +"The ``on`` section of the workflow defines the events that will trigger " +"the workflow. In this example, the workflow will run on pushes to the " +"main branch, pull requests to the main branch, and manual runs of the " +"workflow." +msgstr "工作流的 ``on`` 部分定义了工作流的触发器。在此示例中,工作流将在main分支收到push、有PR提起到主分支以及" +"手动运行工作流时执行。" + +#: ../../tips.rst:290 cd3c13b2af974a32aa4291d07fc11e9c +msgid "" +"``workflow_dispatch`` defines the deploy boolean to be true by default. " +"This means that if you run the workflow manually, it will deploy the " +"site." +msgstr "``workflow_dispatch`` 将 deploy 的默认值设为 true。也就是说当手动运行工作流时,更改的内容就会正式部署。" + +#: ../../tips.rst:292 5402cd211d5b4aa8a244c916bb381a5b +msgid "" +"The ``deploy`` input for the job is using a set of standard GitHub " +"workflow variables to control when ``deploy`` will either be true or " +"false (you can customize this to your needs)." +msgstr "job中的 ``deploy`` 使用了一些 GitHub workflow 变量来计算 ``deploy`` 值为 true 还是 false(您可以根据需要自定义)。" + +#: ../../tips.rst:294 d084908e3a0749f0b802b43626cfe2c4 +msgid "" +"In this example, the ``deploy`` will be true if the event is a push to " +"the main branch (or merging into main from a PR) or a manual run of the " +"workflow. If the event is a pull request, the ``deploy`` will be false " +"and it will only build an artifact for the site." +msgstr "在此示例中,如果触发事件是推送到主分支(或从 PR 合并到主分支)或手动运行工作流,则 deploy 将为 true;" +"如果触发事件只是Pull Request,则 ``deploy`` 将为 false,并且此时只会为站点构建一个artifact。" + +#: ../../tips.rst:297 85e70fc3faa04208979f7bbe92b025ef msgid "\"Insecure content\" warnings from browsers" msgstr "浏览器报“不安全的内容(Insecure content)”警告" -#: ../../tips.rst:254 c81d5f8889c14a069e55fe7472a238f2 +#: ../../tips.rst:299 34f7075cf31f416da2aeb529c616d97d msgid "" "If your site uses ``https://`` and is broken because the browser is " "blocking network requests (for example for CSS files) due to \"insecure " "content\" this may be because GitHub Pages is generating ``http://`` URLs" " for your site." msgstr "" -"当站点使用 ``https://`` 时,可能会损坏,无法正常显示,这是由于浏览器阻拦了一些" -"对“不安全内容”的网络请求。可能的原因之一是GitHub Pages给你的站点生成了 ``http://`` " -"URL。" +"当站点使用 ``https://`` " +"时,可能会损坏,无法正常显示,这是由于浏览器阻拦了一些对“不安全内容”的网络请求。可能的原因之一是GitHub Pages给你的站点生成了 " +"``http://`` URL。" -#: ../../tips.rst:258 2a53f882b7e645149d18ce81757b9758 +#: ../../tips.rst:303 47271df82577424c8e2c31a9e76a553a msgid "" "To fix this go into your site repo's settings and enable the **Enforce " "HTTPS** setting: go to **Settings → Pages** and check **Enforce HTTPS**. " "Then re-run the workflow to re-deploy your site. Alternatively, you can " "use the workflow's ``siteurl`` and ``feed_domain`` settings." msgstr "" -"要想解决这一问题,需要为站点所在仓库开启 **强制使用HTTPS** :点击 **Settings → Pages** " -"并在其中勾选 **Enforce HTTPS** ,接着再重新执行工作流以重新部署站点。也可以尝试" -"通过配置 ``siteurl`` 与 ``feed_domain`` 解决问题。" +"要想解决这一问题,需要为站点所在仓库开启 **强制使用HTTPS** :点击 **Settings → Pages** 并在其中勾选 " +"**Enforce HTTPS** ,接着再重新执行工作流以重新部署站点。也可以尝试通过配置 ``siteurl`` 与 " +"``feed_domain`` 解决问题。" -#: ../../tips.rst:266 483cbd21e61841d983e2ecc8bc3006bc +#: ../../tips.rst:311 e69189ef4a8440fb8940d8012b4f19d6 msgid "" "GitHub Pages will display the custom 404 page described above, as noted " "in the relevant `GitHub docs " "`_." msgstr "" -"如果按前述进行配置,GitHub Pages是能够正确显示自定义的404页面的,相关内容在 " -"`GitHub的文档中 `_ 也有提到。" +"如果按前述进行配置,GitHub Pages是能够正确显示自定义的404页面的,相关内容在 `GitHub的文档中 " +"`_ 也有提到。" -#: ../../tips.rst:270 6b54e9c354f34e1f9a5a3f50d96b98c3 +#: ../../tips.rst:315 1b8c2457f44a4d61a033363830b8bd90 msgid "Update your site on each commit" msgstr "在每次commit后都更新站点" -#: ../../tips.rst:272 2e83c0c761c94f35ae3056634d8f1552 +#: ../../tips.rst:317 476dbdb670924c02a962e78d6a7854c1 msgid "" "To automatically update your Pelican site on each commit, you can create " "a post-commit hook. For example, you can add the following to " "``.git/hooks/post-commit``::" msgstr "" -"要想在每次commit后自动更新Pelican站点,你可以创建一个post-commit钩子。例如," -"可以将下面的内容保存为 ``.git/hooks/post-commit`` :" +"要想在每次commit后自动更新Pelican站点,你可以创建一个post-commit钩子。例如,可以将下面的内容保存为 " +"``.git/hooks/post-commit`` :" -#: ../../tips.rst:279 528589366e634f15bb0a702969715286 +#: ../../tips.rst:324 36dc5f05eaf84573acada36c59d8d2fc msgid "Copy static files to the root of your site" msgstr "将静态文件拷贝到站点根目录" -#: ../../tips.rst:281 dc4267653ef04722a0583915c05b6c88 +#: ../../tips.rst:326 4a0722ad68e944ee80e6378259cc1dd6 msgid "" "To use a `custom domain `_ with GitHub Pages, you need to put the " @@ -557,11 +605,11 @@ msgstr "" ")添加到站点根目录的 ``CNAME`` 文件中。为此,请创建 ``content/extra/`` 目录,并在里面添加一个 ``CNAME`` " "文件。然后使用Pelican的 ``STATIC_PATHS`` 来告诉Pelican将此文件复制到输出目录:" -#: ../../tips.rst:292 5fcdc283f55f4d8ca121cb6438c67a36 +#: ../../tips.rst:337 8ad906848762400d9e2462034d151a16 msgid "Note: use forward slashes, ``/``, even on Windows." msgstr "请注意:务必使用正斜杠 ``/`` ,在Windows上也是。" -#: ../../tips.rst:294 326a40a1536c462ea4974ce4b560f54c +#: ../../tips.rst:339 7b109f4944064382babc9158567c8e82 msgid "" "You can also use the ``EXTRA_PATH_METADATA`` mechanism to place a " "``favicon.ico`` or ``robots.txt`` at the root of any site." @@ -569,18 +617,17 @@ msgstr "" "利用 ``EXTRA_PATH_METADATA`` 机制,你可以将 ``favicon.ico`` 或 ``robots.txt`` " "也拷贝到站点的根目录下。" -#: ../../tips.rst:298 4e589caa6f17438aae1d1a12819c6ef2 +#: ../../tips.rst:343 678eea0644b5400496ad9173d05368d5 msgid "How to add YouTube or Vimeo Videos" msgstr "如何添加YouTube或Vimeo视频" -#: ../../tips.rst:300 5f60f033a7084739af5ef0dce5b91197 +#: ../../tips.rst:345 ca57b327dd6b432d82cdc91193bde6bb msgid "" "The easiest way is to paste the embed code of the video from these sites " "directly into your source content." -msgstr "" -"最简单的方法是将这些网站的视频嵌入代码直接粘贴到您的源内容文件中。" +msgstr "最简单的方法是将这些网站的视频嵌入代码直接粘贴到您的源内容文件中。" -#: ../../tips.rst:303 5446d02bebc241e88cc30b484799696c +#: ../../tips.rst:348 0a4f27e2edbe494ab52f73595646986e msgid "" "Alternatively, you can also use Pelican plugins like ``liquid_tags``, " "``pelican_youtube``, or ``pelican_vimeo`` to embed videos in your " @@ -589,45 +636,42 @@ msgstr "" "或者,您还可以使用例如 ``liquid_tags`` 、``pelican_youtube`` 或 ``pelican_vimeo`` " "等Pelican插件将视频嵌入。" -#: ../../tips.rst:306 c871fab4a3424b0dba84c1af24f6405f +#: ../../tips.rst:351 e73517b72da347738421784b776b1f1c msgid "" "Moreover, markup languages like reST and Markdown have plugins that let " "you embed videos in the markup. You can use `reST video directive " "`_ for reST or `mdx_video plugin " "`_ for Markdown." msgstr "" -"此外,像reST和 Markdown这样的标记语言都有对应插件可以让你在其中嵌入视频。" -"可以使用 `reST的视频指令 `_ 或者 " -"`Markdown的mdx_video插件 `_ 。" +"此外,像reST和 Markdown这样的标记语言都有对应插件可以让你在其中嵌入视频。可以使用 `reST的视频指令 " +"`_ 或者 `Markdown的mdx_video插件 " +"`_ 。" -#: ../../tips.rst:313 569b7609cb9d412e942001da7c4a704c +#: ../../tips.rst:358 b9d27cda716048b2ab7c13646d7faf09 msgid "Develop Locally Using SSL" msgstr "在本地使用SSL进行开发" -#: ../../tips.rst:315 e66f6f1cacc4466682461d251aedb929 +#: ../../tips.rst:360 50df9ec072aa47eabbae132fd8f5cb68 msgid "Here's how you can set up your local pelican server to support SSL." msgstr "以下描述了如何在本地Pelican服务器上配置SSL。" -#: ../../tips.rst:317 138c34c1b6804246b79fda266a1fd937 +#: ../../tips.rst:362 9b5045375a874c4d9c29f7109f05c539 msgid "" "First, create a self-signed certificate and key using ``openssl`` (this " "creates ``cert.pem`` and ``key.pem``)::" -msgstr "" -"首先,通过 ``openssl`` 创建自签名的证书和密钥,这会生成 ``cert.pem`` 和 " -"``key.pem`` 文件:" +msgstr "首先,通过 ``openssl`` 创建自签名的证书和密钥,这会生成 ``cert.pem`` 和 ``key.pem`` 文件:" -#: ../../tips.rst:321 ac189182bc694bcaa94cd935311f4492 +#: ../../tips.rst:366 2f1cfa536fc540f69d671f8a118769d7 msgid "" "And use this command to launch the server (the server starts within your " "``output`` directory)::" -msgstr "" -"接着使用下面的命令来开启服务器(此服务器会在 ``output`` 目录下开启):" +msgstr "接着使用下面的命令来开启服务器(此服务器会在 ``output`` 目录下开启):" -#: ../../tips.rst:325 88a33744d69f4f5bbc4a43024c43d3a0 +#: ../../tips.rst:370 029ea2b0e4fe4b0f814158ae33e3a8ff msgid "If you are using ``develop-server.sh``, add this to the top::" msgstr "如果你使用的是 ``develop-server.sh`` 脚本,在脚本的开头添加:" -#: ../../tips.rst:330 9a783977fe814657b8590185af281b1e +#: ../../tips.rst:375 c2784fdd9fdb433799d57f903d0e49d8 msgid "and modify the ``pelican.server`` line as follows::" msgstr "然后修改按照下述修改 ``pelican.server`` 一行:"