]> git.plutz.net Git - confetti/blob - cards/l10n.sh
refactoring card display
[confetti] / cards / l10n.sh
1 # Copyright 2014, 2016, 2019 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 l10n(){
19   case $1 in
20     PHOTO) printf %s "Foto";;
21     LOGO) printf %s "Logo";;
22     FN) printf %s "Voller Name";;
23     N) printf %s "Name";;
24     n_pre) printf %s "Titel";;
25     n_first) printf %s "Vorname";;
26     n_middle) printf %s "Mittelnamen";;
27     n_last) printf %s "Nachname";;
28     n_post) printf %s "Zusätze";;
29     NICKNAME) printf %s "Spitzname";;
30     SOUND) printf %s "Aussprache";;
31     GENDER) printf %s "Geschlecht";;
32     KIND) printf %s "Typ";;
33     TITLE) printf %s "Beruf";;
34     ROLE) printf %s "Position";;
35     ORG) printf %s "Organisation";;
36     MEMBER) printf %s "Mitglied";;
37     CATEGORIES) printf %s "Kategorien";;
38     ANNIVERSARY) printf %s "Jubiläum";;
39     BDAY) printf %s "Geburtstag";;
40     EMAIL) printf %s "E-Mail";;
41     TEL) printf %s "Telefon";;
42     phone_typeselect) printf %s "Typ";;
43     phone_home) printf %s "Privat";;
44     phone_cell) printf %s "Mobil";;
45     phone_work) printf %s "Büro";;
46     phone_fax) printf %s "Fax";;
47     tHOME) printf %s "Privat:";;
48     tWORK) printf %s "Büro:";;
49     tCELL) printf %s "Mobil:";;
50     tFAX) printf %s "Fax:";;
51     tVOICE) printf %s "";;
52     IMPP) printf %s "Chat";;
53     ADR) printf %s "Anschrift";;
54     URL) printf %s "Webseite";;
55     LANG) printf %s "Sprache";;
56     NOTE) printf %s "Notiz";;
57   
58     RELATED) printf %s "Kontakte";;
59   
60     BEGIN) printf %s "";;
61     CALADRURI) printf %s "";;
62     CALURI) printf %s "";;
63     CLASS) printf %s "";;
64     CLIENTPIDMAP) printf %s "";;
65     END) printf %s "";;
66     FBURL) printf %s "";;
67     GEO) printf %s "";;
68     MAILER) printf %s "";;
69     NAME) printf %s "";;
70     PRODID) printf %s "";;
71     PROFILE) printf %s "";;
72     REV) printf %s "";;
73     SORT-STRING) printf %s "";;
74     SOURCE) printf %s "";;
75     TZ) printf %s "";;
76     UID) printf %s "";;
77     VERSION) printf %s "";;
78     XML) printf %s "";;
79   
80     X-HEALTH-INSURANCE) printf %s "Kran&shy;ken&shy;ver&shy;sich&shy;er&shy;ung";;
81     hi_from_list) printf %s "Aus Liste";;
82     hi_other) printf %s "Andere";;
83     hi_company) printf %s "Ver&shy;sich&shy;er&shy;ungs&shy;ge&shy;sell&shy;schaft";;
84     hi_number) printf %s "Ver&shy;sich&shy;er&shy;ten&shy;num&shy;mer";;
85     hi_status) printf %s "Ver&shy;sich&shy;er&shy;ten&shy;sta&shy;tus";;
86     X-HEALTH-INSURANCE-NOCONTRIB) printf %s "Zu&shy;zahl&shy;ungs&shy;be&shy;frei&shy;ung";;
87     X-CLIENT-REFERRAL) printf %s "Empfehl&shy;ung durch";;
88     prescriptions) printf %s "Verordnungen";;
89     new_prescription) printf %s "Neue Verordnung";;
90     no_icd) printf %s "Kein ICD Code";;
91   
92     X-ZACK-JOINDATE) printf %s "An&shy;mel&shy;de&shy;da&shy;tum";;
93     X-ZACK-LEAVEDATE) printf %s "Ab&shy;mel&shy;de&shy;da&shy;tum";;
94     label_join) printf %s "Anm.";;
95     label_leave) printf %s "Abm.";;
96   
97     edit) printf %s "Bearbeiten";;
98     edit_categories) printf %s "Kategorien Bearbeiten";;
99     vcf_export) printf %s "Vcard Exportieren";;
100     control) printf %s "Aktionen";;
101     edit_update) printf %s "Daten übernehmen";;
102     edit_cancel) printf %s "Abbrechen";;
103     edit_delete) printf %s "Eintrag löschen";;
104     edit_addfieldtext) printf %s "Neues Feld";;
105     edit_addfield) printf %s "+";;
106     edit_deletefield) printf %s "X";;
107     filter_label) printf %s "Filter";;
108     filter_placeholder) printf %s "Begriffe zur Eingrenzung eingeben";;
109     filter_type) printf %s "Filtertyp";;
110     filter_order) printf %s "Sortierung";;
111     filter_any) printf %s "Alles";;
112     filter_name) printf %s "Name";;
113     filter_firstname) printf %s "Vorname";;
114     filter_lastname) printf %s "Nachname";;
115     filter_street) printf %s "Straße";;
116     filter_zip) printf %s "PLZ.";;
117     filter_TEL) printf %s "Telefon";;
118     filter_BDAY) printf %s "Geburtsjahr";;
119     filter_bdate) printf %s "Geburtsdatum";;
120     filter_course) printf %s "Kurs";;
121     filter_CATEGORIES) printf %s "Kategorien";;
122     filter_apply) printf %s "Filtern";;
123     filter_cancel) printf %s "Filter löschen";;
124     newcard) printf %s "Neuen Eintrag anlegen";;
125     course_attendance) printf %s "Kursteilnahme";;
126   
127     gender_none) printf %s "keine Angabe";;
128     gender_female) printf %s "Weiblich";;
129     gender_male) printf %s "Männlich";;
130     gender_other) printf %s "Sonstiges";;
131   
132     female) printf %s "&#x2640;";;
133     male) printf %s "&#x2642;";;
134     other) printf %s "&#x26A5;";;
135     none) printf %s "&#x26AA;";;
136     *) printf %s "$1";;
137   esac
138 }
139