Merge lp:~angeloc/python-distutils-extra/fix_for_qt_translation into lp:python-distutils-extra
Proposed by
Angelo Compagnucci
Status: | Rejected |
---|---|
Rejected by: | Martin Pitt |
Proposed branch: | lp:~angeloc/python-distutils-extra/fix_for_qt_translation |
Merge into: | lp:python-distutils-extra |
Diff against target: |
154 lines (+72/-60) 1 file modified
DistUtilsExtra/command/build_i18n.py (+72/-60) |
To merge this branch: | bzr merge lp:~angeloc/python-distutils-extra/fix_for_qt_translation |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt (community) | Needs Fixing | ||
Review via email: mp+110669@code.launchpad.net |
Description of the change
Added support for QT translation files in qm folder.
If a qm folder is present and has qm files in it, this folder is chosen over po folder and QT translation files are packaged instead gettext ones.
To post a comment you must log in.
Unmerged revisions
- 292. By Angelo Compagnucci
-
Fixing a wrong debug print.
- 291. By Angelo Compagnucci
-
Patch reworked to exclude po to qm dinamic conversion.
- 290. By Angelo Compagnucci
-
Added support for QT translation files in qm folder.
- 289. By Angelo Compagnucci
-
Initial fix for qm translation files support.
Thanks Angelo for working on this!
So the mere presence of an empty qm/ folder will trigger this, and then convert the .po files? That looks kind of strange. Also, I'm really not sure that we should promote the really sad idea of a parallel translation standard; gettext works everywhere, obviously also with Qt, and if you can automatically create qm files out of po files then there is nothing that this would give us?
If we really need this, at least the .pot file should be built even in the presence of qm/, as you need that for translators.