|
@@ -23,8 +23,7 @@
|
|
|
<sect2 role="package">
|
|
|
<title/>
|
|
|
|
|
|
- <para>The Intltool is an internationalization tool used for extracting
|
|
|
- translatable strings from source files.</para>
|
|
|
+ <para>Intltool 是一个从源代码文件中提取可翻译字符串的国际化工具。</para>
|
|
|
|
|
|
<segmentedlist>
|
|
|
<segtitle>&buildtime;</segtitle>
|
|
@@ -39,9 +38,9 @@
|
|
|
</sect2>
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
- <title>安装Intltool</title>
|
|
|
+ <title>安装 Intltool</title>
|
|
|
|
|
|
- <para>First fix a warning that is caused by perl-5.22 and later:</para>
|
|
|
+ <para>首先修复由 perl-5.22 及更新版本导致的警告:</para>
|
|
|
|
|
|
<screen><userinput remap="pre">sed -i 's:\\\${:\\\$\\{:' intltool-update.in</userinput></screen>
|
|
|
|
|
@@ -73,8 +72,8 @@ install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N
|
|
|
|
|
|
<seglistitem>
|
|
|
<seg>intltool-extract, intltool-merge, intltool-prepare,
|
|
|
- intltool-update, and intltoolize</seg>
|
|
|
- <seg>/usr/share/doc/intltool-&intltool-version; and
|
|
|
+ intltool-update, 以及 intltoolize</seg>
|
|
|
+ <seg>/usr/share/doc/intltool-&intltool-version; 和
|
|
|
/usr/share/intltool</seg>
|
|
|
</seglistitem>
|
|
|
</segmentedlist>
|
|
@@ -87,7 +86,7 @@ install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N
|
|
|
<varlistentry id="intltoolize">
|
|
|
<term><command>intltoolize</command></term>
|
|
|
<listitem>
|
|
|
- <para>Prepares a package to use intltool</para>
|
|
|
+ <para>准备为软件包应用 intltool</para>
|
|
|
<indexterm zone="ch-system-intltool intltoolize">
|
|
|
<primary sortas="b-intltoolize">intltoolize</primary>
|
|
|
</indexterm>
|
|
@@ -97,7 +96,7 @@ install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N
|
|
|
<varlistentry id="intltool-extract">
|
|
|
<term><command>intltool-extract</command></term>
|
|
|
<listitem>
|
|
|
- <para>Generates header files that can be read by <command>gettext</command></para>
|
|
|
+ <para>生成可供 <command>gettext</command> 读取的头文件</para>
|
|
|
<indexterm zone="ch-system-intltool intltool-extract">
|
|
|
<primary sortas="b-intltool-extract">intltool-extract</primary>
|
|
|
</indexterm>
|
|
@@ -107,7 +106,7 @@ install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N
|
|
|
<varlistentry id="intltool-merge">
|
|
|
<term><command>intltool-merge</command></term>
|
|
|
<listitem>
|
|
|
- <para>Merges translated strings into various file types</para>
|
|
|
+ <para>将翻译好的字符串合并为多种类型的文件</para>
|
|
|
<indexterm zone="ch-system-intltool intltool-merge">
|
|
|
<primary sortas="b-intltool-merge">intltool-merge</primary>
|
|
|
</indexterm>
|
|
@@ -117,7 +116,7 @@ install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N
|
|
|
<varlistentry id="intltool-prepare">
|
|
|
<term><command>intltool-prepare</command></term>
|
|
|
<listitem>
|
|
|
- <para>Updates pot files and merges them with translation files</para>
|
|
|
+ <para>更新 pot 文件并将它们和翻译文件合并</para>
|
|
|
<indexterm zone="ch-system-intltool intltool-prepare">
|
|
|
<primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
|
|
</indexterm>
|
|
@@ -127,7 +126,7 @@ install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N
|
|
|
<varlistentry id="intltool-update">
|
|
|
<term><command>intltool-update</command></term>
|
|
|
<listitem>
|
|
|
- <para>Updates the po template files and merges them with the translations</para>
|
|
|
+ <para>更新 po 模板文件并将它们和翻译文件合并</para>
|
|
|
<indexterm zone="ch-system-intltool intltool-update">
|
|
|
<primary sortas="b-intltool-update">intltool-update</primary>
|
|
|
</indexterm>
|