svn path=/trunk/; revision=40
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"
}
echo '<div id="'${id}'" class="card">'
echo ' <div class="section basic">'
echo ' <span class="item FN">'$values[FN]'</span>'
-[ -n "$value[GENDER]" ] && \
+[ -n "$values[GENDER]" ] && \
echo ' <span class="item GENDER">'$(l10n $values[GENDER])'</span>'
for n in NICKNAME NICKNAME{0..10}; do [ -n "$values[$n]" ] &&\
echo ' <span class="item NICKNAME">aka. '$values[$n]'</span>'