From 8a323ae9d89df045ef1ac43467e819c888073d10 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 11 Oct 2012 14:22:19 -0400 Subject: Set the locale path format. --- (limited to 'src') 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 '..' -- cgit v0.9.1