tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 249c3cec1d6e2cb6894ec337a00165a7c8e4f0f4
parent 8c8ab3fc5ceb466aaa4d527ad134472b1d591759
Author: Jaromil <jaromil@dyne.org>
Date:   Sat, 15 Nov 2014 03:14:03 +0100

work also without gettext. versioning

Diffstat:
Mtomb | 13+++++++------
1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/tomb b/tomb @@ -14,10 +14,10 @@ # # Tomb is designed, written and maintained by Denis Roio <jaromil@dyne.org> # -# With contributions by Anathema, Boyska and Hellekin O. Wolf. +# With contributions by Anathema, Boyska, Hellekin O. Wolf and GDrooid # -# Testing and reviews are contributed by Dreamer, Shining, -# Mancausoft, Asbesto Molesto and Nignux. +# Testing and reviews are contributed by Dreamer, Shining, Mancausoft, +# Asbesto Molesto and Nignux. # # Tomb's artwork is contributed by Jordi aka Mon Mort. @@ -39,8 +39,8 @@ # {{{ Global variables -typeset VERSION="1.7" -typeset DATE="Oct/2014" +typeset VERSION="2.0" +typeset DATE="Nov/2014" typeset TOMBEXEC=$0 # Tomb is using some global variables set by the shell: @@ -611,7 +611,8 @@ option_value() { # Messaging function with pretty coloring function _msg() { - local msg="$(gettext -s "$2")" + local msg="$2" + hash gettext && msg="$(gettext -s "$2")" for i in $(seq 3 ${#}); do msg=${(S)msg//::$(($i - 2))*::/$*[$i]}