]> git.plutz.net Git - lobster/blob - therapies/l10n.sh
stub rewrite of therapy section
[lobster] / therapies / l10n.sh
1 # Copyright 2016, 2020 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 #. $_EXEC/templates/text_prescriptions.sh
19 l10n(){
20   local word
21   [ $# -eq 0 ] && read -r word || word="$1"
22   case $word in
23     prescriptionlist) printf "Zur Verordnungsliste";;
24     delete_session) printf "Therapiesitzung entfernen";;
25     therapist) printf "Therapeut";;
26     number) printf "Nr.";;
27     signature) printf "Un&shy;ter&shy;schrift";;
28     weekly) printf "p. Woche";;
29     notes) printf "Notizen";;
30     trailsave) printf "Speichern für weitere Felder";;
31     # *) . $_EXEC/templates/text_prescriptions.sh
32     #    l10n "$word"
33     # ;;
34   esac
35 }