]> git.plutz.net Git - confetti/blobdiff - cards/l10n.sh
reintroduce attendence selection
[confetti] / cards / l10n.sh
index 044a6a1eec654dc8f66bc454813b902ac28449c7..ec52766d3e321272bdf654f11532d692579b7fae 100755 (executable)
@@ -17,7 +17,7 @@
 
 l10n(){
   local word
 
 l10n(){
   local word
-  [ $# -eq 0 ] && read -r word || word="$1"
+  [ $# -eq 0 ] && read -r word || word="$*"
   case $word in
     PHOTO) printf %s "Foto";;
     LOGO) printf %s "Logo";;
   case $word in
     PHOTO) printf %s "Foto";;
     LOGO) printf %s "Logo";;
@@ -131,8 +131,7 @@ l10n(){
     other) printf %s "⚥";;
     none) printf %s "⚪";;
 
     other) printf %s "⚥";;
     none) printf %s "⚪";;
 
-
-    *) printf %s "$1";;
+    *) printf %s "$word";;
   esac
 }
 
   esac
 }