From 3c5e7d48b43ec7616f4103e39f62a9f21e889ce2 Mon Sep 17 00:00:00 2001 From: Yader Velásquez Date: Wed, 29 Dec 2010 22:54:18 +0000 Subject: new language --- (limited to 'archivo.py') diff --git a/archivo.py b/archivo.py index 1d73547..1d73e3a 100644 --- a/archivo.py +++ b/archivo.py @@ -36,7 +36,7 @@ def crear_modelo(indice, path): path = path + '/data/actividades.pkl' modelo = gtk.ListStore(gobject.TYPE_INT, gobject.TYPE_STRING, gobject.TYPE_STRING,\ gobject.TYPE_STRING) - vacio = _('Sin actividades') + vacio = _('None') if not os.path.exists(path): @@ -77,13 +77,6 @@ def comprobar_efemeride(path): def abrir_efemeride(path): '''open the ephemeris file and return a data dictionary''' path = path + '/data/efemerides.pkl' - #if not os.path.exists(path): - # _log.debug('THE FILE EFEMERIDES DID NOT EXISTS') - # archivo = open(path, 'wb') - # texto = {} - # pickle.dump(texto, archivo) - # archivo.close() - #else: _log.debug('THE FILE EPHEMERIS EXISTS') archivo = open(path, 'rb') texto = pickle.load(archivo) @@ -117,7 +110,7 @@ def guardar_dato(indice, contenido, categoria, bolean, path): f = open(path, 'rb+wb') dia = pickle.load(f) if bolean: - prioridad = _('Importante') + prioridad = _('Important') else: prioridad = _('Normal') -- cgit v0.9.1