diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-14 16:45:31 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-14 16:45:31 +0200 |
commit | e3aa37a05b150604de50bd9ec6e004a688d698f0 (patch) | |
tree | ef060af756b7b8d74f9e75c43bd6c4a5d03b4373 /portato | |
parent | 02e754313d35a11882aaaf252e474081c18570dd (diff) | |
download | portato-e3aa37a05b150604de50bd9ec6e004a688d698f0.tar.gz portato-e3aa37a05b150604de50bd9ec6e004a688d698f0.tar.bz2 portato-e3aa37a05b150604de50bd9ec6e004a688d698f0.zip |
Add function to add _ to namespace
Diffstat (limited to '')
-rw-r--r-- | portato/__init__.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/portato/__init__.py b/portato/__init__.py index 653329c..4252a0a 100644 --- a/portato/__init__.py +++ b/portato/__init__.py @@ -54,6 +54,11 @@ def get_parser (use_ = False): return parser +def _sub_start (): + # set gettext stuff + locale.setlocale(locale.LC_ALL, '') + gettext.install(APP, LOCALE_DIR, unicode = True) + def start(): # set gettext stuff |