Re: functions inside gettext calls
- From: Clytie Siddall <clytie riverland net au>
- To: translation-i18n lists sourceforge net
- Cc: gnome-i18n gnome org
- Subject: Re: functions inside gettext calls
- Date: Sun, 18 Jun 2006 17:53:19 +0930
Tomas posted this to gnome-i18n, so I've forwarded it to the
Translation Project mailing list, where I know there is a lot of
expertise regarding gettext. :)
On 16/06/2006, at 3:47 PM, Tomas Kuliavas wrote:
Hi,
Is there some documentation that explains why functions can't be used
inside gettext() and ngettext() calls?
For example N_(some_function()) or
http://bugzilla.gnome.org/show_bug.cgi?id=345027
I know that function string can't be extracted with xgettext, but
can't
find anything related about it in
http://developer.gnome.org/doc/guides/programming-guidelines/l10n.html
Gettext manual has chapter about special strings
(http://www.gnu.org/software/gettext/manual/html_node/
gettext_19.html#SEC19),
but I think chapter text is too complex to understand for people
that are
only starting to learn gettext.
P.S. In programming guidelines second code snippet should use ngettext
instead of (num_monkeys > 1) test.
--
Tomas
_______________________________________________
gnome-i18n mailing list
gnome-i18n gnome org
http://mail.gnome.org/mailman/listinfo/gnome-i18n
from Clytie (vi-VN, Vietnamese free-software translation team / nhóm
Việt hóa phần mềm tự do)
http://groups-beta.google.com/group/vi-VN
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]