IPA uses "ipa" as the "package name" for all translations,
even in the ipa-client package.

https://fedorahosted.org/freeipa/ticket/3695
--
PetrĀ³
From 8ec85dd495faedda09286967cfa0706a08955848 Mon Sep 17 00:00:00 2001
From: Petr Viktorin <pvikt...@redhat.com>
Date: Thu, 18 Jul 2013 17:40:17 +0200
Subject: [PATCH] ipa-client: Use "ipa" as the package name for i18n

IPA uses "ipa" as the "package name" for all translations,
even in the ipa-client package.

https://fedorahosted.org/freeipa/ticket/3695
---
 ipa-client/ipa-client-common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipa-client/ipa-client-common.c b/ipa-client/ipa-client-common.c
index 68861c654e2254c4aceccd5497e8eda3f2c593de..23f384a6e0855582de8a83b84f40c40dd3b6c148 100644
--- a/ipa-client/ipa-client-common.c
+++ b/ipa-client/ipa-client-common.c
@@ -33,13 +33,13 @@ int init_gettext(void)
     }
 
     errno = 0;
-    c = bindtextdomain(PACKAGE, LOCALEDIR);
+    c = bindtextdomain("ipa", LOCALEDIR);
     if (c == NULL) {
         return errno;
     }
 
     errno = 0;
-    c = textdomain(PACKAGE);
+    c = textdomain("ipa");
     if (c == NULL) {
         return errno;
     }
-- 
1.8.3.1

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to