Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2012-11-29 17:12:24 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2012-11-29 17:12:24 (GMT)
commitda043fee1e25a0a0366a6b709d7c8a1d6d9fd45c (patch)
tree860cff215b2c97ed9ceac59d3f5c39c8ff14ade3
parentd37b54e5b2e076f7e6965f2b61f93c2561d1fd94 (diff)
Add i18n strings.
-rwxr-xr-xconozcoel.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/conozcoel.py b/conozcoel.py
index aa26e64..812a411 100755
--- a/conozcoel.py
+++ b/conozcoel.py
@@ -29,6 +29,7 @@ import os
import pygame
import olpcgames
import gtk
+from gettext import gettext as _
# constantes
XMAPAMAX = 810
@@ -341,12 +342,12 @@ class ConozcoEl():
"""Pantalla con el menu principal del juego"""
global scale, shift_x, shift_y
self.pantalla.fill((0,0,0))
- self.mostrarTexto("CONOZCO ELEMENTOS QUIMICOS",
+ self.mostrarTexto(_("I know Chemical Elements"),
self.fuente48,
(int(600*scale+shift_x),
int(80*scale+shift_y)),
(255,255,255))
- self.mostrarTexto("Juego",
+ self.mostrarTexto(_("Game"),
self.fuente48,
(int(300*scale+shift_x), int(220*scale+shift_y)),
(200,100,100))
@@ -366,7 +367,7 @@ class ConozcoEl():
(int(10*scale+shift_x),
int(801*scale+shift_y),
int(590*scale),int(48*scale)))
- self.mostrarTexto("Informacion",
+ self.mostrarTexto(_("Information"),
self.fuente40,
(int(300*scale+shift_x),int(825*scale+shift_y)),
(100,200,100))
@@ -374,7 +375,7 @@ class ConozcoEl():
(int(610*scale+shift_x),
int(801*scale+shift_y),
int(590*scale),int(48*scale)))
- self.mostrarTexto("Salir",
+ self.mostrarTexto(_("Leave"),
self.fuente40,
(int(900*scale+shift_x),int(825*scale+shift_y)),
(100,200,100))