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