Group :: System/Libraries
RPM: PolicyKit-gnome
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: PolicyKit-gnome-0.8-fix-i18n.patch
Download
Download
From: David Zeuthen <davidz@redhat.com>
Date: Thu, 17 Apr 2008 21:53:44 +0000 (-0400)
Subject: fix i18n
X-Git-Url: http://gitweb.freedesktop.org/?p=users/david/PolicyKit-gnome.git;a=commitdiff;h=28b55bf4cd0d6b341069a0ab26682dc73c385ec9
fix i18n
https://bugzilla.redhat.com/show_bug.cgi?id=442938
---
--- a/tools/polkit-gnome-authorization.c
+++ b/tools/polkit-gnome-authorization.c
@@ -2345,6 +2345,10 @@ main (int argc, char **argv)
(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);