Skip to content

Commit

Permalink
Add Qt translations on Windows. Finally fix upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElTh0r0 committed Apr 26, 2023
1 parent 948d6a3 commit f888dab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ build_script:
windeployqt --release --no-translations --no-opengl-sw InyokaEdit\InyokaEdit.exe
lconvert -o InyokaEdit\translations\qt_de.qm %QTDIR%\translations\qtbase_de.qm %QTDIR%\translations\qtwebengine_de.qm
copy COPYING InyokaEdit\
copy application\3rdparty\miniz\LICENSE InyokaEdit\Miniz_License.txt
Expand Down
3 changes: 2 additions & 1 deletion application/upload.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,8 @@ void Upload::requestUpload() {
void Upload::getUploadReply(const QString &sNWReply) {
m_State = RECUPLOAD;

if (sNWReply.isEmpty()) {
if (sNWReply.isEmpty() ||
sNWReply.contains(QStringLiteral("Die Seite wurde bearbeitet."))) {
qDebug() << "UPLOAD SUCCESSFUL!";
QMessageBox::information(m_pParent, QStringLiteral("Upload"),
tr("Upload successful!"));
Expand Down

0 comments on commit f888dab

Please sign in to comment.