8000 chore: insert `Language` header entry when merging from CPython doc · python/python-docs-zh-tw@7fedc5f · GitHub
[go: up one dir, main page]

Skip to content

Commit 7fedc5f

Browse files
committed
chore: insert Language header entry when merging from CPython doc
1 parent 9630419 commit 7fedc5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ endif
8484
if [ -f "$$PO" ];\
8585
then\
8686
case "$$POT" in\
87-
*whatsnew*) msgmerge --backup=off --force-po --no-fuzzy-matching -U "$$PO" "$$POT" ;;\
88-
*) msgmerge --backup=off --force-po -U "$$PO" "$$POT" ;;\
87+
*whatsnew*) msgmerge --lang=$(LANGUAGE) --backup=off --force-po --no-fuzzy-matching -U "$$PO" "$$POT" ;;\
88+
*) msgmerge --lang=$(LANGUAGE) --backup=off --force-po -U "$$PO" "$$POT" ;;\
8989
esac\
9090
else\
91-
msgcat -o "$$PO" "$$POT";\
91+
msgcat --lang=$(LANGUAGE) -o "$$PO" "$$POT";\
9292
fi\
9393
done
9494

0 commit comments

Comments
 (0)
0