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";;
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";;
male) printf %s "♂";;
other) printf %s "⚥";;
none) printf %s "⚪";;
- *) printf %s "$1";;
+
+ *) printf %s "$word";;
esac
}