Please, change comments in YCP source files as explained in the attachment, if time permits. This bug surfaced along with https://bugzilla.novell.com/show_bug.cgi?id=230388
aTdHvAaNnKcSe! Karl
On Tue, Jun 12, 2007 at 09:48:02AM +0200, Karl Eichwalder wrote:
Please, change comments in YCP source files as explained in the attachment, if time permits. This bug surfaced along with https://bugzilla.novell.com/show_bug.cgi?id=230388
Thanks, Karl.
It took me some time to understand so I'll rephrase:
If you have unusual formatting, comments for translators will not make it to the pot files. So make sure that there are no newlines between the parentheses and quotes.
Good: // Foo! _("long ... string") Bad: // Foo! _( "long ... string" )
To see how much code needs fixing I have searched[*] my system and SVN for newlines after the opening paren and found these files. (I cannot search for newlines before the closing paren because that would catch also non-gettext stuff, but that will be fixed in xgettext itself.)
./isns/src/helps.ycp ./iscsi-server/src/helps.ycp ./registration/src/clients/suse_register_auto.ycp ./registration/src/clients/inst_suse_register.ycp ./printer/src/common/dialogs-connection.ycp
[*] find . -name *.ycp | xargs grep '_([^"]*$'