diff --git a/UM/Settings/ContainerRegistry.py b/UM/Settings/ContainerRegistry.py index ca5885baa..1d7d1254a 100644 --- a/UM/Settings/ContainerRegistry.py +++ b/UM/Settings/ContainerRegistry.py @@ -400,9 +400,17 @@ def _recreateCorruptDataBase(self, cursor: Optional[db.Cursor]) -> None: except: # Could be that the cursor is already closed pass - cursor.close() - self._db_connection = None + try: + cursor.close() + except db.ProgrammingError: + # Database was already closed + pass + + if self._db_connection is not None: + self._db_connection.close() + self._db_connection = None + db_path = os.path.join(Resources.getCacheStoragePath(), "containers.db") try: os.remove(db_path) diff --git a/resources/i18n/cs_CZ/uranium.po b/resources/i18n/cs_CZ/uranium.po index d4d968d34..c42b1f251 100644 --- a/resources/i18n/cs_CZ/uranium.po +++ b/resources/i18n/cs_CZ/uranium.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Uranium 5.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: 2022-04-26 00:14+0200\n" "Last-Translator: Miroslav Šustek \n" "Language-Team: DenyCZ \n" diff --git a/resources/i18n/de_DE/uranium.po b/resources/i18n/de_DE/uranium.po index 674de0db4..d40e9fda6 100644 --- a/resources/i18n/de_DE/uranium.po +++ b/resources/i18n/de_DE/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/es_ES/uranium.po b/resources/i18n/es_ES/uranium.po index 27e646dbb..ce699b1c1 100644 --- a/resources/i18n/es_ES/uranium.po +++ b/resources/i18n/es_ES/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/fi_FI/uranium.po b/resources/i18n/fi_FI/uranium.po index cf0c50e93..2536199cb 100644 --- a/resources/i18n/fi_FI/uranium.po +++ b/resources/i18n/fi_FI/uranium.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Uranium 5.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: 2017-09-27 12:27+0200\n" "Last-Translator: Bothof \n" "Language-Team: Finnish \n" diff --git a/resources/i18n/fr_FR/uranium.po b/resources/i18n/fr_FR/uranium.po index 9909cb53b..862b24f05 100644 --- a/resources/i18n/fr_FR/uranium.po +++ b/resources/i18n/fr_FR/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/hu_HU/uranium.po b/resources/i18n/hu_HU/uranium.po index 04da7515e..10f6f721e 100644 --- a/resources/i18n/hu_HU/uranium.po +++ b/resources/i18n/hu_HU/uranium.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Uranium 5.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: 2019-10-10 22:30+0200\n" "Last-Translator: Nagy Attila\n" "Language-Team: AT-VLOG \n" diff --git a/resources/i18n/it_IT/uranium.po b/resources/i18n/it_IT/uranium.po index 92ccf1a25..5a2858b9e 100644 --- a/resources/i18n/it_IT/uranium.po +++ b/resources/i18n/it_IT/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/ja_JP/uranium.po b/resources/i18n/ja_JP/uranium.po index 2b927eba7..f627239f3 100644 --- a/resources/i18n/ja_JP/uranium.po +++ b/resources/i18n/ja_JP/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/ko_KR/uranium.po b/resources/i18n/ko_KR/uranium.po index 315da79ce..f50fe9971 100644 --- a/resources/i18n/ko_KR/uranium.po +++ b/resources/i18n/ko_KR/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/nl_NL/uranium.po b/resources/i18n/nl_NL/uranium.po index 2a4f59ee7..cb7b8ce87 100644 --- a/resources/i18n/nl_NL/uranium.po +++ b/resources/i18n/nl_NL/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/pl_PL/uranium.po b/resources/i18n/pl_PL/uranium.po index 84f190115..bb88e3ed2 100644 --- a/resources/i18n/pl_PL/uranium.po +++ b/resources/i18n/pl_PL/uranium.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Uranium 5.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: 2019-11-15 15:35+0100\n" "Last-Translator: Mariusz 'Virgin71' Matłosz \n" "Language-Team: reprapy.pl\n" diff --git a/resources/i18n/pt_BR/uranium.po b/resources/i18n/pt_BR/uranium.po index a7d484426..5c07d56c4 100644 --- a/resources/i18n/pt_BR/uranium.po +++ b/resources/i18n/pt_BR/uranium.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Uranium 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: 2022-04-25 07:03+0200\n" "Last-Translator: Cláudio Sampaio \n" "Language-Team: Cláudio Sampaio\n" diff --git a/resources/i18n/pt_PT/uranium.po b/resources/i18n/pt_PT/uranium.po index 9fdadfca9..57630d431 100644 --- a/resources/i18n/pt_PT/uranium.po +++ b/resources/i18n/pt_PT/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/ru_RU/uranium.po b/resources/i18n/ru_RU/uranium.po index 8d537529e..1df9c05df 100644 --- a/resources/i18n/ru_RU/uranium.po +++ b/resources/i18n/ru_RU/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/tr_TR/uranium.po b/resources/i18n/tr_TR/uranium.po index b5133ab55..8ecca1176 100644 --- a/resources/i18n/tr_TR/uranium.po +++ b/resources/i18n/tr_TR/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/uranium.pot b/resources/i18n/uranium.pot index 2845a4ff4..fcee1f415 100644 --- a/resources/i18n/uranium.pot +++ b/resources/i18n/uranium.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -598,122 +598,122 @@ msgid "Local Container Provider" msgstr "" msgctxt "description" -msgid "Provides a simple solid mesh view." +msgid "Provides the Rotate tool." msgstr "" msgctxt "name" -msgid "Simple View" +msgid "Rotate Tool" msgstr "" msgctxt "description" -msgid "Enables saving to local files." +msgid "Provides the Move tool." msgstr "" msgctxt "name" -msgid "Local File Output Device" +msgid "Move Tool" msgstr "" msgctxt "description" -msgid "Checks for updates of the software." +msgid "Provides the tool to manipulate the camera." msgstr "" msgctxt "name" -msgid "Update Checker" +msgid "Camera Tool" msgstr "" msgctxt "description" -msgid "Outputs log information to a file in your settings folder." +msgid "Provides the Mirror tool." msgstr "" msgctxt "name" -msgid "File Logger" +msgid "Mirror Tool" msgstr "" msgctxt "description" -msgid "Provides support for reading STL files." +msgid "Provides the Scale tool." msgstr "" msgctxt "name" -msgid "STL Reader" +msgid "Scale Tool" msgstr "" msgctxt "description" -msgid "Makes it possible to write Wavefront OBJ files." +msgid "Provides the Selection tool." msgstr "" msgctxt "name" -msgid "Wavefront OBJ Writer" +msgid "Selection Tool" msgstr "" msgctxt "description" -msgid "Provides support for writing STL files." +msgid "Enables saving to local files." msgstr "" msgctxt "name" -msgid "STL Writer" +msgid "Local File Output Device" msgstr "" msgctxt "description" -msgid "Makes it possible to read Wavefront OBJ files." +msgid "Outputs log information to a file in your settings folder." msgstr "" msgctxt "name" -msgid "Wavefront OBJ Reader" +msgid "File Logger" msgstr "" msgctxt "description" -msgid "Provides the Scale tool." +msgid "Outputs log information to the console." msgstr "" msgctxt "name" -msgid "Scale Tool" +msgid "Console Logger" msgstr "" msgctxt "description" -msgid "Provides the tool to manipulate the camera." +msgid "Checks for updates of the software." msgstr "" msgctxt "name" -msgid "Camera Tool" +msgid "Update Checker" msgstr "" msgctxt "description" -msgid "Provides the Move tool." +msgid "Makes it possible to read Wavefront OBJ files." msgstr "" msgctxt "name" -msgid "Move Tool" +msgid "Wavefront OBJ Reader" msgstr "" msgctxt "description" -msgid "Provides the Selection tool." +msgid "Makes it possible to write Wavefront OBJ files." msgstr "" msgctxt "name" -msgid "Selection Tool" +msgid "Wavefront OBJ Writer" msgstr "" msgctxt "description" -msgid "Provides the Rotate tool." +msgid "Provides support for reading STL files." msgstr "" msgctxt "name" -msgid "Rotate Tool" +msgid "STL Reader" msgstr "" msgctxt "description" -msgid "Provides the Mirror tool." +msgid "Provides support for writing STL files." msgstr "" msgctxt "name" -msgid "Mirror Tool" +msgid "STL Writer" msgstr "" msgctxt "description" -msgid "Outputs log information to the console." +msgid "Provides a simple solid mesh view." msgstr "" msgctxt "name" -msgid "Console Logger" +msgid "Simple View" msgstr "" diff --git a/resources/i18n/zh_CN/uranium.po b/resources/i18n/zh_CN/uranium.po index 7f5846e4e..7034120b1 100644 --- a/resources/i18n/zh_CN/uranium.po +++ b/resources/i18n/zh_CN/uranium.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/resources/i18n/zh_TW/uranium.po b/resources/i18n/zh_TW/uranium.po index b82d7a1e7..54e178129 100644 --- a/resources/i18n/zh_TW/uranium.po +++ b/resources/i18n/zh_TW/uranium.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Uranium 5.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-06-15 20:47+0000\n" +"POT-Creation-Date: 2023-07-03 10:52+0000\n" "PO-Revision-Date: 2022-01-02 20:28+0800\n" "Last-Translator: Valen Chang \n" "Language-Team: Valen Chang \n"