Skip to content

Commit

Permalink
Merge branch '3.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
diegopradogesto committed Jun 25, 2018
2 parents 620e7c7 + 67f331f commit aae58f7
Show file tree
Hide file tree
Showing 13 changed files with 83 additions and 145 deletions.
8 changes: 8 additions & 0 deletions UM/Qt/QtApplication.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ def initialize(self) -> None:
self._mesh_file_handler = MeshFileHandler(self) #type: MeshFileHandler
self._workspace_file_handler = WorkspaceFileHandler(self) #type: WorkspaceFileHandler

# For some reason, with Qt 5.9 and up, the default "windows" style seems like Windows 95. We have to set the
# style to "fusion" so it looks less ugly.
pyqt_version_parts = [int(n) for n in PYQT_VERSION_STR.split(".")]
if len(pyqt_version_parts) < 2: # Make sure there are at less 2 parts in the version
pyqt_version_parts += [0 for _ in range(2 - len(pyqt_version_parts))]
if pyqt_version_parts[0] == 5 and pyqt_version_parts[1] > 8:
self.setStyle("fusion")

# For some reason, with Qt 5.9 and up, the default "windows" style seems like Windows 95. We have to set the
# style to "fusion" so it looks less ugly.
pyqt_version_parts = [int(n) for n in PYQT_VERSION_STR.split(".")]
Expand Down
21 changes: 7 additions & 14 deletions resources/i18n/de_DE/uranium.po
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ msgstr "Warnhinweis"
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} is available!"
msgstr ""
msgstr "Cura {0} ist verfügbar!"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:73
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} provides better and reliable printing experience."
msgstr ""
msgstr "Cura {0} bietet eine bessere und zuverlässige Druckerfahrung."

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:76
msgctxt "@action:button"
Expand All @@ -88,7 +88,7 @@ msgstr "Download"
#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:78
msgctxt "@action:button"
msgid "Learn more about new features"
msgstr ""
msgstr "Erfahren Sie mehr über neue Funktionen"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:94
msgctxt "@info"
Expand Down Expand Up @@ -247,10 +247,7 @@ msgid ""
"Your configuration seems to be corrupt. Something seems to be wrong with the following profiles:\n"
"- {profiles}\n"
"Would you like to reset to factory defaults?"
msgstr ""
"Ihre Konfiguration scheint beschädigt zu sein. Offensichtlich liegt ein Fehler bei den folgenden Profilen vor:\n"
"- {profiles}\n"
"Möchten Sie auf die Werkseinstellungen zurücksetzen?"
msgstr "Ihre Konfiguration scheint beschädigt zu sein. Offensichtlich liegt ein Fehler bei den folgenden Profilen vor:\n- {profiles}\nMöchten Sie auf die Werkseinstellungen zurücksetzen?"

#: /home/ruben/Projects/Uranium/UM/__init__.py:16
#: /home/ruben/Projects/Uranium/UM/ConfigurationErrorMessage.py:57
Expand Down Expand Up @@ -290,7 +287,7 @@ msgstr "Alle Dateien (*)"
#, python-brace-format
msgctxt "@label Short days-hours-minutes format. {0} is days, {1} is hours, {2} is minutes"
msgid "{0:0>2}d {1:0>2}h {2:0>2}min"
msgstr "{0:0>2}T. {1:0>2}St. {2:0>2}M."
msgstr "{0:0>2}T. {1:0>2}St. {2:0>2}Mi."

#: /home/ruben/Projects/Uranium/UM/Qt/Duration.py:110
#, python-brace-format
Expand Down Expand Up @@ -356,19 +353,15 @@ msgctxt "@info:status"
msgid ""
"The plugin has been installed.\n"
"Please re-start the application to activate the plugin."
msgstr ""
"Das Plugin wurde installiert. \n"
"Starten Sie die Anwendung bitte neu, um das Plugin zu aktivieren."
msgstr "Das Plugin wurde installiert. \nStarten Sie die Anwendung bitte neu, um das Plugin zu aktivieren."

#: /home/ruben/Projects/Uranium/UM/PluginRegistry.py:447
#, python-brace-format
msgctxt "@info:status"
msgid ""
"The plugin has been removed.\n"
"Please restart {0} to finish uninstall."
msgstr ""
"Das Plugin wurde entfernt.\n"
"Bitte starten Sie {0} erneut, um die Deinstallation abzuschließen."
msgstr "Das Plugin wurde entfernt.\nBitte starten Sie {0} erneut, um die Deinstallation abzuschließen."

