diff options
author | Aneesh Dogra <lionaneesh@gmail.com> | 2012-11-27 08:22:56 (GMT) |
---|---|---|
committer | Aneesh Dogra <lionaneesh@gmail.com> | 2012-11-27 08:26:29 (GMT) |
commit | 99e178fd0646a4cd67d74df8a25dda633bd27de8 (patch) | |
tree | d3f86b5da08bda77ea8c1952c265a2bac07dd9bf /BiblioJAM/JAMBoard.py | |
parent | dfd109011cf71dac5a48a407f1914e6a8ada75d4 (diff) |
I18n strings.
Diffstat (limited to 'BiblioJAM/JAMBoard.py')
-rw-r--r-- | BiblioJAM/JAMBoard.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/BiblioJAM/JAMBoard.py b/BiblioJAM/JAMBoard.py index e15fc68..f464e09 100644 --- a/BiblioJAM/JAMBoard.py +++ b/BiblioJAM/JAMBoard.py @@ -11,6 +11,8 @@ import pygame, gc, sys from pygame.locals import * gc.enable() +from gettext import gettext as _ + import JAMGlobals as VG from JAMBoardTypes import JAMBoardTypes @@ -18,7 +20,7 @@ class JAMBoard(pygame.sprite.OrderedUpdates): def __init__(self): pygame.sprite.OrderedUpdates.__init__(self) - self.tipo_buttons= "rectangulo" + self.tipo_buttons= _("rectangle") self.posicion= (0,0) self.text_buffer= "" @@ -401,7 +403,7 @@ class Ejemplo(object): def setup(self): pygame.init() pygame.display.set_mode(self.resolucion , 0, 0) - pygame.display.set_caption("Ejemplo") + pygame.display.set_caption(_("Example")) self.fondo = self.get_Fondo() |