evolution r34792 - in trunk: po shell



Author: cwryu
Date: Thu Jan 10 16:17:45 2008
New Revision: 34792
URL: http://svn.gnome.org/viewvc/evolution?rev=34792&view=rev

Log:
>From shell/ChangeLog

2008-01-11  Changwoo Ryu  <cwryu debian org>

	** Fix for bug #508282

	* e-shell-window.c (switch_view): 
	* e-shell-view.c (impl_ShellView_setTitle): Mark the window title
	for translation.

>From po/ChangeLog

2008-01-11  Changwoo Ryu  <cwryu debian org>

	** Part of fix for bug #508282

	* POTFILES.in: Add new file shell/e-shell-view.c



Modified:
   trunk/po/ChangeLog
   trunk/po/POTFILES.in
   trunk/shell/ChangeLog
   trunk/shell/e-shell-view.c
   trunk/shell/e-shell-window.c

Modified: trunk/po/POTFILES.in
==============================================================================
--- trunk/po/POTFILES.in	(original)
+++ trunk/po/POTFILES.in	Thu Jan 10 16:17:45 2008
@@ -413,6 +413,7 @@
 shell/e-shell-importer.c
 shell/e-shell-settings-dialog.c
 shell/e-shell-utils.c
+shell/e-shell-view.c
 shell/e-shell-window-commands.c
 shell/e-shell-window.c
 shell/e-shell.c

Modified: trunk/shell/e-shell-view.c
==============================================================================
--- trunk/shell/e-shell-view.c	(original)
+++ trunk/shell/e-shell-view.c	Thu Jan 10 16:17:45 2008
@@ -44,7 +44,9 @@
 impl_ShellView_setTitle(PortableServer_Servant _servant, const CORBA_char *id, const CORBA_char * title, CORBA_Environment * ev)
 {
 	EShellView *esw = (EShellView *)bonobo_object_from_servant(_servant);
-	char *tmp = g_strdup_printf("%s - Evolution", title);
+	/* To translators: This is the window title and %s is the
+	component name. Most translators will want to keep it as is. */
+	char *tmp = g_strdup_printf(_("%s - Evolution"), title);
 
 	e_shell_window_set_title(esw->window, id, tmp);
 	g_free(tmp);

Modified: trunk/shell/e-shell-window.c
==============================================================================
--- trunk/shell/e-shell-window.c	(original)
+++ trunk/shell/e-shell-window.c	Thu Jan 10 16:17:45 2008
@@ -336,7 +336,9 @@
 	}
 
 	if (component_view->title == NULL) {
-		title = g_strdup_printf ("%s - Evolution", info->button_label);
+		/* To translators: This is the window title and %s is the 
+		component name. Most translators will want to keep it as is. */
+		title = g_strdup_printf (_("%s - Evolution"), info->button_label);
 		gtk_window_set_title (GTK_WINDOW (window), title);
 		g_free (title);
 	} else



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