[Pkg-utopia-commits] r2274 - in /packages/unstable/policykit-gnome/debian: changelog patches/03-fix_i18n.patch

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Fri May 23 03:17:32 UTC 2008


Author: biebl
Date: Fri May 23 03:17:26 2008
New Revision: 2274

URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=2274
Log:
* debian/patches/03-fix_i18n.patch
  - Set the correct gettext domain to make the translations show up.
    Thanks to James Westby for the patch. (Closes: #482066)

Added:
    packages/unstable/policykit-gnome/debian/patches/03-fix_i18n.patch
Modified:
    packages/unstable/policykit-gnome/debian/changelog

Modified: packages/unstable/policykit-gnome/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/policykit-gnome/debian/changelog?rev=2274&op=diff
==============================================================================
--- packages/unstable/policykit-gnome/debian/changelog (original)
+++ packages/unstable/policykit-gnome/debian/changelog Fri May 23 03:17:26 2008
@@ -1,3 +1,11 @@
+policykit-gnome (0.8-2) UNRELEASED; urgency=low
+
+  * debian/patches/03-fix_i18n.patch
+    - Set the correct gettext domain to make the translations show up.
+      Thanks to James Westby for the patch. (Closes: #482066)
+
+ -- Michael Biebl <biebl at debian.org>  Fri, 23 May 2008 05:13:58 +0200
+
 policykit-gnome (0.8-1) unstable; urgency=low
 
   * New upstream release.

Added: packages/unstable/policykit-gnome/debian/patches/03-fix_i18n.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/policykit-gnome/debian/patches/03-fix_i18n.patch?rev=2274&op=file
==============================================================================
--- packages/unstable/policykit-gnome/debian/patches/03-fix_i18n.patch (added)
+++ packages/unstable/policykit-gnome/debian/patches/03-fix_i18n.patch Fri May 23 03:17:26 2008
@@ -1,0 +1,15 @@
+# Description: Actually set the translation domain to have the application appear translated.
+# Ubuntu: https://launchpad.net/bugs/199255
+--- policykit-gnome-0.7.orig/tools/polkit-gnome-authorization.c	2007-12-06 05:31:23.000000000 +0200
++++ policykit-gnome-0.7/tools/polkit-gnome-authorization.c	2008-04-07 10:36:32.000000000 +0300
+@@ -2329,6 +2329,10 @@
+                                                        (GBoxedCopyFunc) polkit_policy_file_entry_ref,
+                                                        (GBoxedFreeFunc) polkit_policy_file_entry_unref);
+ 
++        bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
++        bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
++        textdomain (GETTEXT_PACKAGE);
++
+         loop = g_main_loop_new (NULL, FALSE);
+ 
+         pkgc = polkit_gnome_context_get (NULL);




More information about the Pkg-utopia-commits mailing list