[gtranslator] Display document name before the app name in the window title. Fixes bug #565811.



commit 368f18f54491da183e4f59b9ea17596fc3738684
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Feb 17 19:02:56 2010 +0100

    Display document name before the app name in the window title. Fixes bug #565811.

 src/gtr-window.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-window.c b/src/gtr-window.c
index d754b58..860cef1 100644
--- a/src/gtr-window.c
+++ b/src/gtr-window.c
@@ -947,9 +947,11 @@ set_window_title (GtrWindow * window, gboolean with_path)
       path = g_file_get_path (file);
 
       if (state == GTR_PO_STATE_MODIFIED)
-        title = g_strdup_printf (_("gtranslator - *%s"), path);
+        /* Translators: this is the title of the window with a modified document */
+        title = g_strdup_printf (_("*%s - gtranslator"), path);
       else
-        title = g_strdup_printf (_("gtranslator - %s"), path);
+        /* Translators: this is the title of the window with a document opened */
+        title = g_strdup_printf (_("%s - gtranslator"), path);
 
       g_free (path);
       g_object_unref (file);



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