From b4767ea9da5fafe30fdc695287feeb6e4bdcc454 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Tue, 4 Dec 2012 20:06:19 +0100 Subject: [PATCH] po: Fix xgettext failing on unicode strings It is needed to use -from-code=utf-8 to override the ASCII default Caused by ceb866dfe6be6d88b8f83a3cbdb8a2a688419c82 --- po-properties/Makefile.in.in | 1 + po/Makefile.in.in | 1 + 2 files changed, 2 insertions(+) diff --git a/po-properties/Makefile.in.in b/po-properties/Makefile.in.in index c168dc22c..9aa46174d 100644 --- a/po-properties/Makefile.in.in +++ b/po-properties/Makefile.in.in @@ -97,6 +97,7 @@ all-no: $(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES) $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \ --add-comments --keyword --keyword=P_ \ + --from-code=utf-8 \ --files-from=$(srcdir)/POTFILES.in \ && test ! -f $(GETTEXT_PACKAGE).po \ || ( rm -f $(srcdir)/$(GETTEXT_PACKAGE).pot \ diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 4e8ada3ff..149721200 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -95,6 +95,7 @@ all-no: $(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES) $(XGETTEXT) --default-domain=$(GETTEXT_PACKAGE) --directory=$(top_srcdir) \ --add-comments --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 \ + --from-code=utf-8 \ --keyword=g_dngettext:2,3 \ --flag=g_dngettext:2:pass-c-format \ --flag=g_strdup_printf:1:c-format \ -- 2.43.2