Hi!

As a first step towards string translation, I added hooks that make Qt
use gettext(). Strings are still marked with "tr()" in src/uic_*.cpp, so
you need to use "xgettext -ktr" to extract them. In the rest of the
sources, strings should be marked with the standard "_()", however. And
please don't forget to also include "gettext.h" at the beginning if you
mark any strings for translation. Currently, it's only included in
src/main.cpp because it's required for initialization.

On Unix, scons should find <libintl.h> and libintl automatically if
they're present. Don't worry if libintl is not found on Linux: there is
no separate libintl - gettext() and friends are part of glibc.

The Windows build includes the hooks but does not yet activate them.
First I need to check if <libintl.h> and libintl are present in MinGW.

-- 
Michael "Tired" Riepe <[EMAIL PROTECTED]>
X-Tired: Each morning I get up I die a little

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to