Whitespace-only fixes. Translators, please ignore.

This commit is contained in:
Warren Block 2013-08-06 14:19:25 +00:00
parent a86eaea92a
commit d009e19dbc
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=42503

View file

@ -41,22 +41,27 @@
applicable.</para> applicable.</para>
<para>After reading this chapter, you will know:</para> <para>After reading this chapter, you will know:</para>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>How different languages and locales are encoded on <para>How different languages and locales are encoded on
modern operating systems.</para> modern operating systems.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>How to set the locale for a login shell.</para> <para>How to set the locale for a login shell.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>How to configure the console for non-English <para>How to configure the console for non-English
languages.</para> languages.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>How to use <application>Xorg</application> effectively <para>How to use <application>Xorg</application> effectively
with different languages.</para> with different languages.</para>
</listitem> </listitem>
<listitem> <listitem>
<para>Where to find more information about writing <para>Where to find more information about writing
<acronym>i18n</acronym>-compliant applications.</para> <acronym>i18n</acronym>-compliant applications.</para>
@ -176,7 +181,6 @@
typing:</para> typing:</para>
<screen>&prompt.user; <userinput>locale -a</userinput></screen> <screen>&prompt.user; <userinput>locale -a</userinput></screen>
</sect2> </sect2>
<sect2> <sect2>
@ -195,7 +199,7 @@
character support, or configure it correctly. To provide character support, or configure it correctly. To provide
application support for wide or multibyte characters, the application support for wide or multibyte characters, the
<ulink url="&url.base;/ports/index.html">&os; Ports <ulink url="&url.base;/ports/index.html">&os; Ports
Collection</ulink> contains programs for several languages. Collection</ulink> contains programs for several languages.
Refer to the <acronym>i18n</acronym> documentation in the Refer to the <acronym>i18n</acronym> documentation in the
respective &os; port.</para> respective &os; port.</para>
@ -280,11 +284,11 @@
<para>This section describes the two methods for setting <para>This section describes the two methods for setting
locale. The first is recommended and assigns the locale. The first is recommended and assigns the
environment variables in the <link environment variables in the
linkend="login-class">login class</link>. The second <link linkend="login-class">login class</link>. The second
method adds the environment variable assignments to the method adds the environment variable assignments to the
system's shell <link linkend="startup-file">startup system's shell
file</link>.</para> <link linkend="startup-file">startup file</link>.</para>
<sect4 id="login-class"> <sect4 id="login-class">
<title>Login Classes Method</title> <title>Login Classes Method</title>
@ -292,10 +296,10 @@
<para>This method allows environment variables needed for <para>This method allows environment variables needed for
locale name and MIME character sets to be assigned once locale name and MIME character sets to be assigned once
for every possible shell instead of adding specific shell for every possible shell instead of adding specific shell
assignments to each shell's startup file. <link assignments to each shell's startup file.
linkend="usr-setup">User Level Setup</link> can be <link linkend="usr-setup">User Level Setup</link> can be
performed by each user while <link performed by each user while
linkend="adm-setup">Administrator Level Setup</link> <link linkend="adm-setup">Administrator Level Setup</link>
requires superuser privileges.</para> requires superuser privileges.</para>
<sect5 id="usr-setup"> <sect5 id="usr-setup">
@ -465,7 +469,6 @@ me:\
<programlisting><envar>LANG=de_DE.ISO8859-1; export LANG</envar></programlisting> <programlisting><envar>LANG=de_DE.ISO8859-1; export LANG</envar></programlisting>
<programlisting><envar>setenv LANG de_DE.ISO8859-1</envar></programlisting> <programlisting><envar>setenv LANG de_DE.ISO8859-1</envar></programlisting>
</sect4> </sect4>
</sect3> </sect3>
</sect2> </sect2>
@ -652,11 +655,11 @@ keychange="<replaceable>fkey_number sequence</replaceable>"</programlisting>
<indexterm><primary>Xorg True Type font <indexterm><primary>Xorg True Type font
server</primary></indexterm> server</primary></indexterm>
<para>After installing <filename <para>After installing
role="package">x11-servers/xorg-server</filename>, install <filename role="package">x11-servers/xorg-server</filename>,
the language's &truetype; fonts. Setting the correct locale install the language's &truetype; fonts. Setting the
should allow users to view their selected language in correct locale should allow users to view their selected
graphical application menus.</para> language in graphical application menus.</para>
</sect3> </sect3>
<sect3> <sect3>
@ -762,7 +765,6 @@ keychange="<replaceable>fkey_number sequence</replaceable>"</programlisting>
<programlisting>me:My Account:\ <programlisting>me:My Account:\
:charset=KOI8-R:\ :charset=KOI8-R:\
:lang=ru_RU.KOI8-R:</programlisting> :lang=ru_RU.KOI8-R:</programlisting>
</sect3> </sect3>
<sect3> <sect3>
@ -779,7 +781,6 @@ font8x16="cp866b-8x16"
font8x14="cp866-8x14" font8x14="cp866-8x14"
font8x8="cp866-8x8" font8x8="cp866-8x8"
mousechar_start=3</programlisting> mousechar_start=3</programlisting>
</listitem> </listitem>
<listitem> <listitem>
@ -827,8 +828,8 @@ mousechar_start=3</programlisting>
<orderedlist> <orderedlist>
<listitem> <listitem>
<para>First, configure the <link <para>First, configure the
linkend="setting-locale">non-X locale <link linkend="setting-locale">non-X locale
setup</link>.</para> setup</link>.</para>
</listitem> </listitem>
@ -862,8 +863,8 @@ Option "XkbOptions" "grp:toggle"</programlisting>
<para>Make sure that <literal>XkbDisable</literal> is <para>Make sure that <literal>XkbDisable</literal> is
commented out in that file.</para> commented out in that file.</para>
<para>For <literal>grp:toggle</literal> use <keycap>Right <para>For <literal>grp:toggle</literal> use
Alt</keycap>, for <keycap>Right Alt</keycap>, for
<literal>grp:ctrl_shift_toggle</literal> use <keycombo <literal>grp:ctrl_shift_toggle</literal> use <keycombo
action="simul"><keycap>Ctrl</keycap><keycap>Shift</keycap></keycombo>. action="simul"><keycap>Ctrl</keycap><keycap>Shift</keycap></keycombo>.
For <literal>grp:caps_toggle</literal> use For <literal>grp:caps_toggle</literal> use
@ -880,7 +881,7 @@ Option "XkbOptions" "grp:toggle"</programlisting>
add the following line to add the following line to
<filename>/etc/xorg.conf</filename>:</para> <filename>/etc/xorg.conf</filename>:</para>
<programlisting>Option "XkbVariant" ",winkeys"</programlisting> <programlisting>Option "XkbVariant" ",winkeys"</programlisting>
<note> <note>
<para>The Russian XKB keyboard may not work with <para>The Russian XKB keyboard may not work with
@ -888,6 +889,7 @@ Option "XkbOptions" "grp:toggle"</programlisting>
</note> </note>
</listitem> </listitem>
</orderedlist> </orderedlist>
<note> <note>
<para>Minimally localized applications should call a <para>Minimally localized applications should call a
<function>XtSetLanguageProc (NULL, NULL, NULL);</function> <function>XtSetLanguageProc (NULL, NULL, NULL);</function>
@ -968,8 +970,8 @@ Option "XkbOptions" "grp:toggle"</programlisting>
<para>Some &os; contributors have translated parts of the <para>Some &os; contributors have translated parts of the
&os; documentation to other languages. They are available &os; documentation to other languages. They are available
through links on the <ulink through links on the
url="&url.base;/index.html">main site</ulink> or in <ulink url="&url.base;/index.html">main site</ulink> or in
<filename class="directory">/usr/share/doc</filename>.</para> <filename class="directory">/usr/share/doc</filename>.</para>
</sect2> </sect2>
</sect1> </sect1>