aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorChangwoo Ryu <cwryu@debian.org>2008-01-11 00:17:45 +0800
committerChangwoo Ryu <cwryu@src.gnome.org>2008-01-11 00:17:45 +0800
commit5ade9084b31864d53695fafe77fbde6e960d2bc9 (patch)
tree656267b3942466688ce9d1a0099fb721a1ae02ac /shell
parentf12f5298015788a18abf19470b0460f5a3bad1f5 (diff)
downloadgsoc2013-evolution-5ade9084b31864d53695fafe77fbde6e960d2bc9.tar.gz
gsoc2013-evolution-5ade9084b31864d53695fafe77fbde6e960d2bc9.tar.zst
gsoc2013-evolution-5ade9084b31864d53695fafe77fbde6e960d2bc9.zip
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 svn path=/trunk/; revision=34792
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog8
-rw-r--r--shell/e-shell-view.c4
-rw-r--r--shell/e-shell-window.c4
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