mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Renamed lcUpdateDialog.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "lc_viewwidget.h"
|
||||
#include "lc_colorlist.h"
|
||||
#include "lc_qutils.h"
|
||||
#include "lc_qupdatedialog.h"
|
||||
#include "lc_updatedialog.h"
|
||||
#include "lc_aboutdialog.h"
|
||||
#include "lc_setsdatabasedialog.h"
|
||||
#include "lc_qhtmldialog.h"
|
||||
@@ -1299,7 +1299,7 @@ void lcMainWindow::Print(QPrinter* Printer)
|
||||
|
||||
void lcMainWindow::ShowUpdatesDialog()
|
||||
{
|
||||
lcQUpdateDialog Dialog(this, false);
|
||||
lcUpdateDialog Dialog(this, false);
|
||||
Dialog.exec();
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
#include "lc_global.h"
|
||||
#include "lc_updatedialog.h"
|
||||
#include "ui_lc_qupdatedialog.h"
|
||||
#include "lc_application.h"
|
||||
#include "lc_library.h"
|
||||
#include "lc_profile.h"
|
||||
#include "lc_http.h"
|
||||
|
||||
void lcDoInitialUpdateCheck()
|
||||
{
|
||||
int UpdateFrequency = lcGetProfileInt(LC_PROFILE_CHECK_UPDATES);
|
||||
|
||||
if (UpdateFrequency == 0)
|
||||
return;
|
||||
|
||||
QSettings Settings;
|
||||
QDateTime CheckTime = Settings.value("Updates/LastCheck", QDateTime()).toDateTime();
|
||||
|
||||
if (!CheckTime.isNull())
|
||||
{
|
||||
QDateTime NextCheckTime = CheckTime.addDays(UpdateFrequency == 1 ? 1 : 7);
|
||||
|
||||
if (NextCheckTime > QDateTime::currentDateTimeUtc())
|
||||
return;
|
||||
}
|
||||
|
||||
new lcUpdateDialog(nullptr, true);
|
||||
}
|
||||
|
||||
lcUpdateDialog::lcUpdateDialog(QWidget* Parent, bool InitialUpdate)
|
||||
: QDialog(Parent), ui(new Ui::lcUpdateDialog), mInitialUpdate(InitialUpdate)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
connect(this, SIGNAL(finished(int)), this, SLOT(finished(int)));
|
||||
|
||||
ui->status->setText(tr("Connecting to update server..."));
|
||||
|
||||
mHttpManager = new lcHttpManager(this);
|
||||
connect(mHttpManager, &lcHttpManager::DownloadFinished, this, &lcUpdateDialog::DownloadFinished);
|
||||
|
||||
mHttpManager->DownloadFile(QLatin1String("https://www.leocad.org/updates.txt"));
|
||||
}
|
||||
|
||||
lcUpdateDialog::~lcUpdateDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void lcUpdateDialog::accept()
|
||||
{
|
||||
QSettings Settings;
|
||||
Settings.setValue("Updates/IgnoreVersion", mVersionData);
|
||||
|
||||
QDialog::accept();
|
||||
}
|
||||
|
||||
void lcUpdateDialog::finished(int result)
|
||||
{
|
||||
Q_UNUSED(result);
|
||||
|
||||
if (mInitialUpdate)
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
void lcUpdateDialog::DownloadFinished(lcHttpReply* Reply)
|
||||
{
|
||||
bool UpdateAvailable = false;
|
||||
|
||||
if (Reply->error() == QNetworkReply::NoError)
|
||||
{
|
||||
int MajorVersion, MinorVersion, PatchVersion;
|
||||
int Parts;
|
||||
|
||||
mVersionData = Reply->readAll();
|
||||
const char* Update = mVersionData;
|
||||
|
||||
QSettings Settings;
|
||||
QByteArray IgnoreUpdate = Settings.value("Updates/IgnoreVersion", QByteArray()).toByteArray();
|
||||
|
||||
if (mInitialUpdate && IgnoreUpdate == mVersionData)
|
||||
{
|
||||
UpdateAvailable = false;
|
||||
}
|
||||
else if (sscanf(Update, "%d.%d.%d %d", &MajorVersion, &MinorVersion, &PatchVersion, &Parts) == 4)
|
||||
{
|
||||
QString Status;
|
||||
|
||||
if (MajorVersion > LC_VERSION_MAJOR)
|
||||
UpdateAvailable = true;
|
||||
else if (MajorVersion == LC_VERSION_MAJOR)
|
||||
{
|
||||
if (MinorVersion > LC_VERSION_MINOR)
|
||||
UpdateAvailable = true;
|
||||
else if (MinorVersion == LC_VERSION_MINOR)
|
||||
{
|
||||
if (PatchVersion > LC_VERSION_PATCH)
|
||||
UpdateAvailable = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (UpdateAvailable)
|
||||
Status = QString(tr("<p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p>")).arg(QString::number(MajorVersion), QString::number(MinorVersion), QString::number(PatchVersion));
|
||||
else
|
||||
Status = tr("<p>You are using the latest LeoCAD version.</p>");
|
||||
|
||||
lcPiecesLibrary* Library = lcGetPiecesLibrary();
|
||||
|
||||
if (Library->mNumOfficialPieces)
|
||||
{
|
||||
if (Parts > Library->mNumOfficialPieces)
|
||||
{
|
||||
Status += tr("<p>There are new parts available.</p>");
|
||||
UpdateAvailable = true;
|
||||
}
|
||||
else
|
||||
Status += tr("<p>There are no new parts available at this time.</p>");
|
||||
}
|
||||
|
||||
if (UpdateAvailable)
|
||||
{
|
||||
Status += tr("<p>Visit <a href=\"https://github.com/leozide/leocad/releases\">https://github.com/leozide/leocad/releases</a> to download.</p>");
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
@@ -1,37 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class lcHttpReply;
|
||||
class lcHttpManager;
|
||||
|
||||
namespace Ui {
|
||||
class lcQUpdateDialog;
|
||||
class lcUpdateDialog;
|
||||
}
|
||||
|
||||
void lcDoInitialUpdateCheck();
|
||||
|
||||
class lcQUpdateDialog : public QDialog
|
||||
class lcUpdateDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit lcQUpdateDialog(QWidget* Parent, bool InitialUpdate);
|
||||
~lcQUpdateDialog();
|
||||
lcUpdateDialog(QWidget* Parent, bool InitialUpdate);
|
||||
virtual ~lcUpdateDialog();
|
||||
|
||||
void parseUpdate(const char *update);
|
||||
void ParseUpdate(const char* Update);
|
||||
|
||||
public slots:
|
||||
void DownloadFinished(lcHttpReply* Reply);
|
||||
void accept() override;
|
||||
void reject() override;
|
||||
void finished(int result);
|
||||
|
||||
private:
|
||||
Ui::lcQUpdateDialog *ui;
|
||||
Ui::lcUpdateDialog *ui;
|
||||
|
||||
lcHttpManager* mHttpManager;
|
||||
QByteArray versionData;
|
||||
QByteArray mVersionData;
|
||||
bool mInitialUpdate;
|
||||
};
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>lcQUpdateDialog</class>
|
||||
<widget class="QDialog" name="lcQUpdateDialog">
|
||||
<class>lcUpdateDialog</class>
|
||||
<widget class="QDialog" name="lcUpdateDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
@@ -20,7 +20,7 @@
|
||||
<string/>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::RichText</enum>
|
||||
<enum>Qt::TextFormat::RichText</enum>
|
||||
</property>
|
||||
<property name="openExternalLinks">
|
||||
<bool>true</bool>
|
||||
@@ -30,10 +30,10 @@
|
||||
<item>
|
||||
<widget class="QDialogButtonBox" name="buttonBox">
|
||||
<property name="orientation">
|
||||
<enum>Qt::Horizontal</enum>
|
||||
<enum>Qt::Orientation::Horizontal</enum>
|
||||
</property>
|
||||
<property name="standardButtons">
|
||||
<set>QDialogButtonBox::Cancel</set>
|
||||
<set>QDialogButtonBox::StandardButton::Cancel</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@@ -44,7 +44,7 @@
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>lcQUpdateDialog</receiver>
|
||||
<receiver>lcUpdateDialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
@@ -60,7 +60,7 @@
|
||||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>lcQUpdateDialog</receiver>
|
||||
<receiver>lcUpdateDialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
+11
-11
@@ -227,6 +227,7 @@ SOURCES += \
|
||||
common/lc_thumbnailmanager.cpp \
|
||||
common/lc_timelinewidget.cpp \
|
||||
common/lc_traintrack.cpp \
|
||||
common/lc_updatedialog.cpp \
|
||||
common/lc_view.cpp \
|
||||
common/lc_viewmanipulator.cpp \
|
||||
common/lc_viewsphere.cpp \
|
||||
@@ -238,7 +239,6 @@ SOURCES += \
|
||||
qt/lc_qhtmldialog.cpp \
|
||||
qt/lc_qpreferencesdialog.cpp \
|
||||
qt/lc_qimagedialog.cpp \
|
||||
qt/lc_qupdatedialog.cpp \
|
||||
qt/lc_qutils.cpp \
|
||||
qt/lc_renderdialog.cpp \
|
||||
qt/lc_setsdatabasedialog.cpp
|
||||
@@ -306,6 +306,7 @@ HEADERS += \
|
||||
common/lc_thumbnailmanager.h \
|
||||
common/lc_timelinewidget.h \
|
||||
common/lc_traintrack.h \
|
||||
common/lc_updatedialog.h \
|
||||
common/lc_view.h \
|
||||
common/lc_viewmanipulator.h \
|
||||
common/lc_viewsphere.h \
|
||||
@@ -316,20 +317,11 @@ HEADERS += \
|
||||
qt/lc_qhtmldialog.h \
|
||||
qt/lc_qpreferencesdialog.h \
|
||||
qt/lc_qimagedialog.h \
|
||||
qt/lc_qupdatedialog.h \
|
||||
qt/lc_qutils.h \
|
||||
qt/lc_renderdialog.h \
|
||||
qt/lc_setsdatabasedialog.h \
|
||||
common/lc_partpalettedialog.h
|
||||
FORMS += \
|
||||
qt/lc_qselectdialog.ui \
|
||||
qt/lc_qpropertiesdialog.ui \
|
||||
qt/lc_qhtmldialog.ui \
|
||||
qt/lc_qpreferencesdialog.ui \
|
||||
qt/lc_qimagedialog.ui \
|
||||
qt/lc_qupdatedialog.ui \
|
||||
qt/lc_renderdialog.ui \
|
||||
qt/lc_setsdatabasedialog.ui \
|
||||
common/lc_aboutdialog.ui \
|
||||
common/lc_arraydialog.ui \
|
||||
common/lc_categorydialog.ui \
|
||||
@@ -338,7 +330,15 @@ FORMS += \
|
||||
common/lc_minifigdialog.ui \
|
||||
common/lc_modellistdialog.ui \
|
||||
common/lc_pagesetupdialog.ui \
|
||||
common/lc_partpalettedialog.ui
|
||||
common/lc_partpalettedialog.ui \
|
||||
common/lc_updatedialog.ui \
|
||||
qt/lc_qselectdialog.ui \
|
||||
qt/lc_qpropertiesdialog.ui \
|
||||
qt/lc_qhtmldialog.ui \
|
||||
qt/lc_qpreferencesdialog.ui \
|
||||
qt/lc_qimagedialog.ui \
|
||||
qt/lc_renderdialog.ui \
|
||||
qt/lc_setsdatabasedialog.ui
|
||||
OTHER_FILES +=
|
||||
RESOURCES += leocad.qrc resources/stylesheet/stylesheet.qrc
|
||||
|
||||
|
||||
@@ -1,152 +0,0 @@
|
||||
#include "lc_global.h"
|
||||
#include "lc_qupdatedialog.h"
|
||||
#include "ui_lc_qupdatedialog.h"
|
||||
#include "lc_application.h"
|
||||
#include "lc_library.h"
|
||||
#include "lc_profile.h"
|
||||
#include "lc_http.h"
|
||||
|
||||
void lcDoInitialUpdateCheck()
|
||||
{
|
||||
int updateFrequency = lcGetProfileInt(LC_PROFILE_CHECK_UPDATES);
|
||||
|
||||
if (updateFrequency == 0)
|
||||
return;
|
||||
|
||||
QSettings settings;
|
||||
QDateTime CheckTime = settings.value("Updates/LastCheck", QDateTime()).toDateTime();
|
||||
|
||||
if (!CheckTime.isNull())
|
||||
{
|
||||
QDateTime NextCheckTime = CheckTime.addDays(updateFrequency == 1 ? 1 : 7);
|
||||
|
||||
if (NextCheckTime > QDateTime::currentDateTimeUtc())
|
||||
return;
|
||||
}
|
||||
|
||||
new lcQUpdateDialog(nullptr, true);
|
||||
}
|
||||
|
||||
lcQUpdateDialog::lcQUpdateDialog(QWidget* Parent, bool InitialUpdate)
|
||||
: QDialog(Parent), ui(new Ui::lcQUpdateDialog), mInitialUpdate(InitialUpdate)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
connect(this, SIGNAL(finished(int)), this, SLOT(finished(int)));
|
||||
|
||||
ui->status->setText(tr("Connecting to update server..."));
|
||||
|
||||
mHttpManager = new lcHttpManager(this);
|
||||
connect(mHttpManager, SIGNAL(DownloadFinished(lcHttpReply*)), this, SLOT(DownloadFinished(lcHttpReply*)));
|
||||
|
||||
mHttpManager->DownloadFile(QLatin1String("https://www.leocad.org/updates.txt"));
|
||||
}
|
||||
|
||||
lcQUpdateDialog::~lcQUpdateDialog()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void lcQUpdateDialog::accept()
|
||||
{
|
||||
QSettings settings;
|
||||
settings.setValue("Updates/IgnoreVersion", versionData);
|
||||
|
||||
QDialog::accept();
|
||||
}
|
||||
|
||||
void lcQUpdateDialog::reject()
|
||||
{
|
||||
QDialog::reject();
|
||||
}
|
||||
|
||||
void lcQUpdateDialog::finished(int result)
|
||||
{
|
||||
Q_UNUSED(result);
|
||||
|
||||
if (mInitialUpdate)
|
||||
deleteLater();
|
||||
}
|
||||
|
||||
void lcQUpdateDialog::DownloadFinished(lcHttpReply *reply)
|
||||
{
|
||||
bool updateAvailable = false;
|
||||
|
||||
if (reply->error() == QNetworkReply::NoError)
|
||||
{
|
||||
int majorVersion, minorVersion, patchVersion;
|
||||
int parts;
|
||||
|
||||
versionData = reply->readAll();
|
||||
const char *update = versionData;
|
||||
|
||||
QSettings settings;
|
||||
QByteArray ignoreUpdate = settings.value("Updates/IgnoreVersion", QByteArray()).toByteArray();
|
||||
|
||||
if (mInitialUpdate && ignoreUpdate == versionData)
|
||||
{
|
||||
updateAvailable = false;
|
||||
}
|
||||
else if (sscanf(update, "%d.%d.%d %d", &majorVersion, &minorVersion, &patchVersion, &parts) == 4)
|
||||
{
|
||||
QString status;
|
||||
|
||||
if (majorVersion > LC_VERSION_MAJOR)
|
||||
updateAvailable = true;
|
||||
else if (majorVersion == LC_VERSION_MAJOR)
|
||||
{
|
||||
if (minorVersion > LC_VERSION_MINOR)
|
||||
updateAvailable = true;
|
||||
else if (minorVersion == LC_VERSION_MINOR)
|
||||
{
|
||||
if (patchVersion > LC_VERSION_PATCH)
|
||||
updateAvailable = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (updateAvailable)
|
||||
status = QString(tr("<p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p>")).arg(QString::number(majorVersion), QString::number(minorVersion), QString::number(patchVersion));
|
||||
else
|
||||
status = tr("<p>You are using the latest LeoCAD version.</p>");
|
||||
|
||||
lcPiecesLibrary* library = lcGetPiecesLibrary();
|
||||
|
||||
if (library->mNumOfficialPieces)
|
||||
{
|
||||
if (parts > library->mNumOfficialPieces)
|
||||
{
|
||||
status += tr("<p>There are new parts available.</p>");
|
||||
updateAvailable = true;
|
||||
}
|
||||
else
|
||||
status += tr("<p>There are no new parts available at this time.</p>");
|
||||
}
|
||||
|
||||
if (updateAvailable)
|
||||
{
|
||||
status += tr("<p>Visit <a href=\"https://github.com/leozide/leocad/releases\">https://github.com/leozide/leocad/releases</a> to download.</p>");
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
+1
-1
@@ -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 <QApplication>
|
||||
|
||||
+10
-10
@@ -8073,49 +8073,49 @@ GL_EXT_texture_filter_anisotropic rozšíření: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>lcQUpdateDialog</name>
|
||||
<name>lcUpdateDialog</name>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.ui" line="14"/>
|
||||
<location filename="../common/lc_updatedialog.ui" line="14"/>
|
||||
<source>LeoCAD Updates</source>
|
||||
<translation>Aktualizace LeoCADu</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="37"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="37"/>
|
||||
<source>Connecting to update server...</source>
|
||||
<translation>Připojuji se k aktualizačnímu serveru ...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="108"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="108"/>
|
||||
<source><p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p></source>
|
||||
<translation><p>K dispozici je novější verze LeoCADu ke stažení (%1.%2.%3).</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="110"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="110"/>
|
||||
<source><p>You are using the latest LeoCAD version.</p></source>
|
||||
<translation><p>Používáte nejnovější verzi LeoCADu.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="118"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="118"/>
|
||||
<source><p>There are new parts available.</p></source>
|
||||
<translation><p>K dispozici jsou nové aktualizace.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="122"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="122"/>
|
||||
<source><p>There are no new parts available at this time.</p></source>
|
||||
<translation><p>Momentálně nejsou k dispozici žádné nové aktualizace.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="127"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="127"/>
|
||||
<source><p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p></source>
|
||||
<translation><p>Navštivte <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> pro stažení.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="133"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="133"/>
|
||||
<source>Error parsing update information.</source>
|
||||
<translation>Při analýze informací o aktualizaci došlo k chybě.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="138"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="138"/>
|
||||
<source>Error connecting to the update server.</source>
|
||||
<translation>Při připojování k aktualizačnímu serveru došlo k chybě.</translation>
|
||||
</message>
|
||||
|
||||
+10
-10
@@ -7963,49 +7963,49 @@ Anisotropic: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>lcQUpdateDialog</name>
|
||||
<name>lcUpdateDialog</name>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.ui" line="14"/>
|
||||
<location filename="../common/lc_updatedialog.ui" line="14"/>
|
||||
<source>LeoCAD Updates</source>
|
||||
<translation>Aktualisierungen für LeoCAD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="37"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="37"/>
|
||||
<source>Connecting to update server...</source>
|
||||
<translation>Verbinde zum Server für Aktualisierungen…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="108"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="108"/>
|
||||
<source><p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p></source>
|
||||
<translation><p>Es ist einen neue Version von LeoCAD zum herunterladen verfügbar (%1.%2.%3).</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="110"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="110"/>
|
||||
<source><p>You are using the latest LeoCAD version.</p></source>
|
||||
<translation><p>Sie benutzen die aktuelle Version von LeoCAD.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="118"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="118"/>
|
||||
<source><p>There are new parts available.</p></source>
|
||||
<translation><p>Es sind neue Teile verfügbar.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="122"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="122"/>
|
||||
<source><p>There are no new parts available at this time.</p></source>
|
||||
<translation><p>Im Moment gibt es keine neuen Teile.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="127"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="127"/>
|
||||
<source><p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p></source>
|
||||
<translation><p>Besuchen sie <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> zum downloaden.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="133"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="133"/>
|
||||
<source>Error parsing update information.</source>
|
||||
<translation>Fehler bei der Analyse der Aktualisierungsinformation.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="138"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="138"/>
|
||||
<source>Error connecting to the update server.</source>
|
||||
<translation>Fehler bein Verbinden mit dem Aktualisierungsserver.</translation>
|
||||
</message>
|
||||
|
||||
+10
-10
@@ -8106,49 +8106,49 @@ Anisotropic: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>lcQUpdateDialog</name>
|
||||
<name>lcUpdateDialog</name>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.ui" line="14"/>
|
||||
<location filename="../common/lc_updatedialog.ui" line="14"/>
|
||||
<source>LeoCAD Updates</source>
|
||||
<translation>Actualizaciones de LeoCAD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="37"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="37"/>
|
||||
<source>Connecting to update server...</source>
|
||||
<translation>Conectando con el servidor de actualizaciones...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="108"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="108"/>
|
||||
<source><p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p></source>
|
||||
<translation><p>Hay una nueva versión de LeoCAD disponible para descargar (%1.%2.%3).</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="110"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="110"/>
|
||||
<source><p>You are using the latest LeoCAD version.</p></source>
|
||||
<translation><p>Estás utilizando la última versión de LeoCAD.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="118"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="118"/>
|
||||
<source><p>There are new parts available.</p></source>
|
||||
<translation><p>No hay nuevas piezas disponibles.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="122"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="122"/>
|
||||
<source><p>There are no new parts available at this time.</p></source>
|
||||
<translation><p>No hay nuevas piezas disponibles en este momento.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="127"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="127"/>
|
||||
<source><p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p></source>
|
||||
<translation><p>Visita <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> para descargar.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="133"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="133"/>
|
||||
<source>Error parsing update information.</source>
|
||||
<translation>Error parseando la información de la actualización.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="138"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="138"/>
|
||||
<source>Error connecting to the update server.</source>
|
||||
<translation>Error conectando al servidor de actualizaciones.</translation>
|
||||
</message>
|
||||
|
||||
+10
-10
@@ -7837,49 +7837,49 @@ Anisotropic: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>lcQUpdateDialog</name>
|
||||
<name>lcUpdateDialog</name>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.ui" line="14"/>
|
||||
<location filename="../common/lc_updatedialog.ui" line="14"/>
|
||||
<source>LeoCAD Updates</source>
|
||||
<translation>Mises à jour LeoCAD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="37"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="37"/>
|
||||
<source>Connecting to update server...</source>
|
||||
<translation>Connexion au serveur de mise à jour…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="108"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="108"/>
|
||||
<source><p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p></source>
|
||||
<translation><p>Il y a une nouvelle version de LeoCAD disponible au téléchargement (%1.%2.%3).</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="110"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="110"/>
|
||||
<source><p>You are using the latest LeoCAD version.</p></source>
|
||||
<translation><p>Vous utilisez la dernière version de LeoCAD.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="118"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="118"/>
|
||||
<source><p>There are new parts available.</p></source>
|
||||
<translation><p>Il y a de nouvelle pièces disponibles.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="122"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="122"/>
|
||||
<source><p>There are no new parts available at this time.</p></source>
|
||||
<translation><p>Il n’y a pas de nouvelle pièces disponibles en ce moment.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="127"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="127"/>
|
||||
<source><p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="133"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="133"/>
|
||||
<source>Error parsing update information.</source>
|
||||
<translation>Erreur à la lecture des informations de mise à jour.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="138"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="138"/>
|
||||
<source>Error connecting to the update server.</source>
|
||||
<translation>Erreur à la connexion au serveur de mise à jour.</translation>
|
||||
</message>
|
||||
|
||||
+10
-10
@@ -7833,49 +7833,49 @@ Anisotropic: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>lcQUpdateDialog</name>
|
||||
<name>lcUpdateDialog</name>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.ui" line="14"/>
|
||||
<location filename="../common/lc_updatedialog.ui" line="14"/>
|
||||
<source>LeoCAD Updates</source>
|
||||
<translation>Actualizações do LeoCAD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="37"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="37"/>
|
||||
<source>Connecting to update server...</source>
|
||||
<translation>A ligar ao servidor de actualizações...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="108"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="108"/>
|
||||
<source><p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p></source>
|
||||
<translation><p>Existe uma nova versão do LeoCAD em descarregamento (%1.%2.%3).</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="110"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="110"/>
|
||||
<source><p>You are using the latest LeoCAD version.</p></source>
|
||||
<translation><p>Tem a última versão do LeoCAD.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="118"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="118"/>
|
||||
<source><p>There are new parts available.</p></source>
|
||||
<translation><p>Existem novas peças disponiveis.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="122"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="122"/>
|
||||
<source><p>There are no new parts available at this time.</p></source>
|
||||
<translation><p>Não há novas peças disponiveis.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="127"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="127"/>
|
||||
<source><p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="133"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="133"/>
|
||||
<source>Error parsing update information.</source>
|
||||
<translation>Erro ao ler a informação de actualização.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="138"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="138"/>
|
||||
<source>Error connecting to the update server.</source>
|
||||
<translation>Erro ao ligar ao servidor de actualizações.</translation>
|
||||
</message>
|
||||
|
||||
+10
-10
@@ -7975,49 +7975,49 @@ GL_EXT_texture_filter_anisotropic extension: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>lcQUpdateDialog</name>
|
||||
<name>lcUpdateDialog</name>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.ui" line="14"/>
|
||||
<location filename="../common/lc_updatedialog.ui" line="14"/>
|
||||
<source>LeoCAD Updates</source>
|
||||
<translation>Обновления LeoCAD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="37"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="37"/>
|
||||
<source>Connecting to update server...</source>
|
||||
<translation>Соединение с сервером обновления…</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="108"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="108"/>
|
||||
<source><p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p></source>
|
||||
<translation><p>Доступна новая версия LeoCAD для загрузки (%1.%2.%3).</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="110"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="110"/>
|
||||
<source><p>You are using the latest LeoCAD version.</p></source>
|
||||
<translation><p>Используется последняя версия LeoCAD.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="118"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="118"/>
|
||||
<source><p>There are new parts available.</p></source>
|
||||
<translation><p>Доступны новые детали.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="122"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="122"/>
|
||||
<source><p>There are no new parts available at this time.</p></source>
|
||||
<translation><p>В данный момент новые детали недоступны.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="127"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="127"/>
|
||||
<source><p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p></source>
|
||||
<translation><p>Посетите <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> для загрузки.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="133"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="133"/>
|
||||
<source>Error parsing update information.</source>
|
||||
<translation>Ошибка обработки информации по обновлению.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="138"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="138"/>
|
||||
<source>Error connecting to the update server.</source>
|
||||
<translation>Ошибка соединения с сервером обновления.</translation>
|
||||
</message>
|
||||
|
||||
+10
-10
@@ -7899,49 +7899,49 @@ GL_EXT_texture_filter_anisotropic extension: %5
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>lcQUpdateDialog</name>
|
||||
<name>lcUpdateDialog</name>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.ui" line="14"/>
|
||||
<location filename="../common/lc_updatedialog.ui" line="14"/>
|
||||
<source>LeoCAD Updates</source>
|
||||
<translation>Оновлення LeoCAD</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="37"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="37"/>
|
||||
<source>Connecting to update server...</source>
|
||||
<translation>З'єднання з сервером оновлень...</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="108"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="108"/>
|
||||
<source><p>There's a newer version of LeoCAD available for download (%1.%2.%3).</p></source>
|
||||
<translation><p>Доступна нова версія LeoCAD для завантаження (%1.%2.%3).</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="110"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="110"/>
|
||||
<source><p>You are using the latest LeoCAD version.</p></source>
|
||||
<translation><p>Ви використовуєте найновішу версію LeoCAD.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="118"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="118"/>
|
||||
<source><p>There are new parts available.</p></source>
|
||||
<translation><p>Виявлено нові доступні блоки.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="122"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="122"/>
|
||||
<source><p>There are no new parts available at this time.</p></source>
|
||||
<translation><p>Наразі немає нових доступних блоків.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="127"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="127"/>
|
||||
<source><p>Visit <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> to download.</p></source>
|
||||
<translation><p>Відвідайте <a href="https://github.com/leozide/leocad/releases">https://github.com/leozide/leocad/releases</a> для завантаження.</p></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="133"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="133"/>
|
||||
<source>Error parsing update information.</source>
|
||||
<translation>Помилка розбору інформації оновлення.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qt/lc_qupdatedialog.cpp" line="138"/>
|
||||
<location filename="../common/lc_updatedialog.cpp" line="138"/>
|
||||
<source>Error connecting to the update server.</source>
|
||||
<translation>Помилка з'єднання з сервером оновлень.</translation>
|
||||
</message>
|
||||
|
||||
Reference in New Issue
Block a user