diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | shell/e-shell-view.c | 4 | ||||
-rw-r--r-- | shell/e-shell-window.c | 4 |
3 files changed, 14 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 51c67ce7c6..6c2999026a 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +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. + 2008-01-07 Matthew Barnes <mbarnes@redhat.com> * e-shell-window-commands.c: diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 9e4f66b0d0..adab0ed60f 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -44,7 +44,9 @@ static void 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); diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index fa5e1b4c53..7b1c2b2006 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -336,7 +336,9 @@ switch_view (EShellWindow *window, ComponentView *component_view) } 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 |