Save,Apply,Restore Defaults,Close

Save,Apply,Restore Defaults,Close
This commit is contained in:
DanielSvoboda 2024-09-03 16:08:49 -03:00
parent 51001cc766
commit 56cb39b7f7
27 changed files with 1511 additions and 909 deletions

View file

@ -80,9 +80,13 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices, QWidge
}
});
connect(ui->tabWidgetSettings, &QTabWidget::currentChanged, this, [this]() {
ui->buttonBox->button(QDialogButtonBox::StandardButton::Close)->setFocus();
});
ui->buttonBox->button(QDialogButtonBox::Save)->setText(tr("Save"));
ui->buttonBox->button(QDialogButtonBox::Apply)->setText(tr("Apply"));
ui->buttonBox->button(QDialogButtonBox::RestoreDefaults)->setText(tr("Restore Defaults"));
ui->buttonBox->button(QDialogButtonBox::Close)->setText(tr("Close"));
connect(ui->tabWidgetSettings, &QTabWidget::currentChanged, this,
[this]() { ui->buttonBox->button(QDialogButtonBox::Close)->setFocus(); });
// GENERAL TAB
{

View file

@ -917,4 +917,27 @@
<translation>لا يمكن تطبيق الغش قبل بدء اللعبة.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>حفظ</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>تطبيق</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>استعادة الإعدادات الافتراضية</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>إغلاق</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Kan ikke anvende snyd før spillet er startet.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Gem</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Anvend</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Gendan standardindstillinger</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Luk</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Kann keine Cheats anwenden, bevor das Spiel gestartet ist.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Speichern</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Übernehmen</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Werkseinstellungen wiederherstellen</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Schließen</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Δεν μπορείτε να εφαρμόσετε cheats πριν ξεκινήσει το παιχνίδι.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Αποθήκευση</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Εφαρμογή</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Επαναφορά Προεπιλογών</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Κλείσιμο</translation>
</message>
</context>
</TS>

View file

@ -903,5 +903,28 @@
<source>Can't apply cheats before the game is started</source>
<translation>Can't apply cheats before the game is started.</translation>
</message>
</context>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Save</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Apply</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Restore Defaults</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Close</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>No se pueden aplicar trucos antes de que se inicie el juego.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Guardar</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Aplicar</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Restaurar Valores Predeterminados</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Cerrar</translation>
</message>
</context>
</TS>

File diff suppressed because it is too large Load diff

View file

@ -904,4 +904,27 @@
<translation>Ei voi käyttää huijauksia ennen kuin peli on aloitettu.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Tallenna</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Ota käyttöön</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Palauta oletukset</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Sulje</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Impossible d'appliquer les triches avant que le jeu ne commence.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Enregistrer</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Appliquer</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Restaurer les paramètres par défaut</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Fermer</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Nem lehet csalásokat alkalmazni, mielőtt a játék elindul.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Mentés</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Alkalmaz</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Alapértelmezett értékek visszaállítása</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Bezárás</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Tidak bisa menerapkan cheat sebelum permainan dimulai.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Simpan</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Terapkan</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Kembalikan Pengaturan Default</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Tutup</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Non è possibile applicare i trucchi prima dell'inizio del gioco.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Salva</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Applica</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Ripristina Impostazioni Predefinite</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Chiudi</translation>
</message>
</context>
</TS>

View file

@ -903,5 +903,28 @@
<source>Can't apply cheats before the game is started</source>
<translation></translation>
</message>
</context>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation></translation>
</message>
</context>
</TS>

View file

@ -903,5 +903,28 @@
<source>Can't apply cheats before the game is started</source>
<translation>Can't apply cheats before the game is started.</translation>
</message>
</context>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Save</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Apply</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Restore Defaults</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Close</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Negalima taikyti sukčiavimų prieš pradedant žaidimą.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Įrašyti</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Taikyti</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Atkurti numatytuosius nustatymus</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Uždaryti</translation>
</message>
</context>
</TS>

View file

@ -903,5 +903,28 @@
<source>Can't apply cheats before the game is started</source>
<translation>Kan ikke bruke juksetriks før spillet er startet.</translation>
</message>
</context>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Lag</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Bruk</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Gjenopprett standardinnstillinger</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Lukk</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Je kunt geen cheats toepassen voordat het spel is gestart.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Opslaan</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Toepassen</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Standaardinstellingen herstellen</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Sluiten</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Nie można zastosować kodów przed uruchomieniem gry.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Zapisz</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Zastosuj</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Przywróć ustawienia domyślne</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Zamknij</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Não é possível aplicar cheats antes que o jogo comece.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Salvar</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Aplicar</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Restaurar Padrões</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Fechar</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Nu poți aplica cheats înainte ca jocul înceapă.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Salvează</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Aplică</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Restabilește Impozitivele</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Închide</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Невозможно применить читы до начала игрыs</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Сохранить</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Применить</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Восстановить умолчания</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Закрыть</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation> nuk mund aplikoni mashtrime para se fillojë loja.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Ruaj</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Përdor</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Rikthe parazgjedhjet</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Mbyll</translation>
</message>
</context>
</TS>

View file

@ -975,4 +975,27 @@
<translation>Hileleri oyuna başlamadan önce uygulayamazsınız.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Kaydet</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Uygula</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Varsayılanları Geri Yükle</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Kapat</translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation>Không thể áp dụng cheat trước khi trò chơi bắt đu.</translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation>Lưu</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation>Áp dụng</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation>Khôi phục cài đt mặc đnh</translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation>Đóng</translation>
</message>
</context>
</TS>

View file

@ -903,5 +903,28 @@
<source>Can't apply cheats before the game is started</source>
<translation></translation>
</message>
</context>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation></translation>
</message>
</context>
</TS>

View file

@ -904,4 +904,27 @@
<translation></translation>
</message>
</context>
<context>
<name>SettingsDialog</name>
<message>
<location filename="../settings_dialog.cpp" line="83"/>
<source>Save</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="84"/>
<source>Apply</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="85"/>
<source>Restore Defaults</source>
<translation></translation>
</message>
<message>
<location filename="../settings_dialog.cpp" line="86"/>
<source>Close</source>
<translation></translation>
</message>
</context>
</TS>