#: /home/ruben/Projects/Uranium/UM/VersionUpgradeManager.py:134
#, python-brace-format
Expand Down
19 changes: 6 additions & 13 deletions resources/i18n/es_ES/uranium.po
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ msgstr "Advertencia"
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} is available!"
msgstr ""
msgstr "Cura {0} está disponible."

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:73
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} provides better and reliable printing experience."
msgstr ""
msgstr "Cura {0} proporciona una experiencia de impresión mejor y más fiable."

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:76
msgctxt "@action:button"
Expand All @@ -89,7 +89,7 @@ msgstr "Descargar"
#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:78
msgctxt "@action:button"
msgid "Learn more about new features"
msgstr ""
msgstr "Obtenga más información sobre las nuevas características"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:94
msgctxt "@info"
Expand Down Expand Up @@ -248,10 +248,7 @@ msgid ""
"Your configuration seems to be corrupt. Something seems to be wrong with the following profiles:\n"
"- {profiles}\n"
"Would you like to reset to factory defaults?"
msgstr ""
"Parece que la configuración está dañada. Se ha producido un error en los siguientes perfiles:\n"
"- {profiles}\n"
"¿Desea restablecer los valores predeterminados de fábrica?"
msgstr "Parece que la configuración está dañada. Se ha producido un error en los siguientes perfiles:\n- {profiles}\n¿Desea restablecer los valores predeterminados de fábrica?"

#: /home/ruben/Projects/Uranium/UM/__init__.py:16
#: /home/ruben/Projects/Uranium/UM/ConfigurationErrorMessage.py:57
Expand Down Expand Up @@ -357,19 +354,15 @@ msgctxt "@info:status"
msgid ""
"The plugin has been installed.\n"
"Please re-start the application to activate the plugin."
msgstr ""
"El complemento se ha instalado.\n"
"Reinicie la aplicación para activarlo."
msgstr "El complemento se ha instalado.\nReinicie la aplicación para activarlo."

#: /home/ruben/Projects/Uranium/UM/PluginRegistry.py:447
#, python-brace-format
msgctxt "@info:status"
msgid ""
"The plugin has been removed.\n"
"Please restart {0} to finish uninstall."
msgstr ""
"El complemento se ha eliminado.\n"
"Pulse «Reiniciar» {0} para finalizar el proceso de desinstalación."
msgstr "El complemento se ha eliminado.\nPulse «Reiniciar» {0} para finalizar el proceso de desinstalación."

#: /home/ruben/Projects/Uranium/UM/VersionUpgradeManager.py:134
#, python-brace-format
Expand Down
19 changes: 6 additions & 13 deletions resources/i18n/fr_FR/uranium.po
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ msgstr "Avertissement"
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} is available!"
msgstr ""
msgstr "Cura {0} est disponible!"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:73
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} provides better and reliable printing experience."
msgstr ""
msgstr "Cura {0} offre une expérience d'impression plus fiable et de meilleure qualité."

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:76
msgctxt "@action:button"
Expand All @@ -89,7 +89,7 @@ msgstr "Télécharger"
#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:78
msgctxt "@action:button"
msgid "Learn more about new features"
msgstr ""
msgstr "En savoir plus sur les nouvelles fonctionnalités"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:94
msgctxt "@info"
Expand Down Expand Up @@ -248,10 +248,7 @@ msgid ""
"Your configuration seems to be corrupt. Something seems to be wrong with the following profiles:\n"
"- {profiles}\n"
"Would you like to reset to factory defaults?"
msgstr ""
"Votre configuration semble corrompue. Il semble y avoir un problème avec les profils suivants :\n"
"- {profiles}\n"
"Souhaitez-vous rétablir les paramètres d'usine ?"
msgstr "Votre configuration semble corrompue. Il semble y avoir un problème avec les profils suivants :\n- {profiles}\nSouhaitez-vous rétablir les paramètres d'usine?"

