i18n: do low-level bindtextdomain() earlier
authorAndrew Chadwick <andrewc-git@piffle.org>
Thu, 29 Nov 2012 02:46:48 +0000 (02:46 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Thu, 29 Nov 2012 02:46:48 +0000 (02:46 +0000)
commit4a2a7d739bccbac175c57331d882d91937630537
treea9dfd6df7255e0080afc74a5caa5ad3cb054fdb7
parente4a9dc8def4c0e4e60105de87cba156c00d32eec
i18n: do low-level bindtextdomain() earlier

Move the low-level C library gettext() setup to mypaint.py: ensures it
gets called as early as possible, which is probably more correct. Set
the low-level text domain there too; hopefully that's OK.

http://docs.python.org/release/2.7/library/locale.html#access-to-message-catalogs
states that this is fine for library setup.
gui/application.py
mypaint.py