Opened 13 years ago
Closed 13 years ago
#4309 closed defect (fixed)
lupdate complains about some tr() in mythcontext.cpp
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | 0.21 |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | |
Cc: | Ticket locked: | no |
Description
I received the following errors while trying to update the translation source files with lupdate in trunk/mythtv/i18n/.
With svn 15096:
[claude@zeus i18n]$ lupdate translate.pro ../libs/libmyth/mythcontext.cpp:1109: Cannot invoke tr() like this ../libs/libmyth/mythcontext.cpp:1118: Cannot invoke tr() like this ../libs/libmyth/mythcontext.cpp:1126: Cannot invoke tr() like this ../libs/libmyth/mythcontext.cpp:1248: Cannot invoke tr() like this
Same problem with svn 15115 (different line numbers):
../libs/libmyth/mythcontext.cpp:1118: Cannot invoke tr() like this ../libs/libmyth/mythcontext.cpp:1127: Cannot invoke tr() like this ../libs/libmyth/mythcontext.cpp:1135: Cannot invoke tr() like this ../libs/libmyth/mythcontext.cpp:1257: Cannot invoke tr() like this
Note: See
TracTickets for help on using
tickets.
(In [15131]) lupdate can't work out that parent is a Q_OBJECT. Use static version of ::tr Closes #4309