Ok, so after Gabor's comment I had another look as well. I've linked a
branch that fixes the problem in the code.

However, I haven't submitted a merge proposal yet because the fix still
needs some extra bits on the packaging side, and I'm not an expert on
that.

Basically, what I've done is to use python-distutils-extra to add support for 
building translations and updating the .pot file using standard practices. What 
is left to do is:
a) that the package calls python-distutils-extra during the build in order to 
build and install the .mo files, and
b) that the package produces a .pot file on build.

Generally, the CDBS-based packages I've seen use the following classes
to do that, which take care of everything, but I'm not too sure how to
best do it with the ufw package.

include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/langpack.mk 

Jamie, do you think you could have a look at it and add the missing
packaging bits to the linked branch?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/626178

Title:
  ufw package contains mo files

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to