mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-16 13:30:57 +01:00
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:
parent
fe9215f281
commit
530e9d5e30
1
bashrc
1
bashrc
@ -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="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-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-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.
|
# bash specific.
|
||||||
# I think that "theme" is more describing than "prompt".
|
# I think that "theme" is more describing than "prompt".
|
||||||
|
1
zshrc
1
zshrc
@ -201,6 +201,7 @@ alias supybot-owner-quit="killall -INT supybot "
|
|||||||
# Translating plugins in Limnoria
|
# Translating plugins in Limnoria
|
||||||
alias supybot-generate-messages.pot="pygettext --docstrings config.py plugin.py"
|
alias supybot-generate-messages.pot="pygettext --docstrings config.py plugin.py"
|
||||||
alias supybot-check-plugin-trans="sandbox/check_trans.py plugins/"
|
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.
|
# ZSH specific.
|
||||||
# I think that "theme" is more describing than "prompt".
|
# I think that "theme" is more describing than "prompt".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user