X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Fl10n.sh;h=48ee59ee4b706f2362c5586b26b06e5aefd7b18c;hp=c9161733bbf8b14385605141eed975e005bf7497;hb=34b3497da9c494534e97f46ff8da4986700f6c92;hpb=d5fb0b81bce3f19153b9c74f4bc17fe7a3043a7c diff --git a/cards/l10n.sh b/cards/l10n.sh index c916173..48ee59e 100755 --- a/cards/l10n.sh +++ b/cards/l10n.sh @@ -16,7 +16,9 @@ # along with Confetti. If not, see . l10n(){ - case $1 in + local word + [ $# -eq 0 ] && read -r word || word="$1" + case $word in PHOTO) printf %s "Foto";; LOGO) printf %s "Logo";; FN) printf %s "Voller Name";; @@ -89,10 +91,10 @@ l10n(){ new_prescription) printf %s "Neue Verordnung";; no_icd) printf %s "Kein ICD Code";; - X-ZACK-JOINDATE) printf %s "An­mel­de­da­tum";; + X-ZACK-JOINDATE) printf %s "An­mel­de­da­tum";; X-ZACK-LEAVEDATE) printf %s "Ab­mel­de­da­tum";; - label_join) printf %s "Anm.";; - label_leave) printf %s "Abm.";; + X-ZACK-JOINDATE_short) printf %s "Anm.";; + X-ZACK-LEAVEDATE_short) printf %s "Abm.";; edit) printf %s "Bearbeiten";; edit_categories) printf %s "Kategorien Bearbeiten";;