2008-01-11 17:32 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/include/hbexprb.c
* harbour/source/compiler/hbmain.c
! added string escaping before to i18n .pot files
+ added hb_i18n_gettext_strict() support for compiler. This function
generates warning if argument is not literal string. See discussion
on mailing list from 2007-11-23 to 2007-11-29, for details.
I also think that we should remove HB_I18N_SUPPORT macro and enable
code covered by this macro in default builds. It's quite well
tested, does not break other code and open door for adding
i18n tools to Harbour which will be separated from existing
code so will not break anything.
Hi,
one thing was missing - strings were not escaped before writing to .pot
file. This is important fix, if we want to include i18n in current
release. So, I've committed the change.
I've implemented this a month ago and used code until now, so I hope
there are no nasty bugs in new code.
Best regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour