summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-15 12:43:45 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-15 12:43:45 (EDT)
commite03687ca65e5bd211e2b2daf94a4cc4612a03028 (patch)
treec4656e60dccb7f0855cb638e86a0020f7d03f4e7 /lib
parent1b6bd8504a43316960623ba503001e1647d459ed (diff)
ob_set_text_domain(): _ob_load_internal_text_domain() sets LC_MESSAGES
Diffstat (limited to 'lib')
-rw-r--r--lib/locale.sh11
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