Merge lp:~aacid/unity-2d/update_translations_on_build into lp:unity-2d

Proposed by Albert Astals Cid
Status: Merged
Approved by: Gerry Boland
Approved revision: 1065
Merged at revision: 1095
Proposed branch: lp:~aacid/unity-2d/update_translations_on_build
Merge into: lp:unity-2d
Diff against target: 25 lines (+2/-2)
2 files modified
po/CMakeLists.txt (+1/-1)
po/update-unity-2d-pot (+1/-1)
To merge this branch: bzr merge lp:~aacid/unity-2d/update_translations_on_build
Reviewer Review Type Date Requested Status
Gerry Boland Pending
Review via email: mp+101867@code.launchpad.net

Commit message

[debian] Update the .pot each time we build

Description of the change

Update the .pot each time we build

To post a comment you must log in.
1064. By Albert Astals Cid

Merge lp:unity-2d

1065. By Albert Astals Cid

Merge lp:unity-2d

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'po/CMakeLists.txt'
2--- po/CMakeLists.txt 2011-11-09 21:28:49 +0000
3+++ po/CMakeLists.txt 2012-04-30 13:17:19 +0000
4@@ -50,7 +50,7 @@
5
6 create_translation_targets(${GETTEXT_PACKAGE}.pot ${PO_FILES})
7
8-add_custom_target(${GETTEXT_PACKAGE}.pot
9+add_custom_target(${GETTEXT_PACKAGE}.pot ALL
10 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/update-unity-2d-pot
11 )
12
13
14=== modified file 'po/update-unity-2d-pot'
15--- po/update-unity-2d-pot 2011-10-05 12:35:18 +0000
16+++ po/update-unity-2d-pot 2012-04-30 13:17:19 +0000
17@@ -10,7 +10,7 @@
18 trap 'rm -f "$GETTEXT_FILES"' EXIT
19 cd ..
20 find \( -name '*.cpp' -o -name '*.qml' \) \
21- -a ! \( -path './debian/*' -o -path './build/*' -o -path './obj-*-linux-gnu/*' -o -path './.bzr/*' -o -path './libunity-2d-private/tests/*' \) \
22+ -a ! \( -path './debian/*' -o -path './build/*' -o -path './obj-*-linux-gnu/*' -o -path './.bzr/*' -o -path './libunity-2d-private/tests/*' \) | sort \
23 > $GETTEXT_FILES
24
25 # Generate pot from our list

Subscribers

People subscribed via source and target branches