separeted text view and edit section
[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[SOUND]="Aussprache"
7 item_name[GENDER]="Geschlecht"
8 item_name[KIND]="Typ"
9 item_name[TITLE]="Beruf"
10 item_name[ROLE]="Position"
11 item_name[ORG]="Organisation"
12 item_name[MEMBER]="Mitglied"
13 item_name[CATEGORIES]="Kategorien"
14 item_name[ANNIVERSARY]="Jubiläum"
15 item_name[BDAY]="Geburtstag"
16 item_name[EMAIL]="E-Mail"
17 item_name[TEL]="Telefon"
18 item_name[IMPP]="Chat"
19 item_name[ADR]="Anschrift"
20 item_name[URL]="Webseite"
21 item_name[LANG]="Sprache"
22 item_name[NOTE]="Notiz"
23
24 item_name[RELATED]="Kontakte"
25
26 item_name[BEGIN]=""
27 item_name[CALADRURI]=""
28 item_name[CALURI]=""
29 item_name[CLASS]=""
30 item_name[CLIENTPIDMAP]=""
31 item_name[END]=""
32 item_name[FBURL]=""
33 item_name[GEO]=""
34 item_name[MAILER]=""
35 item_name[NAME]=""
36 item_name[PRODID]=""
37 item_name[PROFILE]=""
38 item_name[REV]=""
39 item_name[SORT-STRING]=""
40 item_name[SOURCE]=""
41 item_name[TZ]=""
42 item_name[UID]=""
43 item_name[VERSION]=""
44 item_name[XML]=""
45
46 item_name[edit]="Bearbeiten"
47 item_name[filter_all]="Alles"
48 item_name[filter_name]="Name"
49 item_name[filter_street]="Straße"
50 item_name[filter_zip]="PLZ."
51 item_name[filter_phone]="Telefon"
52 item_name[filter_birthyear]="Geburtsjahr"
53 item_name[filter_course]="Kurs"
54 item_name[filter_apply]="Filtern"
55 item_name[filter_cancel]="Filter löschen"
56
57 l10n() {
58   [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1"
59 }