diff options
author | Nate Ridderman <nate.ridderman@gmail.com> | 2008-09-03 18:03:57 (GMT) |
---|---|---|
committer | Andrés Ambrois <andresambrois@gmail.com> | 2008-09-03 18:03:57 (GMT) |
commit | d1eb9b8826b3c1a906713b4fb0823c49264f64a2 (patch) | |
tree | 565541e298b3f7f144a629bacaaa8b3ab39ca477 /activity.py | |
parent | ac0e63bb032fc5f481538cc519bc0e5554eac274 (diff) |
Ridderman: Reword Black and White
Here is a patch to change Whites and Blacks to White and Black, which I
believe is more common Go grammar.
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activity.py b/activity.py index 99d70a1..ad213f1 100644 --- a/activity.py +++ b/activity.py @@ -310,13 +310,13 @@ class PlayGo(Activity): final_score = {'B':(len(territories['B']) - self.game.get_score()['W']), 'W':(len(territories['W']) - self.game.get_score()['B'] + self.komi)} if final_score['B'] > final_score['W']: - winner_string = _('Blacks win!') + winner_string = _('Black wins!') elif final_score['W'] > final_score['B']: - winner_string = _('Whites win!') + winner_string = _('White wins!') else: winner_string = _('There was a tie!') self.infopanel.show(_('Game ended! %s' % winner_string)) - self.infopanel.show_score(_('Final score: Whites %(W)d - Blacks %(B)d' % final_score)) + self.infopanel.show_score(_('Final score: White %(W)d - Black %(B)d' % final_score)) def board_size_change(self, widget, size): @@ -360,7 +360,7 @@ class PlayGo(Activity): #logger.debug('Dumping board: %s', self.ai.dump_board()) def show_score(self): - self.infopanel.show_score(_("Score is: Whites %(W)d - Blacks %(B)d" % self.game.get_score())) + self.infopanel.show_score(_("Score is: White %(W)d - Black %(B)d" % self.game.get_score())) def _alert(self, title, text=None): from sugar.graphics.alert import NotifyAlert |