Update locales location in code

Julien LepillerSat Oct 13 12:12:39+0200 2018

28fa87a

Update locales location in code

offlate/window.py

679679
def main():
680680
    app = QApplication(sys.argv)
681681
    translator = QTranslator()
682-
    if translator.load(QLocale(), "offlate", "_", "i18n"):
682+
    if translator.load(QLocale(), "offlate", "_",
683+
            os.path.dirname(os.path.realpath(__file__))+"/locales"):
683684
        app.installTranslator(translator);
684685
685686
    w = Window()