Fixed translation in program

This commit is contained in:
Manuel Cortez 2018-02-28 13:50:31 -06:00
parent e98d170420
commit f407a05e56

View File

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import i18n import i18n
i18n.setup()
import widgetUtils import widgetUtils
import logging import logging
import application import application
@ -11,7 +12,6 @@ log = logging.getLogger("main")
def setup(): def setup():
log.debug("Starting music-dl %s" % (application.version,)) log.debug("Starting music-dl %s" % (application.version,))
log.debug("Application path is %s" % (paths.app_path(),)) log.debug("Application path is %s" % (paths.app_path(),))
i18n.setup()
from controller import mainController from controller import mainController
app = widgetUtils.mainLoopObject() app = widgetUtils.mainLoopObject()
log.debug("Created Application mainloop object") log.debug("Created Application mainloop object")