- TEL) if [ $cnt -gt 0 ]; then
- printf '[h3 %s]' "$(l10n TEL)"
- seq 1 $cnt |while read c; do
- teltype="$(pdi_attrib "$card" TEL $c TYPE)"
- [ "$teltype" ] \
- && printf '[span .item .TEL [span .type ­%s:] %s]' \
- "$(l10n "$teltype" |HTML)" \
- "$(pdi_value "$card" TEL $c |unescape |HTML)" \
- || printf '[span .item .TEL ­%s]' \
- "$(pdi_value "$card" TEL $c |unescape |HTML)"
- done
- fi
+ TEL)
+ [ $cnt -gt 0 ] && printf '[h3 %s]' "$(l10n TEL)"
+ seq 1 $cnt |while read c; do
+ teltype="$(pdi_attrib "$card" TEL $c TYPE)"
+ [ "$teltype" ] \
+ && printf '[span .item .TEL [span .type ­%s:] %s]' \
+ "$(l10n "TYPE=$teltype" |HTML)" \
+ "$(pdi_value "$card" TEL $c |unescape |HTML)" \
+ || printf '[span .item .TEL ­%s]' \
+ "$(pdi_value "$card" TEL $c |unescape |HTML)"
+ done