+# Copyright 2014 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 <http://www.gnu.org/licenses/>.
+
declare -A item_name
item_name[PHOTO]="Foto"
item_name[VERSION]=""
item_name[XML]=""
+item_name[X-ZACK-JOINDATE]="Anmeldedatum"
+item_name[X-ZACK-LEAVEDATE]="Abmeldedatum"
+item_name[label_join]="Anm."
+item_name[label_leave]="Abm."
+
item_name[edit]="Bearbeiten"
item_name[vcf_export]="Vcard Exportieren"
item_name[control]="Aktionen"
item_name[edit_addfieldtext]="Neues Feld"
item_name[edit_addfield]="+"
item_name[edit_deletefield]="X"
+item_name[filter_label]="Filter"
+item_name[filter_placeholder]="Begriffe zur Eingrenzung eingeben"
+item_name[filter_type]="Filtertyp"
+item_name[filter_order]="Sortierung"
item_name[filter_all]="Alles"
item_name[filter_name]="Name"
+item_name[filter_firstname]="Vorname"
+item_name[filter_lastname]="Nachname"
item_name[filter_street]="Straße"
item_name[filter_zip]="PLZ."
item_name[filter_phone]="Telefon"
item_name[filter_birthyear]="Geburtsjahr"
+item_name[filter_bdate]="Geburtsdatum"
item_name[filter_course]="Kurs"
item_name[filter_apply]="Filtern"
item_name[filter_cancel]="Filter löschen"
item_name[newcard]="Neuen Eintrag anlegen"
+item_name[course_attendance]="Kursteilnahme"
+
+item_name[gender_none]="keine Angabe"
+item_name[gender_female]="Weiblich"
+item_name[gender_male]="Männlich"
+item_name[gender_other]="Sonstiges"
+
+item_name[female]="♀"
+item_name[male]="♂"
+item_name[other]="⚥"
+item_name[none]="⚪"
l10n() {
[ -n "$item_name[$1]" ] && echo -n "$item_name[$1]" || echo -n "$1"