INTLTOOL_MERGE_TRANSLATIONS only handles .desktop files
Bug #1664325 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake-extras (Ubuntu) |
Fix Released
|
High
|
dobey |
Bug Description
The Intltool module in cmake-extras is nice, but the translation merging macro only handles merging of translations into .desktop files. There are several other types of files handled by intltool, as well as the option to not merge the translations back in directly (so they may be loaded from gettext domain instead), but it is impossible to use the Intltool module to perform this merging, as it only supports .desktop files.
Related branches
lp:~dobey/cmake-extras/fix-intltool-merge
- Pete Woods: Approve
- Charles Kerr (community): Approve
-
Diff: 304 lines (+122/-33)8 files modifieddebian/tests/intltool (+8/-2)
examples/intltool-demo/CMakeLists.txt (+2/-0)
examples/intltool-demo/po/CMakeLists.txt (+1/-2)
examples/intltool-demo/po/en_AU.po (+9/-0)
examples/intltool-demo/src/CMakeLists.txt (+15/-2)
examples/intltool-demo/src/main.cpp (+22/-0)
examples/intltool-demo/src/translated.gschema.xml.in (+9/-0)
src/Intltool/IntltoolConfig.cmake (+56/-27)
Changed in cmake-extras (Ubuntu): | |
assignee: | nobody → Rodney Dawes (dobey) |
importance: | Undecided → High |
status: | New → In Progress |
To post a comment you must log in.
This bug was fixed in the package cmake-extras - 1.2+17. 04.20170228- 0ubuntu1
--------------- 04.20170228- 0ubuntu1) zesty; urgency=medium
cmake-extras (1.2+17.
* Add function to compile GSettings schemas. (LP: #1664714)
* Handle merging translations into non-ini file types. (LP: #1664325)
* Append file globs for translation template function. (LP: #1664345)
* Use already unique translation template as target name.
* Add a GDbus module for using gdbus-codegen in cmake projects.
* Refactor GSettings module to provide a compile_schemas macro. (LP:
#1664714)
* Handle other style options for merging, and no translations for xml
style. (LP: #1664325)
* Append file globs rather than resetting the variable. (LP: #1664345)
* Don't use the gettext unique target magic for pot files.
* Add a module for using gdbus-codegen code with cmake.
-- Rodney Dawes <email address hidden> Tue, 28 Feb 2017 17:48:00 +0000