[r21142]Rename trans.py and mactrans.py to grampslocale.py and

maclocale.py

Reflecting discussion on gramps-devel about their affecting more than
just translations.

Provide for a master GrampsLocale instance to be retrieved from
const.py, set by grampsapp.

svn: r21390
This commit is contained in:
John Ralls
2013-02-24 00:45:50 +00:00
parent eeaf8697f0
commit 740c7036d7
13 changed files with 287 additions and 387 deletions

View File

@@ -44,7 +44,7 @@ import traceback
#-------------------------------------------------------------------------
from ..const import VERSION as GRAMPSVERSION, VERSION_TUPLE
from ..const import IMAGE_DIR
from ..utils.trans import get_addon_translator
from ..utils.grampslocale import get_addon_translator
from ..ggettext import gettext as _
from ..constfunc import STRTYPE, win