summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common.sh b/lib/common.sh
index 9cc5cc3..62f8fc7 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -23,6 +23,7 @@ _OH_COMMON_SM='true'
oh_init()
{
ob_use locale
+ oh_use locale
oh_use output
# Since nothing other than opkhelper is supposed to use libopkhelper, we can
@@ -30,4 +31,6 @@ oh_init()
# library and assume that no one will play with them.
ob_set_locale_path '@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms'
ob_set_text_domain 'opkhelper'
+ oh_set_locale_path '@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms'
+ oh_set_text_domain 'opkhelper'
}