[mythtv-users] Does language en_gb exist (even though I can select it)
Nick Morrott
knowledgejunkie at gmail.com
Tue Apr 13 22:42:56 UTC 2010
On 13 April 2010 22:52, Nicolas Riendeau <knight at teksavvy.com> wrote:
> Hi!
>
> Nicolas Riendeau wrote:
>>
>> Nick Morrott wrote:
>>>
>>> get the following output:
>>>
>>> # lupdate translate.pro
>>> lupdate error: Cannot open C++ source file '../libs/libmythdb/*.cpp':
>>> No such file or directory
>>> lupdate error: Cannot open C++ source file '../libs/libmythdb/*.h': No
>>> such file or directory
>>> lupdate error: Cannot open C++ source file '../libs/libmyth/*.cpp': No
>>> such file or directory
>>
>>
>> <snip>
>>
>>> lupdate error: Cannot open C++ source file
>>> '../programs/mythtvosd/*.cpp': No such file or directory
>>>
>>> Should I be worried? This is following the wiki page and the earlier
>>> comments in this thread, and globbed files mentioned in the errors do
>>> exist.
>>
>> Considering that lupdate parses the source files to extract new
>> translatable strings
>> I would say a big YES to that...
>>
>> I'll do a checkout and try it on my end and let you know...
>
> OK, I just tried
>
> <<
> Updating 'mythfrontend_en_gb.ts'...
>
> Found 3990 source text(s) (404 new and 3586 already existing)
> Kept 156 obsolete entries
> Same-text heuristic provided 6 translation(s)
>>>
>
> and everything is OK...
>
> You do need to have the source code present (and at the right place) when
> you run
> lupdate, have you tried running lupdate in a different directory than where
> you did
> the checkout and without the source code?
>
> If you look at the content of translate.pro you will see that you get an
> error
> message for each of the (relative) directory names (or files) listed in it.
>
> Is there anything which could make the source code not visible (ACL,
> etc...)?
Grrr. An existing Qt3 installation would also do it... by default
lupdate was being run from Qt3 instead of Qt4 - specifying the full
path of the lupdate binary sorted it out:
Updating 'mythfrontend_en_gb.ts'...
Found 3975 source text(s) (404 new and 3571 already existing)
Kept 171 obsolete entries
Number heuristic provided 18 translation(s)
Same-text heuristic provided 6 translation(s)
I did notice several non-fatal warnings:
/usr/include/sys/cdefs.h:25: circular inclusion of /usr/include/features.h
/usr/include/QtCore/qstringbuilder.h:45: circular inclusion of
/usr/include/QtCore/qstring.h
/usr/include/limits.h:125: circular inclusion of /usr/include/limits.h
/usr/include/wchar.h:37: circular inclusion of /usr/include/stdio.h
/usr/include/sys/ucontext.h:23: circular inclusion of /usr/include/signal.h
/usr/include/QtGui/qwmatrix.h:45: circular inclusion of
/usr/include/QtGui/qmatrix.h
/usr/include/QtGui/qlayout.h:236: circular inclusion of
/usr/include/QtGui/qboxlayout.h
/usr/include/QtGui/qgridlayout.h:45: circular inclusion of
/usr/include/QtGui/qlayout.h
/usr/src/mythtv-trunk/mythtv/libs/libmyth/settings.h:825: circular
inclusion of /usr/src/mythtv-trunk/mythtv/libs/libmyth/mythconfigdialogs.h
/usr/src/mythtv-trunk/mythtv/libs/libmyth/settings.h:826: circular
inclusion of /usr/src/mythtv-trunk/mythtv/libs/libmyth/mythconfiggroups.h
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:18: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:19: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:20: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:21: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:22: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:23: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:24: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:25: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:26: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:27: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:32: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:33: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:34: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:35: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/jobqueue.h:36: tr() cannot
be called without context
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp:84:
Class 'ScanCountry' lacks Q_OBJECT macro
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/channelscan/frequencytablesetting.cpp:109:
Class 'ScanNetwork' lacks Q_OBJECT macro
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/channelscan/channelscanmiscsettings.h:90:
Class 'DesiredServices' lacks Q_OBJECT macro
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/channelscan/paneexistingscanimport.h:47:
Class 'PaneExistingScanImport' lacks Q_OBJECT macro
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/eitfixup.cpp:964:
Unexpected character in meta string
/usr/src/mythtv-trunk/mythtv/libs/libmythtv/eitfixup.cpp:1175:
Unexpected character in meta string
/usr/include/sys/cdefs.h:25: circular inclusion of
/usr/include/features.h (repeated many times before regular lupdate
messages)
This was run against a fresh trunk checkout from earlier:
$ mythbackend --version
Please include all output in bug reports.
MythTV Version : 24112
MythTV Branch : trunk
Network Protocol : 56
Library API : 0.23.20100404-1
QT Version : 4.6.2
I'll pick this up again tomorrow.
Cheers,
Nick
--
Nick Morrott
MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users
"An investment in knowledge always pays the best interest." - Benjamin Franklin
More information about the mythtv-users
mailing list