X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=glib%2Fggettext.c;h=636fdbba5ab0e9328e5e59c5f95c791d4d730f7b;hb=0a4ee12c7a9dfc82443133dfb2b18fb411d79f48;hp=30f061000c756eafef9c83314c8f8f9908a9f014;hpb=111803030d54b192ca1edd25bbde90130eaff2a9;p=platform%2Fupstream%2Fglib.git diff --git a/glib/ggettext.c b/glib/ggettext.c index 30f0610..636fdbb 100644 --- a/glib/ggettext.c +++ b/glib/ggettext.c @@ -162,7 +162,7 @@ glib_pgettext (const gchar *msgctxtid, * * An auxiliary function for gettext() support (see Q_()). * - * Return value: @msgval, unless @msgval is identical to @msgid + * Returns: @msgval, unless @msgval is identical to @msgid * and contains a '|' character, in which case a pointer to * the substring of msgid after the first '|' character is returned. * @@ -473,9 +473,9 @@ g_dngettext (const gchar *domain, * easy-to-use form. * * In order to use these macros in an application, you must include - * glib/gi18n.h. For use in a library, you must include - * glib/gi18n-lib.h after defining the %GETTEXT_PACKAGE - * macro suitably for your library: + * ``. For use in a library, you must include + * `` + * after defining the %GETTEXT_PACKAGE macro suitably for your library: * |[ * #define GETTEXT_PACKAGE "gtk20" * #include @@ -523,9 +523,9 @@ g_dngettext (const gchar *domain, * with context. * * If you are using the Q_() macro, you need to make sure that you pass - * to xgettext when extracting messages. + * `--keyword=Q_` to xgettext when extracting messages. * If you are using GNU gettext >= 0.15, you can also use - * to let xgettext split the context + * `--keyword=Q_:1g` to let xgettext split the context * string off into a msgctxt line in the po file. * * Returns: the translated message @@ -548,7 +548,7 @@ g_dngettext (const gchar *domain, * ]| * * If you are using the C_() macro, you need to make sure that you pass - * to xgettext when extracting messages. + * `--keyword=C_:1c,2` to xgettext when extracting messages. * Note that this only works with GNU gettext >= 0.15. * * Returns: the translated message @@ -611,7 +611,7 @@ g_dngettext (const gchar *domain, * ]| * * If you are using the NC_() macro, you need to make sure that you pass - * to xgettext when extracting messages. + * `--keyword=NC_:1c,2` to xgettext when extracting messages. * Note that this only works with GNU gettext >= 0.15. Intltool has support * for the NC_() macro since version 0.40.1. *