X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Ftext_courses.sh;h=b86240aa2bd00c215d1030d4348c3289fcd7e745;hp=d7c84d1966cc9c2fd6858f3944ca4f1d438646b5;hb=33a8e0e8967077bb2aa63b4bea706dc61d3e42d8;hpb=662cbe6f8ab06de6eeae079246567c3b07aef46f diff --git a/templates/text_courses.sh b/templates/text_courses.sh index d7c84d1..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" @@ -41,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" -}