diff options
author | P. J. McDermott <pjm@nac.net> | 2012-10-11 14:22:19 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-10-11 14:22:19 (EDT) |
commit | 8a323ae9d89df045ef1ac43467e819c888073d10 (patch) | |
tree | 825bf8ab560bb5a52a42fdf4d83e0e5c7ba40f1b | |
parent | be2ea0a9350187a36000fe24027dbb5d53674e7b (diff) |
Set the locale path format.
-rw-r--r-- | src/Makefile.in | 3 | ||||
-rw-r--r-- | src/oh-installfiles.sh | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 5a924cb..f04d69f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -24,12 +24,15 @@ srcdir = @srcdir@ prefix = @prefix@ bindir = @bindir@ libdir = @libdir@ +datadir = @datadir@ +localedir = @localedir@ libopkbuild_1 = @libopkbuild_1@ sh = @sh@ sed_script = s&@@PACKAGE_NAME@@&$(package_name)&;\ s&@@PACKAGE_VERSION@@&$(package_version)&;\ + s&@@LOCALEDIR@@&$(localedir)&;\ s&@@LIBOPKBUILD_1@@&$(libopkbuild_1)&;\ s&@@SH@@&$(sh)&; diff --git a/src/oh-installfiles.sh b/src/oh-installfiles.sh index 4c8be7d..6c4bcf5 100644 --- a/src/oh-installfiles.sh +++ b/src/oh-installfiles.sh @@ -30,6 +30,7 @@ files_ifs=' main() { + ob_set_locale_path '@@LOCALEDIR@@/%s/LC_MESSAGES/%s.ms' ob_set_text_domain 'opkhelper' ob_init_package '..' |