Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/BiblioJAM/JAMCalendar.py
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-11-27 08:22:56 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2012-11-27 08:26:29 (GMT)
commit99e178fd0646a4cd67d74df8a25dda633bd27de8 (patch)
treed3f86b5da08bda77ea8c1952c265a2bac07dd9bf /BiblioJAM/JAMCalendar.py
parentdfd109011cf71dac5a48a407f1914e6a8ada75d4 (diff)
I18n strings.
Diffstat (limited to 'BiblioJAM/JAMCalendar.py')
-rw-r--r--BiblioJAM/JAMCalendar.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/BiblioJAM/JAMCalendar.py b/BiblioJAM/JAMCalendar.py
index 1fefa1c..8213de8 100644
--- a/BiblioJAM/JAMCalendar.py
+++ b/BiblioJAM/JAMCalendar.py
@@ -12,6 +12,8 @@ from pygame.locals import *
gc.enable()
pygame.font.init()
+from gettext import gettext as _
+
import JAMGlobals as VG
from JAMButton import JAMButton
from JAMLabel import JAMLabel
@@ -748,7 +750,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()
self.widgets = JAMCalendar()
#self.widgets.set_posicion(punto= (50,50))