diff --git a/ImportDialog.ui b/ImportDialog.ui index 7c17a53..d41ceff 100644 --- a/ImportDialog.ui +++ b/ImportDialog.ui @@ -114,7 +114,7 @@ - Force Borderless + Crop to Aspect Ratio diff --git a/UserInterface.cpp b/UserInterface.cpp index b9809d2..ba40f9d 100644 --- a/UserInterface.cpp +++ b/UserInterface.cpp @@ -327,15 +327,14 @@ void UserInterface::setupDirEnv(bool showFolderDialog) } else if (showFolderDialog) { GTAV_Folder = QFileDialog::getExistingDirectory(this, tr("Select GTA V Folder..."), StandardPaths::documentsLocation(), QFileDialog::ShowDirsOnly); - if (QFileInfo(GTAV_Folder).exists()) { + if (QDir(GTAV_Folder).exists()) { folderExists = true; QDir::setCurrent(GTAV_Folder); AppEnv::setGameFolder(GTAV_Folder); // First time folder selection save settings.beginGroup("dir"); - if (settings.value("dir", "").toString().isEmpty()) - { + if (settings.value("dir", "").toString().isEmpty()) { settings.setValue("dir", GTAV_Folder); } settings.endGroup(); @@ -597,11 +596,9 @@ fileDialogPreOpen: fileDialog.setDirectory(settings.value("OpenDialogDirectory", StandardPaths::documentsLocation()).toString()); fileDialog.restoreGeometry(settings.value("OpenDialogGeometry","").toByteArray()); - if (fileDialog.exec()) - { + if (fileDialog.exec()) { QStringList selectedFiles = fileDialog.selectedFiles(); - if (selectedFiles.length() == 1) - { + if (selectedFiles.length() == 1) { QString selectedFile = selectedFiles.at(0); if (!openFile(selectedFile, true)) goto fileDialogPreOpen; } @@ -845,7 +842,7 @@ void UserInterface::updateCacheId(uint cacheId) void UserInterface::on_actionSelect_GTA_Folder_triggered() { QString GTAV_Folder_Temp = QFileDialog::getExistingDirectory(this, tr("Select GTA V Folder..."), StandardPaths::documentsLocation(), QFileDialog::ShowDirsOnly); - if (QFileInfo(GTAV_Folder_Temp).exists()) { + if (QDir(GTAV_Folder_Temp).exists()) { if (profileOpen) { closeProfile_p(); } diff --git a/res/gta5sync.ts b/res/gta5sync.ts index 348fb74..c9cfa67 100644 --- a/res/gta5sync.ts +++ b/res/gta5sync.ts @@ -242,7 +242,7 @@ Pictures and Savegames - Force Borderless + Crop to Aspect Ratio @@ -1341,7 +1341,7 @@ Press 1 for Default View - + All files (**) @@ -1386,26 +1386,26 @@ Press 1 for Default View - + GTA V Export (*.g5e) - + Savegames files (SGTA*) - + Snapmatic pictures (PGTA*) - + No valid file is selected @@ -1424,13 +1424,13 @@ Press 1 for Default View - + Failed to read Snapmatic picture - + Failed to read Savegame file @@ -1640,7 +1640,7 @@ Press 1 for Default View - + All profile files (*.g5e SGTA* PGTA*) @@ -2293,7 +2293,7 @@ Press 1 for Default View - + &Close @@ -2330,7 +2330,7 @@ Press 1 for Default View - + &About %1 @@ -2386,7 +2386,7 @@ Press 1 for Default View - + Select &GTA V Folder... @@ -2394,7 +2394,7 @@ Press 1 for Default View - + Select GTA V Folder... @@ -2452,14 +2452,14 @@ Press 1 for Default View - - + + Select Profile - + &Donate @@ -2479,25 +2479,25 @@ Press 1 for Default View - + Open File... - - - - + + + + Open File - + Can't open %1 because of not valid file format - + %1 - Messages diff --git a/res/gta5sync_de.qm b/res/gta5sync_de.qm index 1344957..f25770f 100644 Binary files a/res/gta5sync_de.qm and b/res/gta5sync_de.qm differ diff --git a/res/gta5sync_de.ts b/res/gta5sync_de.ts index 29f8cc4..4cc4e43 100644 --- a/res/gta5sync_de.ts +++ b/res/gta5sync_de.ts @@ -251,9 +251,8 @@ Snapmatic Bilder und Spielständen Wasserzeichen - Force Borderless - Erzwinge keine Ränder + Erzwinge keine Ränder @@ -302,6 +301,11 @@ Snapmatic Bilder und Spielständen X X + + + Crop to Aspect Ratio + Seitenverhältnis zuschneiden + Force Colour in Avatar Zone @@ -1379,13 +1383,13 @@ Drücke 1 für Standardmodus - + Savegames files (SGTA*) Spielstanddateien (SGTA*) - + Snapmatic pictures (PGTA*) Snapmatic Bilder (PGTA*) @@ -1405,7 +1409,7 @@ Drücke 1 für Standardmodus - + All files (**) Alle Dateien (**) @@ -1426,13 +1430,13 @@ Drücke 1 für Standardmodus - + Failed to read Snapmatic picture Fehler beim Lesen vom Snapmatic Bild - + Failed to read Savegame file Fehler beim Lesen von Spielstanddatei @@ -1473,7 +1477,7 @@ Drücke 1 für Standardmodus - + No valid file is selected Keine gültige Datei wurde ausgewählt @@ -1677,13 +1681,13 @@ Drücke 1 für Standardmodus Exportiere Datei %1 von %2 Dateien - + All profile files (*.g5e SGTA* PGTA*) Alle Profildateien (*.g5e SGTA* PGTA*) - + GTA V Export (*.g5e) GTA V Export (*.g5e) @@ -2410,7 +2414,7 @@ Drücke 1 für Standardmodus - + Select &GTA V Folder... Wähle &GTA V Ordner... @@ -2428,7 +2432,7 @@ Drücke 1 für Standardmodus - + &Close S&chließen @@ -2464,8 +2468,8 @@ Drücke 1 für Standardmodus - - + + Select Profile Profil auswählen @@ -2473,12 +2477,12 @@ Drücke 1 für Standardmodus - + Select GTA V Folder... Wähle GTA V Ordner... - + Open File... Datei öffnen... @@ -2491,13 +2495,13 @@ Drücke 1 für Standardmodus - + &About %1 &Über %1 - + &Donate Spen&den @@ -2525,20 +2529,20 @@ Drücke 1 für Standardmodus Kopieren - - - - + + + + Open File Datei öffnen - + Can't open %1 because of not valid file format Kann nicht %1 öffnen weil Dateiformat nicht gültig ist - + %1 - Messages %1 - Nachrichten diff --git a/res/gta5sync_en_US.ts b/res/gta5sync_en_US.ts index 82c4389..8b78861 100644 --- a/res/gta5sync_en_US.ts +++ b/res/gta5sync_en_US.ts @@ -219,6 +219,11 @@ Pictures and Savegames Import... + + + Crop to Aspect Ratio + + @@ -253,11 +258,6 @@ Pictures and Savegames Watermark - - - Force Borderless - - Background @@ -1357,19 +1357,19 @@ Press 1 for Default View - + GTA V Export (*.g5e) - + Savegames files (SGTA*) - + Snapmatic pictures (PGTA*) @@ -1384,14 +1384,14 @@ Press 1 for Default View - + All files (**) - + No valid file is selected @@ -1410,13 +1410,13 @@ Press 1 for Default View - + Failed to read Snapmatic picture - + Failed to read Savegame file @@ -1640,7 +1640,7 @@ Press 1 for Default View - + All profile files (*.g5e SGTA* PGTA*) @@ -2293,7 +2293,7 @@ Press 1 for Default View - + &Close @@ -2325,7 +2325,7 @@ Press 1 for Default View - + &About %1 @@ -2381,7 +2381,7 @@ Press 1 for Default View - + Select &GTA V Folder... @@ -2389,7 +2389,7 @@ Press 1 for Default View - + Select GTA V Folder... @@ -2438,14 +2438,14 @@ Press 1 for Default View - - + + Select Profile - + &Donate @@ -2465,25 +2465,25 @@ Press 1 for Default View - + Open File... - - - - + + + + Open File - + Can't open %1 because of not valid file format - + %1 - Messages diff --git a/res/gta5sync_fr.qm b/res/gta5sync_fr.qm index e32b947..5b24a03 100644 Binary files a/res/gta5sync_fr.qm and b/res/gta5sync_fr.qm differ diff --git a/res/gta5sync_fr.ts b/res/gta5sync_fr.ts index 31109d7..489df77 100644 --- a/res/gta5sync_fr.ts +++ b/res/gta5sync_fr.ts @@ -251,11 +251,6 @@ et les fichiers de sauvegarde de Grand Theft Auto V Watermark Filigrane - - - Force Borderless - - Background @@ -298,6 +293,11 @@ et les fichiers de sauvegarde de Grand Theft Auto V X X + + + Crop to Aspect Ratio + Recadrage au ratio d'aspect + Force Colour in Avatar Zone @@ -1391,13 +1391,13 @@ Appuyer sur 1 pour le mode par défaut - + Savegames files (SGTA*) Fichiers de sauvegarde GTA (SGTA*) - + Snapmatic pictures (PGTA*) Photos Snapmatic (PGTA*) @@ -1412,7 +1412,7 @@ Appuyer sur 1 pour le mode par défaut - + All files (**) Tous les fichiers (**) @@ -1434,7 +1434,7 @@ Appuyer sur 1 pour le mode par défaut - + No valid file is selected Fichier invalide @@ -1445,13 +1445,13 @@ Appuyer sur 1 pour le mode par défaut - + Failed to read Snapmatic picture Impossible d'ouvrir la photo Snapmatic - + Failed to read Savegame file Impossible de lire le fichier de sauvegarde @@ -1679,13 +1679,13 @@ Appuyer sur 1 pour le mode par défaut Supprimer la sélection ? - + All profile files (*.g5e SGTA* PGTA*) Tous les fichiers de profil (*.g5e SGTA* PGTA*) - + GTA V Export (*.g5e) GTA V Export (*.g5e) @@ -2351,7 +2351,7 @@ Appuyer sur 1 pour le mode par défaut - + &Close Fer&mer @@ -2427,7 +2427,7 @@ Appuyer sur 1 pour le mode par défaut - + Select &GTA V Folder... Modifier l'emplacement de &GTA V... @@ -2435,7 +2435,7 @@ Appuyer sur 1 pour le mode par défaut - + Select GTA V Folder... Modifier l'emplacement de GTA V... @@ -2496,20 +2496,20 @@ Appuyer sur 1 pour le mode par défaut - + &About %1 &À propos de %1 - - + + Select Profile Sélectionner un profil - + &Donate &Don @@ -2537,25 +2537,25 @@ Appuyer sur 1 pour le mode par défaut &Copier - + Open File... Ouvrir... - - - - + + + + Open File Ouvrir - + Can't open %1 because of not valid file format Impossible d'ouvrir %1, format invalide - + %1 - Messages %1 - Nouvelles diff --git a/res/gta5sync_ko.qm b/res/gta5sync_ko.qm index d3a5a64..b100265 100644 Binary files a/res/gta5sync_ko.qm and b/res/gta5sync_ko.qm differ diff --git a/res/gta5sync_ko.ts b/res/gta5sync_ko.ts index 43d35de..a23575a 100644 --- a/res/gta5sync_ko.ts +++ b/res/gta5sync_ko.ts @@ -251,9 +251,8 @@ Pictures and Savegames 워터마크 - Force Borderless - 강제 테두리 없는 창 + 강제 테두리 없는 창 @@ -299,6 +298,11 @@ Pictures and Savegames X X + + + Crop to Aspect Ratio + 원본 비율로 자르기 + Force Colour in Avatar Zone @@ -1393,7 +1397,7 @@ Press 1 for Default View - + All files (**) 모든 파일 (**) @@ -1438,26 +1442,26 @@ Press 1 for Default View - + GTA V Export (*.g5e) GTA V로 내보내기 (*.g5e) - + Savegames files (SGTA*) 세이브 파일 (SGTA*) - + Snapmatic pictures (PGTA*) 스냅매틱 이미지 (PGTA*) - + No valid file is selected 올바른 파일이 선택되지 않았습니다. @@ -1478,13 +1482,13 @@ Press 1 for Default View - + Failed to read Snapmatic picture 스냅매틱 이미지를 읽지 못했습니다. - + Failed to read Savegame file 세이브 파일을 읽지 못했습니다. @@ -1703,7 +1707,7 @@ Press 1 for Default View 제목 변경 - + All profile files (*.g5e SGTA* PGTA*) 모든 프로필 파일 (*.g5e SGTA* PGTA*) @@ -2379,7 +2383,7 @@ Press 1 for Default View - + &Close 닫기(&C) @@ -2416,7 +2420,7 @@ Press 1 for Default View - + &About %1 %1 정보(&A) @@ -2472,7 +2476,7 @@ Press 1 for Default View - + Select &GTA V Folder... GTA V 폴더 선택(&G) @@ -2480,7 +2484,7 @@ Press 1 for Default View - + Select GTA V Folder... GTA V 폴더 선택 @@ -2538,14 +2542,14 @@ Press 1 for Default View - - + + Select Profile 프로필 선택 - + &Donate 기부하기(&D) @@ -2573,25 +2577,25 @@ Press 1 for Default View 복사(&C) - + Open File... 파일 열기... - - - - + + + + Open File 파일 열기 - + Can't open %1 because of not valid file format 올바른 파일 형식이 아니므로 %1을 열 수 없습니다. - + %1 - Messages %1 - 뉴스 diff --git a/res/gta5sync_ru.qm b/res/gta5sync_ru.qm index fa66a43..214adf1 100644 Binary files a/res/gta5sync_ru.qm and b/res/gta5sync_ru.qm differ diff --git a/res/gta5sync_ru.ts b/res/gta5sync_ru.ts index 3191b6e..b659023 100644 --- a/res/gta5sync_ru.ts +++ b/res/gta5sync_ru.ts @@ -255,9 +255,8 @@ Pictures and Savegames Водяной знак - Force Borderless - Обрезать рамки + Обрезать рамки @@ -308,6 +307,11 @@ Pictures and Savegames X + + + Crop to Aspect Ratio + Обрезать до соотн. сторон + Force Colour in Avatar Zone @@ -1391,13 +1395,13 @@ Press 1 for Default View - + Savegames files (SGTA*) Файлы сохранения (SGTA*) - + Snapmatic pictures (PGTA*) Картинка Snapmatic (PGTA*) @@ -1405,7 +1409,7 @@ Press 1 for Default View - + All files (**) Все файлы (**) @@ -1426,20 +1430,20 @@ Press 1 for Default View - + Failed to read Snapmatic picture Не удалось загрузить картинку Snapmatic - + Failed to read Savegame file Не удалось загрузить файл сохранения - + No valid file is selected Выбранный файл неверен @@ -1692,13 +1696,13 @@ Press 1 for Default View Экспортируется файл %1 из %2 - + All profile files (*.g5e SGTA* PGTA*) Все файлы профиля (*.g5e SGTA* PGTA*) - + GTA V Export (*.g5e) GTA V Export (*.g5e) @@ -2392,7 +2396,7 @@ Press 1 for Default View - + Select &GTA V Folder... Выбрать &папку GTA V... @@ -2438,7 +2442,7 @@ Press 1 for Default View - + &Close &Закрыть @@ -2479,8 +2483,8 @@ Press 1 for Default View - - + + Select Profile Выбор профиля @@ -2488,7 +2492,7 @@ Press 1 for Default View - + Select GTA V Folder... Выбрать папку GTA V... @@ -2501,13 +2505,13 @@ Press 1 for Default View - + &About %1 &О программе %1 - + &Donate По&жертвовать @@ -2535,25 +2539,25 @@ Press 1 for Default View Копировать - + Open File... Открыть файл... - - - - + + + + Open File Открыть файл - + Can't open %1 because of not valid file format Не удалось открыть %1 из-за неверного формата файла - + %1 - Messages %1 - Новости diff --git a/res/gta5sync_uk.qm b/res/gta5sync_uk.qm index 314f34b..07fed50 100644 Binary files a/res/gta5sync_uk.qm and b/res/gta5sync_uk.qm differ diff --git a/res/gta5sync_uk.ts b/res/gta5sync_uk.ts index 490ecac..b68fa43 100644 --- a/res/gta5sync_uk.ts +++ b/res/gta5sync_uk.ts @@ -254,9 +254,8 @@ Pictures and Savegames Водяний знак - Force Borderless - Примусово без рамок + Примусово без рамок @@ -302,6 +301,11 @@ Pictures and Savegames X Х + + + Crop to Aspect Ratio + Обрізати під співвідношення сторін + Force Colour in Avatar Zone @@ -1383,7 +1387,7 @@ Press 1 for Default View - + All files (**) Усі файли (**) @@ -1428,26 +1432,26 @@ Press 1 for Default View - + GTA V Export (*.g5e) GTA V Export (*.g5e) - + Savegames files (SGTA*) Файли збереження гри (SGTA*) - + Snapmatic pictures (PGTA*) Snapmatic зображення (PGTA*) - + No valid file is selected Вибрані недійсні файли @@ -1468,13 +1472,13 @@ Press 1 for Default View - + Failed to read Snapmatic picture Не вдалося прочитати Snapmatic картинку - + Failed to read Savegame file Не вдалося прочитати файл збереження гри @@ -1688,7 +1692,7 @@ Press 1 for Default View Змінити назву - + All profile files (*.g5e SGTA* PGTA*) Усі файли зображень (*.g5e SGTA* PGTA*) @@ -2359,7 +2363,7 @@ Press 1 for Default View - + &Close &Закрити @@ -2396,7 +2400,7 @@ Press 1 for Default View - + &About %1 &Про %1 @@ -2452,7 +2456,7 @@ Press 1 for Default View - + Select &GTA V Folder... Вибрати &GTA V теку... @@ -2460,7 +2464,7 @@ Press 1 for Default View - + Select GTA V Folder... Вибрати GTA V теку... @@ -2518,14 +2522,14 @@ Press 1 for Default View - - + + Select Profile Вибрати профіль - + &Donate &Пожертвування @@ -2553,25 +2557,25 @@ Press 1 for Default View &Копіювати - + Open File... Відкрити файл... - - - - + + + + Open File Відкрити файл - + Can't open %1 because of not valid file format Неможливо відкрити %1 через невідомий формат файлу - + %1 - Messages %1 - Новини diff --git a/res/gta5sync_zh_TW.qm b/res/gta5sync_zh_TW.qm index b3b75ee..d4eb70d 100644 Binary files a/res/gta5sync_zh_TW.qm and b/res/gta5sync_zh_TW.qm differ diff --git a/res/gta5sync_zh_TW.ts b/res/gta5sync_zh_TW.ts index d0bcfff..dd13749 100644 --- a/res/gta5sync_zh_TW.ts +++ b/res/gta5sync_zh_TW.ts @@ -250,9 +250,8 @@ Pictures and Savegames 浮水印 - Force Borderless - 強制無邊框 + 強制無邊框 @@ -298,6 +297,11 @@ Pictures and Savegames X X + + + Crop to Aspect Ratio + 裁剪長寬比 + Force Colour in Avatar Zone @@ -1377,7 +1381,7 @@ Press 1 for Default View - + All files (**) 所有檔案 (**) @@ -1422,26 +1426,26 @@ Press 1 for Default View - + GTA V Export (*.g5e) GTA V Export (*.g5e) - + Savegames files (SGTA*) 遊戲存檔 (SGTA*) - + Snapmatic pictures (PGTA*) Snapmatic 圖片 (PGTA*) - + No valid file is selected 沒有選擇有效的檔案 @@ -1460,13 +1464,13 @@ Press 1 for Default View - + Failed to read Snapmatic picture 無法讀取 Snapmatic 圖片 - + Failed to read Savegame file 無法讀取遊戲存檔 @@ -1678,7 +1682,7 @@ Press 1 for Default View 更改標題 - + All profile files (*.g5e SGTA* PGTA*) 所有設定檔檔案 (*.g5e SGTA* PGTA*) @@ -2340,7 +2344,7 @@ Press 1 for Default View - + &Close 關閉(&C) @@ -2377,7 +2381,7 @@ Press 1 for Default View - + &About %1 關於 %1(&A) @@ -2433,7 +2437,7 @@ Press 1 for Default View - + Select &GTA V Folder... 選擇 GTA V 資料夾(&G)... @@ -2441,7 +2445,7 @@ Press 1 for Default View - + Select GTA V Folder... 選擇 GTA V 資料夾... @@ -2499,14 +2503,14 @@ Press 1 for Default View - - + + Select Profile 選擇設定檔 - + &Donate 贊助(&D) @@ -2534,25 +2538,25 @@ Press 1 for Default View 複製(&C) - + Open File... 開啟檔案... - - - - + + + + Open File 開啟檔案 - + Can't open %1 because of not valid file format 格式無效,無法開啟 %1 - + %1 - Messages %1 - 新聞