svn commit: r48036 - head/en_US.ISO8859-1/books/fdp-primer/po-translations
Warren Block
wblock at FreeBSD.org
Sat Jan 16 18:29:12 UTC 2016
Author: wblock
Date: Sat Jan 16 18:29:11 2016
New Revision: 48036
URL: https://svnweb.freebsd.org/changeset/doc/48036
Log:
Whitespace-only fixes, translators please ignore.
Modified:
head/en_US.ISO8859-1/books/fdp-primer/po-translations/chapter.xml
Modified: head/en_US.ISO8859-1/books/fdp-primer/po-translations/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/fdp-primer/po-translations/chapter.xml Sat Jan 16 18:24:10 2016 (r48035)
+++ head/en_US.ISO8859-1/books/fdp-primer/po-translations/chapter.xml Sat Jan 16 18:29:11 2016 (r48036)
@@ -34,7 +34,7 @@
option was not enabled, display the options menu and enable
it, then reinstall the port:</para>
- <screen>&prompt.root; <userinput>cd /usr/ports/textproc/docproj</userinput>
+ <screen>&prompt.root; <userinput>cd /usr/ports/textproc/docproj</userinput>
&prompt.root; <userinput>make config</userinput>
&prompt.root; <userinput>make clean deinstall install clean</userinput></screen>
@@ -117,7 +117,8 @@
</step>
</procedure>
- <procedure xml:id="po-translations-quick-generating-a-translated-document">
+ <procedure
+ xml:id="po-translations-quick-generating-a-translated-document">
<title>Generating a Translated Document</title>
<step>
@@ -469,7 +470,8 @@ DOC_PREFIX?= ${.CURDIR}/../../..
<acronym>PGP</acronym> Keys Article</title>
<para>Create a new French translation of the
- <link xlink:href="&url.articles.pgpkeys;"><acronym>PGP</acronym>
+ <link
+ xlink:href="&url.articles.pgpkeys;"><acronym>PGP</acronym>
Keys article</link>. The original is an article in
<filename>~/doc/en_US.ISO8859-1/articles/pgpkeys/</filename>.</para>
@@ -522,8 +524,8 @@ DOC_PREFIX?= ${.CURDIR}/../../..
.include "${DOC_PREFIX}/share/mk/doc.project.mk"</programlisting>
<para>With the document structure complete, the
- <acronym>PO</acronym> file can be created with
- <command>make po</command>.</para>
+ <acronym>PO</acronym> file can be created with
+ <command>make po</command>.</para>
</step>
</procedure>
</example>
@@ -801,71 +803,73 @@ DOC_PREFIX?= ${.CURDIR}/../../..
a <link
xlink:href="https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Documentation">documentation
bug report</link> or <link
- xlink:href="https://reviews.freebsd.org/">code
- review</link>.</para>
+ xlink:href="https://reviews.freebsd.org/">code
+ review</link>.</para>
<example xml:id="po-translations-submitting-spanish">
<title>Spanish Translation of the NanoBSD Article</title>
- <procedure>
- <step>
- <para>Add a &os; version string comment as the first
- line of the <acronym>PO</acronym> file:</para>
+ <procedure>
+ <step>
+ <para>Add a &os; version string comment as the first
+ line of the <acronym>PO</acronym> file:</para>
- <programlisting>#$FreeBSD$</programlisting>
- </step>
+ <programlisting>#$FreeBSD$</programlisting>
+ </step>
- <step>
- <para>Add the <filename>Makefile</filename>, the
- <acronym>PO</acronym> file, and the generated
- <acronym>XML</acronym> translation to
- version control:</para>
+ <step>
+ <para>Add the <filename>Makefile</filename>, the
+ <acronym>PO</acronym> file, and the generated
+ <acronym>XML</acronym> translation to
+ version control:</para>
- <screen>&prompt.user; <userinput>cd ~/doc/es_ES.ISO8859-1/articles/nanobsd/</userinput>
+ <screen>&prompt.user; <userinput>cd ~/doc/es_ES.ISO8859-1/articles/nanobsd/</userinput>
&prompt.user; <userinput>ls</userinput>
Makefile article.xml es_ES.po
&prompt.user; <userinput>svn add Makefile article.xml es_ES.po</userinput>
A Makefile
A article.xml
A es_ES.po</screen>
- </step>
+ </step>
- <step>
- <para>Set the
- <application>Subversion</application>
- <literal>svn:keywords</literal> properties on these files to
- <literal>FreeBSD=%H</literal> so
- <literal>$FreeBSD$</literal> strings are expanded into
- the path, revision, date, and author when committed:</para>
+ <step>
+ <para>Set the
+ <application>Subversion</application>
+ <literal>svn:keywords</literal> properties on these files
+ to <literal>FreeBSD=%H</literal> so
+ <literal>$FreeBSD$</literal> strings are
+ expanded into the path, revision, date, and author when
+ committed:</para>
- <screen>&prompt.user; <userinput>svn propset svn:keywords FreeBSD=%H Makefile article.xml es_ES.po</userinput>
+ <screen>&prompt.user; <userinput>svn propset svn:keywords FreeBSD=%H Makefile article.xml es_ES.po</userinput>
property 'svn:keywords' set on 'Makefile'
property 'svn:keywords' set on 'article.xml'
property 'svn:keywords' set on 'es_ES.po'</screen>
- </step>
+ </step>
- <step>
- <para>Set the <acronym>MIME</acronym> types of the files.
- These are <literal>text/xml</literal> for books and
- articles, and <literal>text/x-gettext-translation</literal>
- for the <acronym>PO</acronym> file.</para>
+ <step>
+ <para>Set the <acronym>MIME</acronym> types of the files.
+ These are <literal>text/xml</literal> for books and
+ articles, and
+ <literal>text/x-gettext-translation</literal> for the
+ <acronym>PO</acronym> file.</para>
- <screen>&prompt.user; <userinput>svn propset svn:mime-type text/x-gettext-translation es_ES.po</userinput>
+ <screen>&prompt.user; <userinput>svn propset svn:mime-type text/x-gettext-translation es_ES.po</userinput>
property 'svn:mime-type' set on 'es_ES.po'
&prompt.user; <userinput>svn propset svn:mime-type text/xml article.xml</userinput>
property 'svn:mime-type' set on 'article.xml'</screen>
- </step>
+ </step>
- <step>
- <para>Create a diff of the new files from the
- <filename>~/doc/</filename> base directory so the full path
- is shown with the filenames. This helps committers identify
- the target language directory.</para>
+ <step>
+ <para>Create a diff of the new files from the
+ <filename>~/doc/</filename> base directory so the full
+ path is shown with the filenames. This helps committers
+ identify the target language directory.</para>
- <screen>&prompt.user; <userinput>cd ~/doc</userinput>
+ <screen>&prompt.user; <userinput>cd ~/doc</userinput>
<userinput>svn diff es_ES.ISO8859-1/articles/nanobsd/ > /tmp/es_nanobsd.diff</userinput></screen>
- </step>
- </procedure>
+ </step>
+ </procedure>
</example>
<example xml:id="po-translations-submitting-korean-utf8">
More information about the svn-doc-all
mailing list