]> git.plutz.net Git - confetti/blob - cards/l10n.sh
Merge commit 'c0dcd45c3ecac33376e06b7ca470ae56f2ed5e19' into cgilite
[confetti] / cards / l10n.sh
1 # Copyright 2014, 2016, 2019, 2021 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="$*"
21   case $word in
22     newcard) printf %s "Neuen Eintrag anlegen";;
23
24     X-HEALTH-INSURANCE) printf %s "Kran&shy;ken&shy;ver&shy;sich&shy;er&shy;ung";;
25     hi_from_list) printf %s "Aus Liste";;
26     hi_other) printf %s "Andere";;
27     hi_company) printf %s "Ver&shy;sich&shy;er&shy;ungs&shy;ge&shy;sell&shy;schaft";;
28     hi_number) printf %s "Ver&shy;sich&shy;er&shy;ten&shy;num&shy;mer";;
29     hi_status) printf %s "Ver&shy;sich&shy;er&shy;ten&shy;sta&shy;tus";;
30     X-HEALTH-INSURANCE-NOCONTRIB) printf %s "Zu&shy;zahl&shy;ungs&shy;be&shy;frei&shy;ung";;
31     X-CLIENT-REFERRAL) printf %s "Empfehl&shy;ung durch";;
32     prescriptions) printf %s "Verord&shy;nungen";;
33     new_prescription) printf %s "Neue Verord&shy;nung";;
34     no_icd) printf %s "Kein ICD Code";;
35   
36     X-ZACK-JOINDATE)  printf %s "Anmelde&shy;datum";;
37     X-ZACK-LEAVEDATE) printf %s "Abmelde&shy;datum";;
38     X-ZACK-JOINDATE_short)  printf %s "Anm.";;
39     X-ZACK-LEAVEDATE_short) printf %s "Abm.";;
40
41     *) l10n_global "$word";;
42   esac
43 }
44
45 # BEGIN) printf %s "";;
46 # CALADRURI) printf %s "";;
47 # CALURI) printf %s "";;
48 # CLASS) printf %s "";;
49 # CLIENTPIDMAP) printf %s "";;
50 # END) printf %s "";;
51 # FBURL) printf %s "";;
52 # GEO) printf %s "";;
53 # MAILER) printf %s "";;
54 # NAME) printf %s "";;
55 # PRODID) printf %s "";;
56 # PROFILE) printf %s "";;
57 # REV) printf %s "";;
58 # SORT-STRING) printf %s "";;
59 # SOURCE) printf %s "";;
60 # TZ) printf %s "";;
61 # UID) printf %s "";;
62 # VERSION) printf %s "";;
63 # XML) printf %s "";;