From 63d87b99e8b0644dbd135ba50a90ea5306dc2f52 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 30 May 2007 15:20:23 +0000 Subject: [PATCH] Add some hints about xgettext invokation. * glib/tmpl/i18n.sgml: Add some hints about xgettext invokation. svn path=/trunk/; revision=5522 --- docs/reference/ChangeLog | 7 ++++++- docs/reference/glib/tmpl/i18n.sgml | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 2558b7d13..58b8c4005 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,9 +1,14 @@ +2007-05-30 Matthias Clasen + + * glib/tmpl/i18n.sgml: Add some hints about + xgettext invokation. + 2007-05-30 Dan Winship * glib/glib-sections.txt: * glib/tmpl/keyfile.sgml: add G_KEY_FILE_DESKTOP_* macros -2007-05-2626 Matthias Clasen +2007-05-26 Matthias Clasen * gobject/tmpl/objects.sgml: Fix a typo diff --git a/docs/reference/glib/tmpl/i18n.sgml b/docs/reference/glib/tmpl/i18n.sgml index 391ea95ab..a2ba21419 100644 --- a/docs/reference/glib/tmpl/i18n.sgml +++ b/docs/reference/glib/tmpl/i18n.sgml @@ -20,6 +20,8 @@ the GETTEXT_PACKAGE macro suitably for your library: #define GETTEXT_PACKAGE "gtk20" #include <glib/gi18n-lib.h> +The gettext manual covers details of how to set up message extraction +with xgettext. @@ -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". + +If you are using the Q_() macro, you need to make sure that you +pass to xgettext when extracting messages. + @String: the string to be translated, with a '|'-separated prefix which must not be translated