use native radio and check buttons, do not break line between input and label
[confetti] / templates / text_attendees.sh
1 # Copyright 2014 Paul Hänsch
2 #
3 # This file is part of Confetti.
4
5 # Confetti is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9
10 # Confetti is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Affero General Public License for more details.
14
15 # You should have received a copy of the GNU Affero General Public License
16 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
17
18 declare -A item_name
19
20 item_name[PHOTO]="Foto"
21 item_name[LOGO]="Logo"
22 item_name[FN]="Voller Name"
23 item_name[N]="Name"
24 item_name[n_pre]="Titel"
25 item_name[n_first]="Vorname"
26 item_name[n_middle]="Mittelnamen"
27 item_name[n_last]="Nachname"
28 item_name[n_post]="Zusätze"
29 item_name[NICKNAME]="Spitzname"
30 item_name[SOUND]="Aussprache"
31 item_name[GENDER]="Geschlecht"
32 item_name[KIND]="Typ"
33 item_name[TITLE]="Beruf"
34 item_name[ROLE]="Position"
35 item_name[ORG]="Organisation"
36 item_name[MEMBER]="Mitglied"
37 item_name[CATEGORIES]="Kategorien"
38 item_name[ANNIVERSARY]="Jubiläum"
39 item_name[BDAY]="Geburtstag"
40 item_name[EMAIL]="E-Mail"
41 item_name[TEL]="Telefon"
42 item_name[IMPP]="Chat"
43 item_name[ADR]="Anschrift"
44 item_name[URL]="Webseite"
45 item_name[LANG]="Sprache"
46 item_name[NOTE]="Notiz"
47
48 item_name[RELATED]="Kontakte"
49
50 item_name[BEGIN]=""
51 item_name[CALADRURI]=""
52 item_name[CALURI]=""
53 item_name[CLASS]=""
54 item_name[CLIENTPIDMAP]=""
55 item_name[END]=""
56 item_name[FBURL]=""
57 item_name[GEO]=""
58 item_name[MAILER]=""
59 item_name[NAME]=""
60 item_name[PRODID]=""
61 item_name[PROFILE]=""
62 item_name[REV]=""
63 item_name[SORT-STRING]=""
64 item_name[SOURCE]=""
65 item_name[TZ]=""
66 item_name[UID]=""
67 item_name[VERSION]=""
68 item_name[XML]=""
69
70 item_name[X-ZACK-JOINDATE]="Anmeldedatum"
71 item_name[X-ZACK-LEAVEDATE]="Abmeldedatum"
72 item_name[label_join]="Anm."
73 item_name[label_leave]="Abm."
74
75 item_name[edit]="Bearbeiten"
76 item_name[vcf_export]="Vcard Exportieren"
77 item_name[control]="Aktionen"
78 item_name[edit_update]="Daten übernehmen"
79 item_name[edit_cancel]="Abbrechen"
80 item_name[edit_delete]="Eintrag löschen"
81 item_name[edit_addfieldtext]="Neues Feld"
82 item_name[edit_addfield]="+"
83 item_name[edit_deletefield]="X"
84 item_name[filter_label]="Filter"
85 item_name[filter_placeholder]="Begriffe zur Eingrenzung eingeben"
86 item_name[filter_type]="Filtertyp"
87 item_name[filter_order]="Sortierung"
88 item_name[filter_all]="Alles"
89 item_name[filter_name]="Name"
90 item_name[filter_firstname]="Vorname"
91 item_name[filter_lastname]="Nachname"
92 item_name[filter_street]="Straße"
93 item_name[filter_zip]="PLZ."
94 item_name[filter_phone]="Telefon"
95 item_name[filter_birthyear]="Geburtsjahr"
96 item_name[filter_bdate]="Geburtsdatum"
97 item_name[filter_course]="Kurs"
98 item_name[filter_apply]="Filtern"
99 item_name[filter_cancel]="Filter löschen"
100 item_name[newcard]="Neuen Eintrag anlegen"
101 item_name[course_attendance]="Kursteilnahme"
102
103 item_name[gender_none]="keine Angabe"
104 item_name[gender_female]="Weiblich"
105 item_name[gender_male]="Männlich"
106 item_name[gender_other]="Sonstiges"
107
108 item_name[female]="&#x2640;"
109 item_name[male]="&#x2642;"
110 item_name[other]="&#x26A5;"
111 item_name[none]="&#x26AA;"
112
113 l10n() {
114   [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1"
115 }