");
- }
-
- ui->status->setText(status);
- }
- else
- ui->status->setText(tr("Error parsing update information."));
-
- settings.setValue("Updates/LastCheck", QDateTime::currentDateTimeUtc());
- }
- else
- ui->status->setText(tr("Error connecting to the update server."));
-
- if (mInitialUpdate)
- {
- if (updateAvailable)
- show();
- else
- deleteLater();
- }
-
- if (updateAvailable)
- ui->buttonBox->setStandardButtons(QDialogButtonBox::Close | QDialogButtonBox::Ignore);
- else
- ui->buttonBox->setStandardButtons(QDialogButtonBox::Close);
-}
diff --git a/qt/qtmain.cpp b/qt/qtmain.cpp
index bf59102c..cd818eca 100644
--- a/qt/qtmain.cpp
+++ b/qt/qtmain.cpp
@@ -1,6 +1,6 @@
#include "lc_global.h"
#include "lc_application.h"
-#include "lc_qupdatedialog.h"
+#include "lc_updatedialog.h"
#include "lc_profile.h"
#include "pieceinf.h"
#include
diff --git a/resources/leocad_cs.ts b/resources/leocad_cs.ts
index 1aef3a31..f6c7aba8 100644
--- a/resources/leocad_cs.ts
+++ b/resources/leocad_cs.ts
@@ -8073,49 +8073,49 @@ GL_EXT_texture_filter_anisotropic rozšíření: %5
- lcQUpdateDialog
+ lcUpdateDialog
-
+ LeoCAD UpdatesAktualizace LeoCADu
-
+ Connecting to update server...Připojuji se k aktualizačnímu serveru ...
-
+ <p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p><p>K dispozici je novější verze LeoCADu ke stažení (%1.%2.%3).</p>
-
+ <p>You are using the latest LeoCAD version.</p><p>Používáte nejnovější verzi LeoCADu.</p>
-
+ <p>There are new parts available.</p><p>K dispozici jsou nové aktualizace.</p>
-
+ <p>There are no new parts available at this time.</p><p>Momentálně nejsou k dispozici žádné nové aktualizace.</p>
-
+ <p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p><p>Navštivte <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> pro stažení.</p>
-
+ Error parsing update information.Při analýze informací o aktualizaci došlo k chybě.
-
+ Error connecting to the update server.Při připojování k aktualizačnímu serveru došlo k chybě.
diff --git a/resources/leocad_de.ts b/resources/leocad_de.ts
index 25670640..afe08fb4 100644
--- a/resources/leocad_de.ts
+++ b/resources/leocad_de.ts
@@ -7963,49 +7963,49 @@ Anisotropic: %5
- lcQUpdateDialog
+ lcUpdateDialog
-
+ LeoCAD UpdatesAktualisierungen für LeoCAD
-
+ Connecting to update server...Verbinde zum Server für Aktualisierungen…
-
+ <p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p><p>Es ist einen neue Version von LeoCAD zum herunterladen verfügbar (%1.%2.%3).</p>
-
+ <p>You are using the latest LeoCAD version.</p><p>Sie benutzen die aktuelle Version von LeoCAD.</p>
-
+ <p>There are new parts available.</p><p>Es sind neue Teile verfügbar.</p>
-
+ <p>There are no new parts available at this time.</p><p>Im Moment gibt es keine neuen Teile.</p>
-
+ <p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p><p>Besuchen sie <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> zum downloaden.</p>
-
+ Error parsing update information.Fehler bei der Analyse der Aktualisierungsinformation.
-
+ Error connecting to the update server.Fehler bein Verbinden mit dem Aktualisierungsserver.
diff --git a/resources/leocad_es.ts b/resources/leocad_es.ts
index b1bf37fd..4d408e69 100644
--- a/resources/leocad_es.ts
+++ b/resources/leocad_es.ts
@@ -8106,49 +8106,49 @@ Anisotropic: %5
- lcQUpdateDialog
+ lcUpdateDialog
-
+ LeoCAD UpdatesActualizaciones de LeoCAD
-
+ Connecting to update server...Conectando con el servidor de actualizaciones...
-
+ <p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p><p>Hay una nueva versión de LeoCAD disponible para descargar (%1.%2.%3).</p>
-
+ <p>You are using the latest LeoCAD version.</p><p>Estás utilizando la última versión de LeoCAD.</p>
-
+ <p>There are new parts available.</p><p>No hay nuevas piezas disponibles.</p>
-
+ <p>There are no new parts available at this time.</p><p>No hay nuevas piezas disponibles en este momento.</p>
-
+ <p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p><p>Visita <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> para descargar.</p>
-
+ Error parsing update information.Error parseando la información de la actualización.
-
+ Error connecting to the update server.Error conectando al servidor de actualizaciones.
diff --git a/resources/leocad_fr.ts b/resources/leocad_fr.ts
index fe5ec3e6..f691f20d 100644
--- a/resources/leocad_fr.ts
+++ b/resources/leocad_fr.ts
@@ -7837,49 +7837,49 @@ Anisotropic: %5
- lcQUpdateDialog
+ lcUpdateDialog
-
+ LeoCAD UpdatesMises à jour LeoCAD
-
+ Connecting to update server...Connexion au serveur de mise à jour…
-
+ <p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p><p>Il y a une nouvelle version de LeoCAD disponible au téléchargement (%1.%2.%3).</p>
-
+ <p>You are using the latest LeoCAD version.</p><p>Vous utilisez la dernière version de LeoCAD.</p>
-
+ <p>There are new parts available.</p><p>Il y a de nouvelle pièces disponibles.</p>
-
+ <p>There are no new parts available at this time.</p><p>Il n’y a pas de nouvelle pièces disponibles en ce moment.</p>
-
+ <p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p>
-
+ Error parsing update information.Erreur à la lecture des informations de mise à jour.
-
+ Error connecting to the update server.Erreur à la connexion au serveur de mise à jour.
diff --git a/resources/leocad_pt.ts b/resources/leocad_pt.ts
index 657b3e48..5b968687 100644
--- a/resources/leocad_pt.ts
+++ b/resources/leocad_pt.ts
@@ -7833,49 +7833,49 @@ Anisotropic: %5
- lcQUpdateDialog
+ lcUpdateDialog
-
+ LeoCAD UpdatesActualizações do LeoCAD
-
+ Connecting to update server...A ligar ao servidor de actualizações...
-
+ <p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p><p>Existe uma nova versão do LeoCAD em descarregamento (%1.%2.%3).</p>
-
+ <p>You are using the latest LeoCAD version.</p><p>Tem a última versão do LeoCAD.</p>
-
+ <p>There are new parts available.</p><p>Existem novas peças disponiveis.</p>
-
+ <p>There are no new parts available at this time.</p><p>Não há novas peças disponiveis.</p>
-
+ <p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p>
-
+ Error parsing update information.Erro ao ler a informação de actualização.
-
+ Error connecting to the update server.Erro ao ligar ao servidor de actualizações.
diff --git a/resources/leocad_ru.ts b/resources/leocad_ru.ts
index 62d6cb07..a4b6ad6b 100644
--- a/resources/leocad_ru.ts
+++ b/resources/leocad_ru.ts
@@ -7975,49 +7975,49 @@ GL_EXT_texture_filter_anisotropic extension: %5
- lcQUpdateDialog
+ lcUpdateDialog
-
+ LeoCAD UpdatesОбновления LeoCAD
-
+ Connecting to update server...Соединение с сервером обновления…
-
+ <p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p><p>Доступна новая версия LeoCAD для загрузки (%1.%2.%3).</p>
-
+ <p>You are using the latest LeoCAD version.</p><p>Используется последняя версия LeoCAD.</p>
-
+ <p>There are new parts available.</p><p>Доступны новые детали.</p>
-
+ <p>There are no new parts available at this time.</p><p>В данный момент новые детали недоступны.</p>
-
+ <p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p><p>Посетите <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> для загрузки.</p>
-
+ Error parsing update information.Ошибка обработки информации по обновлению.
-
+ Error connecting to the update server.Ошибка соединения с сервером обновления.
diff --git a/resources/leocad_uk.ts b/resources/leocad_uk.ts
index 8b55327f..4508c8c7 100644
--- a/resources/leocad_uk.ts
+++ b/resources/leocad_uk.ts
@@ -7899,49 +7899,49 @@ GL_EXT_texture_filter_anisotropic extension: %5
- lcQUpdateDialog
+ lcUpdateDialog
-
+ LeoCAD UpdatesОновлення LeoCAD
-
+ Connecting to update server...З'єднання з сервером оновлень...
-
+ <p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p><p>Доступна нова версія LeoCAD для завантаження (%1.%2.%3).</p>
-
+ <p>You are using the latest LeoCAD version.</p><p>Ви використовуєте найновішу версію LeoCAD.</p>
-
+ <p>There are new parts available.</p><p>Виявлено нові доступні блоки.</p>
-
+ <p>There are no new parts available at this time.</p><p>Наразі немає нових доступних блоків.</p>
-
+ <p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p><p>Відвідайте <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> для завантаження.</p>
-
+ Error parsing update information.Помилка розбору інформації оновлення.
-
+ Error connecting to the update server.Помилка з'єднання з сервером оновлень.