diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp index 8afe152..2351e20 100644 --- a/ProfileInterface.cpp +++ b/ProfileInterface.cpp @@ -2189,6 +2189,10 @@ preSelectionCrewID: goto preSelectionCrewID; } } + if (!crewList.contains(newCrew)) + { + crewDB->addCrew(crewID); + } crewID = newCrew.toInt(); } else diff --git a/SnapmaticEditor.cpp b/SnapmaticEditor.cpp index b77f95c..f98e34d 100644 --- a/SnapmaticEditor.cpp +++ b/SnapmaticEditor.cpp @@ -452,6 +452,10 @@ void SnapmaticEditor::on_labCrew_linkActivated(const QString &link) return; } } + if (!crewList.contains(newCrew)) + { + crewDB->addCrew(crewID); + } crewID = newCrew.toInt(); setSnapmaticCrew(returnCrewName(crewID)); } diff --git a/res/gta5sync.ts b/res/gta5sync.ts index 6ffa765..ca49499 100644 --- a/res/gta5sync.ts +++ b/res/gta5sync.ts @@ -1540,20 +1540,20 @@ Press 1 for Default View - - - - + + + + No Snapmatic pictures are selected - - - - + + + + %1 failed with... %2 @@ -1561,81 +1561,81 @@ Press 1 for Default View - - + + Qualify as Avatar - - - - + + + + Patch selected... - - - - - - - - + + + + + + + + Patch file %1 of %2 files - + Qualify %1 failed with... - - + + Change Players... - + Change Players %1 failed with... - - - + + + Change Crew... - + Failed to enter a valid Snapmatic Crew ID - + Change Crew %1 failed with... - - - + + + Change Title... - + Failed to enter a valid Snapmatic title - + Change Title %1 failed with... @@ -1970,25 +1970,25 @@ Press 1 for Default View - + Snapmatic Crew - + New Snapmatic crew: - + Snapmatic Title - + New Snapmatic title: diff --git a/res/gta5sync_de.ts b/res/gta5sync_de.ts index cea7b97..af2799a 100644 --- a/res/gta5sync_de.ts +++ b/res/gta5sync_de.ts @@ -1502,38 +1502,38 @@ Drücke 1 für Standardmodus Nur GTA Snapmatic - - - - + + + + Patch selected... Auswahl patchen... - - - - - - - - + + + + + + + + Patch file %1 of %2 files Patche Datei %1 von %2 Dateien - - + + Qualify as Avatar Als Avatar qualifizieren - - - - + + + + No Snapmatic pictures are selected Keine Snapmatic Bilder sind ausgewählt @@ -1545,10 +1545,10 @@ Drücke 1 für Standardmodus - - - - + + + + %1 failed with... %2 @@ -1563,55 +1563,55 @@ Drücke 1 für Standardmodus Bereite Inhalt für Import vor... - + Qualify %1 failed with... Qualifizieren - - + + Change Players... Spieler ändern... - + Change Players %1 failed with... Spieler ändern - - - + + + Change Crew... Crew ändern... - + Failed to enter a valid Snapmatic Crew ID Fehlgeschlagen beim Eingeben von einer gültigen Crew ID - + Change Crew %1 failed with... Crew ändern - - - + + + Change Title... Titel ändern... - + Failed to enter a valid Snapmatic title Fehlgeschlagen beim Eingeben eines gültigen Snapmatic Titel - + Change Title %1 failed with... Titel ändern @@ -1932,7 +1932,7 @@ Drücke 1 für Standardmodus Meme - + Snapmatic Title Snapmatic Titel @@ -2048,19 +2048,19 @@ Drücke 1 für Standardmodus Patchen von Snapmatic Eigenschaften fehlgeschlagen wegen I/O Fehler - + New Snapmatic title: Neuer Snapmatic Titel: - + Snapmatic Crew Snapmatic Crew - + New Snapmatic crew: Neue Snapmatic Crew: diff --git a/res/gta5sync_en_US.qm b/res/gta5sync_en_US.qm index 078193e..da80daf 100644 Binary files a/res/gta5sync_en_US.qm and b/res/gta5sync_en_US.qm differ diff --git a/res/gta5sync_en_US.ts b/res/gta5sync_en_US.ts index 7eabf21..5472ba5 100644 --- a/res/gta5sync_en_US.ts +++ b/res/gta5sync_en_US.ts @@ -37,7 +37,7 @@ Running with Qt %6<br/> TRANSLATOR Insert your name here and profile here in following scheme, First Translator,First Profile\nSecond Translator\nThird Translator,Second Profile - Syping,https://github.com/Syping/ + Syping,g5e://about?U3lwaW5n:R2l0TGFiOiA8YSBocmVmPSJodHRwczovL2dpdGxhYi5jb20vU3lwaW5nIj5TeXBpbmc8L2E+PGJyLz5HaXRIdWI6IDxhIGhyZWY9Imh0dHBzOi8vZ2l0aHViLmNvbS9TeXBpbmciPlN5cGluZzwvYT48YnIvPlNvY2lhbCBDbHViOiA8YSBocmVmPSJodHRwczovL3NvY2lhbGNsdWIucm9ja3N0YXJnYW1lcy5jb20vbWVtYmVyL1N5cGluZy80NjMwMzA1NiI+U3lwaW5nPC9hPg== @@ -1523,48 +1523,48 @@ Press 1 for Default View - - + + Qualify as Avatar - - - - + + + + No Snapmatic pictures are selected - - - - + + + + Patch selected... - - - - - - - - + + + + + + + + Patch file %1 of %2 files - - - - + + + + %1 failed with... %2 @@ -1587,55 +1587,55 @@ Press 1 for Default View - + Qualify %1 failed with... - - + + Change Players... - + Change Players %1 failed with... - - - + + + Change Crew... - + Failed to enter a valid Snapmatic Crew ID - + Change Crew %1 failed with... - - - + + + Change Title... - + Failed to enter a valid Snapmatic title - + Change Title %1 failed with... @@ -2017,25 +2017,25 @@ Press 1 for Default View - + Snapmatic Title - + New Snapmatic title: - + Snapmatic Crew - + New Snapmatic crew: diff --git a/res/gta5sync_es.ts b/res/gta5sync_es.ts index cc82e7c..7731589 100644 --- a/res/gta5sync_es.ts +++ b/res/gta5sync_es.ts @@ -1540,20 +1540,20 @@ Press 1 for Default View - - - - + + + + No Snapmatic pictures are selected - - - - + + + + %1 failed with... %2 @@ -1561,81 +1561,81 @@ Press 1 for Default View - - + + Qualify as Avatar - - - - + + + + Patch selected... - - - - - - - - + + + + + + + + Patch file %1 of %2 files - + Qualify %1 failed with... - - + + Change Players... - + Change Players %1 failed with... - - - + + + Change Crew... - + Failed to enter a valid Snapmatic Crew ID - + Change Crew %1 failed with... - - - + + + Change Title... - + Failed to enter a valid Snapmatic title - + Change Title %1 failed with... @@ -1970,25 +1970,25 @@ Press 1 for Default View - + Snapmatic Crew - + New Snapmatic crew: - + Snapmatic Title - + New Snapmatic title: diff --git a/res/gta5sync_fr.ts b/res/gta5sync_fr.ts index 7941e41..6294c32 100644 --- a/res/gta5sync_fr.ts +++ b/res/gta5sync_fr.ts @@ -1512,48 +1512,48 @@ Appuyer sur 1 pour le mode par défaut Initialisation de l'export... - - + + Qualify as Avatar Qualifier comme Avatar - - - - + + + + No Snapmatic pictures are selected Aucun Snapmatic sélectionné - - - - + + + + Patch selected... Patcher la sélection... - - - - - - - - + + + + + + + + Patch file %1 of %2 files Patch du fichier %1 sur %2 - - - - + + + + %1 failed with... %2 @@ -1578,55 +1578,55 @@ Appuyer sur 1 pour le mode par défaut Un Snapmatic existe déjà avec le uid %1, voulez-vous assigner à votre import un nouvel uid et timestamp ? - + Qualify %1 failed with... Qualifier - - + + Change Players... Modifier les joueurs... - + Change Players %1 failed with... Modifier les joueurs - - - + + + Change Crew... Modifier le Crew... - + Failed to enter a valid Snapmatic Crew ID Snapmatic Crew ID invalide - + Change Crew %1 failed with... Changer le Crew - - - + + + Change Title... Changer le titre... - + Failed to enter a valid Snapmatic title Titre Snapmatic invalide - + Change Title %1 failed with... Changer le titre @@ -1933,7 +1933,7 @@ Appuyer sur 1 pour le mode par défaut Meme - + Snapmatic Title Titre Snapmatic @@ -2051,19 +2051,19 @@ Appuyer sur 1 pour le mode par défaut La modification des propriétés Snapmatic a échoué : erreur d'entrée/sortie - + New Snapmatic title: Nouveau titre Snapmatic : - + Snapmatic Crew Crew Snapmatic - + New Snapmatic crew: Nouveau crew Snapmatic : diff --git a/res/gta5sync_ru.ts b/res/gta5sync_ru.ts index eb72955..fd934c0 100644 --- a/res/gta5sync_ru.ts +++ b/res/gta5sync_ru.ts @@ -1527,48 +1527,48 @@ Press 1 for Default View - - + + Qualify as Avatar Пометить как Аватар - - - - + + + + No Snapmatic pictures are selected Не выделена ни одна картинка Snapmatic - - - - + + + + Patch selected... Пропатчить выделенные... - - - - - - - - + + + + + + + + Patch file %1 of %2 files Изменяется файл %1 из %2 - - - - + + + + %1 failed with... %2 @@ -1588,55 +1588,55 @@ Press 1 for Default View Не удалось удалить все выделенные картинки Snapmatic и/или сохранения - + Qualify %1 failed with... Помечание - - + + Change Players... Изменить игроков... - + Change Players %1 failed with... Измение игроков - - - + + + Change Crew... Изменить банду... - + Failed to enter a valid Snapmatic Crew ID Введённый идентификатор банды не верен - + Change Crew %1 failed with... Изменение банды - - - + + + Change Title... Изменить заголовок... - + Failed to enter a valid Snapmatic title Введённый заголовок не верен - + Change Title %1 failed with... Изменение заголовка @@ -1956,7 +1956,7 @@ Press 1 for Default View Meme - + Snapmatic Title Заголовок Snapmatic @@ -2062,19 +2062,19 @@ Press 1 for Default View Не удалось измененить свойства Snapmatic из-за проблемы ввода/вывода - + New Snapmatic title: Новый заголовок Snapmatic: - + Snapmatic Crew Банда на Snapmatic - + New Snapmatic crew: Новая банда на Snapmatic: diff --git a/res/gta5sync_uk.ts b/res/gta5sync_uk.ts index e8d9bf3..34834f6 100644 --- a/res/gta5sync_uk.ts +++ b/res/gta5sync_uk.ts @@ -1556,20 +1556,20 @@ Press 1 for Default View - - - - + + + + No Snapmatic pictures are selected Не вибрано жодного Snapmatic зображення - - - - + + + + %1 failed with... %2 @@ -1589,81 +1589,81 @@ Press 1 for Default View Snapmatic зображення з uid %1 вже існує, ви хочете призначити для імпорту новий uid та мітку часу? - - + + Qualify as Avatar Позначити як Аватар - - - - + + + + Patch selected... Вибір патчу... - - - - - - - - + + + + + + + + Patch file %1 of %2 files Патч файлу %1 з %2 файлів - + Qualify %1 failed with... Якість - - + + Change Players... Зміна гравців... - + Change Players %1 failed with... Змінити гравців - - - + + + Change Crew... Зміна банди... - + Failed to enter a valid Snapmatic Crew ID Не вдалося ввести дійсний ID Банди Snapmatic - + Change Crew %1 failed with... Змінити банду - - - + + + Change Title... Зміна назви... - + Failed to enter a valid Snapmatic title Не вдалося ввести дійсний заголовок Snapmatic - + Change Title %1 failed with... Змінити назву @@ -2000,25 +2000,25 @@ Press 1 for Default View Змінити властивості Snapmatic не вдалося через JSON Помилку - + Snapmatic Crew Snapmatic банда - + New Snapmatic crew: Нова Snapmatic банда: - + Snapmatic Title Snapmatic назва - + New Snapmatic title: Новий Snapmatic заголовок: diff --git a/res/gta5sync_zh_TW.ts b/res/gta5sync_zh_TW.ts index 1ffd2fb..d05ec3a 100644 --- a/res/gta5sync_zh_TW.ts +++ b/res/gta5sync_zh_TW.ts @@ -1546,20 +1546,20 @@ Press 1 for Default View - - - - + + + + No Snapmatic pictures are selected 未選擇 Snapmatic 圖片 - - - - + + + + %1 failed with... %2 @@ -1579,81 +1579,81 @@ Press 1 for Default View 已有與 uid %1 相同的 Snapmatic 圖片,你想要匯入新的 uid 和時間戳嗎? - - + + Qualify as Avatar 合格大頭貼 - - - - + + + + Patch selected... 修改所選... - - - - - - - - + + + + + + + + Patch file %1 of %2 files 修改檔案 %1 共 %2 個檔案 - + Qualify %1 failed with... 合格 - - + + Change Players... 更改玩家... - + Change Players %1 failed with... 更改玩家 - - - + + + Change Crew... 更改幫會... - + Failed to enter a valid Snapmatic Crew ID 輸入了無效的幫會 ID - + Change Crew %1 failed with... 更改幫會 - - - + + + Change Title... 更改標題... - + Failed to enter a valid Snapmatic title 輸入了無效的標題 - + Change Title %1 failed with... 更改標題 @@ -1990,25 +1990,25 @@ Press 1 for Default View JSON 錯誤,未能更新 Snapmatic 屬性 - + Snapmatic Crew 幫會 - + New Snapmatic crew: 輸入新的幫會: - + Snapmatic Title 標題 - + New Snapmatic title: 輸入新的標題: