ekiga r6836 - in trunk: . src/gui



Author: dsandras
Date: Sat Sep  6 12:14:39 2008
New Revision: 6836
URL: http://svn.gnome.org/viewvc/ekiga?rev=6836&view=rev

Log:
New device title window was not marked for translation.
Use a string already marked for translation instead.


Modified:
   trunk/ChangeLog
   trunk/src/gui/main.cpp

Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp	(original)
+++ trunk/src/gui/main.cpp	Sat Sep  6 12:14:39 2008
@@ -3812,16 +3812,20 @@
   vbox = GTK_DIALOG (add_device_popup)->vbox;
 
   std::string msg;
+  std::string title;
 
   switch (deviceType) {
     case AudioInput:
       msg = _("Detected new audio input device:");
+      title = _("Audio Devices");
       break;
     case AudioOutput:
       msg = _("Detected new audio output device:");
+      title = _("Audio Devices");
       break;
     case VideoInput:
       msg = _("Detected new video input device:");
+      title = _("Video Devices");
       break;
     default:
       break;
@@ -3846,7 +3850,7 @@
   gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
   gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
 
-  gtk_window_set_title (GTK_WINDOW (add_device_popup), "New device");
+  gtk_window_set_title (GTK_WINDOW (add_device_popup), title.c_str ());
   gtk_window_set_modal (GTK_WINDOW (add_device_popup), TRUE);
   gtk_window_set_keep_above (GTK_WINDOW (add_device_popup), TRUE);
   gtk_window_set_urgency_hint (GTK_WINDOW (main_window), TRUE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]