mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +01:00
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:
parent
f0498fffd3
commit
0d1e8c4c0d
1
bashrc
1
bashrc
@ -249,6 +249,7 @@ alias supybot-config-reload="killall -HUP supybot "
|
|||||||
alias supybot-owner-quit="killall -INT supybot "
|
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-generate-messages.pot-xgettext="% xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po"
|
||||||
|
|
||||||
# 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
@ -193,6 +193,7 @@ alias supybot-config-reload="killall -HUP supybot "
|
|||||||
alias supybot-owner-quit="killall -INT supybot "
|
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-generate-messages.pot-xgettext="% xgettext --language=Python config.py plugin.py && cat messages.po > messages.pot && rm messages.po"
|
||||||
|
|
||||||
# ZSH specific.
|
# ZSH specific.
|
||||||
# I think that "theme" is more describing than "prompt".
|
# I think that "theme" is more describing than "prompt".
|
||||||
|
Loading…
Reference in New Issue
Block a user