]> git.plutz.net Git - confetti/blob - cards/l10n.sh
48ee59ee4b706f2362c5586b26b06e5aefd7b18c
[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     phone_typeselect) printf %s "Typ";;
45     phone_home) printf %s "Privat";;
46     phone_cell) printf %s "Mobil";;
47     phone_work) printf %s "Büro";;
48     phone_fax) printf %s "Fax";;
49     tHOME) printf %s "Privat:";;
50     tWORK) printf %s "Büro:";;
51     tCELL) printf %s "Mobil:";;
52     tFAX) printf %s "Fax:";;
53     tVOICE) printf %s "";;
54     IMPP) printf %s "Chat";;
55     ADR) printf %s "Anschrift";;
56     URL) printf %s "Webseite";;
57     LANG) printf %s "Sprache";;
58     NOTE) printf %s "Notiz";;
59   
60     RELATED) printf %s "Kontakte";;
61   
62     BEGIN) printf %s "";;
63     CALADRURI) printf %s "";;
64     CALURI) printf %s "";;
65     CLASS) printf %s "";;
66     CLIENTPIDMAP) printf %s "";;
67     END) printf %s "";;
68     FBURL) printf %s "";;
69     GEO) printf %s "";;
70     MAILER) printf %s "";;
71     NAME) printf %s "";;
72     PRODID) printf %s "";;
73     PROFILE) printf %s "";;
74     REV) printf %s "";;
75     SORT-STRING) printf %s "";;
76     SOURCE) printf %s "";;
77     TZ) printf %s "";;
78     UID) printf %s "";;
79     VERSION) printf %s "";;
80     XML) printf %s "";;
81   
82     X-HEALTH-INSURANCE) printf %s "Kran&shy;ken&shy;ver&shy;sich&shy;er&shy;ung";;
83     hi_from_list) printf %s "Aus Liste";;
84     hi_other) printf %s "Andere";;
85     hi_company) printf %s "Ver&shy;sich&shy;er&shy;ungs&shy;ge&shy;sell&shy;schaft";;
86     hi_number) printf %s "Ver&shy;sich&shy;er&shy;ten&shy;num&shy;mer";;
87     hi_status) printf %s "Ver&shy;sich&shy;er&shy;ten&shy;sta&shy;tus";;
88     X-HEALTH-INSURANCE-NOCONTRIB) printf %s "Zu&shy;zahl&shy;ungs&shy;be&shy;frei&shy;ung";;
89     X-CLIENT-REFERRAL) printf %s "Empfehl&shy;ung durch";;
90     prescriptions) printf %s "Verordnungen";;
91     new_prescription) printf %s "Neue Verordnung";;
92     no_icd) printf %s "Kein ICD Code";;
93   
94     X-ZACK-JOINDATE)  printf %s "An&shy;mel&shy;de&shy;da&shy;tum";;
95     X-ZACK-LEAVEDATE) printf %s "Ab&shy;mel&shy;de&shy;da&shy;tum";;
96     X-ZACK-JOINDATE_short)  printf %s "Anm.";;
97     X-ZACK-LEAVEDATE_short) printf %s "Abm.";;
98   
99     edit) printf %s "Bearbeiten";;
100     edit_categories) printf %s "Kategorien Bearbeiten";;
101     vcf_export) printf %s "Vcard Exportieren";;
102     control) printf %s "Aktionen";;
103     edit_update) printf %s "Daten übernehmen";;
104     edit_cancel) printf %s "Abbrechen";;
105     edit_delete) printf %s "Eintrag löschen";;
106     edit_addfieldtext) printf %s "Neues Feld";;
107     edit_addfield) printf %s "+";;
108     edit_deletefield) printf %s "X";;
109     filter_label) printf %s "Filter";;
110     filter_placeholder) printf %s "Begriffe zur Eingrenzung eingeben";;
111     filter_type) printf %s "Filtertyp";;
112     filter_order) printf %s "Sortierung";;
113     filter_any) printf %s "Alles";;
114     filter_name) printf %s "Name";;
115     filter_firstname) printf %s "Vorname";;
116     filter_lastname) printf %s "Nachname";;
117     filter_street) printf %s "Straße";;
118     filter_zip) printf %s "PLZ.";;
119     filter_TEL) printf %s "Telefon";;
120     filter_BDAY) printf %s "Geburtsjahr";;
121     filter_bdate) printf %s "Geburtsdatum";;
122     filter_course) printf %s "Kurs";;
123     filter_CATEGORIES) printf %s "Kategorien";;
124     filter_apply) printf %s "Filtern";;
125     filter_cancel) printf %s "Filter löschen";;
126     newcard) printf %s "Neuen Eintrag anlegen";;
127     course_attendance) printf %s "Kursteilnahme";;
128   
129     gender_none) printf %s "keine Angabe";;
130     gender_female) printf %s "Weiblich";;
131     gender_male) printf %s "Männlich";;
132     gender_other) printf %s "Sonstiges";;
133   
134     female) printf %s "&#x2640;";;
135     male) printf %s "&#x2642;";;
136     other) printf %s "&#x26A5;";;
137     none) printf %s "&#x26AA;";;
138     *) printf %s "$1";;
139   esac
140 }
141