Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/api/Game.py
diff options
context:
space:
mode:
authorAlan Aguiar <alanjas@hotmail.com>2012-03-19 03:46:59 (GMT)
committer Alan Aguiar <alanjas@hotmail.com>2012-03-19 03:46:59 (GMT)
commit89df536e8756fd16426c6bf76bf1e0e2e6638fab (patch)
tree5dc674a2f1227db3e4965942c658ccffa3168c9e /src/api/Game.py
parent26db84a0bbd700a0007782cfd3f4cd059e480417 (diff)
add gettext to some files
Diffstat (limited to 'src/api/Game.py')
-rwxr-xr-xsrc/api/Game.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/Game.py b/src/api/Game.py
index 584a208..2595245 100755
--- a/src/api/Game.py
+++ b/src/api/Game.py
@@ -15,6 +15,8 @@ import api.MultiLabel
from api.MultiLabel import CMultiLabel
import gc
+from gettext import gettext as _
+
class CGame(object):
mInstance = None
@@ -64,7 +66,7 @@ class CGame(object):
#screen = pygame.display.set_mode((1200, 900), FULLSCREEN)
self.mScreen = pygame.display.set_mode((1200, 900))
- pygame.display.set_caption("Game")
+ pygame.display.set_caption(_('Game'))
self.mBackground = pygame.Surface(self.mScreen.get_size())
self.mBackground.fill((255, 0, 0))