#: /home/ruben/Projects/Uranium/UM/__init__.py:16
#: /home/ruben/Projects/Uranium/UM/ConfigurationErrorMessage.py:57
Expand Down Expand Up @@ -357,19 +354,15 @@ msgctxt "@info:status"
msgid ""
"The plugin has been installed.\n"
"Please re-start the application to activate the plugin."
msgstr ""
"Le plug-in a été installé.\n"
"Veuillez redémarrer l'application pour activer le plug-in."
msgstr "Le plug-in a été installé.\nVeuillez redémarrer l'application pour activer le plug-in."

#: /home/ruben/Projects/Uranium/UM/PluginRegistry.py:447
#, python-brace-format
msgctxt "@info:status"
msgid ""
"The plugin has been removed.\n"
"Please restart {0} to finish uninstall."
msgstr ""
"Le plug-in a été supprimé.\n"
"Veuillez redémarrer {0} pour terminer la désinstallation."
msgstr "Le plug-in a été supprimé.\nVeuillez redémarrer {0} pour terminer la désinstallation."

#: /home/ruben/Projects/Uranium/UM/VersionUpgradeManager.py:134
#, python-brace-format
Expand Down
19 changes: 6 additions & 13 deletions resources/i18n/it_IT/uranium.po
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ msgstr "Avvertenza"
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} is available!"
msgstr ""
msgstr "Cura {0} è disponibile!"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:73
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} provides better and reliable printing experience."
msgstr ""
msgstr "Cura {0} fornisce un'esperienza di stampa migliore ed affidabile."

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:76
msgctxt "@action:button"
Expand All @@ -88,7 +88,7 @@ msgstr "Download"
#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:78
msgctxt "@action:button"
msgid "Learn more about new features"
msgstr ""
msgstr "Per saperne di più sulle nuove funzionalità"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:94
msgctxt "@info"
Expand Down Expand Up @@ -247,10 +247,7 @@ msgid ""
"Your configuration seems to be corrupt. Something seems to be wrong with the following profiles:\n"
"- {profiles}\n"
"Would you like to reset to factory defaults?"
msgstr ""
"La configurazione sembra essere danneggiata. Qualcosa sembra non funzionare con i seguenti profili:\n"
"- {profiles}\n"
"Ripristinare i valori predefiniti in fabbrica?"
msgstr "La configurazione sembra essere danneggiata. Qualcosa sembra non funzionare con i seguenti profili:\n- {profiles}\nRipristinare i valori predefiniti in fabbrica?"

#: /home/ruben/Projects/Uranium/UM/__init__.py:16
#: /home/ruben/Projects/Uranium/UM/ConfigurationErrorMessage.py:57
Expand Down Expand Up @@ -356,19 +353,15 @@ msgctxt "@info:status"
msgid ""
"The plugin has been installed.\n"
"Please re-start the application to activate the plugin."
msgstr ""
"Il plugin è stato installato.\n"
"Riavviare l'applicazione per attivare il plugin."
msgstr "Il plugin è stato installato.\nRiavviare l'applicazione per attivare il plugin."

#: /home/ruben/Projects/Uranium/UM/PluginRegistry.py:447
#, python-brace-format
msgctxt "@info:status"
msgid ""
"The plugin has been removed.\n"
"Please restart {0} to finish uninstall."
msgstr ""
"Il plugin è stato rimosso.\n"
"Si prega di riavviare {0} per completare la disinstallazione."
msgstr "Il plugin è stato rimosso.\nSi prega di riavviare {0} per completare la disinstallazione."

#: /home/ruben/Projects/Uranium/UM/VersionUpgradeManager.py:134
#, python-brace-format
Expand Down
19 changes: 6 additions & 13 deletions resources/i18n/ja_JP/uranium.po
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ msgstr "警告"
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} is available!"
msgstr ""
msgstr "Cura {0} は利用可能!"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:73
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} provides better and reliable printing experience."
msgstr ""
msgstr "Cura {0} は、信頼性の高い優れた印刷体験を提供します。"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:76
msgctxt "@action:button"
Expand All @@ -89,7 +89,7 @@ msgstr "ダウンロード"
#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:78
msgctxt "@action:button"
msgid "Learn more about new features"
msgstr ""
msgstr "新機能について詳しく見る"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:94
msgctxt "@info"
Expand Down Expand Up @@ -248,10 +248,7 @@ msgid ""
"Your configuration seems to be corrupt. Something seems to be wrong with the following profiles:\n"
"- {profiles}\n"
"Would you like to reset to factory defaults?"
msgstr ""
"構成が破損している可能性があります。以下のプロファイルでエラーが発生しています:\n"
"- {profiles}\n"
"工場出荷状態にリセットしますか?"
msgstr "構成が破損している可能性があります。以下のプロファイルでエラーが発生しています:\n- {profiles}\n工場出荷状態にリセットしますか?"

