Merge lp://qastaging/~dpm/intltool/add-qtdesigner-support into lp://qastaging/intltool
Proposed by
David Planella
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 744 | ||||
Proposed branch: | lp://qastaging/~dpm/intltool/add-qtdesigner-support | ||||
Merge into: | lp://qastaging/intltool | ||||
Diff against target: |
392 lines (+306/-1) 7 files modified
doc/intltool-extract.8 (+2/-0) intltool-extract.in (+73/-1) tests/cases/Makefile.am (+2/-0) tests/cases/extract-qtdesigner.ui (+210/-0) tests/results/Makefile.am (+1/-0) tests/results/extract-qtdesigner.ui.h (+13/-0) tests/selftest.pl.in (+5/-0) |
||||
To merge this branch: | bzr merge lp://qastaging/~dpm/intltool/add-qtdesigner-support | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Данило Шеган | Approve | ||
Review via email:
|
Description of the change
This branch adds support for extracting translatable strings from Qt Designer files through a new gettext/qtdesigner type (lp:953342).
Notes: the regexp used to extract the strings from the XML attributes of the <string> tag used by Qt .ui files is similar to the one used to extraxt strings from Glade .ui files in the sense that it relies on those tags being present in a particular order.
To post a comment you must log in.
Btw, at least the doc links are incorrect in intltool- extract. in:
- http:// qt-project. org/doc/ qt-5.0/ qtlinguist/ linguist- ts-file- format. html qt-project. org/doc/ qt-5.0/ qtdesigner/ designer- ui-file- format. html
- http://
are currently correct links (I assume they have changed since you started work on this).
Btw, I would prefer if the support was done using the real XML parser: that would ensure that a lot more of the XML syntax is supported, and that we don't accidentally break when eg. the order of attributes changes in the XML file.
A good example is type_gsettings/ traverse_ gsettings functions.