[lxc-devel] [lxc/master] doc: Translate lxc-update-config(1) into Japanese

tenforward on Github lxc-bot at linuxcontainers.org
Mon Sep 25 11:16:20 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 355 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170925/c9fb0bc1/attachment.bin>
-------------- next part --------------
From 607a8de5529fb761dba3a22655db0ece36405c5c Mon Sep 17 00:00:00 2001
From: KATOH Yasufumi <karma at jazz.email.ne.jp>
Date: Mon, 25 Sep 2017 20:14:57 +0900
Subject: [PATCH] doc: Translate lxc-update-config(1) into Japanese

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
 configure.ac                     |   1 +
 doc/ja/Makefile.am               |   1 +
 doc/ja/lxc-update-config.sgml.in | 151 +++++++++++++++++++++++++++++++++++++++
 3 files changed, 153 insertions(+)
 create mode 100644 doc/ja/lxc-update-config.sgml.in

diff --git a/configure.ac b/configure.ac
index f5d33e9c2..2057df762 100644
--- a/configure.ac
+++ b/configure.ac
@@ -834,6 +834,7 @@ AC_CONFIG_FILES([
 	doc/ja/lxc-top.sgml
 	doc/ja/lxc-unfreeze.sgml
 	doc/ja/lxc-unshare.sgml
+	doc/ja/lxc-update-config.sgml
 	doc/ja/lxc-user-nic.sgml
 	doc/ja/lxc-usernsexec.sgml
 	doc/ja/lxc-wait.sgml
diff --git a/doc/ja/Makefile.am b/doc/ja/Makefile.am
index 201094be9..f30346d3a 100644
--- a/doc/ja/Makefile.am
+++ b/doc/ja/Makefile.am
@@ -30,6 +30,7 @@ man_MANS = \
 	lxc-top.1 \
 	lxc-unfreeze.1 \
 	lxc-unshare.1 \
+	lxc-update-config.1 \
 	lxc-user-nic.1 \
 	lxc-usernsexec.1 \
 	lxc-wait.1 \
diff --git a/doc/ja/lxc-update-config.sgml.in b/doc/ja/lxc-update-config.sgml.in
new file mode 100644
index 000000000..2312f0e04
--- /dev/null
+++ b/doc/ja/lxc-update-config.sgml.in
@@ -0,0 +1,151 @@
+<!--
+
+lxc-update-config
+
+(C) Copyright 2017 Canonical Ltd.
+
+Authors:
+Christian Brauner <christian.brauner at ubuntu.com>
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+
+Translated into Japanese
+by KATOH Yasufumi <karma at jazz.email.ne.jp>
+-->
+
+<!DOCTYPE refentry PUBLIC @docdtd@ [
+    <!ENTITY commonoptions SYSTEM "@builddir@/common_options.sgml">
+    <!ENTITY seealso SYSTEM "@builddir@/see_also.sgml">
+]>
+
+<refentry>
+    <docinfo><date>@LXC_GENERATE_DATE@</date></docinfo>
+    <refmeta>
+        <refentrytitle>lxc-update-config</refentrytitle>
+        <manvolnum>1</manvolnum>
+    </refmeta>
+
+    <refnamediv>
+        <refname>lxc-update-config</refname>
+
+        <refpurpose>
+          <!--
+            update a legacy pre LXC 2.1 configuration file
+            -->
+          LXC 2.1 より前の古い形式の設定ファイルを新しい形式に更新する
+        </refpurpose>
+    </refnamediv>
+
+    <refsynopsisdiv>
+        <cmdsynopsis>
+            <command>lxc-update-config</command>
+            <arg choice="req">-c <replaceable>config</replaceable></arg>
+        </cmdsynopsis>
+    </refsynopsisdiv>
+
+    <refsect1>
+        <title><!-- Description -->説明</title>
+
+        <para>
+          <!--
+            <command>lxc-update-config</command> detects any legacy
+            configuration keys in the given <replaceable>config</replaceable>
+            file and will replace them with the appropriate new configuration
+            keys.
+            -->
+          <command>lxc-update-config</command> は、<replaceable>config</replaceable> で指定したファイルの古い形式の設定項目を検出し、適切な新しい設定項目に置き換えます。
+        </para>
+        <para>
+          <!--
+            <command>lxc-update-config</command> will first create a backup of
+            the old <replaceable>config</replaceable> file in the same directory
+            and name it <replaceable>config.backup</replaceable> and then update
+            the original <replaceable>config</replaceable> file in place. In
+            case the update fails to apply or leads to an invalid
+            <replaceable>config</replaceable> file that cannot be used to start
+            a container users can either compare
+            <replaceable>config</replaceable> with
+            <replaceable>config.backup</replaceable> and try to manually repair
+            any the invalid configuration keys or simply rollback to the legacy
+            configuration file by copying
+            <replaceable>config.backup</replaceable> to
+            <replaceable>config</replaceable>.
+            -->
+          <command>lxc-update-config</command> はまず、古い <replaceable>config</replaceable> ファイルのバックアップを <replaceable>config.backup</replaceable> という名前で同じディレクトリに作成します。そして、元の <replaceable>config</replaceable> ファイルを更新します。
+          更新が失敗した場合や、コンテナの起動ができない無効な <replaceable>config</replaceable> ファイルである場合は、ユーザが <replaceable>config</replaceable> と <replaceable>config.backup</replaceable> を比較して、手動で無効な設定項目を修正するか、<replaceable>config.backup</replaceable> を <replaceable>config</replaceable> にコピーして以前の設定ファイルに戻せます。
+        </para>
+        <para>
+          <!--
+            Any failures for <command>lxc-update-config</command> to generate a
+            useable <replaceable>config</replaceable> file are a bug and should
+            be reported upstream.
+            -->
+          <command>lxc-update-config</command> が使えない <replaceable>config</replaceable> ファイルを生成した場合はバグですので、開発元に報告してください。
+        </para>
+    </refsect1>
+
+    <refsect1>
+        <title><!-- Options -->オプション</title>
+        <variablelist>
+            <varlistentry>
+                <term>
+                    <option>-c, --config</option>
+                </term>
+                <listitem>
+                    <para>
+                      <!--
+                      Path to the configuration file to update.
+                        -->
+                      更新したい設定ファイルのパス
+                    </para>
+                </listitem>
+            </varlistentry>
+
+            <varlistentry>
+                <term>
+                    <option>-h, --help</option>
+                </term>
+                <listitem>
+                    <para>
+                    </para>
+                </listitem>
+            </varlistentry>
+        </variablelist>
+    </refsect1>
+
+    &seealso;
+
+    <refsect1>
+        <title><!-- Author -->作者</title>
+        <para>Christian Brauner <email>christian.brauner at ubuntu.com</email></para>
+    </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->


More information about the lxc-devel mailing list