From 944fb5b5173d64d9801936fc64c60b59a197d990 Mon Sep 17 00:00:00 2001 From: Andrés Ambrois Date: Tue, 25 Nov 2008 21:54:31 +0000 Subject: Show half points --- (limited to 'activity.py') diff --git a/activity.py b/activity.py index 10cdaf1..487e7bc 100644 --- a/activity.py +++ b/activity.py @@ -347,7 +347,7 @@ class PlayGo(Activity): else: winner_string = _('There was a tie!') self.infopanel.show(_('Game ended! %s' % winner_string)) - self.infopanel.show_score(_('Final score: White %(W)d - Black %(B)d' % final_score)) + self.infopanel.show_score(_('Final score: White %(W)g - Black %(B)g' % final_score)) def board_size_change(self, widget, size): self.lastY = -1 @@ -398,7 +398,7 @@ class PlayGo(Activity): #logger.debug('Dumping board: %s', self.ai.dump_board()) def show_score(self): - self.infopanel.show_score(_("Score is: White %(W)d - Black %(B)d" % self.game.get_score())) + self.infopanel.show_score(_("Score is: White %(W)g - Black %(B)g" % self.game.get_score())) def _alert(self, title, text=None): from sugar.graphics.alert import NotifyAlert -- cgit v0.9.1