On Fri, May 06, 2005 at 01:28:42PM +0200, Stefan Frank wrote:
i can't comment on the changes itself, but please resend it with all strings marked for translation by the tr("EXAMPLE") function as they were originally.
OK; done.
No, this i wrong:
+#define JOBSTATUS_STATUSTEXT(A,B,C) case A: return tr(C);
You can not use preprocessor or function tricks because the translation tool 'lupdate' simply searches for 'tr("' and '")' markers and adds the text in between to the .ts-files.
If you move the tr("")'s to jobqueue.h you have to add it to i18n/translate.pro too:
Index: translate.pro =================================================================== RCS file: /var/lib/mythcvs/mythtv/i18n/translate.pro,v retrieving revision 1.29 diff -u -r1.29 translate.pro --- translate.pro 11 Apr 2005 13:39:13 -0000 1.29 +++ translate.pro 7 May 2005 09:16:38 -0000 @@ -18,6 +18,7 @@ SOURCES += ../libs/libmythtv/guidegrid.cpp SOURCES += ../libs/libmythtv/infodialog.cpp SOURCES += ../libs/libmythtv/jobqueue.cpp +SOURCES += ../libs/libmythtv/jobqueue.h SOURCES += ../libs/libmythtv/progfind.cpp SOURCES += ../libs/libmythtv/proglist.cpp SOURCES += ../libs/libmythtv/programinfo.cpp
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
