aboutsummaryrefslogtreecommitdiff
path: root/hardinfo
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-07-14 01:48:48 -0500
committerLeandro Pereira <leandro@hardinfo.org>2017-07-19 07:20:33 -0700
commita8d118a91d1cef9cdcabda8d55240bb332a4569a (patch)
tree1a4a2665fc92b800c68eb2a79586d734f9173e1a /hardinfo
parent155b9396011834c7385ef17da18f82d9d67748b6 (diff)
Make locale dir match install path
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'hardinfo')
-rw-r--r--hardinfo/hardinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hardinfo/hardinfo.c b/hardinfo/hardinfo.c
index 3d7a9c6f..d01cb7c7 100644
--- a/hardinfo/hardinfo.c
+++ b/hardinfo/hardinfo.c
@@ -33,7 +33,7 @@ int main(int argc, char **argv)
{
GSList *modules;
- bindtextdomain("hardinfo", "/usr/share/locale");
+ bindtextdomain("hardinfo", LOCALEDIR);
textdomain("hardinfo");
DEBUG("HardInfo version " VERSION ". Debug version.");
@@ -111,13 +111,13 @@ int main(int argc, char **argv)
/* initialize vendor database */
vendor_init();
-
+
/* initialize moreinfo */
moreinfo_init();
if (params.run_benchmark) {
gchar *result;
-
+
result = module_call_method_param("benchmark::runBenchmark", params.run_benchmark);
if (!result) {
g_error(_("Unknown benchmark ``%s'' or libbenchmark.so not loaded"), params.run_benchmark);