mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Makefile: assume UTF-8 in our codebase for translation generation
This commit is contained in:
parent
eaf023b4d8
commit
b0716253a2
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ doc.h: $(HDR_FILES)
|
||||||
messages.pot: *.cpp *.h share/completions/*.fish share/functions/*.fish
|
messages.pot: *.cpp *.h share/completions/*.fish share/functions/*.fish
|
||||||
if test "$(HAVE_GETTEXT)" = 1; then \
|
if test "$(HAVE_GETTEXT)" = 1; then \
|
||||||
xgettext -k_ -kN_ *.cpp *.h -o messages.pot; \
|
xgettext -k_ -kN_ *.cpp *.h -o messages.pot; \
|
||||||
if xgettext -j -k_ -kN_ -k--description -LShell share/completions/*.fish share/functions/*.fish -o messages.pot; then true; else \
|
if xgettext -j -k_ -kN_ -k--description -LShell --from-code=UTF-8 share/completions/*.fish share/functions/*.fish -o messages.pot; then true; else \
|
||||||
echo "Your xgettext version is too old to build the messages.pot file"; \
|
echo "Your xgettext version is too old to build the messages.pot file"; \
|
||||||
rm messages.pot; \
|
rm messages.pot; \
|
||||||
false; \
|
false; \
|
||||||
|
|
Loading…
Reference in a new issue