/[thuban]
ViewVC logotype

Revision 1871


Jump to revision: Previous Next
Author: bh
Date: Mon Oct 27 17:11:06 2003 UTC (21 years, 4 months ago)
Changed paths: 2
Log Message:
Rework how localization works so that we use wx's translation
functions when running Thuban as a normal application but not when
we don't need any UI, such as in the test suite. See the comment
in Thuban/__init__.py for details

* Thuban/__init__.py (_): Add one level of indirection to make the
translation handling more flexible and to make it possible to use
either wx's translation services or not.
(gettext_identity, translation_function_installed)
(install_translation_function): New function to help with this

* Thuban/UI/__init__.py: Install the wx specific translation
function if it's OK to do that


Changed paths

Path Details
Directorytrunk/thuban/Thuban/UI/__init__.py modified , text changed
Directorytrunk/thuban/Thuban/__init__.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26