[PATCH 04/10] When we retranslate the welcome window, inform glibc.

clumens at redhat.com clumens at redhat.com
Fri Nov 30 19:00:35 UTC 2012


> The textdomain call
> could go somewhere else such that it only happens once when the library is
> loaded, but it's not doing any harm where it is (for now).

In fact, I can ditch the textdomain call and instead do the following:

diff --git a/widgets/src/intl.h b/widgets/src/intl.h
index 6f8b3d5..18aad9f 100644
--- a/widgets/src/intl.h
+++ b/widgets/src/intl.h
@@ -23,7 +23,7 @@
#include "../config.h"
#include "gettext.h"

-#define _(x) gettext(x)
+#define _(x) dgettext("anaconda", x)
 #define N_(String) String

#ifdef ENABLE_NLS

- Chris


More information about the anaconda-patches mailing list