[Spambayes-checkins] spambayes/spambayes i18n.py,1.2,1.3
Tony Meyer
anadelonbrin at users.sourceforge.net
Thu Jan 20 04:49:35 CET 2005
Update of /cvsroot/spambayes/spambayes/spambayes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4698/spambayes
Modified Files:
i18n.py
Log Message:
Update loading of gettext resources - we have one large .mo for all spambayes apps.
Index: i18n.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/spambayes/i18n.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** i18n.py 21 Dec 2004 23:07:17 -0000 1.2
--- i18n.py 20 Jan 2005 03:49:33 -0000 1.3
***************
*** 38,44 ****
--- 38,48 ----
## DIALOGS
## LC_MESSAGES
+ ## __init__.py <-- resourcepackage __init__.py
+ ## ui.html <-- web interface translation
## es_ES <-- specific language/country data.
## DIALOGS <-- resource dialogs
## LC_MESSAGES <-- gettext messages files
+ ## __init__.py <-- resourcepackage __init__.py
+ ## ui.html <-- web interface translation
## zn
## zn_TW
***************
*** 111,115 ****
def _install_gettext(self):
"""Set the gettext specific environment."""
! lang = translation("outlook_addin", self.local_dir,
self.current_langs_codes, fallback=True)
lang.install()
--- 115,119 ----
def _install_gettext(self):
"""Set the gettext specific environment."""
! lang = translation("messages", self.local_dir,
self.current_langs_codes, fallback=True)
lang.install()
More information about the Spambayes-checkins
mailing list