#: /home/ruben/Projects/Uranium/UM/__init__.py:16
#: /home/ruben/Projects/Uranium/UM/ConfigurationErrorMessage.py:57
Expand Down Expand Up @@ -357,19 +354,15 @@ msgctxt "@info:status"
msgid ""
"The plugin has been installed.\n"
"Please re-start the application to activate the plugin."
msgstr ""
"プラグインがインストールされました。\n"
"アプリケーションを再起動して、プラグインをアクティベートしてください。"
msgstr "プラグインがインストールされました。\nアプリケーションを再起動して、プラグインをアクティベートしてください。"

#: /home/ruben/Projects/Uranium/UM/PluginRegistry.py:447
#, python-brace-format
msgctxt "@info:status"
msgid ""
"The plugin has been removed.\n"
"Please restart {0} to finish uninstall."
msgstr ""
"プラグインが外されました。\n"
"{0} を再起動してアンインストールを終了してください。"
msgstr "プラグインが外されました。\n{0} を再起動してアンインストールを終了してください。"

#: /home/ruben/Projects/Uranium/UM/VersionUpgradeManager.py:134
#, python-brace-format
Expand Down
19 changes: 6 additions & 13 deletions resources/i18n/ko_KR/uranium.po
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ msgstr "경고"
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} is available!"
msgstr ""
msgstr "Cura {0}을(를) 사용할 수 있습니다!"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:73
#, python-brace-format
msgctxt "@info:status"
msgid "Cura {0} provides better and reliable printing experience."
msgstr ""
msgstr "Cura {0}은(는) 보다 개선된 안정적인 인쇄 환경을 제공합니다."

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:76
msgctxt "@action:button"
Expand All @@ -89,7 +89,7 @@ msgstr "다운로드"
#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:78
msgctxt "@action:button"
msgid "Learn more about new features"
msgstr ""
msgstr "새 기능에 대해 자세히 알아보기"

#: /home/ruben/Projects/Uranium/plugins/UpdateChecker/UpdateCheckerJob.py:94
msgctxt "@info"
Expand Down Expand Up @@ -248,10 +248,7 @@ msgid ""
"Your configuration seems to be corrupt. Something seems to be wrong with the following profiles:\n"
"- {profiles}\n"
"Would you like to reset to factory defaults?"
msgstr ""
"설정이 손상된 것 같습니다. 다음 프로파일에 문제가 발생한 것 같습니다.\n"
"- {profiles}\n"
"기본값으로 재설정하시겠습니까?"
msgstr "설정이 손상된 것 같습니다. 다음 프로파일에 문제가 발생한 것 같습니다.\n- {profiles}\n기본값으로 재설정하시겠습니까?"

#: /home/ruben/Projects/Uranium/UM/__init__.py:16
#: /home/ruben/Projects/Uranium/UM/ConfigurationErrorMessage.py:57
Expand Down Expand Up @@ -354,19 +351,15 @@ msgctxt "@info:status"
msgid ""
"The plugin has been installed.\n"
"Please re-start the application to activate the plugin."
msgstr ""
"플러그인이 설치되었습니다.\n"
"플러그인을 활성화하려면 응용 프로그램을 다시 시작하십시오."
msgstr "플러그인이 설치되었습니다.\n플러그인을 활성화하려면 응용 프로그램을 다시 시작하십시오."

#: /home/ruben/Projects/Uranium/UM/PluginRegistry.py:447
#, python-brace-format
msgctxt "@info:status"
msgid ""
"The plugin has been removed.\n"
"Please restart {0} to finish uninstall."
msgstr ""
"플러그인이 제거되었습니다.\n"
"제거를 완료하려면 {0}을(를) 다시 시작하십시오."
msgstr "플러그인이 제거되었습니다.\n제거를 완료하려면 {0}을(를) 다시 시작하십시오."

#: /home/ruben/Projects/Uranium/UM/VersionUpgradeManager.py:134
#, python-brace-format
Expand Down
Loading

0 comments on commit aae58f7

Please sign in to comment.