From 1f5256e8fd25dd1a533ec3d1302fbbc3c6a356dc Mon Sep 17 00:00:00 2001 From: Doug Blank Date: Tue, 3 Nov 2009 13:47:01 +0000 Subject: [PATCH] Supress warning on not loading local translations (1st party plugins don't have them) svn: r13491 --- src/TransUtils.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/TransUtils.py b/src/TransUtils.py index ba0b3bd07..9419c423e 100644 --- a/src/TransUtils.py +++ b/src/TransUtils.py @@ -88,9 +88,11 @@ def get_addon_translator(filename, domain='addon'): languages=[LANG]) trans.trans.add_fallback(fallback) except: - if LANG and not LANG.startswith("en"): - print ("WARN: can't add local '%s' addon translation for '%s'." % - (filename, LANG)) + pass + # FIXME: perhaps give some feedback when you need it + #if LANG and not LANG.startswith("en"): + # print ("WARN: can't add local '%s' addon translation for '%s'." % + # (filename, LANG)) return trans def get_available_translations():