gnome-terminal r3403 - trunk/src



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

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

Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Mon Mar 30 17:16:34 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]