Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2013-10-16 16:18:05 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2013-10-16 16:18:05 (GMT)
commit57ef15c3a7cf4b308a9730bef71aa8b89694d4d5 (patch)
tree77941898352b2c03a0fe904fd2eaf927aa431f9a
parentfcfcd989ee5ba9d04d711e6bc852a4c451e386cb (diff)
more gettext strings
-rwxr-xr-xcells.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cells.py b/cells.py
index 32fc553..4963b1e 100755
--- a/cells.py
+++ b/cells.py
@@ -180,7 +180,7 @@ class Game():
size = int(35),
color = black)
text1.rect.center = (600, 450)
- text2 = Text("(h)elp", size = 50)
+ text2 = Text(_("(h)elp"), size = 50)
text2.rect.topleft = (10, 10)
self.text = Group((text1, text2))
@@ -236,11 +236,11 @@ class Game():
self.new_game = False
self.background = pygame.Surface(self.screen.get_size()).convert()
self.background.fill(yellow)
- cell_text = Text("Cells", size = int(160))
+ cell_text = Text(_("Cells"), size = int(160))
cell_text.rect.center = ((600,450))
self.text = Group((cell_text))
- prompt_text = Text("press any key to begin", size = int(35))
+ prompt_text = Text(_("press any key to begin"), size = int(35))
prompt_text.rect.center = (600,530)
self.flashing_text = Group((prompt_text))