summaryrefslogtreecommitdiff
path: root/src/gpm-upower.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpm-upower.c')
-rw-r--r--src/gpm-upower.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpm-upower.c b/src/gpm-upower.c
index 82d12e9..43f0568 100644
--- a/src/gpm-upower.c
+++ b/src/gpm-upower.c
@@ -206,7 +206,7 @@ gpm_upower_get_device_summary (UpDevice *device)
if (!is_present)
return NULL;
- kind_desc = gpm_device_kind_to_localised_text (kind, 1);
+ kind_desc = gpm_device_kind_to_localised_string (kind, 1);
/* don't display all the extra stuff for keyboards and mice */
if (kind == UP_DEVICE_KIND_MOUSE ||
@@ -352,7 +352,7 @@ gpm_upower_get_device_description (UpDevice *device)
NULL);
details = g_string_new ("");
- text = gpm_device_kind_to_localised_text (kind, 1);
+ text = gpm_device_kind_to_localised_string (kind, 1);
/* TRANSLATORS: the type of data, e.g. Laptop battery */
g_string_append_printf (details, "<b>%s</b> %s\n", _("Product:"), text);
@@ -466,10 +466,10 @@ gpm_upower_get_device_description (UpDevice *device)
}
/**
- * gpm_device_kind_to_localised_text:
+ * gpm_device_kind_to_localised_string:
**/
const gchar *
-gpm_device_kind_to_localised_text (UpDeviceKind kind, guint number)
+gpm_device_kind_to_localised_string (UpDeviceKind kind, guint number)
{
const gchar *text = NULL;
switch (kind) {