aboutsummaryrefslogtreecommitdiff
path: root/modules/devices
diff options
context:
space:
mode:
authorTotalCaesar659 <x24cm5b8c54q6szxw@yandex.ru>2017-08-07 04:36:21 +0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2017-08-14 01:56:47 -0700
commit3a9d23bce93f42fee5460d55c677ff5061da8f12 (patch)
treeac435a16c94522aba93fc0012d7c41b5abe4ae00 /modules/devices
parent0b25c95ca21e3ea6f397146f6489456a693df80d (diff)
Making input devices information translatable
Diffstat (limited to 'modules/devices')
-rw-r--r--modules/devices/inputdevices.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/devices/inputdevices.c b/modules/devices/inputdevices.c
index d3f8847f..9e104ca0 100644
--- a/modules/devices/inputdevices.c
+++ b/modules/devices/inputdevices.c
@@ -94,32 +94,32 @@ __scan_input_devices(void)
input_icons,
tmp, name,
input_devices[d].icon);
- gchar *strhash = g_strdup_printf("[Device Information]\n"
+ gchar *strhash = g_strdup_printf(_("[Device Information]\n"
"Name=%s\n"
"Type=%s\n"
- "Bus=0x%x\n",
+ "Bus=0x%x\n"),
name,
input_devices[d].name,
bus);
const gchar *url = vendor_get_url(name);
if (url) {
- strhash = h_strdup_cprintf("Vendor=%s (%s)\n",
+ strhash = h_strdup_cprintf(_("Vendor=%s (%s)\n"),
strhash,
vendor_get_name(name),
url);
} else {
- strhash = h_strdup_cprintf("Vendor=%x\n",
+ strhash = h_strdup_cprintf(_("Vendor=%x\n"),
strhash,
vendor);
}
- strhash = h_strdup_cprintf("Product=0x%x\n"
- "Version=0x%x\n",
+ strhash = h_strdup_cprintf(_("Product=0x%x\n"
+ "Version=0x%x\n"),
strhash, product, version);
if (phys && phys[1] != 0) {
- strhash = h_strdup_cprintf("Connected to=%s\n",
+ strhash = h_strdup_cprintf(_("Connected to=%s\n"),
strhash, phys);
}