summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
32b5bb9)
svn path=/trunk/; revision=18
printf %s\\n "${value}" \
| sed -rn "2q; /^(${regex})\$/{bd}; p;q; :d;a${default}"
}
printf %s\\n "${value}" \
| sed -rn "2q; /^(${regex})\$/{bd}; p;q; :d;a${default}"
}
+
+declare -A item_name
+l10n(){
+ [ -n "$item_name[$1]" ] && printf %s "$item_name[$1]" || printf %s "$1"
+}