X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftext_frame.sh;h=36465eefb33bf157f31a053ccecf4df1cb27c664;hp=b76b58439baf3f9e35b012bcf0481f9cfd83720a;hb=406ba29b6abd1c12a56d754bf3c1f6aadb27aab6;hpb=badf769c566295e6ceaf9a9d80de664c227666a4 diff --git a/templates/text_frame.sh b/templates/text_frame.sh index b76b584..36465ee 100755 --- a/templates/text_frame.sh +++ b/templates/text_frame.sh @@ -1,4 +1,4 @@ -# Copyright 2014, 2015 Paul Hänsch +# Copyright 2014 - 2016 Paul Hänsch # # This file is part of Confetti. # @@ -15,13 +15,22 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . -declare -A item_name - -item_name[p_attendees]="Teilnehmende" item_name[p_courses]="Kurse" item_name[p_email]="Email" item_name[p_error]="Fehler" +item_name[p_categories]="Kategorien" +item_name[p_prescriptions]="Verschreibungen" +item_name[p_therapy]="Therapie" +item_name[nc_edit]="⚙" +#item_name[nc_edit]="☰" +item_name[bm_add]="+" +item_name[bm_del]="-" -l10n() { - [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1" -} +case $PROFILE in +medical) +item_name[p_cards]="Klienten" +;; +circus) +item_name[p_cards]="Teilnehmende" +;; +esac