wok-6.x diff slim/stuff/slim-theme @ rev 17061
syslinux/c32box: x86_64 auto select (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 21 15:05:24 2014 +0200 (2014-08-21) |
parents | 05ce2fe60fcd |
children | 19477586b01f |
line diff
1.1 --- a/slim/stuff/slim-theme Sun Mar 23 14:57:40 2014 +0100 1.2 +++ b/slim/stuff/slim-theme Thu Aug 21 15:05:24 2014 +0200 1.3 @@ -1,6 +1,6 @@ 1.4 #!/bin/sh 1.5 # slim-theme: manage SLiM themes 1.6 -# Aleksej Bobylev <al.bobylev@gmail.com>, 2013 1.7 +# Aleksej Bobylev <al.bobylev@gmail.com>, 2013-2014 1.8 1.9 ME=$(basename $0) 1.10 VERSION=20130525 1.11 @@ -21,7 +21,7 @@ 1.12 (note, you can set comma separated list for random theme behavior) 1.13 -f NAME Forget about NAME theme and return to previous used theme 1.14 -V Display information about $ME version 1.15 - -t Translate current theme's strings according to global LANG value 1.16 + -t Translate current theme\'s strings according to global LANG value 1.17 (note, its done auto when -s processed) 1.18 -T LANG Same as above, but use specified language 1.19 1.20 @@ -52,7 +52,7 @@ 1.21 lang=$1 1.22 curr=$(get_current) 1.23 strings=/usr/share/slim/themes/$curr/strings 1.24 - [ ! -e $strings ] && exit 0 1.25 + [ ! -e $strings ] && strings=/usr/share/slim/strings 1.26 conf=/usr/share/slim/themes/$curr/slim.theme 1.27 for str in welcome_msg username_msg password_msg; do 1.28 # ll_CC.UTF-8@euro ; ll_CC.UTF-8 ; ll_CC ; ll ; en