]> git.plutz.net Git - confetti/blob - templates/text_courses.sh
540cd760a473268727e1cfea7f673ad14ef54d77
[confetti] / templates / text_courses.sh
1 declare -A item_name
2
3 item_name[SUMMARY]="Bezeichnung"
4 item_name[COMMENT]="Kommentar"
5 item_name[DTSTART]="Beginn"
6 item_name[DURATION]="Dauer"
7 item_name[RRULE]="Regelmäßigkeit"
8
9 item_name[DAILY]="Tage"
10 item_name[WEEKLY]="Wochen"
11 item_name[MONTHLY]="Monate"
12 item_name[YEARLY]="Jahre"
13
14 item_name[sDAILY]="Täglich"
15 item_name[sWEEKLY]="Wöchentlich"
16 item_name[sMONTHLY]="Monatlich"
17 item_name[sYEARLY]="Jährlich"
18
19 item_name[newcourse]="Neuen Eintrag anlegen"
20 item_name[time]="Uhrzeit"
21 item_name[edit_update]="Daten übernehmen"
22 item_name[edit_cancel]="Abbrechen"
23 item_name[edit_delete]="Eintrag löschen"
24 item_name[edit_addfieldtext]="Neues Feld"
25 item_name[edit_addfield]="+"
26 item_name[edit_dtscal]="✓"
27 item_name[edit]="Bearbeiten"
28 item_name[ics_export]="ICal exportieren"
29
30 item_name[t_every]="Alle"
31 item_name[t_eternal]="ewig"
32 item_name[t_times]="mal"
33 item_name[t_until]="Bis"
34 item_name[t_oclock]="Uhr"
35
36 l10n() {
37   [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1"
38 }