[devhelp] Mark the "Devhelp" strings as translatable, for transliteration only



commit 8ce25a51babd2289f69b7e8155f3b0a06652bc9c
Author: Frédéric Péters <fpeters 0d be>
Date:   Sat Aug 22 15:35:24 2009 +0200

    Mark the "Devhelp" strings as translatable, for transliteration only
    
    (GNOME bug 592157)

 data/devhelp.desktop.in.in |    2 +-
 src/dh-main.c              |    4 +++-
 src/dh-window.c            |   12 +++++++++---
 3 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/data/devhelp.desktop.in.in b/data/devhelp.desktop.in.in
index c155102..954b65f 100644
--- a/data/devhelp.desktop.in.in
+++ b/data/devhelp.desktop.in.in
@@ -1,5 +1,5 @@
 [Desktop Entry]
-Name=Devhelp
+_Name=Devhelp
 _Comment=Developer's Help program
 _GenericName=Documentation Browser
 Exec=devhelp
diff --git a/src/dh-main.c b/src/dh-main.c
index dd43b36..342d9bb 100644
--- a/src/dh-main.c
+++ b/src/dh-main.c
@@ -222,7 +222,9 @@ main (int argc, char **argv)
 		return 0;
 	}
 
-	g_set_application_name ("Devhelp");
+	/* i18n: Please don't translate "Devhelp" (it's marked as translatable
+	 * for transliteration only) */
+	g_set_application_name (_("Devhelp"));
 	gtk_window_set_default_icon_name ("devhelp");
 
 	display = gdk_get_display ();
diff --git a/src/dh-window.c b/src/dh-window.c
index 4763a97..8e3f868 100644
--- a/src/dh-window.c
+++ b/src/dh-window.c
@@ -363,8 +363,10 @@ window_activate_about (GtkAction *action,
         const gchar **documenters = NULL;
         const gchar  *translator_credits = _("translator_credits");
 
+        /* i18n: Please don't translate "Devhelp" (it's marked as translatable
+         * for transliteration only) */
         gtk_show_about_dialog (GTK_WINDOW (window),
-                               "name", "Devhelp",
+                               "name", _("Devhelp"),
                                "version", PACKAGE_VERSION,
                                "comments", _("A developer's help browser for GNOME"),
                                "authors", authors,
@@ -612,7 +614,9 @@ window_web_view_switch_page_cb (GtkNotebook     *notebook,
 
                 window_update_title (window, new_web_view, NULL);
         } else {
-                gtk_window_set_title (GTK_WINDOW (window), "Devhelp");
+                /* i18n: Please don't translate "Devhelp" (it's marked as translatable
+                 * for transliteration only) */
+                gtk_window_set_title (GTK_WINDOW (window), _("Devhelp"));
                 window_check_history (window, NULL);
         }
 }
@@ -1249,7 +1253,9 @@ window_update_title (DhWindow      *window,
         }
 
         if (!book_title) {
-                book_title = "Devhelp";
+                /* i18n: Please don't translate "Devhelp" (it's marked as translatable
+                 * for transliteration only) */
+                book_title = _("Devhelp");
         }
 
         if (web_view_title) {



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