X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftext_courses.sh;h=b86240aa2bd00c215d1030d4348c3289fcd7e745;hp=cc773f27f22e38768064e4de9ef98b70b95496d6;hb=aedb6776919b351df7df7c310c238c41317ddc44;hpb=d3e98b6ec6bc5057d9455123c69ffcd8d81ec470 diff --git a/templates/text_courses.sh b/templates/text_courses.sh index cc773f2..b86240a 100755 --- a/templates/text_courses.sh +++ b/templates/text_courses.sh @@ -1,3 +1,20 @@ +# Copyright 2014, 2016 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# 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[SUMMARY]="Bezeichnung" @@ -26,8 +43,10 @@ item_name[edit_addfield]="+" item_name[edit_dtscal]="✓" item_name[edit]="Bearbeiten" item_name[ics_export]="ICal exportieren" +item_name[courselist]="Kursliste (PDF)" -item_name[course_attendance]="Teilnehmende" +item_name[course_attendance]="Teilnahme" +item_name[course_mail]="Mail an Teilnehmende" item_name[sort_order]="Sortierung" item_name[order_DOW]="Wochentag" @@ -39,7 +58,3 @@ item_name[t_eternal]="ewig" item_name[t_times]="mal" item_name[t_until]="Bis" item_name[t_oclock]="Uhr" - -l10n() { - [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1" -}