Al 09/03/12 21:34, En/na Tiago Salem Herrmann ha escrit: > The following command will extract all the strings and put them into a ts > file: > lupdate-qt4 frontend.pro -ts strings.ts >
Thanks Tiago for your suggestion. However, Launchpad uses gettext and cannot import .ts files. > Another solution would be to compile the ui file into a cpp file and then > extract the strings: > uic-qt4 qtfront.ui> ui_qtfront.cpp > If we cannot use intltool directly, this might be the way to go. So I guess we could put qt/ui_qtfront.cpp in POTFILES.in and make sure it is generated before intltool is executed. Then intltool would work as usual and put the messages from the .cpp file into the checkbox.pot file. > the ui_qtfront.cpp is actually auto generated while compiling the qt > frontend. > The Ubuntu One guys are also using a Qt frontend, and it might be worth talking to them to see how they're handling translations and share the knowledge and practices. Cheers, David. -- David Planella Ubuntu Translations Coordinator www.ubuntu.com / www.davidplanella.wordpress.com www.identi.ca/dplanella / www.twitter.com/dplanella -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/951054 Title: Most of the Checkbox UI is not translatable To manage notifications about this bug go to: https://bugs.launchpad.net/checkbox/+bug/951054/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
