bashrc & zshrc: Add xgettext version of supybot-generate-messages.pot.

It's supybot-generate-messages.pot-xgettext. I made separate alias, because
xgettext doesn't seem to work with Unix plugin.
This commit is contained in:
Mika Suomalainen 2011-12-22 19:04:11 +02:00
parent f0498fffd3
commit 0d1e8c4c0d
2 changed files with 2 additions and 0 deletions

1
bashrc
View File

@ -249,6 +249,7 @@ alias supybot-config-reload="killall -HUP supybot "
alias supybot-owner-quit="killall -INT supybot "
# Translating plugins in Limnoria
alias supybot-generate-messages.pot="pygettext docstrings config.py plugin.py"
alias supybot-generate-messages.pot-xgettext="% xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po"
# bash specific.
# I think that "theme" is more describing than "prompt".

1
zshrc
View File

@ -193,6 +193,7 @@ alias supybot-config-reload="killall -HUP supybot "
alias supybot-owner-quit="killall -INT supybot "
# Translating plugins in Limnoria
alias supybot-generate-messages.pot="pygettext docstrings config.py plugin.py"
alias supybot-generate-messages.pot-xgettext="% xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po"
# ZSH specific.
# I think that "theme" is more describing than "prompt".