[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OpenTAL-checkins] opental/PlacelessTranslationService GettextMess...
From: |
Fernando Lalo Martins |
Subject: |
[OpenTAL-checkins] opental/PlacelessTranslationService GettextMess... |
Date: |
Thu, 27 Feb 2003 20:53:14 -0500 |
CVSROOT: /cvsroot/opental
Module name: opental
Changes by: Fernando Lalo Martins <address@hidden> 03/02/27 20:53:14
Modified files:
PlacelessTranslationService: GettextMessageCatalog.py
Log message:
making the .missing feature more robust
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/opental/opental/PlacelessTranslationService/GettextMessageCatalog.py.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: opental/PlacelessTranslationService/GettextMessageCatalog.py
diff -u opental/PlacelessTranslationService/GettextMessageCatalog.py:1.6
opental/PlacelessTranslationService/GettextMessageCatalog.py:1.7
--- opental/PlacelessTranslationService/GettextMessageCatalog.py:1.6 Thu Feb
27 20:37:43 2003
+++ opental/PlacelessTranslationService/GettextMessageCatalog.py Thu Feb
27 20:53:14 2003
@@ -17,7 +17,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
"""A simple implementation of a Message Catalog.
-$Id: GettextMessageCatalog.py,v 1.6 2003/02/28 01:37:43 lalo Exp $
+$Id: GettextMessageCatalog.py,v 1.7 2003/02/28 01:53:14 lalo Exp $
"""
from gettext import GNUTranslations
@@ -83,7 +83,7 @@
self.__translation_object = tro
self._missing = self._path_to_file[:-1] + 'issing'
if not os.access(self._missing, os.W_OK):
- self._v_missing = None
+ self._missing = None
if self.name:
self.title = '%s language (%s) for %s' % (self._language,
self.name, self._domain)
else: