~jaap.karssenberg/zim/pyzim

Viewing all changes in revision 866.

  • Committer: Jaap Karssenberg
  • Date: 2017-04-27 10:43:56 UTC
  • Revision ID: jaap.karssenberg@gmail.com-20170427104356-x7m03oxrof24qcoy
Make application start robust for errors in loading translations

Issue seen on windows where loading translations in Norwegian (Bokmal)
leads to an unicode error when gettext tries to create paths of 
translation files.
Can't fix the root cause, but put a try .. except block to catch
any exception and install dummy gettext functions.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: