|
| 1 | +# Copyright (C) 2021 Fortran programming language community |
| 2 | +# This file is distributed under the same license as the fpm package. |
| 3 | +# Sebastian Ehlert <[email protected]>, 2021. |
| 4 | + |
| 5 | +# |
| 6 | +#, fuzzy |
| 7 | +msgid "" |
| 8 | +msgstr "" |
| 9 | +"Project-Id-Version: fpm \n" |
| 10 | +"Report-Msgid-Bugs-To: \n" |
| 11 | +"POT-Creation-Date: 2021-11-30 19:45+0800\n" |
| 12 | +"PO-Revision-Date: 2021-11-30 19:45+0800\n" |
| 13 | +" Last-Translator: 左志华 <[email protected]>\n" |
| 14 | +"Language-Team: Fortran-Fans <https://github.com/fortran-fans>\n" |
| 15 | +"MIME-Version: 1.0\n" |
| 16 | +"Content-Type: text/plain; charset=utf-8\n" |
| 17 | +"Content-Transfer-Encoding: 8bit\n" |
| 18 | +"Generated-By: Babel 2.9.1\n" |
| 19 | + |
| 20 | +#: ../../pages/how-to/index.md:3 |
| 21 | +msgid "How-To guides" |
| 22 | +msgstr "" |
| 23 | +"操作指南" |
| 24 | + |
| 25 | +#: ../../pages/how-to/index.md:1 |
| 26 | +msgid "" |
| 27 | +"This section contains practical guides and recipes for solving specific " |
| 28 | +"problems with fpm." |
| 29 | +msgstr "" |
| 30 | +"本节包含解决fpm特定问题的实用指南和步骤。" |
| 31 | + |
| 32 | +#: ../../pages/how-to/installation.md:1 |
| 33 | +msgid "Installing fpm" |
| 34 | +msgstr "" |
| 35 | +"安装fpm" |
| 36 | + |
| 37 | +#: ../../pages/how-to/installation.md:3 |
| 38 | +msgid "This how-to guide covers the installation of Fortran on various platforms." |
| 39 | +msgstr "" |
| 40 | +"本操作指南涵盖了在各种平台上安装Fortran的过程。" |
| 41 | + |
| 42 | +#: ../../pages/how-to/installation.md:6 |
| 43 | +msgid "{fab}`windows` MSYS2 package manager" |
| 44 | +msgstr "" |
| 45 | +"{fab}`windows` MSYS2包管理器" |
| 46 | + |
| 47 | +#: ../../pages/how-to/installation.md:8 |
| 48 | +msgid "" |
| 49 | +"The [MSYS2 project](https://www.msys2.org>) provides a package manager " |
| 50 | +"and makes many common Unix tools available for Windows." |
| 51 | +msgstr "" |
| 52 | +"MSYS2项目提供了一个包管理器,并使许多常见的Unix工具可用于Windows。" |
| 53 | + |
| 54 | +#: ../../pages/how-to/installation.md:1 |
| 55 | +msgid "" |
| 56 | +"To install download the ``msys2-x86_64-YYYYMMDD.exe`` installer from the " |
| 57 | +"MSYS2 webpage and run it. MSYS2 will create several new desktop " |
| 58 | +"shortcuts, like *MSYS terminal*, *MinGW64 terminal* and *UCRT64 terminal*" |
| 59 | +" (more information on MSYS2 terminals are available " |
| 60 | +"[here](https://www.msys2.org/docs/terminals/))." |
| 61 | +msgstr "" |
| 62 | +"要安装``msys2-x86_64-YYYYMMDD.exe``,请从MSYS2网页下载安装程序并运行它。" |
| 63 | +"MSYS2将创建几个新的桌面快捷方式,如*MSYS*终端,*MinGW64*终端和*UCRT64*终端" |
| 64 | +"(有关MSYS2终端的更多信息可在[此处](https://www.msys2.org/docs/terminals/)获得)。 |
| 65 | +
|
| 66 | +#: ../../pages/how-to/installation.md:4 |
| 67 | +msgid "" |
| 68 | +"The Fortran package manager is supported for the the *UCRT64*, *MinGW64*," |
| 69 | +" or *MinGW32* terminal." |
| 70 | +msgstr "" |
| 71 | +"*UCRT64*、*MinGW64*或*MinGW32*终端支持安装Fortran包管理器(fpm)。" |
| 72 | + |
| 73 | +#: ../../pages/how-to/installation.md:17 |
| 74 | +msgid "Open a new terminal and update your installation with" |
| 75 | +msgstr "" |
| 76 | +"打开新终端并使用" |
| 77 | + |
| 78 | +#: ../../pages/how-to/installation.md:23 |
| 79 | +msgid "" |
| 80 | +"You might have to update MSYS2 and ``pacman`` first, restart the terminal" |
| 81 | +" and run the above command again to update the installed packages." |
| 82 | +msgstr "" |
| 83 | +"你可能需要首先更新MSYS2和``pacman``,然后重新启动终端并再次运行上述命令以更新已安装的包。" |
| 84 | + |
| 85 | +#: ../../pages/how-to/installation.md:25 |
| 86 | +msgid "" |
| 87 | +"If you are using the *MinGW64 terminal* you can install the required " |
| 88 | +"software with" |
| 89 | +msgstr "" |
| 90 | +"如果你使用的是*MinGW64*终端,则可以使用" |
| 91 | + |
| 92 | +#: ../../pages/how-to/installation.md:1 |
| 93 | +msgid "" |
| 94 | +"Both *git* and *gfortran* are not mandatory dependencies for running fpm." |
| 95 | +" If you provide *git* and *gfortran* from outside they will get picked up" |
| 96 | +" as well." |
| 97 | +msgstr "" |
| 98 | +"*git*和*gfortran*都不是运行fpm的必需依赖项。如果你从外面提供*git*和*gfortran*,它们也会被包括进来。" |
| 99 | + |
| 100 | +#: ../../pages/how-to/installation.md:37 |
| 101 | +msgid "{fab}`apple` Homebrew package manager" |
| 102 | +msgstr "" |
| 103 | +"{fab}`apple` Homebrew包管理器" |
| 104 | + |
| 105 | +#: ../../pages/how-to/installation.md:39 |
| 106 | +msgid "" |
| 107 | +"The Fortran package manager (fpm) is available for the " |
| 108 | +"[homebrew](https://brew.sh) package manager on MacOS via an additional tap. " |
| 109 | +"To install fpm via brew, include the new tap and install it using" |
| 110 | +msgstr "" |
| 111 | +"Fortran包管理器(fpm)可用于MacOS上的Homebrew包管理器,只需额外的``tap``即可。" |
| 112 | +"要通过brew安装fpm,使用" |
| 113 | + |
| 114 | +#: ../../pages/how-to/installation.md:47 |
| 115 | +msgid "" |
| 116 | +"Binary distributions are available for MacOS 11 (Catalina) and 12 (Big " |
| 117 | +"Sur) for x86\\_64 architectures. For other platforms fpm will be built " |
| 118 | +"locally from source automatically." |
| 119 | +msgstr "" |
| 120 | +"二进制发行版适用于MacOS 11(Catalina)和12(Big Sur),适用于x86\\_64架构。" |
| 121 | +"对于其他平台,fpm将自动从源代码本地构建。" |
| 122 | + |
| 123 | +#: ../../pages/how-to/installation.md:50 |
| 124 | +msgid "Fpm should be available and functional after those steps." |
| 125 | +msgstr "" |
| 126 | +"在这些步骤之后,fpm应该可用且功能正常。" |
| 127 | + |
| 128 | +#: ../../pages/how-to/installation.md:53 |
| 129 | +msgid "{fab}`apple` {fab}`linux` Conda package manager" |
| 130 | +msgstr "" |
| 131 | +"{fab}`apple` {fab}`linux` Conda包管理器" |
| 132 | + |
| 133 | +#: ../../pages/how-to/installation.md:55 |
| 134 | +msgid "" |
| 135 | +"Fpm is available on [conda-forge], to add conda-forge to your channels " |
| 136 | +"use:" |
| 137 | +msgstr "" |
| 138 | +"fpm可在conda-forge上找到,以将conda-forge添加到你的频道使用:" |
| 139 | + |
| 140 | +#: ../../pages/how-to/installation.md:61 |
| 141 | +msgid "Fpm can be installed with:" |
| 142 | +msgstr "" |
| 143 | +"fpm可以以下命令安装:" |
| 144 | + |
| 145 | +#: ../../pages/how-to/installation.md:68 |
| 146 | +msgid "" |
| 147 | +"Alternatively, if you want fpm to be always available directly install " |
| 148 | +"into your current environment with" |
| 149 | +msgstr "" |
| 150 | +"或者,如果你希望fpm始终可用,直接安装到当前环境中:" |
| 151 | + |
| 152 | +#: ../../pages/how-to/installation.md:1 |
| 153 | +msgid "" |
| 154 | +"The conda package manager can be installed from " |
| 155 | +"[miniforge](https://github.com/conda-forge/miniforge/releases) or from " |
| 156 | +"[miniconda](https://docs.conda.io/en/latest/miniconda.html)." |
| 157 | +msgstr "" |
| 158 | +"conda 包管理器可以从[miniforge](https://github.com/conda-forge/miniforge/releases)" |
| 159 | +"或[miniconda](https://docs.conda.io/en/latest/miniconda.html)安装。" |
| 160 | + |
| 161 | +#: ../../pages/how-to/installation.md:83 |
| 162 | +msgid "{fab}`linux` Arch Linux user repository" |
| 163 | +msgstr "" |
| 164 | +"{fab}`linux` Arch Linux用户存储库" |
| 165 | + |
| 166 | +#: ../../pages/how-to/installation.md:85 |
| 167 | +msgid "" |
| 168 | +"The Arch Linux user repository (AUR) contains two packages for the " |
| 169 | +"Fortran package manager (fpm). With the [fortran-fpm-" |
| 170 | +"bin](https://aur.archlinux.org/packages/fortran-fpm-bin/) installs the " |
| 171 | +"statically linked Linux/x86\\_64 binary from the release page, while the " |
| 172 | +"[fortran-fpm](https://aur.archlinux.org/packages/fortran-fpm/) package " |
| 173 | +"will bootstrap fpm from source." |
| 174 | +msgstr "" |
| 175 | +"Arch Linux用户存储库(AUR)包含两个Fortran包管理器(fpm)包。" |
| 176 | +"使用fortran-fpm-bin从发布页面安装静态链接的Linux/x86\\_64二进制文件," |
| 177 | +"而fortran-fpm软件包将从源代码引导安装fpm。" |
| 178 | + |
| 179 | +#: ../../pages/how-to/installation.md:88 |
| 180 | +msgid "Select one of the PKGBUILDs and retrieve it with" |
| 181 | +msgstr "" |
| 182 | +"选择其中一个PKGBUILD并使用:" |
| 183 | + |
| 184 | +#: ../../pages/how-to/installation.md:95 |
| 185 | +msgid "" |
| 186 | +"As usual, first inspect the PKGBUILD before building it. After verifying " |
| 187 | +"the PKGBUILD is fine, build the package with" |
| 188 | +msgstr "" |
| 189 | +"像往常一样,在构建PKGBUILD之前,请先检查它。" |
| 190 | +"验证PKGBUILD是否正常后,使用:" |
| 191 | + |
| 192 | +#: ../../pages/how-to/installation.md:102 |
| 193 | +msgid "Once the build passed pacman will ask to install the fpm package." |
| 194 | +msgstr "" |
| 195 | +"一旦构建通过,pacman将询问是否安装fpm包。" |
| 196 | + |
| 197 | +#: ../../pages/how-to/installation.md:105 |
| 198 | +msgid "Building from source" |
| 199 | +msgstr "" |
| 200 | +"从源代码构建" |
| 201 | + |
| 202 | +#: ../../pages/how-to/installation.md:107 |
| 203 | +msgid "" |
| 204 | +"To build fpm from source get the latest fpm source, either by cloning the" |
| 205 | +" repository from GitHub with" |
| 206 | +msgstr "" |
| 207 | +"要从源代码构建fpm,请获取最新的fpm源代码,方法是从GitHub克隆存储库:" |
| 208 | + |
| 209 | +#: ../../pages/how-to/installation.md:114 |
| 210 | +msgid "or by downloading a source tarball from the latest source" |
| 211 | +msgstr "" |
| 212 | +"或从最新源下载源代码压缩包:" |
| 213 | + |
| 214 | +#: ../../pages/how-to/installation.md:122 |
| 215 | +msgid "" |
| 216 | +"The available install script allows to bootstrap fpm by using just a " |
| 217 | +"Fortran compiler, git and network access. Invoke the script to start the " |
| 218 | +"bootstrap build" |
| 219 | +msgstr "" |
| 220 | +"可用的安装脚本允许仅使用Fortran编译器,git和网络访问来引导安装fpm。" |
| 221 | +"调用脚本以启动引导程序构建:" |
| 222 | + |
| 223 | +#: ../../pages/how-to/installation.md:129 |
| 224 | +msgid "Fpm will be installed in ``~/.local/bin/fpm``." |
| 225 | +msgstr "" |
| 226 | +"fpm将安装在``~/.local/bin/fpm``。" |
| 227 | + |
| 228 | +#: ../../pages/how-to/installation.md:1 |
| 229 | +msgid "" |
| 230 | +"Building the bootstrapper binary from the single source file version " |
| 231 | +"might take a few seconds, which might make the install script look like " |
| 232 | +"it is hanging." |
| 233 | +msgstr "" |
| 234 | +"从单个源文件版本生成引导程序二进制文件可能需要一些时间,这可能会使安装脚本看起来像是未响应的。" |
| 235 | + |
| 236 | +#: ../../pages/how-to/installation.md:1 |
| 237 | +msgid "" |
| 238 | +"The installation location can be adjusted by passing the " |
| 239 | +"``--prefix=/path/to/install`` option." |
| 240 | +msgstr "" |
| 241 | +"可以通过传递选项``--prefix=/path/to/install``来调整安装位置。" |
| 242 | + |
| 243 | +#: ../../pages/how-to/installation.md:139 |
| 244 | +msgid "" |
| 245 | +"If you can't run the install script, you can perform the bootstrap " |
| 246 | +"procedure manually, with the following three steps:" |
| 247 | +msgstr "" |
| 248 | +"如果无法运行安装脚本,则可以通过以下三个步骤手动执行引导安装过程:" |
| 249 | + |
| 250 | +#: ../../pages/how-to/installation.md:141 |
| 251 | +msgid "Download the single source version of fpm" |
| 252 | +msgstr "" |
| 253 | +"下载fpm的单一源版本:" |
| 254 | + |
| 255 | +#: ../../pages/how-to/installation.md:147 |
| 256 | +msgid "Build a bootstrap binary from the single source version" |
| 257 | +msgstr "" |
| 258 | +"从单一源版本构建引导二进制文件:" |
| 259 | + |
| 260 | +#: ../../pages/how-to/installation.md:154 |
| 261 | +msgid "Use the bootstrap binary to build the feature complete fpm version" |
| 262 | +msgstr "" |
| 263 | +"使用引导二进制文件构建功能完整的fpm版本。" |
0 commit comments