update translations, RDR 2 detection in importFile
This commit is contained in:
parent
446f0b07b0
commit
022a5045a3
13 changed files with 6893 additions and 5982 deletions
1636
res/gta5sync.ts
1636
res/gta5sync.ts
File diff suppressed because it is too large
Load diff
Binary file not shown.
1596
res/gta5sync_de.ts
1596
res/gta5sync_de.ts
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
1596
res/gta5sync_fr.ts
1596
res/gta5sync_fr.ts
File diff suppressed because it is too large
Load diff
1598
res/gta5sync_ko.ts
1598
res/gta5sync_ko.ts
File diff suppressed because it is too large
Load diff
1599
res/gta5sync_ru.ts
1599
res/gta5sync_ru.ts
File diff suppressed because it is too large
Load diff
1596
res/gta5sync_uk.ts
1596
res/gta5sync_uk.ts
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Binary file not shown.
Binary file not shown.
|
@ -658,7 +658,7 @@ bool ProfileInterface::importFile(QString selectedFile, QDateTime importDateTime
|
||||||
{
|
{
|
||||||
QString selectedFileName = QFileInfo(selectedFile).fileName();
|
QString selectedFileName = QFileInfo(selectedFile).fileName();
|
||||||
if (QFile::exists(selectedFile)) {
|
if (QFile::exists(selectedFile)) {
|
||||||
if ((selectedFileName.startsWith("PGTA5") && !selectedFileName.contains('.')) || selectedFileName.endsWith(".g5e")) {
|
if (((selectedFileName.startsWith("PGTA5") || selectedFileName.startsWith("PRDR3")) && !selectedFileName.contains('.')) || selectedFileName.endsWith(".g5e")) {
|
||||||
SnapmaticPicture *picture = new SnapmaticPicture(selectedFile);
|
SnapmaticPicture *picture = new SnapmaticPicture(selectedFile);
|
||||||
if (picture->readingPicture(true)) {
|
if (picture->readingPicture(true)) {
|
||||||
bool success = importSnapmaticPicture(picture, notMultiple);
|
bool success = importSnapmaticPicture(picture, notMultiple);
|
||||||
|
|
|
@ -75,8 +75,10 @@ UserInterface::UserInterface(ProfileDatabase *profileDB, CrewDatabase *crewDB, D
|
||||||
ui->actionSelect_profile->setEnabled(false);
|
ui->actionSelect_profile->setEnabled(false);
|
||||||
ui->actionAbout_gta5sync->setIcon(IconLoader::loadingAppIcon());
|
ui->actionAbout_gta5sync->setIcon(IconLoader::loadingAppIcon());
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
ui->actionAbout_gta5sync->setText(QApplication::translate("MAC_APPLICATION_MENU", "About %1").arg(GTA5SYNC_APPSTR));
|
const char* macOS_aboutString = "About %1";
|
||||||
ui->actionOptions->setText(QApplication::translate("MAC_APPLICATION_MENU", "Preferences..."));
|
const char* macOS_preferencesString = "Preferences...";
|
||||||
|
ui->actionAbout_gta5sync->setText(QApplication::translate("MAC_APPLICATION_MENU", macOS_aboutString).arg(GTA5SYNC_APPSTR));
|
||||||
|
ui->actionOptions->setText(QApplication::translate("MAC_APPLICATION_MENU", macOS_preferencesString));
|
||||||
#else
|
#else
|
||||||
ui->actionAbout_gta5sync->setText(tr("&About %1").arg(GTA5SYNC_APPSTR));
|
ui->actionAbout_gta5sync->setText(tr("&About %1").arg(GTA5SYNC_APPSTR));
|
||||||
#endif
|
#endif
|
||||||
|
@ -941,8 +943,10 @@ void UserInterface::retranslateUi()
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
ui->actionAbout_gta5sync->setText(QApplication::translate("MAC_APPLICATION_MENU", "About %1").arg(GTA5SYNC_APPSTR));
|
const char* macOS_aboutString = "About %1";
|
||||||
ui->actionOptions->setText(QApplication::translate("MAC_APPLICATION_MENU", "Preferences..."));
|
const char* macOS_preferencesString = "Preferences...";
|
||||||
|
ui->actionAbout_gta5sync->setText(QApplication::translate("MAC_APPLICATION_MENU", macOS_aboutString).arg(GTA5SYNC_APPSTR));
|
||||||
|
ui->actionOptions->setText(QApplication::translate("MAC_APPLICATION_MENU", macOS_preferencesString));
|
||||||
#else
|
#else
|
||||||
ui->actionAbout_gta5sync->setText(tr("&About %1").arg(GTA5SYNC_APPSTR));
|
ui->actionAbout_gta5sync->setText(tr("&About %1").arg(GTA5SYNC_APPSTR));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue