X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftext_courses.sh;h=b86240aa2bd00c215d1030d4348c3289fcd7e745;hp=74b8805a2c38caeda4dbc682fd42d18904eb3480;hb=33a8e0e8967077bb2aa63b4bea706dc61d3e42d8;hpb=3643bc408e45653267afe7860490ebbd3fd71b99 diff --git a/templates/text_courses.sh b/templates/text_courses.sh index 74b8805..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,6 +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]="Teilnahme" +item_name[course_mail]="Mail an Teilnehmende" item_name[sort_order]="Sortierung" item_name[order_DOW]="Wochentag" @@ -37,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" -}