|
From: | Kenichi Handa |
Subject: | Re: Fwd: A system for localizing documentation strings |
Date: | Fri, 27 Jul 2007 21:27:25 +0900 |
User-agent: | SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.0 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
In article <address@hidden>, Andreas Schwab <address@hidden> writes: > "Stephen J. Turnbull" <address@hidden> writes: > > Eli Zaretskii writes: > > > > > I didn't know gettext supported message strings in comments. Does > > > it? > > > > gettext() itself obviously doesn't, since comments aren't executable. > > Extraction tools like xgettext should, they aren't supposed to parse > > the text beyond the _() macro. xgettext knows Lisp syntax. When it is called as this: % xgettext -L lisp --keyword=_ something like this docstring is extracted correctly. (defun temp (_"Docstring of the function temp.") ...) --- Kenichi Handa address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |