X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Fl10n.sh;h=ec52766d3e321272bdf654f11532d692579b7fae;hp=044a6a1eec654dc8f66bc454813b902ac28449c7;hb=203fc5d63ba59a30688bac00c98d199cb08a8f30;hpb=5ab459e666f2526f671fe222cd1646a4e6798b27 diff --git a/cards/l10n.sh b/cards/l10n.sh index 044a6a1..ec52766 100755 --- a/cards/l10n.sh +++ b/cards/l10n.sh @@ -17,7 +17,7 @@ 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";; @@ -131,8 +131,7 @@ l10n(){ other) printf %s "⚥";; none) printf %s "⚪";; - - *) printf %s "$1";; + *) printf %s "$word";; esac }