summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-25 12:09:55 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-25 12:09:55 (EST)
commit3ea92a28ae0bb11d5b1989a3c95ee6228dad0fb4 (patch)
tree3cae489d62f5bffd9306405e77213b4955ee243f
parent9663978465d6b845c6f18624c7e4e5c291a3803f (diff)
oh_init(): Use new locale functions.
-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'
}