David Planella [2013-05-21 12:06 -0000]: > It seems the C++ files would currently not be able to use the > Ubuntu-specific UbuntuI18n::tr() method, so for now it'd have to be _() > for C++ files, but I'm discussing that with the SDK team, as it'd be > nice for mixed projects (e.g. QML + C++) to use the same method to > internationalize messages.
Right, my concern is rather that we can't just hardcode that xgettext call into dh_translations then, as that would overwrite a previously generated .pot including the C++ msgids. So if "make foo.pot" or calling intltool-update succeeds, the following xgettext call would need to merge the i18n.tr() msgids, but take care to actually do overwrite an old .pot file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1181183 Title: Add support for the Ubuntu SDK apps to dh_translations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pkgbinarymangler/+bug/1181183/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
