aboutsummaryrefslogtreecommitdiff
path: root/modules/computer
diff options
context:
space:
mode:
authorTotalCaesar659 <x24cm5b8c54q6szxw@yandex.ru>2017-08-07 03:23:12 +0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2017-08-14 01:56:47 -0700
commit9fae0ddb2421bcd8fa896d7cb1849634d6e1005f (patch)
treedaf83a32c1964e7e3cb0ecb5b5bb9e465fbb85dc /modules/computer
parentb6817e0a109b25c00d7d2716b40c5d40d9b015a6 (diff)
Making module information translatable
Diffstat (limited to 'modules/computer')
-rw-r--r--modules/computer/modules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/computer/modules.c b/modules/computer/modules.c
index bbc05f42..1f57d338 100644
--- a/modules/computer/modules.c
+++ b/modules/computer/modules.c
@@ -124,7 +124,7 @@ scan_modules_do(void)
#define NONE_IF_NULL(var) (var) ? (var) : "N/A"
/* create the module information string */
- strmodule = g_strdup_printf("[Module Information]\n"
+ strmodule = g_strdup_printf(_("[Module Information]\n"
"Path=%s\n"
"Used Memory=%.2fKiB\n"
"[Description]\n"
@@ -133,7 +133,7 @@ scan_modules_do(void)
"Version Magic=%s\n"
"[Copyright]\n"
"Author=%s\n"
- "License=%s\n",
+ "License=%s\n"),
NONE_IF_NULL(filename),
memory / 1024.0,
modname,