Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37842674
en ru br
ALT Linux repos
5.0: 0.9-alt2
4.1: 0.8-alt1

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


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);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin