From 8de7ad41e4a15092f68a5eb540a2c0faec99eed5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 02 Aug 2012 13:20:48 -0400 Subject: Internationalize list item separator. --- diff --git a/lib/control.sh b/lib/control.sh index 821010b..5aabdeb 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -163,7 +163,8 @@ ${_value}'" # Missing required control fields. _control_parse_error "${_control}" 0 \ "${oh_str_control_missing_fields}" \ - "$(echo "${_req}" | sed 's/ / /g' | sed 's/ /,/g')" + "$(echo "${_req}" | sed 's/ / /g' | \ + sed "s/ /${oh_str_list_item_separator}/g")" fi } diff --git a/locale/en_US.sh b/locale/en_US.sh index 31e5c6d..756a777 100644 --- a/locale/en_US.sh +++ b/locale/en_US.sh @@ -17,6 +17,9 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# General strings +oh_str_list_item_separator=', ' + # lib/control oh_str_control_bad_nv='badly formatted control field' oh_str_control_unknown_field='unrecognized field "%s"' -- cgit v0.9.1