From 0d1e8c4c0d0b9c7ce8502ae0e97c81f76460bf52 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Thu, 22 Dec 2011 19:04:11 +0200 Subject: [PATCH] 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. --- bashrc | 1 + zshrc | 1 + 2 files changed, 2 insertions(+) diff --git a/bashrc b/bashrc index 13832d37..3fb9adee 100644 --- a/bashrc +++ b/bashrc @@ -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". diff --git a/zshrc b/zshrc index 6a717027..19013096 100644 --- a/zshrc +++ b/zshrc @@ -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".