mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Add some hints about xgettext invokation.
* glib/tmpl/i18n.sgml: Add some hints about xgettext invokation. svn path=/trunk/; revision=5522
This commit is contained in:
parent
90320fba4f
commit
63d87b99e8
@ -1,9 +1,14 @@
|
||||
2007-05-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/tmpl/i18n.sgml: Add some hints about
|
||||
xgettext invokation.
|
||||
|
||||
2007-05-30 Dan Winship <danw@novell.com>
|
||||
|
||||
* glib/glib-sections.txt:
|
||||
* glib/tmpl/keyfile.sgml: add G_KEY_FILE_DESKTOP_* macros
|
||||
|
||||
2007-05-2626 Matthias Clasen <mclasen@redhat.com>
|
||||
2007-05-26 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gobject/tmpl/objects.sgml: Fix a typo
|
||||
|
||||
|
@ -20,6 +20,8 @@ the GETTEXT_PACKAGE macro suitably for your library:
|
||||
#define GETTEXT_PACKAGE "gtk20"
|
||||
#include <glib/gi18n-lib.h>
|
||||
</programlisting></informalexample>
|
||||
The gettext manual covers details of how to set up message extraction
|
||||
with xgettext.
|
||||
</para>
|
||||
|
||||
<!-- ##### SECTION See_Also ##### -->
|
||||
@ -54,6 +56,10 @@ differently depending on whether it's the name of a character set or a
|
||||
language. This could be solved by using "charset|Russian" and
|
||||
"language|Russian".
|
||||
</para>
|
||||
<note><para>
|
||||
If you are using the Q_() macro, you need to make sure that you
|
||||
pass <option>--keyword=Q_</option> to xgettext when extracting messages.
|
||||
</para></note>
|
||||
|
||||
@String: the string to be translated, with a '|'-separated prefix which
|
||||
must not be translated
|
||||
|
Loading…
Reference in New Issue
Block a user