mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
po: Fix xgettext failing on unicode strings
It is needed to use -from-code=utf-8 to override the ASCII default
Caused by ceb866dfe6
This commit is contained in:
parent
85d8f3c51e
commit
b4767ea9da
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user