gnome-terminal r3410 - branches/gnome-2-26/src



Author: chpe
Date: Mon Mar 30 17:18:56 2009
New Revision: 3410
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3410&view=rev

Log:
Add a translator comment explaining the format string. Bug #574207.

Modified:
   branches/gnome-2-26/src/terminal-window.c

Modified: branches/gnome-2-26/src/terminal-window.c
==============================================================================
--- branches/gnome-2-26/src/terminal-window.c	(original)
+++ branches/gnome-2-26/src/terminal-window.c	Mon Mar 30 17:18:56 2009
@@ -416,8 +416,16 @@
 
       free_me = display_name;
       if (num < 10)
+        /* Translators: This is the label of a menu item to choose a profile.
+         * _%d is used as the accelerator (with d between 1 and 9), and
+         * the %s is the name of the terminal profile.
+         */
         display_name = g_strdup_printf (_("_%d. %s"), num, display_name);
       else if (num < 36)
+        /* Translators: This is the label of a menu item to choose a profile.
+         * _%c is used as the accelerator (it will be a character between A and Z),
+         * and the %s is the name of the terminal profile.
+         */
         display_name = g_strdup_printf (_("_%c. %s"), ('A' + num - 10), display_name);
       else
         free_me = NULL;



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