X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Fl10n.sh;h=044a6a1eec654dc8f66bc454813b902ac28449c7;hp=c9161733bbf8b14385605141eed975e005bf7497;hb=56ff6e8a97ae261fca8e293a6c82fad7a69c89b6;hpb=d5fb0b81bce3f19153b9c74f4bc17fe7a3043a7c diff --git a/cards/l10n.sh b/cards/l10n.sh index c916173..044a6a1 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";; @@ -39,16 +41,11 @@ l10n(){ BDAY) printf %s "Geburtstag";; EMAIL) printf %s "E-Mail";; TEL) printf %s "Telefon";; - phone_typeselect) printf %s "Typ";; - phone_home) printf %s "Privat";; - phone_cell) printf %s "Mobil";; - phone_work) printf %s "Büro";; - phone_fax) printf %s "Fax";; - tHOME) printf %s "Privat:";; - tWORK) printf %s "Büro:";; - tCELL) printf %s "Mobil:";; - tFAX) printf %s "Fax:";; - tVOICE) printf %s "";; + teltype) printf %s "Anschlusstyp:";; + TYPE=HOME) printf %s "Privat";; + TYPE=WORK) printf %s "Geschäftlich";; + TYPE=CELL) printf %s "Mobil";; + TYPE=FAX) printf %s "Fax";; IMPP) printf %s "Chat";; ADR) printf %s "Anschrift";; URL) printf %s "Webseite";; @@ -89,10 +86,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";; @@ -133,6 +130,8 @@ l10n(){ male) printf %s "♂";; other) printf %s "⚥";; none) printf %s "⚪";; + + *) printf %s "$1";; esac }