Merge lp:~pete-woods/indicator-sound/gettext into lp:indicator-sound/13.10

Proposed by Pete Woods
Status: Merged
Approved by: Charles Kerr
Approved revision: 385
Merged at revision: 386
Proposed branch: lp:~pete-woods/indicator-sound/gettext
Merge into: lp:indicator-sound/13.10
Diff against target: 12 lines (+1/-1)
1 file modified
CMakeLists.txt (+1/-1)
To merge this branch: bzr merge lp:~pete-woods/indicator-sound/gettext
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Charles Kerr (community) Approve
Review via email: mp+188618@code.launchpad.net

Commit message

Fix translation support

dh_translations doesn't perform variable substitution when parsing the CMakeLists.txt file

Description of the change

Fix translation support

dh_translations doesn't perform variable substitution when parsing the CMakeLists.txt file

To post a comment you must log in.
Revision history for this message
Charles Kerr (charlesk) wrote :

Pete, indicator-network, indicator-location, and indicator-session all use "set(GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME})" too.

Is this fix a one-off workaround only for i-sound, or should it be copied to these other packages too?

Revision history for this message
Pete Woods (pete-woods) wrote :

> Pete, indicator-network, indicator-location, and indicator-session all use
> "set(GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME})" too.
>
> Is this fix a one-off workaround only for i-sound, or should it be copied to
> these other packages too?

You're absolutely correct - it should be copied to the others.

Revision history for this message
Charles Kerr (charlesk) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2013-09-25 21:07:05 +0000
+++ CMakeLists.txt 2013-10-01 14:47:42 +0000
@@ -4,7 +4,7 @@
4set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")4set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake" "${CMAKE_MODULE_PATH}")
55
6set(PACKAGE ${CMAKE_PROJECT_NAME})6set(PACKAGE ${CMAKE_PROJECT_NAME})
7set(GETTEXT_PACKAGE ${CMAKE_PROJECT_NAME})7set(GETTEXT_PACKAGE indicator-sound)
8set(GNOMELOCALEDIR "${CMAKE_INSTALL_FULL_DATADIR}/locale")8set(GNOMELOCALEDIR "${CMAKE_INSTALL_FULL_DATADIR}/locale")
99
10add_definitions( -DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}" )10add_definitions( -DGETTEXT_PACKAGE="${GETTEXT_PACKAGE}" )

Subscribers

People subscribed via source and target branches