diff --git a/VERSION b/VERSION index 6c6aa7c..6da28dd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0 \ No newline at end of file +0.1.1 \ No newline at end of file diff --git a/src/gui/qt/qt_main.py b/src/gui/qt/qt_main.py index 4d67f6a..a3a99ba 100644 --- a/src/gui/qt/qt_main.py +++ b/src/gui/qt/qt_main.py @@ -1504,12 +1504,8 @@ def change_language(self, lang_code, checked=True): with open(dest_qm_file, 'wb') as dst_file: dst_file.write(src_file.read()) - # Restart the application - self.restart_application() + show_message_box(self.tr("Notice"), self.tr("Please restart the application to apply the new language settings.")) - def restart_application(self): - QCoreApplication.quit() - os.execl(sys.executable, sys.executable, *sys.argv) def closeEvent(self, event): # Close all windows on close of main win diff --git a/src/gui/qt/translation/de_DE.qm b/src/gui/qt/translation/de_DE.qm index 241a503..1446cf3 100644 Binary files a/src/gui/qt/translation/de_DE.qm and b/src/gui/qt/translation/de_DE.qm differ diff --git a/src/gui/qt/translation/de_DE.ts b/src/gui/qt/translation/de_DE.ts index e7a9377..39c95cd 100644 --- a/src/gui/qt/translation/de_DE.ts +++ b/src/gui/qt/translation/de_DE.ts @@ -1549,17 +1549,27 @@ p, li { white-space: pre-wrap; } eMinuto - Profil: %s - ID: %s - + + Notice + Hinweis + + + + Please restart the application to apply the new language settings. + Bitte starten Sie die Anwendung neu, damit die neuen Spracheinstellungen übernommen werden. + + + eMinuto v%s - Profile: %s - ID: %s eMinuto v%s - Profil: %s - ID: %s - + Successfully logged in. Erfolgreich eingeloggt. - + Successfully logged out. Erfolgreich ausgeloggt.