aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--po/ChangeLog6
-rw-r--r--po/POTFILES.in1
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-view.c4
-rw-r--r--shell/e-shell-window.c4
5 files changed, 21 insertions, 2 deletions
diff --git a/po/ChangeLog b/po/ChangeLog
index f927223e8e..be83ab9a1d 100644
--- a/po/ChangeLog
+++ b/po/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-11 Changwoo Ryu <cwryu@debian.org>
+
+ ** Part of fix for bug #508282
+
+ * POTFILES.in: Add new file shell/e-shell-view.c
+
2008-01-10 Milan Crha <mcrha@redhat.com>
* POTFILES.in: Added new file e-util/e-util-labels.c
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 643b3578d4..abf195dd26 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -413,6 +413,7 @@ shell/e-shell-folder-title-bar.c
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
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