X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Fl10n.sh;h=ec52766d3e321272bdf654f11532d692579b7fae;hp=48ee59ee4b706f2362c5586b26b06e5aefd7b18c;hb=9a13e82c7e9d0f29ab18df4407c04d0eafdb0aa6;hpb=6655ac8dd9a786d394d628fed0fbc6e6008078c1 diff --git a/cards/l10n.sh b/cards/l10n.sh index 48ee59e..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";; @@ -41,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";; @@ -135,7 +130,8 @@ l10n(){ male) printf %s "♂";; other) printf %s "⚥";; none) printf %s "⚪";; - *) printf %s "$1";; + + *) printf %s "$word";; esac }