gnome-control-center r9336 - trunk/capplets/display



Author: kelemeng
Date: Wed Mar 11 09:48:27 2009
New Revision: 9336
URL: http://svn.gnome.org/viewvc/gnome-control-center?rev=9336&view=rev

Log:
2009-03-11  Gabor Kelemen  <kelemeng gnome hu>

	* xrandr-capplet.c: Make the strings of the Rotation dialog appear
	translated. Bug #574693.

Modified:
   trunk/capplets/display/ChangeLog
   trunk/capplets/display/xrandr-capplet.c

Modified: trunk/capplets/display/xrandr-capplet.c
==============================================================================
--- trunk/capplets/display/xrandr-capplet.c	(original)
+++ trunk/capplets/display/xrandr-capplet.c	Wed Mar 11 09:48:27 2009
@@ -353,17 +353,17 @@
 	/* NULL-GError --- FIXME: we should say why this rotation is not available! */
 	if (gnome_rr_config_applicable (app->current_configuration, app->screen, NULL))
 	{
- 	    add_key (app->rotation_combo, info->name, 0, 0, 0, info->rotation);
+ 	    add_key (app->rotation_combo, _(info->name), 0, 0, 0, info->rotation);
 
 	    if (info->rotation == current)
-		selection = info->name;
+		selection = _(info->name);
 	}
     }
 
     app->current_output->rotation = current;
 
     if (!(selection && combo_select (app->rotation_combo, selection)))
-	combo_select (app->rotation_combo, N_("Normal"));
+	combo_select (app->rotation_combo, _("Normal"));
 }
 
 static void



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