ekiga r6628 - in trunk: . lib/engine/gui/gtk-frontend



Author: dsandras
Date: Sun Aug 17 17:50:34 2008
New Revision: 6628
URL: http://svn.gnome.org/viewvc/ekiga?rev=6628&view=rev

Log:
Marked strings for translation. Are there other places?


Modified:
   trunk/ChangeLog
   trunk/lib/engine/gui/gtk-frontend/chat-area.cpp
   trunk/lib/engine/gui/gtk-frontend/chat-window.cpp

Modified: trunk/lib/engine/gui/gtk-frontend/chat-area.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-frontend/chat-area.cpp	(original)
+++ trunk/lib/engine/gui/gtk-frontend/chat-area.cpp	Sun Aug 17 17:50:34 2008
@@ -36,6 +36,8 @@
  *
  */
 
+#include "config.h"
+
 #include "chat-area.h"
 #include "gm-text-buffer-enhancer.h"
 #include "gm-text-anchored-tag.h"
@@ -214,7 +216,7 @@
   GtkTextBuffer* buffer = NULL;
   GtkTextIter iter;
 
-  str = g_strdup_printf ("<i>%s says:</i> %s\n", from, txt);
+  str = g_strdup_printf ("<i>%s %s</i> %s\n", from, _("says:"), txt);
   buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (self->priv->text_view));
   gtk_text_buffer_get_end_iter (buffer, &iter);
   gm_text_buffer_enhancer_insert_text (self->priv->enhancer, &iter,

Modified: trunk/lib/engine/gui/gtk-frontend/chat-window.cpp
==============================================================================
--- trunk/lib/engine/gui/gtk-frontend/chat-window.cpp	(original)
+++ trunk/lib/engine/gui/gtk-frontend/chat-window.cpp	Sun Aug 17 17:50:34 2008
@@ -35,6 +35,8 @@
  *
  */
 
+#include "config.h"
+
 #include "chat-window.h"
 #include "simple-chat-page.h"
 #include "multiple-chat-page.h"
@@ -343,7 +345,7 @@
 		  G_GNUC_UNUSED gpointer g_class)
 {
   /* we can't do much here since we get the Chat as reference... */
-  gtk_window_set_title (GTK_WINDOW (instance), "Chat window");
+  gtk_window_set_title (GTK_WINDOW (instance), _("Chat Window"));
 }
 
 GType



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