Commit aa7c6df8 authored by Boria138's avatar Boria138 Committed by Vitaly Lipatov

Add translate keywords to po/Makefile (eterbug #17278)

parent 791bdba9
......@@ -17,7 +17,7 @@ $(PROJECT).mo: $(PROJECT).po
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
$(PROJECT).pot: $(SCRIPTLIST) Makefile
echo $(SCRIPTLIST) | xargs xgettext -a -o $@ --language Shell --from-code=utf-8 $^
echo $(SCRIPTLIST) | xargs xgettext --keyword=info --keyword=fatal --keyword=warning --keyword=debug --keyword=message --keyword=confirm_action --keyword=confirm_info -o $@ --language Shell --from-code=utf-8 $^
$(PROJECT).po: $(PROJECT).pot
$(MSGMERGE_UPDATE) $@ $<
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment