[spambayes-bugs] [ spambayes-Patches-1052816 ] I18N

SourceForge.net noreply at sourceforge.net
Thu Oct 28 05:46:04 CEST 2004


Patches item #1052816, was opened at 2004-10-24 05:44
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1052816&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hernan Martinez Foffani (hfoffani)
Assigned to: Nobody/Anonymous (nobody)
Summary: I18N

Initial Comment:
Here goes my first patches for the Outlook addin I18N.

The patches in Outlook2000\dialogs\resources change 
the parser to output gettexted captions and labels.


----------------------------------------------------------------------

>Comment By: Tony Meyer (anadelonbrin)
Date: 2004-10-28 16:46

Message:
Logged In: YES 
user_id=552329

These look good to me.  Do you have any translations
done/partly done, so I could see how it all goes?

BTW, could you confirm that you're fine donating this code
to the SpamBayes project, to be licensed under the PSF licence?

----------------------------------------------------------------------

Comment By: Hernan Martinez Foffani (hfoffani)
Date: 2004-10-24 06:26

Message:
Logged In: YES 
user_id=112690

Outlook2000.txt patch file modifies config.py to add 
a "language" user var and modifies manager.py adding calls to 
the LanguageManager class.
The first calls set the language to the default system one.
The second call set the language to the one that is 
configured in the SB config file.


----------------------------------------------------------------------

Comment By: Hernan Martinez Foffani (hfoffani)
Date: 2004-10-24 06:20

Message:
Logged In: YES 
user_id=112690

i18n.py contains the class that I use to initialize the 
internationalization environment. That is: gettext and 
sys.path.

i18n.py should be in the Outlook2000 directory.


----------------------------------------------------------------------

Comment By: Hernan Martinez Foffani (hfoffani)
Date: 2004-10-24 05:58

Message:
Logged In: YES 
user_id=112690

The patch for Outlook2000\dialogs\__init__.py lets SB import 
a foreign language i18n_dialogs.py file.
To better distinguish with the default dialogs.py in the official 
distribution, the new transalated dialogs will be prefixed 
by "i18n_".
__init__.py assumes that SB already has a modified sys.path 
that points to the correct language resources.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=1052816&group_id=61702


More information about the Spambayes-bugs mailing list