diff options
author | Yader Velásquez <yajosev@gmail.com> | 2010-12-29 22:54:18 (GMT) |
---|---|---|
committer | Yader Velásquez <yajosev@gmail.com> | 2010-12-29 22:54:18 (GMT) |
commit | 3c5e7d48b43ec7616f4103e39f62a9f21e889ce2 (patch) | |
tree | c9abf0381bcd25088fc8a468b74b3ad4effff61f /archivo.py | |
parent | c6746552bcf26863049c43d7102f20c24af0068d (diff) |
new language
Diffstat (limited to 'archivo.py')
-rw-r--r-- | archivo.py | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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') |