~ubuntu-branches/ubuntu/feisty/libgnome/feisty

« back to all changes in this revision

Viewing changes to doc/reference/xml/gnome-i18n.xml

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-09-07 18:03:53 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050907180353-hf71fcfx1nb0omez
Tags: 2.12.0.1-0ubuntu1
* New upstream realease:
  - Bug fixes
    - Fix schemas install problem with vi translation (Rodney)
  - Updated translations
    - Vietnamese
* debian/patches/fix-vi.po.patch:
  - dropped, done upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
<title>Details</title>
54
54
<refsect2>
55
55
<title><anchor id="gnome-i18n-get-language-list"/>gnome_i18n_get_language_list ()</title>
56
 
<indexterm><primary>gnome_i18n_get_language_list</primary></indexterm><programlisting>const <link linkend="GList">GList</link>* gnome_i18n_get_language_list   (const <link linkend="gchar">gchar</link> *category_name);</programlisting>
 
56
<indexterm role="deprecated"><primary>gnome_i18n_get_language_list</primary></indexterm><programlisting>const <link linkend="GList">GList</link>* gnome_i18n_get_language_list   (const <link linkend="gchar">gchar</link> *category_name);</programlisting>
57
57
<warning><para><literal>gnome_i18n_get_language_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
58
58
<para>
 
59
This function is deprecated. You should be using <link linkend="g-get-language-names"><function>g_get_language_names()</function></link> instead.
 
60
</para>
 
61
<para>
59
62
This computes a list of language strings that the user wants.  It searches in
60
63
the standard environment variables to find the list, which is sorted in order
61
64
from most desirable to least desirable.  The `C' locale is appended to the
62
65
list if it does not already appear (other routines depend on this
63
 
behaviour). If <parameter>category_name</parameter> is <literal>NULL</literal>, then <literal>LC_ALL</literal> is assumed.</para>
 
66
behaviour).
 
67
</para>
 
68
<para>
 
69
The <parameter>ignored</parameter> argument used to be the category name to use, but this was
 
70
removed since there is only one useful thing to pass here. For further
 
71
details, see http://bugzilla.gnome.org/show_bug.cgi?id=168948</para>
64
72
<para>
65
73
 
66
74
</para><variablelist role="params">
67
75
<varlistentry><term><parameter>category_name</parameter>&nbsp;:</term>
68
 
<listitem><simpara> Name of category to look up, e.g. %"LC_MESSAGES".
 
76
<listitem><simpara>
69
77
</simpara></listitem></varlistentry>
70
 
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> the list of languages, this list should not be freed as it is
 
78
<varlistentry><term><emphasis>Returns</emphasis>&nbsp;:</term><listitem><simpara> the list of languages, this list should not be freed as it is
71
79
owned by gnome-i18n.
72
80
</simpara></listitem></varlistentry>
73
81
</variablelist></refsect2>
74
82
<refsect2>
75
83
<title><anchor id="gnome-i18n-push-c-numeric-locale"/>gnome_i18n_push_c_numeric_locale ()</title>
76
 
<indexterm><primary>gnome_i18n_push_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_i18n_push_c_numeric_locale
 
84
<indexterm role="deprecated"><primary>gnome_i18n_push_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_i18n_push_c_numeric_locale
77
85
                                            (void);</programlisting>
78
86
<warning><para><literal>gnome_i18n_push_c_numeric_locale</literal> is deprecated and should not be used in newly-written code.</para></warning>
79
87
<para>
89
97
</para></refsect2>
90
98
<refsect2>
91
99
<title><anchor id="gnome-i18n-pop-c-numeric-locale"/>gnome_i18n_pop_c_numeric_locale ()</title>
92
 
<indexterm><primary>gnome_i18n_pop_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_i18n_pop_c_numeric_locale (void);</programlisting>
 
100
<indexterm role="deprecated"><primary>gnome_i18n_pop_c_numeric_locale</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_i18n_pop_c_numeric_locale (void);</programlisting>
93
101
<warning><para><literal>gnome_i18n_pop_c_numeric_locale</literal> is deprecated and should not be used in newly-written code.</para></warning>
94
102
<para>
95
103
Restores the LC_NUMERIC locale to what it was