From f9051192d798d8f4ecdeecc813c692fa82e3f78e Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Tue, 27 Nov 2012 15:22:31 +0000 Subject: Some more translation fixes. --- diff --git a/BiblioJAM/JAMDialog.py b/BiblioJAM/JAMDialog.py index 0071e72..a93d308 100644 --- a/BiblioJAM/JAMDialog.py +++ b/BiblioJAM/JAMDialog.py @@ -307,7 +307,7 @@ class Ejemplo(object): color = random.choice(colores) self.widgets.set_text(tipo=None, tamanio=None, color=color, texto=None) if modificar == "texto": - textos= ["JAMLabel", _("Press escape to leave anytime"), _("Modifying Text in JAMLabel"), "CeibalJAM 2011"] + textos= ["JAMLabel", _("Press escape to leave anytime"), _("Modifying text in JAMLabel"), "CeibalJAM 2011"] texto = random.choice(textos) self.widgets.set_text(tipo=None, tamanio=None, color=None, texto=texto) return 0 @@ -373,7 +373,7 @@ class Ejemplo(object): color = random.choice(colores) self.widgets.set_text_buttons(color=color) if modificar == "texto": - textos= ["JAMLabel", _("Press escape to leave anytime"), _("Modifying Text in JAMLabel"), "CeibalJAM 2011"] + textos= ["JAMLabel", _("Press escape to leave anytime"), _("Modifying text in JAMLabel"), "CeibalJAM 2011"] texto = random.choice(textos) self.widgets.set_text_buttons(textoaceptar=texto, textocancelar=texto) return 0 diff --git a/Cria_Bichos_Main.py b/Cria_Bichos_Main.py index 5db60cb..0270442 100644 --- a/Cria_Bichos_Main.py +++ b/Cria_Bichos_Main.py @@ -346,7 +346,8 @@ class Cria_Bichos_Main(): # dejar ooteca if posicion != None: self.ootecas.add(Ooteca(self, posicion=posicion)) - self.set_mensaje(texto=_("There are new ootheca in habitat.")) + # TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) + self.set_mensaje(texto=_("There are new oothecae in habitat.")) if self.reproduccion == 0: # self.reproduccion es para verificar si se ha visto la leccion. @@ -658,17 +659,18 @@ class Cria_Bichos_Main(): self.machos, self.hembras = self.verificar_sexos_en_habitat() total = self.machos + self.hembras ootecas = len(self.ootecas.sprites()) - bichos = "Cockroaches: %s, Males: %s, Females: %s, Ootecas: %s Migration: %s" % (total, self.machos, + bichos = "Cockroaches: %s, Males: %s, Females: %s, Oothecae: %s Migration: %s" % (total, self.machos, self.hembras, ootecas, self.puntos) self.interfaz.set_informacion_de_habitat(bichos) if not self.machos and not ootecas: self.set_mensaje(texto=_("Dogs are not the egg cases or habitat, reproduction is no longer possible.")) elif not self.hembras and not ootecas: + # TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) self.set_mensaje(texto=_("There are no females in the habitat, ootheca reproduction is no longer possible.")) elif not self.machos and not self.hembras and not ootecas: - # ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) - self.set_mensaje(texto=_("All Cockroaches have died and there are ootheca in habitat.")) + # TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) + self.set_mensaje(texto=_("All Cockroaches have died and there are oothecae in habitat.")) elif self.machos + self.hembras >= self.maximo_cucas: self.event_plaga() self.set_mensaje(texto=_("Too many cockroaches in the habitat. Some have migrated!")) diff --git a/Interfaz.py b/Interfaz.py index 16fd493..4b138b0 100644 --- a/Interfaz.py +++ b/Interfaz.py @@ -141,8 +141,8 @@ class Interfaz(pygame.sprite.OrderedUpdates): w, h= self.label_agua.get_tamanio() self.label_tiempo.set_posicion( (x+w+10, y) ) self.add(self.label_tiempo) - # ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) - self.informacion_cucas = _("Cockroaches: 0, Males: 0, Females: 0, Ootheca: 0, Migration: 0") + # TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) + self.informacion_cucas = _("Cockroaches: 0, Males: 0, Females: 0, Oothecae: 0, Migration: 0") self.label_cucas_info= JAMLabel(self.informacion_cucas) self.label_cucas_info.set_text(tamanio= 25) x, y= (10, VG.RESOLUCION[1] - 10 - self.label_cucas_info.get_tamanio()[1]) diff --git a/po/CucaraSims.pot b/po/CucaraSims.pot index 0d9f83c..25e3ab1 100644 --- a/po/CucaraSims.pot +++ b/po/CucaraSims.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-11-27 20:32+0530\n" +"POT-Creation-Date: 2012-11-27 20:57+0530\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -53,8 +53,9 @@ msgstr "" msgid "Playtime = Years: 0 Days: 0 Hours: 0" msgstr "" +#. TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) #: Interfaz.py:145 -msgid "Cockroaches: 0, Males: 0, Females: 0, Ootheca: 0, Migration: 0" +msgid "Cockroaches: 0, Males: 0, Females: 0, Oothecae: 0, Migration: 0" msgstr "" #: Ficha_Bicho.py:44 @@ -83,7 +84,7 @@ msgstr "" msgid "Hydration: %s" msgstr "" -#: Main.py:334 Cria_Bichos_Main.py:750 +#: Main.py:334 Cria_Bichos_Main.py:752 msgid "Do you want to quit the game?" msgstr "" @@ -131,42 +132,45 @@ msgstr "" msgid "Some cockroaches have been shedding their exoskeleton." msgstr "" -#: Cria_Bichos_Main.py:349 -msgid "There are new ootheca in habitat." +#. TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) +#: Cria_Bichos_Main.py:350 +msgid "There are new oothecae in habitat." msgstr "" -#: Cria_Bichos_Main.py:666 +#: Cria_Bichos_Main.py:667 msgid "" "Dogs are not the egg cases or habitat, reproduction is no longer possible." msgstr "" -#: Cria_Bichos_Main.py:668 +#. TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) +#: Cria_Bichos_Main.py:670 msgid "" "There are no females in the habitat, ootheca reproduction is no longer " "possible." msgstr "" -#: Cria_Bichos_Main.py:671 -msgid "All Cockroaches have died and there are ootheca in habitat." +#. TRANS: ootheca is an egg mass (see http://en.wikipedia.org/wiki/Ootheca) +#: Cria_Bichos_Main.py:673 +msgid "All Cockroaches have died and there are oothecae in habitat." msgstr "" -#: Cria_Bichos_Main.py:674 +#: Cria_Bichos_Main.py:676 msgid "Too many cockroaches in the habitat. Some have migrated!" msgstr "" -#: Cria_Bichos_Main.py:687 +#: Cria_Bichos_Main.py:689 msgid "Playtime = Years: %(Years) Days: %(Days) Hours: %(Hours)" msgstr "" -#: Cria_Bichos_Main.py:756 +#: Cria_Bichos_Main.py:758 msgid "Save before exiting?" msgstr "" -#: Cria_Bichos_Main.py:809 +#: Cria_Bichos_Main.py:811 msgid "Cockroaches detect the food in the habitat with their antennae." msgstr "" -#: Cria_Bichos_Main.py:818 +#: Cria_Bichos_Main.py:820 msgid "Cockroaches detect with their antennae, water in the habitat." msgstr "" @@ -331,17 +335,14 @@ msgid "Press escape to leave anytime" msgstr "" #: BiblioJAM/JAMDialog.py:310 BiblioJAM/JAMDialog.py:376 -msgid "Modifying Text in JAMLabel" +#: BiblioJAM/JAMLabel.py:302 BiblioJAM/JAMButton.py:470 +msgid "Modifying text in JAMLabel" msgstr "" #: BiblioJAM/JAMCron.py:173 msgid "Example of JAMCron" msgstr "" -#: BiblioJAM/JAMLabel.py:302 BiblioJAM/JAMButton.py:470 -msgid "Modifying text in JAMLabel" -msgstr "" - #: BiblioJAM/JAMLabel.py:354 msgid "Test JAMLabel" msgstr "" -- cgit v0.9.1