From 7f37d3b2c89c2713eca9c24875dc017fb89879c7 Mon Sep 17 00:00:00 2001 From: Weblate Date: Jun 02 2022 04:18:50 +0000 Subject: Added translation using Weblate (Japanese) Co-authored-by: Weblate --- diff --git a/po/ja/master/pages/local-preview.po b/po/ja/master/pages/local-preview.po new file mode 100644 index 0000000..cac2c32 --- /dev/null +++ b/po/ja/master/pages/local-preview.po @@ -0,0 +1,162 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2022-02-14 22:03+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Title = +#: ./pages/local-preview.adoc:3 +#, no-wrap +msgid "Building a local preview" +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:5 +msgid "" +"Because the documentation site is using a markup language instead of a " +"WYSIWYG editor, the sources do not look exactly like the rendered page " +"will. Therefore it is necessary to check that your changes look the way you " +"want them to before you push and make a pull request. This involves building " +"a local preview." +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:7 +msgid "" +"There are two shell scripts available in each existing repository (including " +"the template repository used to create new content): `build.sh` and " +"`preview.sh`." +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:9 +msgid "" +"To preview, run the `build.sh` script; this is the one that actually builds " +"a local version of the site (or, more precisely, the subset of the full site " +"that resides in your current repository). Then, run `preview.sh`, which " +"starts a webserver and serves the site at " +"link:http://localhost:8080/[]. Opening this URL in any web browser will show " +"you the preview, which will be available until you kill the process " +"(kbd:[Ctrl+C] in the terminal)." +msgstr "" + +#. type: delimited block = +#: ./pages/local-preview.adoc:13 +msgid "" +"To run the scripts you'll need to install [application]`Podman` if using a " +"Linux OS such as Fedora or [application]`Docker CE` if using macOS." +msgstr "" + +#. type: Title == +#: ./pages/local-preview.adoc:15 +#, no-wrap +msgid "Previewing multiple repositories" +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:19 +msgid "" +"If your work spans content in multiple repositories, e.g. because you " +"xref:asciidoc-fedora:markup.adoc#external-antora-link[link to another " +"repository], you can extend the preview by adding more repositories to " +"`site.yml` as follows:" +msgstr "" + +#. type: delimited block - +#: ./pages/local-preview.adoc:27 +#, no-wrap +msgid "" +"content:\n" +" sources:\n" +" - url: .\n" +" branches: HEAD\n" +" - url: https://pagure.io/fedora-docs/another-repository.git\n" +" branches: main\n" +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:31 +msgid "" +"Correct entries to use can be found from " +"https://pagure.io/fedora-docs/docs-fp-o/blob/prod/f/site.yml[docs-fp-o " +"site.yml]." +msgstr "" + +#. type: Title == +#: ./pages/local-preview.adoc:32 +#, no-wrap +msgid "Using the regular Antora scripts" +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:34 +msgid "" +"If you want to use the regular Antora build and preview workflow - follow " +"the instructions on https://docs.antora.org/[Antora Documentation page]." +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:36 +msgid "" +"Once you have ``Antora CLI`` and ``Antora Site Generator`` you can build and " +"preview the pages without the container scripts." +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:38 +msgid "To build the pages in the project directory run:" +msgstr "" + +#. type: delimited block - +#: ./pages/local-preview.adoc:42 +#, no-wrap +msgid "antora generate site.yml\n" +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:45 +msgid "" +"This will create a new directory ``public`` which contains all the necessary " +"files. Navigate there and run a server command. You might already have a " +"Python simple server, in which case run:" +msgstr "" + +#. type: delimited block - +#: ./pages/local-preview.adoc:49 +#, no-wrap +msgid "python3 -m http.server\n" +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:52 +msgid "or if you only have Python 2 on your machine:" +msgstr "" + +#. type: delimited block - +#: ./pages/local-preview.adoc:56 +#, no-wrap +msgid "python -m SimpleHTTPServer\n" +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:59 +msgid "It opens a local preview at port 8000." +msgstr "" + +#. type: Plain text +#: ./pages/local-preview.adoc:60 +msgid "" +"If you have cargo (Rust package manager), you could also install and use " +"``miniserve`` or any other simple server of your choice for that matter." +msgstr ""