From 530e9d5e30169a9c7cd64df79f37541e39201913 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sun, 7 Oct 2012 18:25:38 +0300 Subject: [PATCH] bashrc & zshrc: add alias supybot-generate-messages.pot-mass to generate messages.pot file for all plugins at the same time --- bashrc | 1 + zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/bashrc b/bashrc index cab11871..6d9d9afd 100755 --- a/bashrc +++ b/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-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". diff --git a/zshrc b/zshrc index 8a4c69e9..c770173d 100755 --- a/zshrc +++ b/zshrc @@ -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".