Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-02-16 03:55:05 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-02-16 03:55:05 (GMT)
commit4dccf5f8099a57db9f5e07c3891dc578c3b66ff4 (patch)
treeff2916abf8d1c82c0157da9ad850d998bdce2d2a
parent7e1f288c1f0f39df31d6cd8e6244b32a304175f2 (diff)
Do not abort activity if where is now proper i18n data
-rw-r--r--i18n.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/i18n.py b/i18n.py
index 265dc70..9e8779b 100644
--- a/i18n.py
+++ b/i18n.py
@@ -74,6 +74,7 @@ class LangDetails (object):
def guess_translation (self, fallback=False):
try:
self.gnutranslation = gettext.translation(self.domain, 'locale', [self.code], fallback=fallback)
+ return True
except:
return False