bashrc & zshrc: add alias supybot-generate-messages.pot-mass to generate messages.pot file for all plugins at the same time

This commit is contained in:
Mika Suomalainen 2012-10-07 18:25:38 +03:00
parent fe9215f281
commit 530e9d5e30
2 changed files with 2 additions and 0 deletions

1
bashrc
View File

@ -258,6 +258,7 @@ alias supybot-owner-quit="killall -INT supybot "
alias supybot-generate-messages.pot="pygettext --docstrings config.py plugin.py"
alias supybot-generate-messages.pot-xgettext="xgettext --language=Python config.py plugin.py && mv -f messages.po messages.pot"
alias supybot-check-plugin-trans="sandbox/check_trans.py plugins/"
alias supybot-generate-messages.pot-mass="find . -type d -exec sh -c '(cd {} && pygettext --docstrings config.py plugin.py)' ';'"
# bash specific.
# I think that "theme" is more describing than "prompt".

1
zshrc
View File

@ -201,6 +201,7 @@ alias supybot-owner-quit="killall -INT supybot "
# Translating plugins in Limnoria
alias supybot-generate-messages.pot="pygettext --docstrings config.py plugin.py"
alias supybot-check-plugin-trans="sandbox/check_trans.py plugins/"
alias supybot-generate-messages.pot-mass="find . -type d -exec sh -c '(cd {} && pygettext --docstrings config.py plugin.py)' ';'"
# ZSH specific.
# I think that "theme" is more describing than "prompt".