gnome-games r8361 - in trunk: gnibbles gnobots2 gnomine gnotravex gnotski gtali mahjongg same-gnome



Author: rancell
Date: Tue Dec  9 13:22:11 2008
New Revision: 8361
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8361&view=rev

Log:
Use different message for getting the top score versus getting a score in the top ten (Bug #561423)

Modified:
   trunk/gnibbles/gnibbles.c
   trunk/gnobots2/game.c
   trunk/gnomine/gnomine.c
   trunk/gnotravex/gnotravex.c
   trunk/gnotski/gnotski.c
   trunk/gtali/gyahtzee.c
   trunk/mahjongg/mahjongg.c
   trunk/same-gnome/ui.c

Modified: trunk/gnibbles/gnibbles.c
==============================================================================
--- trunk/gnibbles/gnibbles.c	(original)
+++ trunk/gnibbles/gnibbles.c	Tue Dec  9 13:22:11 2008
@@ -624,6 +624,7 @@
     games_scores_dialog_set_hilight (GAMES_SCORES_DIALOG (scoresdialog), pos);
     message = g_strdup_printf ("<b>%s</b>\n\n%s",
 			       _("Congratulations!"),
+                               pos == 1 ? _("Your score is the best!") :
 			       _("Your score has made the top ten."));
     games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
 				     message);

Modified: trunk/gnobots2/game.c
==============================================================================
--- trunk/gnobots2/game.c	(original)
+++ trunk/gnobots2/game.c	Tue Dec  9 13:22:11 2008
@@ -180,6 +180,7 @@
 				       pos);
       message = g_strdup_printf ("<b>%s</b>\n\n%s",
 				 _("Congratulations!"),
+                                 pos == 1 ? _("Your score is the best!") :
 				 _("Your score has made the top ten."));
       games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
 				       message);

Modified: trunk/gnomine/gnomine.c
==============================================================================
--- trunk/gnomine/gnomine.c	(original)
+++ trunk/gnomine/gnomine.c	Tue Dec  9 13:22:11 2008
@@ -226,7 +226,8 @@
 				       pos);
       message = g_strdup_printf ("<b>%s</b>\n\n%s",
 				 _("Congratulations!"),
-				 _("Your score has made the top ten."));
+				 pos == 1 ? _("Your score is the best!") :
+                                 _("Your score has made the top ten."));
       games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
 				       message);
       g_free (message);

Modified: trunk/gnotravex/gnotravex.c
==============================================================================
--- trunk/gnotravex/gnotravex.c	(original)
+++ trunk/gnotravex/gnotravex.c	Tue Dec  9 13:22:11 2008
@@ -1238,6 +1238,7 @@
     games_scores_dialog_set_hilight (GAMES_SCORES_DIALOG (scoresdialog), pos);
     message = g_strdup_printf ("<b>%s</b>\n\n%s",
                                _("Congratulations!"),
+                               pos == 1 ? _("Your score is the best!") :
                                _("Your score has made the top ten."));
     games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
                                      message);

Modified: trunk/gnotski/gnotski.c
==============================================================================
--- trunk/gnotski/gnotski.c	(original)
+++ trunk/gnotski/gnotski.c	Tue Dec  9 13:22:11 2008
@@ -851,6 +851,7 @@
 				       pos);
       message = g_strdup_printf ("<b>%s</b>\n\n%s",
 				 _("Congratulations!"),
+                                 pos == 1 ? _("Your score is the best!") :
 				 _("Your score has made the top ten."));
       games_scores_dialog_set_message (GAMES_SCORES_DIALOG (scoresdialog),
 				       message);

Modified: trunk/gtali/gyahtzee.c
==============================================================================
--- trunk/gtali/gyahtzee.c	(original)
+++ trunk/gtali/gyahtzee.c	Tue Dec  9 13:22:11 2008
@@ -205,7 +205,8 @@
         dialog = games_scores_dialog_new (GTK_WINDOW (window), highscores, _("Tali Scores"));
         message =
   	  g_strdup_printf ("<b>%s</b>\n\n%s", _("Congratulations!"),
-			 _("Your score has made the top ten."));
+                           pos == 1 ? _("Your score is the best!") :
+                           _("Your score has made the top ten."));
         games_scores_dialog_set_message (GAMES_SCORES_DIALOG (dialog), message);
         g_free (message);
       }

Modified: trunk/mahjongg/mahjongg.c
==============================================================================
--- trunk/mahjongg/mahjongg.c	(original)
+++ trunk/mahjongg/mahjongg.c	Tue Dec  9 13:22:11 2008
@@ -669,6 +669,7 @@
 						    (dialog), _("Map:"));
       message =
 	g_strdup_printf ("<b>%s</b>\n\n%s", _("Congratulations!"),
+                         pos == 1 ? _("Your score is the best!") :
 			 _("Your score has made the top ten."));
       games_scores_dialog_set_message (GAMES_SCORES_DIALOG (dialog), message);
       g_free (message);

Modified: trunk/same-gnome/ui.c
==============================================================================
--- trunk/same-gnome/ui.c	(original)
+++ trunk/same-gnome/ui.c	Tue Dec  9 13:22:11 2008
@@ -197,7 +197,8 @@
 				       GAMES_SCORES_QUIT_BUTTON |
 				       GAMES_SCORES_NEW_GAME_BUTTON);
       message = g_strdup_printf ("<b>%s</b>\n\n%s", _("Congratulations!"),
-				 _("Your score has made the top ten."));
+				 place == 1 ? _("Your score is the best!") :
+                                 _("Your score has made the top ten."));
       games_scores_dialog_set_message (gooddialog, message);
       g_free (message);
 



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