gnome-settings-daemon r818 - in trunk: . plugins/xrandr



Author: jensg
Date: Tue Apr 14 19:10:23 2009
New Revision: 818
URL: http://svn.gnome.org/viewvc/gnome-settings-daemon?rev=818&view=rev

Log:
2009-04-14  Jens Granseuer  <jensgr gmx net>

	* plugins/xrandr/gsd-xrandr-manager.c: (print_countdown_text): use
	ngettext for the reset dialog (bug #575409)


Modified:
   trunk/ChangeLog
   trunk/plugins/xrandr/gsd-xrandr-manager.c

Modified: trunk/plugins/xrandr/gsd-xrandr-manager.c
==============================================================================
--- trunk/plugins/xrandr/gsd-xrandr-manager.c	(original)
+++ trunk/plugins/xrandr/gsd-xrandr-manager.c	Tue Apr 14 19:10:23 2009
@@ -204,7 +204,9 @@
 print_countdown_text (TimeoutDialog *timeout)
 {
         gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (timeout->dialog),
-                                                  _("The display will be reset to its previous configuration in %d seconds"),
+                                                  ngettext ("The display will be reset to its previous configuration in %d second",
+                                                            "The display will be reset to its previous configuration in %d seconds",
+                                                            timeout->countdown),
                                                   timeout->countdown);
 }
 



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