]> git.plutz.net Git - confetti/blobdiff - templates/text_attendee.sh
separeted text view and edit section
[confetti] / templates / text_attendee.sh
diff --git a/templates/text_attendee.sh b/templates/text_attendee.sh
new file mode 100755 (executable)
index 0000000..6ce0466
--- /dev/null
@@ -0,0 +1,59 @@
+declare -A item_name
+
+item_name[PHOTO]="Foto"
+item_name[LOGO]="Logo"
+item_name[FN]="Voller Name"
+item_name[SOUND]="Aussprache"
+item_name[GENDER]="Geschlecht"
+item_name[KIND]="Typ"
+item_name[TITLE]="Beruf"
+item_name[ROLE]="Position"
+item_name[ORG]="Organisation"
+item_name[MEMBER]="Mitglied"
+item_name[CATEGORIES]="Kategorien"
+item_name[ANNIVERSARY]="Jubiläum"
+item_name[BDAY]="Geburtstag"
+item_name[EMAIL]="E-Mail"
+item_name[TEL]="Telefon"
+item_name[IMPP]="Chat"
+item_name[ADR]="Anschrift"
+item_name[URL]="Webseite"
+item_name[LANG]="Sprache"
+item_name[NOTE]="Notiz"
+
+item_name[RELATED]="Kontakte"
+
+item_name[BEGIN]=""
+item_name[CALADRURI]=""
+item_name[CALURI]=""
+item_name[CLASS]=""
+item_name[CLIENTPIDMAP]=""
+item_name[END]=""
+item_name[FBURL]=""
+item_name[GEO]=""
+item_name[MAILER]=""
+item_name[NAME]=""
+item_name[PRODID]=""
+item_name[PROFILE]=""
+item_name[REV]=""
+item_name[SORT-STRING]=""
+item_name[SOURCE]=""
+item_name[TZ]=""
+item_name[UID]=""
+item_name[VERSION]=""
+item_name[XML]=""
+
+item_name[edit]="Bearbeiten"
+item_name[filter_all]="Alles"
+item_name[filter_name]="Name"
+item_name[filter_street]="Straße"
+item_name[filter_zip]="PLZ."
+item_name[filter_phone]="Telefon"
+item_name[filter_birthyear]="Geburtsjahr"
+item_name[filter_course]="Kurs"
+item_name[filter_apply]="Filtern"
+item_name[filter_cancel]="Filter löschen"
+
+l10n() {
+  [ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1"
+}