diff options
author | Marius Gavrilescu <marius@ieval.ro> | 2012-11-27 23:01:49 (GMT) |
---|---|---|
committer | Marius Gavrilescu <marius@ieval.ro> | 2012-12-01 12:45:39 (GMT) |
commit | 704cf99197b4919068a64cf80cb35053ada457fa (patch) | |
tree | 102af87a58ad628cac301a7d34b6b986fbe584b6 /constellations.py | |
parent | 2478439f791b5eba5357316e6ac233dac6b79723 (diff) |
Internationalize StarChart
* Internationalize dso1.py and dso2.py
* Replace defensive gettext with ordinary gettext
* Regenerate pot
Diffstat (limited to 'constellations.py')
-rw-r--r-- | constellations.py | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/constellations.py b/constellations.py index f7c1c94..d8c03ab 100644 --- a/constellations.py +++ b/constellations.py @@ -1,18 +1,5 @@ -from gettext import gettext - -# Defensive method of gettext use -def _(s): - istrsTest = {} - for i in range (0,4): - istrsTest[str(i)] = str(i) - - try: - i = gettext(s) - except: - i = s - return i - +from gettext import gettext as _ # ================================= CATALOG DATA ================================ # |