Clean up language-selectors build system
Bug #853501 reported by
Gabor Kelemen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Currently the .policy file shipped by language-selector does not contain the gettext-domain property, so the translations in the language packs are not used for this file. To use the translations in the language packs for this file, several changes are needed in the build and packaging system.
The current build system uses makefiles to handle the translation of .note, .desktop and .policy files. Adding a setup.cfg and leaving the hard work to p-d-u could make this build system a lot simpler and easier to maintain.
Related branches
lp:~kelemeng/language-selector/bug853501
- Ubuntu Core Development Team: Pending requested
-
Diff: 257 lines (+43/-97)12 files modifieddata/Makefile (+0/-11)
dbus_backend/Makefile (+0/-3)
debian/language-selector-common.install (+1/-1)
debian/language-selector-gnome.install (+1/-1)
debian/language-selector-kde.install (+1/-1)
debian/rules (+1/-2)
po/Makefile (+0/-24)
po/POTFILES.in (+3/-2)
po/README.i18n (+0/-6)
po/get-iso-codes-i18n (+0/-29)
setup.cfg (+27/-0)
setup.py (+9/-17)
Changed in ubuntu-translations: | |
status: | Triaged → Fix Committed |
Changed in ubuntu-translations: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also the branch removes an obsolete script and the associated Readme file from po/, while we are at it :).
Other than that, I'm not entirely sure that I did everything right, so please give it a thorough look.