X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=courses%2Fl10n.sh;fp=courses%2Fl10n.sh;h=711916e1735c8464cba6ca68812681015281c435;hp=0000000000000000000000000000000000000000;hb=057ad3bc6e2d4c7bcc5d93047b0426e7e608d25a;hpb=de8d4cf5570142a647bfe81f13fa87a73802e4e8 diff --git a/courses/l10n.sh b/courses/l10n.sh new file mode 100755 index 0000000..711916e --- /dev/null +++ b/courses/l10n.sh @@ -0,0 +1,65 @@ +# Copyright 2014, 2016, 2019 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 . + +l10n(){ + local word + [ $# -eq 0 ] && read -r word || word="$1" + + case $word in + SUMMARY) printf "Bezeichnung";; + COMMENT) printf "Kommentar";; + DTSTART) printf "Beginn";; + DURATION) printf "Dauer";; + RRULE) printf "Regelmäßigkeit";; + + DAILY) printf "Tage";; + WEEKLY) printf "Wochen";; + MONTHLY) printf "Monate";; + YEARLY) printf "Jahre";; + + sDAILY) printf "Täglich";; + sWEEKLY) printf "Wöchentlich";; + sMONTHLY) printf "Monatlich";; + sYEARLY) printf "Jährlich";; + + newcourse) printf "Neuen Eintrag anlegen";; + time) printf "Uhrzeit";; + edit_update) printf "Daten übernehmen";; + edit_cancel) printf "Abbrechen";; + edit_delete) printf "Eintrag löschen";; + edit_addfieldtext) printf "Neues Feld";; + edit_addfield) printf "+";; + edit_dtscal) printf "✓";; + edit) printf "Bearbeiten";; + ics_export) printf "ICal exportieren";; + courselist) printf "Kursliste (PDF)";; + + course_attendance) printf "Teilnahme";; + course_mail) printf "Mail an Teilnehmende";; + + sort_order) printf "Sortierung";; + order_DOW) printf "Wochentag";; + order_TOD) printf "Uhrzeit";; + order_apply) printf "Sortieren";; + + t_every) printf "Alle";; + t_eternal) printf "ewig";; + t_times) printf "mal";; + t_until) printf "Bis";; + t_oclock) printf "Uhr";; + esac +}