From e03687ca65e5bd211e2b2daf94a4cc4612a03028 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 15 Mar 2019 12:43:45 -0400 Subject: ob_set_text_domain(): _ob_load_internal_text_domain() sets LC_MESSAGES --- (limited to 'lib') 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 -- cgit v0.9.1