Detect intl library successful loading

svn: r1401
This commit is contained in:
Don Allingham
2003-03-26 04:32:14 +00:00
parent 42b49c4c49
commit 0979947abb
4 changed files with 13 additions and 12 deletions

View File

@@ -57,7 +57,8 @@ import Utils
import GrampsCfg
import Errors
from intl import gettext as _
import intl
_ = intl.gettext
#-------------------------------------------------------------------------
#
@@ -278,6 +279,9 @@ class PluginStatus:
info = cStringIO.StringIO()
if intl.status:
_expect.append(('intl:py','GRAMPS was built without internationalization support'))
if len(_expect) + len(_failmsg) == 0:
window.get_buffer().set_text(_('All modules were successfully loaded.'))
else: