double click on ProfileInterface widgets open specific dialog, german
translation updated
This commit is contained in:
parent
9062c88aea
commit
5c4f390bd2
15 changed files with 300 additions and 181 deletions
|
@ -24,7 +24,6 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
||||||
ui(new Ui::AboutDialog)
|
ui(new Ui::AboutDialog)
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
this->setWindowIcon(QIcon(":/img/5sync.png"));
|
|
||||||
aboutStr = ui->labAbout->text();
|
aboutStr = ui->labAbout->text();
|
||||||
ui->labAbout->setText(aboutStr.arg(qApp->applicationVersion(), QT_VERSION_STR, qVersion()));
|
ui->labAbout->setText(aboutStr.arg(qApp->applicationVersion(), QT_VERSION_STR, qVersion()));
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,7 +56,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="labAbout">
|
<widget class="QLabel" name="labAbout">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></string>
|
<string><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|
98
SavegameCopy.cpp
Executable file
98
SavegameCopy.cpp
Executable file
|
@ -0,0 +1,98 @@
|
||||||
|
/*****************************************************************************
|
||||||
|
* gta5sync GRAND THEFT AUTO V SYNC
|
||||||
|
* Copyright (C) 2016 Syping
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#include "SidebarGenerator.h"
|
||||||
|
#include "SavegameWidget.h"
|
||||||
|
#include "SavegameCopy.h"
|
||||||
|
#include <QMessageBox>
|
||||||
|
#include <QFileDialog>
|
||||||
|
#include <QSettings>
|
||||||
|
|
||||||
|
SavegameCopy::SavegameCopy()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SavegameCopy::CopySavegame(QWidget *parent, QString sgdPath)
|
||||||
|
{
|
||||||
|
QSettings settings("Syping", "gta5sync");
|
||||||
|
settings.beginGroup("FileDialogs");
|
||||||
|
|
||||||
|
fileDialogPreSave:
|
||||||
|
QFileInfo sgdFileInfo(sgdPath);
|
||||||
|
QFileDialog fileDialog(parent);
|
||||||
|
fileDialog.setFileMode(QFileDialog::AnyFile);
|
||||||
|
fileDialog.setViewMode(QFileDialog::Detail);
|
||||||
|
fileDialog.setAcceptMode(QFileDialog::AcceptSave);
|
||||||
|
fileDialog.setOption(QFileDialog::DontUseNativeDialog, true);
|
||||||
|
fileDialog.setOption(QFileDialog::DontConfirmOverwrite, true);
|
||||||
|
fileDialog.setDefaultSuffix("");
|
||||||
|
fileDialog.setWindowFlags(fileDialog.windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
|
fileDialog.setWindowTitle(SavegameWidget::tr(("Copy savegame")));
|
||||||
|
|
||||||
|
QStringList filters;
|
||||||
|
filters << SavegameWidget::tr("Savegame files (SGTA*)");
|
||||||
|
filters << SavegameWidget::tr("All files (**)");
|
||||||
|
fileDialog.setNameFilters(filters);
|
||||||
|
|
||||||
|
QList<QUrl> sidebarUrls = SidebarGenerator::generateSidebarUrls(fileDialog.sidebarUrls());
|
||||||
|
|
||||||
|
fileDialog.setSidebarUrls(sidebarUrls);
|
||||||
|
fileDialog.restoreState(settings.value("CopySavegame","").toByteArray());
|
||||||
|
fileDialog.selectFile(sgdFileInfo.fileName());
|
||||||
|
|
||||||
|
if (fileDialog.exec())
|
||||||
|
{
|
||||||
|
QStringList selectedFiles = fileDialog.selectedFiles();
|
||||||
|
if (selectedFiles.length() == 1)
|
||||||
|
{
|
||||||
|
QString selectedFile = selectedFiles.at(0);
|
||||||
|
|
||||||
|
if (QFile::exists(selectedFile))
|
||||||
|
{
|
||||||
|
if (QMessageBox::Yes == QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("Overwrite %1 with current savegame?").arg("\""+selectedFile+"\""), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes))
|
||||||
|
{
|
||||||
|
if (!QFile::remove(selectedFile))
|
||||||
|
{
|
||||||
|
QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("Failed to overwrite %1 with current savegame").arg("\""+selectedFile+"\""));
|
||||||
|
goto fileDialogPreSave;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
goto fileDialogPreSave;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool isCopied = QFile::copy(sgdPath, selectedFile);
|
||||||
|
if (!isCopied)
|
||||||
|
{
|
||||||
|
QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("Failed to copy current savegame"));
|
||||||
|
goto fileDialogPreSave;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
QMessageBox::warning(parent, SavegameWidget::tr("Copy savegame"), SavegameWidget::tr("No valid file is selected"));
|
||||||
|
goto fileDialogPreSave;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
settings.setValue("CopySavegame", fileDialog.saveState());
|
||||||
|
settings.endGroup();
|
||||||
|
}
|
31
SavegameCopy.h
Executable file
31
SavegameCopy.h
Executable file
|
@ -0,0 +1,31 @@
|
||||||
|
/*****************************************************************************
|
||||||
|
* gta5sync GRAND THEFT AUTO V SYNC
|
||||||
|
* Copyright (C) 2016 Syping
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*****************************************************************************/
|
||||||
|
|
||||||
|
#ifndef SAVEGAMECOPY_H
|
||||||
|
#define SAVEGAMECOPY_H
|
||||||
|
|
||||||
|
#include <QWidget>
|
||||||
|
|
||||||
|
class SavegameCopy
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
SavegameCopy();
|
||||||
|
static void CopySavegame(QWidget *parent, QString sgdPath);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // SAVEGAMECOPY_H
|
|
@ -1,6 +1,6 @@
|
||||||
#include "SavegameDialog.h"
|
#include "SavegameDialog.h"
|
||||||
#include "ui_SavegameDialog.h"
|
#include "ui_SavegameDialog.h"
|
||||||
|
#include "SavegameCopy.h"
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
SavegameDialog::SavegameDialog(QWidget *parent) :
|
SavegameDialog::SavegameDialog(QWidget *parent) :
|
||||||
|
@ -16,7 +16,7 @@ SavegameDialog::~SavegameDialog()
|
||||||
delete ui;
|
delete ui;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SavegameDialog::setSavegameData(SavegameData *savegame, bool readOk)
|
void SavegameDialog::setSavegameData(SavegameData *savegame, QString savegamePath, bool readOk)
|
||||||
{
|
{
|
||||||
// Showing error if reading error
|
// Showing error if reading error
|
||||||
if (!readOk)
|
if (!readOk)
|
||||||
|
@ -24,7 +24,7 @@ void SavegameDialog::setSavegameData(SavegameData *savegame, bool readOk)
|
||||||
QMessageBox::warning(this,tr("Savegame Viewer"),tr("Failed at %1").arg(savegame->getLastStep()));
|
QMessageBox::warning(this,tr("Savegame Viewer"),tr("Failed at %1").arg(savegame->getLastStep()));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
sgdPath = savegamePath;
|
||||||
ui->labSavegameText->setText(savegameLabStr.arg(savegame->getSavegameStr()));
|
ui->labSavegameText->setText(savegameLabStr.arg(savegame->getSavegameStr()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,3 +32,8 @@ void SavegameDialog::on_cmdClose_clicked()
|
||||||
{
|
{
|
||||||
this->close();
|
this->close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SavegameDialog::on_cmdCopy_clicked()
|
||||||
|
{
|
||||||
|
SavegameCopy::CopySavegame(this, sgdPath);
|
||||||
|
}
|
||||||
|
|
|
@ -13,15 +13,17 @@ class SavegameDialog : public QDialog
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit SavegameDialog(QWidget *parent = 0);
|
explicit SavegameDialog(QWidget *parent = 0);
|
||||||
void setSavegameData(SavegameData *savegame, bool readOk);
|
void setSavegameData(SavegameData *savegame, QString sgdPath, bool readOk);
|
||||||
~SavegameDialog();
|
~SavegameDialog();
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void on_cmdClose_clicked();
|
void on_cmdClose_clicked();
|
||||||
|
void on_cmdCopy_clicked();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::SavegameDialog *ui;
|
Ui::SavegameDialog *ui;
|
||||||
QString savegameLabStr;
|
QString savegameLabStr;
|
||||||
|
QString sgdPath;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SAVEGAMEDIALOG_H
|
#endif // SAVEGAMEDIALOG_H
|
||||||
|
|
|
@ -52,6 +52,13 @@
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="cmdCopy">
|
||||||
|
<property name="text">
|
||||||
|
<string>Copy</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="cmdClose">
|
<widget class="QPushButton" name="cmdClose">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
|
|
|
@ -19,8 +19,10 @@
|
||||||
#include "SavegameWidget.h"
|
#include "SavegameWidget.h"
|
||||||
#include "ui_SavegameWidget.h"
|
#include "ui_SavegameWidget.h"
|
||||||
#include "SidebarGenerator.h"
|
#include "SidebarGenerator.h"
|
||||||
|
#include "SavegameDialog.h"
|
||||||
#include "StandardPaths.h"
|
#include "StandardPaths.h"
|
||||||
#include "SavegameData.h"
|
#include "SavegameData.h"
|
||||||
|
#include "SavegameCopy.h"
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QSettings>
|
#include <QSettings>
|
||||||
|
@ -51,6 +53,11 @@ void SavegameWidget::setSavegameData(SavegameData *savegame, QString savegamePat
|
||||||
sgdata = savegame;
|
sgdata = savegame;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SavegameWidget::on_cmdCopy_clicked()
|
||||||
|
{
|
||||||
|
SavegameCopy::CopySavegame(this, sgdPath);
|
||||||
|
}
|
||||||
|
|
||||||
void SavegameWidget::on_cmdDelete_clicked()
|
void SavegameWidget::on_cmdDelete_clicked()
|
||||||
{
|
{
|
||||||
int uchoice = QMessageBox::question(this, tr("Delete savegame"), tr("Are you sure to delete %1 from your savegames?").arg("\""+sgdStr+"\""), QMessageBox::No | QMessageBox::Yes, QMessageBox::No);
|
int uchoice = QMessageBox::question(this, tr("Delete savegame"), tr("Are you sure to delete %1 from your savegames?").arg("\""+sgdStr+"\""), QMessageBox::No | QMessageBox::Yes, QMessageBox::No);
|
||||||
|
@ -71,71 +78,16 @@ void SavegameWidget::on_cmdDelete_clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SavegameWidget::on_cmdCopy_clicked()
|
void SavegameWidget::mouseDoubleClickEvent(QMouseEvent *ev)
|
||||||
{
|
{
|
||||||
QSettings settings("Syping", "gta5sync");
|
QWidget::mouseDoubleClickEvent(ev);
|
||||||
settings.beginGroup("FileDialogs");
|
|
||||||
|
|
||||||
fileDialogPreSave:
|
SavegameDialog *savegameDialog = new SavegameDialog(this);
|
||||||
QFileInfo sgdFileInfo(sgdPath);
|
savegameDialog->setWindowFlags(savegameDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
QFileDialog fileDialog(this);
|
savegameDialog->setSavegameData(sgdata, sgdPath, true);
|
||||||
fileDialog.setFileMode(QFileDialog::AnyFile);
|
savegameDialog->setModal(true);
|
||||||
fileDialog.setViewMode(QFileDialog::Detail);
|
savegameDialog->show();
|
||||||
fileDialog.setAcceptMode(QFileDialog::AcceptSave);
|
savegameDialog->exec();
|
||||||
fileDialog.setOption(QFileDialog::DontUseNativeDialog, true);
|
savegameDialog->deleteLater();
|
||||||
fileDialog.setOption(QFileDialog::DontConfirmOverwrite, true);
|
delete savegameDialog;
|
||||||
fileDialog.setDefaultSuffix("");
|
|
||||||
fileDialog.setWindowFlags(fileDialog.windowFlags()^Qt::WindowContextHelpButtonHint);
|
|
||||||
fileDialog.setWindowTitle(tr("Copy savegame"));
|
|
||||||
|
|
||||||
QStringList filters;
|
|
||||||
filters << tr("Savegame files (SGTA*)");
|
|
||||||
filters << tr("All files (**)");
|
|
||||||
fileDialog.setNameFilters(filters);
|
|
||||||
|
|
||||||
QList<QUrl> sidebarUrls = SidebarGenerator::generateSidebarUrls(fileDialog.sidebarUrls());
|
|
||||||
|
|
||||||
fileDialog.setSidebarUrls(sidebarUrls);
|
|
||||||
fileDialog.restoreState(settings.value("CopySavegame","").toByteArray());
|
|
||||||
fileDialog.selectFile(sgdFileInfo.fileName());
|
|
||||||
|
|
||||||
if (fileDialog.exec())
|
|
||||||
{
|
|
||||||
QStringList selectedFiles = fileDialog.selectedFiles();
|
|
||||||
if (selectedFiles.length() == 1)
|
|
||||||
{
|
|
||||||
QString selectedFile = selectedFiles.at(0);
|
|
||||||
|
|
||||||
if (QFile::exists(selectedFile))
|
|
||||||
{
|
|
||||||
if (QMessageBox::Yes == QMessageBox::warning(this, tr("Copy savegame"), tr("Overwrite %1 with current savegame?").arg("\""+selectedFile+"\""), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes))
|
|
||||||
{
|
|
||||||
if (!QFile::remove(selectedFile))
|
|
||||||
{
|
|
||||||
QMessageBox::warning(this, tr("Copy savegame"), tr("Failed to overwrite %1 with current savegame").arg("\""+selectedFile+"\""));
|
|
||||||
goto fileDialogPreSave;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
goto fileDialogPreSave;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isCopied = QFile::copy(sgdPath, selectedFile);
|
|
||||||
if (!isCopied)
|
|
||||||
{
|
|
||||||
QMessageBox::warning(this, tr("Copy savegame"), tr("Failed to copy current savegame"));
|
|
||||||
goto fileDialogPreSave;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
QMessageBox::warning(this, tr("Copy savegame"), tr("No valid file is selected"));
|
|
||||||
goto fileDialogPreSave;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
settings.setValue("CopySavegame", fileDialog.saveState());
|
|
||||||
settings.endGroup();
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,9 @@ private slots:
|
||||||
void on_cmdDelete_clicked();
|
void on_cmdDelete_clicked();
|
||||||
void on_cmdCopy_clicked();
|
void on_cmdCopy_clicked();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void mouseDoubleClickEvent(QMouseEvent *ev);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Ui::SavegameWidget *ui;
|
Ui::SavegameWidget *ui;
|
||||||
SavegameData *sgdata;
|
SavegameData *sgdata;
|
||||||
|
|
|
@ -176,8 +176,8 @@ void UserInterface::openSelectProfile()
|
||||||
void UserInterface::on_actionAbout_gta5sync_triggered()
|
void UserInterface::on_actionAbout_gta5sync_triggered()
|
||||||
{
|
{
|
||||||
AboutDialog *aboutDialog = new AboutDialog(this);
|
AboutDialog *aboutDialog = new AboutDialog(this);
|
||||||
aboutDialog->setWindowIcon(this->windowIcon());
|
|
||||||
aboutDialog->setWindowFlags(aboutDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
aboutDialog->setWindowFlags(aboutDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
|
aboutDialog->setModal(true);
|
||||||
aboutDialog->show();
|
aboutDialog->show();
|
||||||
aboutDialog->exec();
|
aboutDialog->exec();
|
||||||
aboutDialog->deleteLater();
|
aboutDialog->deleteLater();
|
||||||
|
|
|
@ -32,6 +32,7 @@ SOURCES += main.cpp \
|
||||||
ProfileDatabase.cpp \
|
ProfileDatabase.cpp \
|
||||||
ProfileInterface.cpp \
|
ProfileInterface.cpp \
|
||||||
ProfileLoader.cpp \
|
ProfileLoader.cpp \
|
||||||
|
SavegameCopy.cpp \
|
||||||
SavegameData.cpp \
|
SavegameData.cpp \
|
||||||
SavegameDialog.cpp \
|
SavegameDialog.cpp \
|
||||||
SavegameWidget.cpp \
|
SavegameWidget.cpp \
|
||||||
|
@ -52,6 +53,7 @@ HEADERS += \
|
||||||
ProfileDatabase.h \
|
ProfileDatabase.h \
|
||||||
ProfileInterface.h \
|
ProfileInterface.h \
|
||||||
ProfileLoader.h \
|
ProfileLoader.h \
|
||||||
|
SavegameCopy.h \
|
||||||
SavegameData.h \
|
SavegameData.h \
|
||||||
SavegameDialog.h \
|
SavegameDialog.h \
|
||||||
SavegameWidget.h \
|
SavegameWidget.h \
|
||||||
|
@ -74,7 +76,7 @@ FORMS += \
|
||||||
|
|
||||||
TRANSLATIONS += \
|
TRANSLATIONS += \
|
||||||
res/gta5sync_de.ts \
|
res/gta5sync_de.ts \
|
||||||
res/lang/gta5sync_ru.ts
|
lang/gta5sync_ru.ts
|
||||||
|
|
||||||
RESOURCES += \
|
RESOURCES += \
|
||||||
res/app.qrc
|
res/app.qrc
|
||||||
|
|
|
@ -9,15 +9,19 @@
|
||||||
<translation>О программе gta5sync</translation>
|
<translation>О программе gta5sync</translation>
|
||||||
</message>
|
</message>
|
||||||
<message utf8="true">
|
<message utf8="true">
|
||||||
<location filename="../AboutDialog.ui" line="59"/>
|
|
||||||
<source><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></source>
|
<source><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></source>
|
||||||
<translation><span style=" font-weight:600;">gta5sync</span><br/><br/>Проект для просмотра и синхронизации фотографий Snapmatic и сохранений от Grand Theft Auto 5<br/><br/>Версия проекта: %1<br/>Скомпилировано с Qt %2<br/>Работает на Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync лицензирован по <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></translation>
|
<translation type="obsolete"><span style=" font-weight:600;">gta5sync</span><br/><br/>Проект для просмотра и синхронизации фотографий Snapmatic и сохранений от Grand Theft Auto 5<br/><br/>Версия проекта: %1<br/>Скомпилировано с Qt %2<br/>Работает на Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync лицензирован по <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AboutDialog.ui" line="104"/>
|
<location filename="../AboutDialog.ui" line="104"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Закрыть</translation>
|
<translation>Закрыть</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AboutDialog.ui" line="59"/>
|
||||||
|
<source><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>PictureDialog</name>
|
<name>PictureDialog</name>
|
||||||
|
@ -27,7 +31,7 @@
|
||||||
<translation>%1 - Просмотрщик фотографий Snapmatic</translation>
|
<translation>%1 - Просмотрщик фотографий Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="72"/>
|
<location filename="../PictureDialog.ui" line="78"/>
|
||||||
<source><span style=" font-weight:600;">Title: </span>%6<br>
|
<source><span style=" font-weight:600;">Title: </span>%6<br>
|
||||||
<span style=" font-weight:600;">Location: </span>%1, %2, %3 <br>
|
<span style=" font-weight:600;">Location: </span>%1, %2, %3 <br>
|
||||||
<span style=" font-weight:600;">Players: </span>%4<br>
|
<span style=" font-weight:600;">Players: </span>%4<br>
|
||||||
|
@ -38,109 +42,109 @@
|
||||||
<span style=" font-weight:600;">ID группы: </span>%5</translation>
|
<span style=" font-weight:600;">ID группы: </span>%5</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="85"/>
|
<location filename="../PictureDialog.ui" line="91"/>
|
||||||
<location filename="../PictureDialog.cpp" line="166"/>
|
<location filename="../PictureDialog.cpp" line="175"/>
|
||||||
<location filename="../PictureDialog.cpp" line="249"/>
|
<location filename="../PictureDialog.cpp" line="258"/>
|
||||||
<location filename="../PictureDialog.cpp" line="253"/>
|
<location filename="../PictureDialog.cpp" line="262"/>
|
||||||
<location filename="../PictureDialog.cpp" line="267"/>
|
<location filename="../PictureDialog.cpp" line="276"/>
|
||||||
<location filename="../PictureDialog.cpp" line="273"/>
|
<location filename="../PictureDialog.cpp" line="282"/>
|
||||||
<source>Export picture</source>
|
<source>Export picture</source>
|
||||||
<translation>Экспорт картинки</translation>
|
<translation>Экспорт картинки</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="88"/>
|
<location filename="../PictureDialog.ui" line="94"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Экспорт</translation>
|
<translation>Экспорт</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="95"/>
|
<location filename="../PictureDialog.ui" line="101"/>
|
||||||
<source>Copy</source>
|
<source>Copy</source>
|
||||||
<translation>Копировать</translation>
|
<translation>Копировать</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="102"/>
|
<location filename="../PictureDialog.ui" line="108"/>
|
||||||
<location filename="../PictureDialog.ui" line="105"/>
|
<location filename="../PictureDialog.ui" line="111"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Закрыть</translation>
|
<translation>Закрыть</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="66"/>
|
<location filename="../PictureDialog.cpp" line="69"/>
|
||||||
<location filename="../PictureDialog.cpp" line="113"/>
|
<location filename="../PictureDialog.cpp" line="117"/>
|
||||||
<source>Snapmatic Picture Viewer</source>
|
<source>Snapmatic Picture Viewer</source>
|
||||||
<translation>Просмотрщик фотографий Snapmatic</translation>
|
<translation>Просмотрщик фотографий Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="66"/>
|
<location filename="../PictureDialog.cpp" line="69"/>
|
||||||
<location filename="../PictureDialog.cpp" line="113"/>
|
<location filename="../PictureDialog.cpp" line="117"/>
|
||||||
<source>Failed at %1</source>
|
<source>Failed at %1</source>
|
||||||
<translation>Ошибка при %1</translation>
|
<translation>Ошибка при %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="102"/>
|
<location filename="../PictureDialog.cpp" line="106"/>
|
||||||
<location filename="../PictureDialog.cpp" line="112"/>
|
<location filename="../PictureDialog.cpp" line="116"/>
|
||||||
<source>No player</source>
|
<source>No player</source>
|
||||||
<translation>Игроков нет</translation>
|
<translation>Игроков нет</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="105"/>
|
<location filename="../PictureDialog.cpp" line="109"/>
|
||||||
<location filename="../PictureDialog.cpp" line="112"/>
|
<location filename="../PictureDialog.cpp" line="116"/>
|
||||||
<source>No crew</source>
|
<source>No crew</source>
|
||||||
<translation>Без группы</translation>
|
<translation>Без группы</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="170"/>
|
<location filename="../PictureDialog.cpp" line="179"/>
|
||||||
<source>JPEG picture (*.jpg)</source>
|
<source>JPEG picture (*.jpg)</source>
|
||||||
<translation>Картинка JPEG (*.jpg)</translation>
|
<translation>Картинка JPEG (*.jpg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="171"/>
|
<location filename="../PictureDialog.cpp" line="180"/>
|
||||||
<source>Portable Network Graphics (*.png)</source>
|
<source>Portable Network Graphics (*.png)</source>
|
||||||
<translation>Картинка Portable Network Graphics (*.png)</translation>
|
<translation>Картинка Portable Network Graphics (*.png)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="249"/>
|
<location filename="../PictureDialog.cpp" line="258"/>
|
||||||
<location filename="../PictureDialog.cpp" line="319"/>
|
<location filename="../PictureDialog.cpp" line="328"/>
|
||||||
<source>Overwrite %1 with current Snapmatic picture?</source>
|
<source>Overwrite %1 with current Snapmatic picture?</source>
|
||||||
<translation>Перезаписать %1 текущей картинкой Snapmatic?</translation>
|
<translation>Перезаписать %1 текущей картинкой Snapmatic?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="253"/>
|
<location filename="../PictureDialog.cpp" line="262"/>
|
||||||
<location filename="../PictureDialog.cpp" line="323"/>
|
<location filename="../PictureDialog.cpp" line="332"/>
|
||||||
<source>Failed to overwrite %1 with current Snapmatic picture</source>
|
<source>Failed to overwrite %1 with current Snapmatic picture</source>
|
||||||
<translation>Не удалось перезаписать %1 картинкой Snapmatic</translation>
|
<translation>Не удалось перезаписать %1 картинкой Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="267"/>
|
<location filename="../PictureDialog.cpp" line="276"/>
|
||||||
<source>Failed to export current Snapmatic picture</source>
|
<source>Failed to export current Snapmatic picture</source>
|
||||||
<translation>Не удалось экспортировать текущую картинку Snapmatic</translation>
|
<translation>Не удалось экспортировать текущую картинку Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="273"/>
|
<location filename="../PictureDialog.cpp" line="282"/>
|
||||||
<location filename="../PictureDialog.cpp" line="342"/>
|
<location filename="../PictureDialog.cpp" line="351"/>
|
||||||
<source>No valid file is selected</source>
|
<source>No valid file is selected</source>
|
||||||
<translation>Выбранный файл неверен</translation>
|
<translation>Выбранный файл неверен</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="297"/>
|
<location filename="../PictureDialog.cpp" line="306"/>
|
||||||
<location filename="../PictureDialog.cpp" line="319"/>
|
<location filename="../PictureDialog.cpp" line="328"/>
|
||||||
<location filename="../PictureDialog.cpp" line="323"/>
|
<location filename="../PictureDialog.cpp" line="332"/>
|
||||||
<location filename="../PictureDialog.cpp" line="336"/>
|
<location filename="../PictureDialog.cpp" line="345"/>
|
||||||
<location filename="../PictureDialog.cpp" line="342"/>
|
<location filename="../PictureDialog.cpp" line="351"/>
|
||||||
<source>Copy picture</source>
|
<source>Copy picture</source>
|
||||||
<translation>Скопировать картинку</translation>
|
<translation>Скопировать картинку</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="300"/>
|
<location filename="../PictureDialog.cpp" line="309"/>
|
||||||
<source>Snapmatic pictures (PGTA*)</source>
|
<source>Snapmatic pictures (PGTA*)</source>
|
||||||
<translation>Картинки Snapmatic (PGTA*)</translation>
|
<translation>Картинки Snapmatic (PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="301"/>
|
<location filename="../PictureDialog.cpp" line="310"/>
|
||||||
<source>All files (**)</source>
|
<source>All files (**)</source>
|
||||||
<translation>Все файлы (**)</translation>
|
<translation>Все файлы (**)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="336"/>
|
<location filename="../PictureDialog.cpp" line="345"/>
|
||||||
<source>Failed to copy current Snapmatic picture</source>
|
<source>Failed to copy current Snapmatic picture</source>
|
||||||
<translation>Не удалось скопировать текущую картинку Snapmatic</translation>
|
<translation>Не удалось скопировать текущую картинку Snapmatic</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -259,6 +263,11 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameDialog.ui" line="58"/>
|
<location filename="../SavegameDialog.ui" line="58"/>
|
||||||
|
<source>Copy</source>
|
||||||
|
<translation type="unfinished">Копировать</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SavegameDialog.ui" line="65"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Закрыть</translation>
|
<translation>Закрыть</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -291,57 +300,56 @@
|
||||||
<translation>Удалить</translation>
|
<translation>Удалить</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="56"/>
|
<location filename="../SavegameWidget.cpp" line="57"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="69"/>
|
<location filename="../SavegameWidget.cpp" line="70"/>
|
||||||
<source>Delete savegame</source>
|
<source>Delete savegame</source>
|
||||||
<translation>Удалить сохранение</translation>
|
<translation>Удалить сохранение</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="56"/>
|
<location filename="../SavegameWidget.cpp" line="57"/>
|
||||||
<source>Are you sure to delete %1 from your savegames?</source>
|
<source>Are you sure to delete %1 from your savegames?</source>
|
||||||
<translation>Вы уверены, что хотите удалить сохранение %1?</translation>
|
<translation>Вы уверены, что хотите удалить сохранение %1?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="69"/>
|
<location filename="../SavegameWidget.cpp" line="70"/>
|
||||||
<source>Failed at deleting %1 from your savegames</source>
|
<source>Failed at deleting %1 from your savegames</source>
|
||||||
<translation>Не удалось удалить сохранение %1</translation>
|
<translation>Не удалось удалить сохранение %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="89"/>
|
<location filename="../SavegameCopy.cpp" line="68"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="111"/>
|
<location filename="../SavegameCopy.cpp" line="72"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="115"/>
|
<location filename="../SavegameCopy.cpp" line="85"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="128"/>
|
<location filename="../SavegameCopy.cpp" line="91"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="134"/>
|
|
||||||
<source>Copy savegame</source>
|
<source>Copy savegame</source>
|
||||||
<translation>Копировать сохранение</translation>
|
<translation>Копировать сохранение</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="92"/>
|
<location filename="../SavegameCopy.cpp" line="49"/>
|
||||||
<source>Savegame files (SGTA*)</source>
|
<source>Savegame files (SGTA*)</source>
|
||||||
<translation>Файлы сохранений (SGTA*)</translation>
|
<translation>Файлы сохранений (SGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="93"/>
|
<location filename="../SavegameCopy.cpp" line="50"/>
|
||||||
<source>All files (**)</source>
|
<source>All files (**)</source>
|
||||||
<translation>Все файлы (**)</translation>
|
<translation>Все файлы (**)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="111"/>
|
<location filename="../SavegameCopy.cpp" line="68"/>
|
||||||
<source>Overwrite %1 with current savegame?</source>
|
<source>Overwrite %1 with current savegame?</source>
|
||||||
<translation>Перезаписать %1 текущим сохранением?</translation>
|
<translation>Перезаписать %1 текущим сохранением?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="115"/>
|
<location filename="../SavegameCopy.cpp" line="72"/>
|
||||||
<source>Failed to overwrite %1 with current savegame</source>
|
<source>Failed to overwrite %1 with current savegame</source>
|
||||||
<translation>Не удалось перезаписать %1 текущим сохранением</translation>
|
<translation>Не удалось перезаписать %1 текущим сохранением</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="128"/>
|
<location filename="../SavegameCopy.cpp" line="85"/>
|
||||||
<source>Failed to copy current savegame</source>
|
<source>Failed to copy current savegame</source>
|
||||||
<translation>Не удалось скопировать текущее сохранение</translation>
|
<translation>Не удалось скопировать текущее сохранение</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="134"/>
|
<location filename="../SavegameCopy.cpp" line="91"/>
|
||||||
<source>No valid file is selected</source>
|
<source>No valid file is selected</source>
|
||||||
<translation>Выбранный файл неверен</translation>
|
<translation>Выбранный файл неверен</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
2
main.cpp
2
main.cpp
|
@ -411,7 +411,7 @@ int main(int argc, char *argv[])
|
||||||
bool readOk = savegame.readingSavegameFromFile(arg1);
|
bool readOk = savegame.readingSavegameFromFile(arg1);
|
||||||
savegameDialog->setWindowFlags(savegameDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
savegameDialog->setWindowFlags(savegameDialog->windowFlags()^Qt::WindowContextHelpButtonHint);
|
||||||
savegameDialog->setWindowIcon(IconLoader::loadingAppIcon());
|
savegameDialog->setWindowIcon(IconLoader::loadingAppIcon());
|
||||||
savegameDialog->setSavegameData(&savegame, readOk);
|
savegameDialog->setSavegameData(&savegame, arg1, readOk);
|
||||||
|
|
||||||
if (!readOk) { return 1; }
|
if (!readOk) { return 1; }
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -8,16 +8,24 @@
|
||||||
<source>About gta5sync</source>
|
<source>About gta5sync</source>
|
||||||
<translation>Über gta5sync</translation>
|
<translation>Über gta5sync</translation>
|
||||||
</message>
|
</message>
|
||||||
<message utf8="true">
|
<message>
|
||||||
<location filename="../AboutDialog.ui" line="59"/>
|
<source>generated by class</source>
|
||||||
|
<translation type="obsolete">Generiert von der Klasse</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
<source><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></source>
|
<source><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></source>
|
||||||
<translation><span style=" font-weight:600;">gta5sync</span><br/><br/>Ein Projekt zum ansehen und synchronisieren von Grand Theft Auto 5 Snapmatic Bilder und Spielständen<br/><br/>Projektversion: %1<br/>Gebaut mit Qt %2<br/>Läuft auf Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is lizenziert unter <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></translation>
|
<translation type="obsolete"><span style=" font-weight:600;">gta5sync</span><br/><br/>Ein Projekt zum ansehen und synchronisieren von Grand Theft Auto 5 Snapmatic Bilder und Spielständen<br/><br/>Projektversion: %1<br/>Gebaut mit Qt %2<br/>Läuft auf Qt %3<br/><br/>Copyright © <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is lizenziert unter <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../AboutDialog.ui" line="104"/>
|
<location filename="../AboutDialog.ui" line="104"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Schließen</translation>
|
<translation>Schließen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../AboutDialog.ui" line="59"/>
|
||||||
|
<source><span style=" font-weight:600;">gta5sync</span><br/><br/>A project for viewing and sync Grand Theft Auto 5 Snapmatic Pictures and Savegames<br/><br/>Project version: %1<br/>Compiled with Qt %2<br/>Running with Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is licensed under <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></source>
|
||||||
|
<translation><span style=" font-weight:600;">gta5sync</span><br/><br/>Ein Projekt zum ansehen und synchronisieren von Grand Theft Auto 5 Snapmatic Bilder und Spielständen<br/><br/>Projektversion: %1<br/>Gebaut mit Qt %2<br/>Läuft auf Qt %3<br/><br/>Copyright &copy; <a href="https://github.com/Syping/">Syping</a> 2016<br/>gta5sync is lizenziert unter <a href="https://www.gnu.org/licenses/gpl-3.0.html#content">GNU GPLv3</a></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>PictureDialog</name>
|
<name>PictureDialog</name>
|
||||||
|
@ -41,7 +49,7 @@
|
||||||
<span style=" font-weight:600;">Crew ID: </span>%5</translation>
|
<span style=" font-weight:600;">Crew ID: </span>%5</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="72"/>
|
<location filename="../PictureDialog.ui" line="78"/>
|
||||||
<source><span style=" font-weight:600;">Title: </span>%6<br>
|
<source><span style=" font-weight:600;">Title: </span>%6<br>
|
||||||
<span style=" font-weight:600;">Location: </span>%1, %2, %3 <br>
|
<span style=" font-weight:600;">Location: </span>%1, %2, %3 <br>
|
||||||
<span style=" font-weight:600;">Players: </span>%4<br>
|
<span style=" font-weight:600;">Players: </span>%4<br>
|
||||||
|
@ -52,93 +60,93 @@
|
||||||
<span style=" font-weight:600;">Crew ID: </span>%5</translation>
|
<span style=" font-weight:600;">Crew ID: </span>%5</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="88"/>
|
<location filename="../PictureDialog.ui" line="94"/>
|
||||||
<source>Export</source>
|
<source>Export</source>
|
||||||
<translation>Exportieren</translation>
|
<translation>Exportieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="95"/>
|
<location filename="../PictureDialog.ui" line="101"/>
|
||||||
<source>Copy</source>
|
<source>Copy</source>
|
||||||
<translation>Kopieren</translation>
|
<translation>Kopieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="102"/>
|
<location filename="../PictureDialog.ui" line="108"/>
|
||||||
<location filename="../PictureDialog.ui" line="105"/>
|
<location filename="../PictureDialog.ui" line="111"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Schließen</translation>
|
<translation>Schließen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="66"/>
|
<location filename="../PictureDialog.cpp" line="69"/>
|
||||||
<location filename="../PictureDialog.cpp" line="113"/>
|
<location filename="../PictureDialog.cpp" line="117"/>
|
||||||
<source>Snapmatic Picture Viewer</source>
|
<source>Snapmatic Picture Viewer</source>
|
||||||
<translation>Snapmatic Bildansicht</translation>
|
<translation>Snapmatic Bildansicht</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="66"/>
|
<location filename="../PictureDialog.cpp" line="69"/>
|
||||||
<location filename="../PictureDialog.cpp" line="113"/>
|
<location filename="../PictureDialog.cpp" line="117"/>
|
||||||
<source>Failed at %1</source>
|
<source>Failed at %1</source>
|
||||||
<translation>Fehlgeschlagen bei %1</translation>
|
<translation>Fehlgeschlagen bei %1</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="102"/>
|
<location filename="../PictureDialog.cpp" line="106"/>
|
||||||
<location filename="../PictureDialog.cpp" line="112"/>
|
<location filename="../PictureDialog.cpp" line="116"/>
|
||||||
<source>No player</source>
|
<source>No player</source>
|
||||||
<translation>Keine Spieler</translation>
|
<translation>Keine Spieler</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="105"/>
|
<location filename="../PictureDialog.cpp" line="109"/>
|
||||||
<location filename="../PictureDialog.cpp" line="112"/>
|
<location filename="../PictureDialog.cpp" line="116"/>
|
||||||
<source>No crew</source>
|
<source>No crew</source>
|
||||||
<translation>Keine Crew</translation>
|
<translation>Keine Crew</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="170"/>
|
<location filename="../PictureDialog.cpp" line="179"/>
|
||||||
<source>JPEG picture (*.jpg)</source>
|
<source>JPEG picture (*.jpg)</source>
|
||||||
<translation>JPEG Bild (*.jpg)</translation>
|
<translation>JPEG Bild (*.jpg)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="171"/>
|
<location filename="../PictureDialog.cpp" line="180"/>
|
||||||
<source>Portable Network Graphics (*.png)</source>
|
<source>Portable Network Graphics (*.png)</source>
|
||||||
<translation>Portable Network Graphics (*.png)</translation>
|
<translation>Portable Network Graphics (*.png)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="249"/>
|
<location filename="../PictureDialog.cpp" line="258"/>
|
||||||
<location filename="../PictureDialog.cpp" line="319"/>
|
<location filename="../PictureDialog.cpp" line="328"/>
|
||||||
<source>Overwrite %1 with current Snapmatic picture?</source>
|
<source>Overwrite %1 with current Snapmatic picture?</source>
|
||||||
<translation>Überschreibe %1 mit aktuellen Snapmatic Bild?</translation>
|
<translation>Überschreibe %1 mit aktuellen Snapmatic Bild?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="253"/>
|
<location filename="../PictureDialog.cpp" line="262"/>
|
||||||
<location filename="../PictureDialog.cpp" line="323"/>
|
<location filename="../PictureDialog.cpp" line="332"/>
|
||||||
<source>Failed to overwrite %1 with current Snapmatic picture</source>
|
<source>Failed to overwrite %1 with current Snapmatic picture</source>
|
||||||
<translation>Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Snapmatic Bild</translation>
|
<translation>Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Snapmatic Bild</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="267"/>
|
<location filename="../PictureDialog.cpp" line="276"/>
|
||||||
<source>Failed to export current Snapmatic picture</source>
|
<source>Failed to export current Snapmatic picture</source>
|
||||||
<translation>Fehlgeschlagen beim Exportieren vom aktuellen Snapmatic Bild</translation>
|
<translation>Fehlgeschlagen beim Exportieren vom aktuellen Snapmatic Bild</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="297"/>
|
<location filename="../PictureDialog.cpp" line="306"/>
|
||||||
<location filename="../PictureDialog.cpp" line="319"/>
|
<location filename="../PictureDialog.cpp" line="328"/>
|
||||||
<location filename="../PictureDialog.cpp" line="323"/>
|
<location filename="../PictureDialog.cpp" line="332"/>
|
||||||
<location filename="../PictureDialog.cpp" line="336"/>
|
<location filename="../PictureDialog.cpp" line="345"/>
|
||||||
<location filename="../PictureDialog.cpp" line="342"/>
|
<location filename="../PictureDialog.cpp" line="351"/>
|
||||||
<source>Copy picture</source>
|
<source>Copy picture</source>
|
||||||
<translation>Bild kopieren</translation>
|
<translation>Bild kopieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="300"/>
|
<location filename="../PictureDialog.cpp" line="309"/>
|
||||||
<source>Snapmatic pictures (PGTA*)</source>
|
<source>Snapmatic pictures (PGTA*)</source>
|
||||||
<translation>Snapmatic Bilder (PGTA*)</translation>
|
<translation>Snapmatic Bilder (PGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="301"/>
|
<location filename="../PictureDialog.cpp" line="310"/>
|
||||||
<source>All files (**)</source>
|
<source>All files (**)</source>
|
||||||
<translation>Alle Dateien (**)</translation>
|
<translation>Alle Dateien (**)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="336"/>
|
<location filename="../PictureDialog.cpp" line="345"/>
|
||||||
<source>Failed to copy current Snapmatic picture</source>
|
<source>Failed to copy current Snapmatic picture</source>
|
||||||
<translation>Fehlgeschlagen beim Kopieren vom Snapmatic Bild</translation>
|
<translation>Fehlgeschlagen beim Kopieren vom Snapmatic Bild</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -151,12 +159,12 @@
|
||||||
<translation type="obsolete">JPEG Bild (*.jpg);;Portable Network Graphics (*.png)</translation>
|
<translation type="obsolete">JPEG Bild (*.jpg);;Portable Network Graphics (*.png)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.ui" line="85"/>
|
<location filename="../PictureDialog.ui" line="91"/>
|
||||||
<location filename="../PictureDialog.cpp" line="166"/>
|
<location filename="../PictureDialog.cpp" line="175"/>
|
||||||
<location filename="../PictureDialog.cpp" line="249"/>
|
<location filename="../PictureDialog.cpp" line="258"/>
|
||||||
<location filename="../PictureDialog.cpp" line="253"/>
|
<location filename="../PictureDialog.cpp" line="262"/>
|
||||||
<location filename="../PictureDialog.cpp" line="267"/>
|
<location filename="../PictureDialog.cpp" line="276"/>
|
||||||
<location filename="../PictureDialog.cpp" line="273"/>
|
<location filename="../PictureDialog.cpp" line="282"/>
|
||||||
<source>Export picture</source>
|
<source>Export picture</source>
|
||||||
<translation>Bild exportieren</translation>
|
<translation>Bild exportieren</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -169,8 +177,8 @@
|
||||||
<translation type="obsolete">Beim Speichern des Bildes ist ein Fehler aufgetreten</translation>
|
<translation type="obsolete">Beim Speichern des Bildes ist ein Fehler aufgetreten</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../PictureDialog.cpp" line="273"/>
|
<location filename="../PictureDialog.cpp" line="282"/>
|
||||||
<location filename="../PictureDialog.cpp" line="342"/>
|
<location filename="../PictureDialog.cpp" line="351"/>
|
||||||
<source>No valid file is selected</source>
|
<source>No valid file is selected</source>
|
||||||
<translation>Keine gültige Datei wurde ausgewählt</translation>
|
<translation>Keine gültige Datei wurde ausgewählt</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -298,6 +306,11 @@
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameDialog.ui" line="58"/>
|
<location filename="../SavegameDialog.ui" line="58"/>
|
||||||
|
<source>Copy</source>
|
||||||
|
<translation>Kopieren</translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location filename="../SavegameDialog.ui" line="65"/>
|
||||||
<source>Close</source>
|
<source>Close</source>
|
||||||
<translation>Schließen</translation>
|
<translation>Schließen</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -330,52 +343,51 @@
|
||||||
<translation>Löschen</translation>
|
<translation>Löschen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="56"/>
|
<location filename="../SavegameWidget.cpp" line="57"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="69"/>
|
<location filename="../SavegameWidget.cpp" line="70"/>
|
||||||
<source>Delete savegame</source>
|
<source>Delete savegame</source>
|
||||||
<translation>Savegame löschen</translation>
|
<translation>Savegame löschen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="56"/>
|
<location filename="../SavegameWidget.cpp" line="57"/>
|
||||||
<source>Are you sure to delete %1 from your savegames?</source>
|
<source>Are you sure to delete %1 from your savegames?</source>
|
||||||
<translation>Bist du sicher %1 von deinen Spielständen zu löschen?</translation>
|
<translation>Bist du sicher %1 von deinen Spielständen zu löschen?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="69"/>
|
<location filename="../SavegameWidget.cpp" line="70"/>
|
||||||
<source>Failed at deleting %1 from your savegames</source>
|
<source>Failed at deleting %1 from your savegames</source>
|
||||||
<translation>Fehlgeschlagen beim Löschen %1 von deinen Spielständen</translation>
|
<translation>Fehlgeschlagen beim Löschen %1 von deinen Spielständen</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="89"/>
|
<location filename="../SavegameCopy.cpp" line="68"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="111"/>
|
<location filename="../SavegameCopy.cpp" line="72"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="115"/>
|
<location filename="../SavegameCopy.cpp" line="85"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="128"/>
|
<location filename="../SavegameCopy.cpp" line="91"/>
|
||||||
<location filename="../SavegameWidget.cpp" line="134"/>
|
|
||||||
<source>Copy savegame</source>
|
<source>Copy savegame</source>
|
||||||
<translation>Spielstand kopieren</translation>
|
<translation>Spielstand kopieren</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="92"/>
|
<location filename="../SavegameCopy.cpp" line="49"/>
|
||||||
<source>Savegame files (SGTA*)</source>
|
<source>Savegame files (SGTA*)</source>
|
||||||
<translation>Spielstanddateien (SGTA*)</translation>
|
<translation>Spielstanddateien (SGTA*)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="93"/>
|
<location filename="../SavegameCopy.cpp" line="50"/>
|
||||||
<source>All files (**)</source>
|
<source>All files (**)</source>
|
||||||
<translation>Alle Dateien (**)</translation>
|
<translation>Alle Dateien (**)</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="111"/>
|
<location filename="../SavegameCopy.cpp" line="68"/>
|
||||||
<source>Overwrite %1 with current savegame?</source>
|
<source>Overwrite %1 with current savegame?</source>
|
||||||
<translation>Überschreibe %1 mit aktuellen Spielstand?</translation>
|
<translation>Überschreibe %1 mit aktuellen Spielstand?</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="115"/>
|
<location filename="../SavegameCopy.cpp" line="72"/>
|
||||||
<source>Failed to overwrite %1 with current savegame</source>
|
<source>Failed to overwrite %1 with current savegame</source>
|
||||||
<translation>Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Spielstand </translation>
|
<translation>Fehlgeschlagen beim Überschreiben von %1 mit aktuellen Spielstand </translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="128"/>
|
<location filename="../SavegameCopy.cpp" line="85"/>
|
||||||
<source>Failed to copy current savegame</source>
|
<source>Failed to copy current savegame</source>
|
||||||
<translation>Fehlgeschlagen beim Kopieren vom Spielstand</translation>
|
<translation>Fehlgeschlagen beim Kopieren vom Spielstand</translation>
|
||||||
</message>
|
</message>
|
||||||
|
@ -384,7 +396,7 @@
|
||||||
<translation type="obsolete">Beim Kopieren vom Spielstand ist ein Fehler aufgetreten</translation>
|
<translation type="obsolete">Beim Kopieren vom Spielstand ist ein Fehler aufgetreten</translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../SavegameWidget.cpp" line="134"/>
|
<location filename="../SavegameCopy.cpp" line="91"/>
|
||||||
<source>No valid file is selected</source>
|
<source>No valid file is selected</source>
|
||||||
<translation>Keine gültige Datei wurde ausgewählt</translation>
|
<translation>Keine gültige Datei wurde ausgewählt</translation>
|
||||||
</message>
|
</message>
|
||||||
|
|
Loading…
Reference in a new issue