Package: policykit-gnome
Version: 0.8-1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

If you look at

https://bugs.edge.launchpad.net/ubuntu/+source/policykit-gnome/+bug/199255

you can see a bug report about translations being missing from the
polkit-gnome-authorization dialog. This was fixed by the attached
patch.

While there is some confusion in the report about whether it is really
an issue the problem has been fixed upstream and the patch should be in
the next release.

Thanks,

James


--- policykit-gnome-0.8.orig/debian/patches/03-fix_i18n.patch
+++ policykit-gnome-0.8/debian/patches/03-fix_i18n.patch
@@ -0,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);

Reply via email to