[mythtv] Danish translation for mythtv

Daniel Staaf dst at bostream.nu
Thu Dec 21 23:11:24 UTC 2006


Søren Dalsgaard skrev:
> I get an error quite early in the process:
> 
> 4.  lupdate translate.pro        [to add new strings to .ts-files]
> 
> 
> lupdate error: Cannot open C++ source file
> '../libs/libmythtv/dvbtransporteditor.cpp': No such file or directory
> ../libs/libmythtv/scanwizardhelpers.h:135: Class 'MultiplexSetting' lacks
> Q_OBJECT macro
> ../libs/libmythtv/scanwizardhelpers.h:194: Class 'ScanCountry' lacks
> Q_OBJECT macro
> ../libs/libmythtv/scanwizardhelpers.h:307: Class 'ScanWizardConfig' lacks
> Q_OBJECT macro
> ../libs/libmythtv/scanwizardhelpers.h:869: Class 'DVBUtilsImportPane' lacks
> Q_OBJECT macro
> ../libs/libmythtv/videosource.h:56: Class 'VideoSourceSelector' lacks
> Q_OBJECT macro
> ../libs/libmythtv/videosource.h:567: Class 'CardInputEditor' lacks Q_OBJECT
> macro

Then you have found a bug, libs/libmythtv/dvbtransporteditor.cpp is gone
and should be removed from translate.pro:

Index: translate.pro
===================================================================
--- translate.pro       (revision 12318)
+++ translate.pro       (working copy)
@@ -14,7 +14,6 @@
 SOURCES += ../libs/libmythtv/diseqcsettings.cpp
 SOURCES += ../libs/libmythtv/dtvsignalmonitor.cpp
 SOURCES += ../libs/libmythtv/dvbsignalmonitor.cpp
-SOURCES += ../libs/libmythtv/dvbtransporteditor.cpp
 SOURCES += ../libs/libmythtv/guidegrid.cpp
 SOURCES += ../libs/libmythtv/infodialog.cpp
 SOURCES += ../libs/libmythtv/jobqueue.cpp

After that, lupdate completes and running lrelease shows that you have
som work to do :-)

$ lrelease -verbose mythfrontend_dk.ts
Updating 'mythfrontend_dk.qm'...
 1808 finished, 15 unfinished and 495 untranslated messages

/ Daniel


More information about the mythtv-dev mailing list