El dt 17 de 05 de 2011 a les 22:16 +0000, en/na Jamie Strandboge va
escriure:
> In principle, I am fine with the changes, but have a couple of questions:
> 1. python-distutils-extra (>= 2.4) is added to debian/control. Ideally I 
> would want these changes to be compatible on hardy since I hope to provide 
> backports for hardy. This is not a hard requirement. What would need to be 
> done for 1.91.2 (python-distutils-extra from hardy)

Looking at the python-distutils-extra changelog, it seems that support
for the 'auto' mode (the one used in the proposed branch) was not added
until 2.0 (post-Hardy).

So one thing we could do is to switch to the old 'command' mode from
p-d-e, which requires a bit more static configuration but should work
nevertheless.

The drawback here is that you'll need to manually maintain the
po/POTFILES.in file (i.e. you'll have to keep the names of the
translatable files in POTFILES.in in sync with the names of the actual
files in the tree).

Here's a branch that does that:

http://bazaar.launchpad.net/~dpm/ufw/i18n-fixes-hardy/revision/744

(the changes are relative to the previously submitted i18n-fixes branch)

> 2. with python-distutils-extra, it is my understanding that the mo files will 
> be built at build time, via the packaging. I guess I am going to have to 
> review that and update the documentation as ufw upstream would like to have 
> these built in some way for people using source tarballs. Is there some 
> standard way to do this?
> 

The .mo files can be built from the tarballs as well. When I first
submitted the branch I also updated the documentation. This is explained
here:

http://bazaar.launchpad.net/~dpm/ufw/i18n-
fixes/view/head:/README.translations#L4

In short, you can run:

./setup.py build_i18n

and the .mo files will be built in the build/mo directory.

-- 
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/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