basic update functions for vcards
[confetti] / templates / text_attendee.sh
1 declare -A item_name
2
3 item_name[PHOTO]="Foto"
4 item_name[LOGO]="Logo"
5 item_name[FN]="Voller Name"
6 item_name[NICKNAME]="Spitzname"
7 item_name[SOUND]="Aussprache"
8 item_name[GENDER]="Geschlecht"
9 item_name[KIND]="Typ"
10 item_name[TITLE]="Beruf"
11 item_name[ROLE]="Position"
12 item_name[ORG]="Organisation"
13 item_name[MEMBER]="Mitglied"
14 item_name[CATEGORIES]="Kategorien"
15 item_name[ANNIVERSARY]="Jubiläum"
16 item_name[BDAY]="Geburtstag"
17 item_name[EMAIL]="E-Mail"
18 item_name[TEL]="Telefon"
19 item_name[IMPP]="Chat"
20 item_name[ADR]="Anschrift"
21 item_name[URL]="Webseite"
22 item_name[LANG]="Sprache"
23 item_name[NOTE]="Notiz"
24
25 item_name[RELATED]="Kontakte"
26
27 item_name[BEGIN]=""
28 item_name[CALADRURI]=""
29 item_name[CALURI]=""
30 item_name[CLASS]=""
31 item_name[CLIENTPIDMAP]=""
32 item_name[END]=""
33 item_name[FBURL]=""
34 item_name[GEO]=""
35 item_name[MAILER]=""
36 item_name[NAME]=""
37 item_name[PRODID]=""
38 item_name[PROFILE]=""
39 item_name[REV]=""
40 item_name[SORT-STRING]=""
41 item_name[SOURCE]=""
42 item_name[TZ]=""
43 item_name[UID]=""
44 item_name[VERSION]=""
45 item_name[XML]=""
46
47 item_name[edit]="Bearbeiten"
48 item_name[edit_update]="Daten Übernehmen"
49 item_name[edit_cancel]="Abbrechen"
50 item_name[edit_addfieldtext]="Feld hinzufügen"
51 item_name[edit_addfield]="+"
52 item_name[edit_deletefield]="X"
53 item_name[filter_all]="Alles"
54 item_name[filter_name]="Name"
55 item_name[filter_street]="Straße"
56 item_name[filter_zip]="PLZ."
57 item_name[filter_phone]="Telefon"
58 item_name[filter_birthyear]="Geburtsjahr"
59 item_name[filter_course]="Kurs"
60 item_name[filter_apply]="Filtern"
61 item_name[filter_cancel]="Filter löschen"
62
63 l10n() {
64   [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1"
65 }