Update locales location in code
offlate/window.py
679 | 679 | def main(): | |
680 | 680 | app = QApplication(sys.argv) | |
681 | 681 | translator = QTranslator() | |
682 | - | if translator.load(QLocale(), "offlate", "_", "i18n"): | |
682 | + | if translator.load(QLocale(), "offlate", "_", | |
683 | + | os.path.dirname(os.path.realpath(__file__))+"/locales"): | |
683 | 684 | app.installTranslator(translator); | |
684 | 685 | ||
685 | 686 | w = Window() |