Merge lp:~dpm/ubuntu-clock-app/i18n-module into lp:ubuntu-clock-app
Status: | Work in progress |
---|---|
Proposed branch: | lp:~dpm/ubuntu-clock-app/i18n-module |
Merge into: | lp:ubuntu-clock-app |
Diff against target: |
206 lines (+108/-58) 5 files modified
.bzrignore (+1/-0) CMakeLists.txt (+6/-28) cmake/FindIntltool.cmake (+11/-0) cmake/Translations.cmake (+87/-0) po/CMakeLists.txt (+3/-30) |
To merge this branch: | bzr merge lp:~dpm/ubuntu-clock-app/i18n-module |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Nekhelesh Ramananthan | Needs Information | ||
dobey (community) | Approve | ||
Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve | |
Review via email: mp+238213@code.launchpad.net |
Commit message
Convert the cmake rules for internationaliz
Description of the change
Convert the cmake rules for internationaliz
Some notes on which I'd appreciate feedback from anyone reviewing this MP:
- It'd be nice to make the configuration and merging of the .desktop file optional, for those projects which don't use .desktop files. An example is indicators, which already use their own Translations.cmake module - it'd be good if all projects could use one and only module.
- I'm tempted to assume that DESKTOP_FILE == DOMAIN to make things easier and thus make it not a required arg to the macros
- I've not figured out how to pass a COPYRIGHT_HOLDER with spaces without showing escaped spaces in the final .pot file ("\ ")
Unmerged revisions
- 149. By David Planella
-
Finished cmake module conversion of i18n rules
- 148. By David Planella
-
Made path to i18n source files relative to po folder
- 147. By David Planella
-
Fix to pot file variable name, ignored generated clicks from bzr
- 146. By David Planella
-
Finished conversion of i18n rules to a module
- 145. By David Planella
-
Initial move of the translations cmake rules to a cmake module
PASSED: Continuous integration, rev:149 91.189. 93.70:8080/ job/ubuntu- clock-app- ci/559/ 91.189. 93.70:8080/ job/generic- mediumtests- utopic- python3/ 923 91.189. 93.70:8080/ job/generic- mediumtests- utopic- python3/ 923/artifact/ work/output/ *zip*/output. zip
http://
Executed test runs:
SUCCESS: http://
deb: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- clock-app- ci/559/ rebuild
http://