From: Kevin A. <al...@ya...> - 2005-03-30 18:07:36
|
I've revised the internationalResourceName function in model.py to support platform-specific resource files as well as language and country specific names. You don't have to use platform-specific files, but it is an option for those that want to tweak a static layout for each platform. For example, using the -l (log) option under Windows on my system, I get the following DEBUG output which shows the possible valid resource filenames and the order they are searched for. Valid platform prefixes are: win, gtk, mac. DEBUG: : Wed Mar 30 09:54:22 2005: default: ('en_US', 'cp1252') DEBUG: : Wed Mar 30 09:54:22 2005: en US DEBUG: : Wed Mar 30 09:54:22 2005: ['minimal.win.en_US.rsrc.py', 'minimal.win.en.rsrc.py', 'minimal.en_US.rsrc.py', 'minimal.en.rsrc.py', 'minimal.win.rsrc.py', 'minimal.rsrc.py'] __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |