Author: hadess
Date: Sun Feb 10 16:23:20 2008
New Revision: 5096
URL: http://svn.gnome.org/viewvc/totem?rev=5096&view=rev

Log:
2008-02-10  Bastien Nocera  <[EMAIL PROTECTED]>

        * src/totem-menu.c: (update_dvb_menu_items):
        Better menu item label for the DVB items, don't translate
        strings we don't need to (Closes: #515593)



Modified:
   trunk/ChangeLog
   trunk/src/totem-menu.c

Modified: trunk/src/totem-menu.c
==============================================================================
--- trunk/src/totem-menu.c      (original)
+++ trunk/src/totem-menu.c      Sun Feb 10 16:23:20 2008
@@ -910,12 +910,18 @@
                devicenode = g_strdup_printf("/dev/dvb/adapter%d/frontend0", i);
 
                if (g_file_test (devicenode, G_FILE_TEST_EXISTS) != FALSE) {
-                       char* label;
-                       char *name;
+                       char* label, *name, adapter_name;
                        GtkAction* action;
 
-                       label = g_strdup_printf (_("Play DVB Adapter %d"), i);
-                       name = g_strdup_printf (_("dvbdevice%d"), i);
+                       /* translators: the index of the adapter
+                        * DVB Adapter 1 */
+                       adapter_name = g_strdup_printf (_("DVB Adapter %d"));
+                       /* translators:
+                        * Watch TV on 'DVB Adapter 1'
+                        * or
+                        * Watch TV on 'Hauppauge Nova-T Stick' */
+                       label = g_strdup_printf (_("Watch TV on \'%s\'"), 
adapter_name);
+                       name = g_strdup_printf ("dvbdevice%d", i);
                        action = gtk_action_new (name, label, NULL, NULL);
 
                        g_object_set (G_OBJECT(action), "icon-name", 
"camera-video", "sensitive", TRUE, NULL);
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to