# 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="$*" 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";; "Mon Tue Wed Thu Fri Sat Sun") printf "Mo Di Mi Do Fr Sa So";; *) printf %s "$word";; esac }