diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | debian/changelog | 9 | ||||
-rwxr-xr-x | debian/rules | 6 | ||||
-rw-r--r-- | src/session-service.c | 2 |
5 files changed, 18 insertions, 3 deletions
@@ -2745,7 +2745,7 @@ fi # Define the identity of the package. PACKAGE=indicator-session - VERSION=0.3.3.1 + VERSION=0.3.3.2 cat >>confdefs.h <<_ACEOF diff --git a/configure.ac b/configure.ac index 8584c96..8e5ed8b 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ AC_INIT(src/indicator-session.c) AC_PREREQ(2.53) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(indicator-session, 0.3.3.1) +AM_INIT_AUTOMAKE(indicator-session, 0.3.3.2) AM_MAINTAINER_MODE diff --git a/debian/changelog b/debian/changelog index 2f54a40..77489ad 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +indicator-session (0.3.3.2-0ubuntu1) oneiric; urgency=low + + * New upstream release. + - Don't set LC_ALL to C + * debian/rules + - dh_translations doesn't handle multibuilds, so manually add the domain + + -- Ken VanDine <ken.vandine@canonical.com> Fri, 26 Aug 2011 09:49:37 -0400 + indicator-session (0.3.3.1-0ubuntu1) oneiric; urgency=low * New upstream release. diff --git a/debian/rules b/debian/rules index bee840d..a393364 100755 --- a/debian/rules +++ b/debian/rules @@ -23,4 +23,10 @@ common-install-arch:: find debian/tmp -name \*.a -delete find debian/tmp -name classic-desktop.sh | xargs chmod +x cd po; intltool-update --pot --verbose + # Language packs + for d in $$(find debian/tmp -type f \( -name "*.desktop" -o -name "*.directory" \) ); do \ + sed -ri '/^(Name|GenericName|Comment|X-GNOME-FullName)\[/d' $$d; \ + echo "X-Ubuntu-Gettext-Domain=indicator-session" >> $$d; \ + done; + diff --git a/src/session-service.c b/src/session-service.c index e16832c..753e304 100644 --- a/src/session-service.c +++ b/src/session-service.c @@ -97,7 +97,7 @@ main (int argc, char ** argv) /* Setting up i18n and gettext. Apparently, we need all of these. */ - setlocale (LC_ALL, "C"); + setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); textdomain (GETTEXT_PACKAGE); |