Doc improvement

svn path=/trunk/; revision=6486
This commit is contained in:
Matthias Clasen
2008-02-10 04:26:54 +00:00
parent 836052361d
commit 634d64c9a1
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2008-02-09 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/i18n.sgml: Improve the documentation for the
N_() macro. (#514053, Tommi Vainikainen)
2008-01-28 Matthias Clasen <mclasen@redhat.com> 2008-01-28 Matthias Clasen <mclasen@redhat.com>
* === Released 2.15.4 === * === Released 2.15.4 ===

View File

@@ -90,9 +90,10 @@ messages. Note that this only works with GNU gettext >= 0.15.
<!-- ##### MACRO N_ ##### --> <!-- ##### MACRO N_ ##### -->
<para> <para>
Marks a string for translation, gets replaced with the untranslated string Only marks a string for translation.
at runtime. This is useful in situations where the translated strings can't This is useful in situations where the translated strings can't
be directly used, e.g. in string array initializers. be directly used, e.g. in string array initializers.
To get the translated string, call gettext() at runtime.
</para> </para>
<informalexample><programlisting> <informalexample><programlisting>
{ {