aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-25 10:57:03 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-25 10:57:03 +0100
commitcbae3e05ba000358ad819566cfb46a847e424400 (patch)
tree2e2d5c076e11ceddd511bdb56792197cb0e76083 /src
parent430f5bce4eef7194f260496a31a18c24e16969b4 (diff)
downloadayatana-indicator-session-cbae3e05ba000358ad819566cfb46a847e424400.tar.gz
ayatana-indicator-session-cbae3e05ba000358ad819566cfb46a847e424400.tar.bz2
ayatana-indicator-session-cbae3e05ba000358ad819566cfb46a847e424400.zip
fixed the translations
Diffstat (limited to 'src')
-rw-r--r--src/udev-mgr.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/udev-mgr.c b/src/udev-mgr.c
index 179e56f..7e51383 100644
--- a/src/udev-mgr.c
+++ b/src/udev-mgr.c
@@ -19,9 +19,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <gudev/gudev.h>
-// TEMP
-#include <stdio.h>
-#include <string.h>
#include <glib/gi18n.h>
#include "udev-mgr.h"
@@ -250,11 +247,11 @@ udev_mgr_handle_webcam (UdevMgr* self,
if (manufacturer != NULL){
gchar* lowered = g_ascii_strdown (manufacturer, -1);
lowered[0] = g_ascii_toupper (lowered[0]);
- gchar* label = g_strdup_printf("%s Webcam", lowered);
+ gchar* label = g_strdup_printf(_("%s Webcam"), lowered);
g_free (lowered);
dbusmenu_menuitem_property_set (self->webcam_item,
DBUSMENU_MENUITEM_PROP_LABEL,
- _(label));
+ label);
}
g_hash_table_insert (self->webcams_present,
@@ -379,11 +376,11 @@ static void udev_mgr_handle_scsi_device (UdevMgr* self,
if (manufacturer != NULL){
gchar* lowered = g_ascii_strdown (manufacturer, -1);
lowered[0] = g_ascii_toupper (lowered[0]);
- gchar* label = g_strdup_printf("%s Scanner", lowered);
+ gchar* label = g_strdup_printf(_("%s Scanner"), lowered);
g_free (lowered);
dbusmenu_menuitem_property_set (self->scanner_item,
DBUSMENU_MENUITEM_PROP_LABEL,
- _(label));
+ label);
}
g_hash_table_insert (self->scanners_present,
g_strdup(vendor),
@@ -448,11 +445,11 @@ udev_mgr_check_if_usb_device_is_supported (UdevMgr* self,
gchar* lowered = g_ascii_strdown (manufacturer, -1);
lowered[0] = g_ascii_toupper (lowered[0]);
- gchar* label = g_strdup_printf("%s Scanner", lowered);
+ gchar* label = g_strdup_printf(_("%s Scanner"), lowered);
g_free (lowered);
dbusmenu_menuitem_property_set (self->scanner_item,
DBUSMENU_MENUITEM_PROP_LABEL,
- _(label));
+ label);
}
g_hash_table_insert (self->scanners_present,