# along with Confetti. If not, see <http://www.gnu.org/licenses/>.
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";;
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";;
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";;
male) printf %s "♂";;
other) printf %s "⚥";;
none) printf %s "⚪";;
+
+
*) printf %s "$1";;
esac
}