diff options
-rw-r--r-- | lib/locale.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/locale.sh b/lib/locale.sh index 0fb37ef..12f7685 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -73,17 +73,6 @@ ob_set_text_domain() esac _ob_text_domain="${text_domain}" - # Make sure LC_MESSAGES is set. - if [ -z "${LC_MESSAGES}" ]; then - if [ -n "${LC_ALL}" ]; then - LC_MESSAGES="${LC_ALL}" - elif [ -n "${LANG}" ]; then - LC_MESSAGES="${LANG}" - else - LC_MESSAGES="${_OB_DEFAULT_LOCALE}" - fi - fi - # Exit early if domain's messages have already been loaded. if eval "\${_ob_text_domain_${_ob_text_domain}_loaded}"; then return |