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
=== modified file 'po/CMakeLists.txt'
--- po/CMakeLists.txt 2011-11-09 21:28:49 +0000
+++ po/CMakeLists.txt 2012-04-30 13:17:19 +0000
@@ -50,7 +50,7 @@
5050
51create_translation_targets(${GETTEXT_PACKAGE}.pot ${PO_FILES})51create_translation_targets(${GETTEXT_PACKAGE}.pot ${PO_FILES})
5252
53add_custom_target(${GETTEXT_PACKAGE}.pot53add_custom_target(${GETTEXT_PACKAGE}.pot ALL
54 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/update-unity-2d-pot54 COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/update-unity-2d-pot
55 )55 )
5656
5757
=== modified file 'po/update-unity-2d-pot'
--- po/update-unity-2d-pot 2011-10-05 12:35:18 +0000
+++ po/update-unity-2d-pot 2012-04-30 13:17:19 +0000
@@ -10,7 +10,7 @@
10trap 'rm -f "$GETTEXT_FILES"' EXIT10trap 'rm -f "$GETTEXT_FILES"' EXIT
11cd ..11cd ..
12find \( -name '*.cpp' -o -name '*.qml' \) \12find \( -name '*.cpp' -o -name '*.qml' \) \
13 -a ! \( -path './debian/*' -o -path './build/*' -o -path './obj-*-linux-gnu/*' -o -path './.bzr/*' -o -path './libunity-2d-private/tests/*' \) \13 -a ! \( -path './debian/*' -o -path './build/*' -o -path './obj-*-linux-gnu/*' -o -path './.bzr/*' -o -path './libunity-2d-private/tests/*' \) | sort \
14> $GETTEXT_FILES14> $GETTEXT_FILES
1515
16# Generate pot from our list16# Generate pot from our list

Subscribers

People subscribed via source and target branches