summaryrefslogtreecommitdiffstats
path: root/lib/locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/locale.sh')
-rw-r--r--lib/locale.sh8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/locale.sh b/lib/locale.sh
index bf79507..57843cd 100644
--- a/lib/locale.sh
+++ b/lib/locale.sh
@@ -26,14 +26,8 @@ _OH_DEFAULT_LOCALE='en_US'
_OH_TEXT_DOMAIN='opkhelper'
_OH_LOCALE_PATH='@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms'
-oh_set_text_domain()
+oh_load_locale()
{
- if [ ${#} -eq 1 ]; then
- _OH_TEXT_DOMAIN="${1}"
- else
- return 125
- fi
-
# Make sure LC_MESSAGES is set.
if [ -z "${LC_MESSAGES}" ]; then
if [ -n "${LC_ALL}" ]; then