diff src/evdev-plug/ed_ui.c @ 2764:d45b4beadf6c

Made "bluetooth" and "streambrowser" plugins translatable.
author Stany HENRY <StrassBoy@gmail.com>
date Thu, 03 Jul 2008 09:07:03 +0200
parents 145966acb0c4
children 3134a0987162
line wrap: on
line diff
--- a/src/evdev-plug/ed_ui.c	Thu Jul 03 02:02:19 2008 +0300
+++ b/src/evdev-plug/ed_ui.c	Thu Jul 03 09:07:03 2008 +0200
@@ -209,18 +209,18 @@
   switch (is_available)
   {
     case DEVLIST_ISAVAILABLE_DET:
-      g_object_set( renderer , "text" , "Detected" ,
+      g_object_set( renderer , "text" , _("Detected") ,
         "foreground" , "Green" , "foreground-set" , TRUE ,
         "background" , "Black" , "background-set" , TRUE , NULL );
       break;
     case DEVLIST_ISAVAILABLE_CUSTOM:
-      g_object_set( renderer , "text" , "Custom" ,
+      g_object_set( renderer , "text" , _("Custom") ,
         "foreground" , "Yellow" , "foreground-set" , TRUE ,
         "background" , "Black" , "background-set" , TRUE , NULL );
       break;
     case DEVLIST_ISAVAILABLE_NOTDET:
     default:
-      g_object_set( renderer , "text" , "Not Detected" ,
+      g_object_set( renderer , "text" , _("Not Detected") ,
         "foreground" , "Orange" , "foreground-set" , TRUE ,
         "background" , "Black" , "background-set" , TRUE , NULL );
       break;
@@ -401,7 +401,7 @@
           DEVLIST_COL_ISACTIVE , FALSE ,
           DEVLIST_COL_NAME , name ,
           DEVLIST_COL_FILENAME , file ,
-          DEVLIST_COL_PHYS , "(custom)" ,
+          DEVLIST_COL_PHYS , _("(custom)") ,
           DEVLIST_COL_ISAVAILABLE , DEVLIST_ISAVAILABLE_CUSTOM ,
           DEVLIST_COL_BINDINGS , NULL , -1 );
         task_done = TRUE;