slitaz-tools diff tinyutils/terminal @ rev 902

bin/editor fix:infinite-loop($EDITOR=nano/mcedit case),param-handling (copyq).
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Sep 26 02:58:59 2014 +0000 (2014-09-26)
parents 72c2ef5c57e7
children eb791cfb71c0
line diff
     1.1 --- a/tinyutils/terminal	Thu Jul 18 19:35:25 2013 +0100
     1.2 +++ b/tinyutils/terminal	Fri Sep 26 02:58:59 2014 +0000
     1.3 @@ -3,23 +3,22 @@
     1.4  #
     1.5  . /etc/slitaz/applications.conf
     1.6  . /lib/libtaz.sh
     1.7 -
     1.8 -export TEXTDOMAIN='slitaz-tools'
     1.9 +export TEXTDOMAIN='slitaz-tools' #i18n
    1.10  
    1.11  help() {
    1.12  	cat << EOT
    1.13 -$(boldify terminal): $(gettext 'configurable SliTaz wrapper for terminal.')
    1.14 +$(boldify terminal): $(_n 'configurable SliTaz wrapper for terminal.')
    1.15  
    1.16 -$(boldify $(gettext 'Recognized options:'))
    1.17 --v -version  --version        $(gettext 'Print the version number')
    1.18 -   -help     --help           $(gettext 'Print out this message')
    1.19 -   -geometry --geometry       $(eval_gettext 'Width and height of terminal window ($GEOMETRY)')
    1.20 --t -title -T --title          $(eval_gettext 'Title name for window ("$TITLE")')
    1.21 --h -hold                      $(gettext "Don't close terminal after command finished")
    1.22 --e           --xterm-execute  $(gettext 'Command to execute (must be last in line)')
    1.23 +$(boldify $(_n 'Recognized options:'))
    1.24 +-v -version  --version        $(_n 'Print the version number')
    1.25 +   -help     --help           $(_n 'Print out this message')
    1.26 +   -geometry --geometry       $(_n 'Width and height of terminal window ($GEOMETRY)')
    1.27 +-t -title -T --title          $(_n 'Title name for window ("$TITLE")')
    1.28 +-h -hold                      $(_n "Don't close terminal after command finished")
    1.29 +-e           --xterm-execute  $(_n 'Command to execute (must be last in line)')
    1.30  
    1.31  
    1.32 -$(boldify $(eval_gettext 'Help for $TERMINAL:'))
    1.33 +$(boldify $(_n 'Help for $TERMINAL:'))
    1.34  
    1.35  EOT
    1.36  	$TERMINAL $OPT_HELP