From f5f2e534891bca6b2cc1b3e6a9430da418944341 Mon Sep 17 00:00:00 2001 From: Kit PANG Date: Tue, 10 Oct 2023 08:07:50 +0800 Subject: [PATCH] Fix full/screen capture use last region (#3364) * Fix full capture use last region * Limit use last region to gui capture only * Update config use last region wordings * Preserve current translations for config use last region wordings --- data/translations/Internationalization_bg.ts | 8 ++++---- data/translations/Internationalization_ca.ts | 8 ++++---- data/translations/Internationalization_cs.ts | 8 ++++---- data/translations/Internationalization_de_DE.ts | 8 ++++---- data/translations/Internationalization_el.ts | 8 ++++---- data/translations/Internationalization_es.ts | 8 ++++---- data/translations/Internationalization_eu.ts | 8 ++++---- data/translations/Internationalization_fa.ts | 8 ++++---- data/translations/Internationalization_fi.ts | 8 ++++---- data/translations/Internationalization_fr.ts | 8 ++++---- data/translations/Internationalization_gl.ts | 8 ++++---- data/translations/Internationalization_he.ts | 8 ++++---- data/translations/Internationalization_hu.ts | 8 ++++---- data/translations/Internationalization_id.ts | 8 ++++---- data/translations/Internationalization_it_IT.ts | 8 ++++---- data/translations/Internationalization_ja.ts | 8 ++++---- data/translations/Internationalization_ka.ts | 8 ++++---- data/translations/Internationalization_ko.ts | 8 ++++---- data/translations/Internationalization_nb_NO.ts | 8 ++++---- data/translations/Internationalization_nl.ts | 8 ++++---- data/translations/Internationalization_nl_NL.ts | 8 ++++---- data/translations/Internationalization_pl.ts | 8 ++++---- data/translations/Internationalization_pt_BR.ts | 8 ++++---- data/translations/Internationalization_ru.ts | 8 ++++---- data/translations/Internationalization_sk.ts | 8 ++++---- data/translations/Internationalization_sr_SP.ts | 8 ++++---- data/translations/Internationalization_sv_SE.ts | 8 ++++---- data/translations/Internationalization_sw.ts | 8 ++++---- data/translations/Internationalization_ta.ts | 8 ++++---- data/translations/Internationalization_th.ts | 8 ++++---- data/translations/Internationalization_tr.ts | 8 ++++---- data/translations/Internationalization_uk.ts | 8 ++++---- data/translations/Internationalization_vi.ts | 8 ++++---- data/translations/Internationalization_zh_CN.ts | 8 ++++---- data/translations/Internationalization_zh_HK.ts | 8 ++++---- data/translations/Internationalization_zh_TW.ts | 8 ++++---- src/config/generalconf.cpp | 7 ++++--- src/core/capturerequest.cpp | 3 ++- 38 files changed, 150 insertions(+), 148 deletions(-) diff --git a/data/translations/Internationalization_bg.ts b/data/translations/Internationalization_bg.ts index 6e9fc32111..59576c6434 100644 --- a/data/translations/Internationalization_bg.ts +++ b/data/translations/Internationalization_bg.ts @@ -1054,13 +1054,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_ca.ts b/data/translations/Internationalization_ca.ts index 3a2f28ade0..5527bfd3ba 100644 --- a/data/translations/Internationalization_ca.ts +++ b/data/translations/Internationalization_ca.ts @@ -1062,13 +1062,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_cs.ts b/data/translations/Internationalization_cs.ts index 2041970cf0..2ade530451 100644 --- a/data/translations/Internationalization_cs.ts +++ b/data/translations/Internationalization_cs.ts @@ -1121,13 +1121,13 @@ Vyřešte je, prosím, ručně v souboru s nastavením. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_de_DE.ts b/data/translations/Internationalization_de_DE.ts index f97fb19d60..63ff5d926d 100644 --- a/data/translations/Internationalization_de_DE.ts +++ b/data/translations/Internationalization_de_DE.ts @@ -1074,13 +1074,13 @@ Bitte beseitige sie manuell in der Konfigurationsdatei. - Use last region - Letzte Region verwenden + Use last region for GUI mode + Letzte Region verwenden - Uses the last region as the default selection for the next screenshot - Letzte Region als Standardauswahl für den nächsten Screenshot verwenden + Use the last region as the default selection for the next screenshot in GUI mode + Letzte Region als Standardauswahl für den nächsten Screenshot verwenden diff --git a/data/translations/Internationalization_el.ts b/data/translations/Internationalization_el.ts index f7f8f39433..b8166b6b34 100644 --- a/data/translations/Internationalization_el.ts +++ b/data/translations/Internationalization_el.ts @@ -1066,13 +1066,13 @@ Please solve them manually in the configuration file. - Use last region - Χρησιμοποιήστε την τελευταία περιοχή + Use last region for GUI mode + Χρησιμοποιήστε την τελευταία περιοχή - Uses the last region as the default selection for the next screenshot - Χρησιμοποιεί την τελευταία περιοχή ως προεπιλεγμένη επιλογή για το επόμενο στιγμιότυπο οθόνης + Use the last region as the default selection for the next screenshot in GUI mode + Χρησιμοποιεί την τελευταία περιοχή ως προεπιλεγμένη επιλογή για το επόμενο στιγμιότυπο οθόνης diff --git a/data/translations/Internationalization_es.ts b/data/translations/Internationalization_es.ts index 4d1798ea83..ca8ce802c3 100644 --- a/data/translations/Internationalization_es.ts +++ b/data/translations/Internationalization_es.ts @@ -1077,13 +1077,13 @@ Por favor, resuélvelos manualmente en el archivo de configuración. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_eu.ts b/data/translations/Internationalization_eu.ts index 154fe2272a..9200e9dd03 100644 --- a/data/translations/Internationalization_eu.ts +++ b/data/translations/Internationalization_eu.ts @@ -1109,13 +1109,13 @@ Mesedez, konpon itzazu eskuz konfigurazio fitxategian. - Use last region - Erabili azken eremua + Use last region for GUI mode + Erabili azken eremua - Uses the last region as the default selection for the next screenshot - Azken eremua erabiltzen du hurrengo pantaila-argazkirako hautaketa-eremu lehenetsi gisa + Use the last region as the default selection for the next screenshot in GUI mode + Azken eremua erabiltzen du hurrengo pantaila-argazkirako hautaketa-eremu lehenetsi gisa diff --git a/data/translations/Internationalization_fa.ts b/data/translations/Internationalization_fa.ts index 4e2c2669c7..a4f73a8f53 100644 --- a/data/translations/Internationalization_fa.ts +++ b/data/translations/Internationalization_fa.ts @@ -1058,13 +1058,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_fi.ts b/data/translations/Internationalization_fi.ts index 2fef48f60c..f03b8f2364 100644 --- a/data/translations/Internationalization_fi.ts +++ b/data/translations/Internationalization_fi.ts @@ -1062,13 +1062,13 @@ Ratkaise ne käsin muuttamalla asetustiedostoa. - Use last region - Käytä viimeistä aluetta + Use last region for GUI mode + Käytä viimeistä aluetta - Uses the last region as the default selection for the next screenshot - Käyttää viimeistä aluetta seuraavan kaappauksen oletusvalintana + Use the last region as the default selection for the next screenshot in GUI mode + Käyttää viimeistä aluetta seuraavan kaappauksen oletusvalintana diff --git a/data/translations/Internationalization_fr.ts b/data/translations/Internationalization_fr.ts index 750a1a33d4..48fe898823 100644 --- a/data/translations/Internationalization_fr.ts +++ b/data/translations/Internationalization_fr.ts @@ -1010,13 +1010,13 @@ Veuillez résoudre ce problème manuellement depuis le fichier de configuration. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_gl.ts b/data/translations/Internationalization_gl.ts index c5216a2fc2..b5003d6fa0 100644 --- a/data/translations/Internationalization_gl.ts +++ b/data/translations/Internationalization_gl.ts @@ -1054,13 +1054,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_he.ts b/data/translations/Internationalization_he.ts index 17b8ad06bd..e33fbacd52 100644 --- a/data/translations/Internationalization_he.ts +++ b/data/translations/Internationalization_he.ts @@ -1070,13 +1070,13 @@ Please solve them manually in the configuration file. - Use last region - השתמש באזור האחרון + Use last region for GUI mode + השתמש באזור האחרון - Uses the last region as the default selection for the next screenshot - שימוש באזור האחרון כבחירת ברירת־מחדל לצילום המסך הבא + Use the last region as the default selection for the next screenshot in GUI mode + שימוש באזור האחרון כבחירת ברירת־מחדל לצילום המסך הבא diff --git a/data/translations/Internationalization_hu.ts b/data/translations/Internationalization_hu.ts index 4cad9fc9c1..57e705f126 100644 --- a/data/translations/Internationalization_hu.ts +++ b/data/translations/Internationalization_hu.ts @@ -999,12 +999,12 @@ Please solve them manually in the configuration file. Make the magnifier to be square-shaped - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode Copy on double click diff --git a/data/translations/Internationalization_id.ts b/data/translations/Internationalization_id.ts index 22221b4775..1f3ef81ce0 100644 --- a/data/translations/Internationalization_id.ts +++ b/data/translations/Internationalization_id.ts @@ -1070,13 +1070,13 @@ Mohon atasi mereka secara manual di file konfigurasi. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_it_IT.ts b/data/translations/Internationalization_it_IT.ts index e63a39c822..f0ac4c90c1 100644 --- a/data/translations/Internationalization_it_IT.ts +++ b/data/translations/Internationalization_it_IT.ts @@ -991,13 +991,13 @@ Si prega di risolverli manualmente nel file di configurazione. - Use last region - Usa l'ultima regione + Use last region for GUI mode + Usa l'ultima regione - Uses the last region as the default selection for the next screenshot - Utilizza l'ultima regione come selezione predefinita per lo screenshot successivo + Use the last region as the default selection for the next screenshot in GUI mode + Utilizza l'ultima regione come selezione predefinita per lo screenshot successivo diff --git a/data/translations/Internationalization_ja.ts b/data/translations/Internationalization_ja.ts index ceab5923f8..e29cc7431e 100644 --- a/data/translations/Internationalization_ja.ts +++ b/data/translations/Internationalization_ja.ts @@ -1057,13 +1057,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_ka.ts b/data/translations/Internationalization_ka.ts index 7c7521016e..00bf511a7e 100644 --- a/data/translations/Internationalization_ka.ts +++ b/data/translations/Internationalization_ka.ts @@ -1057,13 +1057,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_ko.ts b/data/translations/Internationalization_ko.ts index 824d088ddd..bccd3a1001 100644 --- a/data/translations/Internationalization_ko.ts +++ b/data/translations/Internationalization_ko.ts @@ -1078,13 +1078,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_nb_NO.ts b/data/translations/Internationalization_nb_NO.ts index da2b0e6743..b8ef896321 100644 --- a/data/translations/Internationalization_nb_NO.ts +++ b/data/translations/Internationalization_nb_NO.ts @@ -1058,13 +1058,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_nl.ts b/data/translations/Internationalization_nl.ts index c5d4c970d2..b5cb9e3854 100644 --- a/data/translations/Internationalization_nl.ts +++ b/data/translations/Internationalization_nl.ts @@ -1055,13 +1055,13 @@ Please solve them manually in the configuration file. - Use last region - + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_nl_NL.ts b/data/translations/Internationalization_nl_NL.ts index d18387658d..f8616cb2e2 100644 --- a/data/translations/Internationalization_nl_NL.ts +++ b/data/translations/Internationalization_nl_NL.ts @@ -1073,13 +1073,13 @@ Los ze alstublieft handmatig op in het configuratiebestand. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_pl.ts b/data/translations/Internationalization_pl.ts index 472f53d6ee..0a0c94535b 100644 --- a/data/translations/Internationalization_pl.ts +++ b/data/translations/Internationalization_pl.ts @@ -1081,13 +1081,13 @@ Rozwiąż błędy ręcznie w pliku konfiguracyjnym. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_pt_BR.ts b/data/translations/Internationalization_pt_BR.ts index 772114bace..25ea836a6c 100644 --- a/data/translations/Internationalization_pt_BR.ts +++ b/data/translations/Internationalization_pt_BR.ts @@ -1113,13 +1113,13 @@ Por favor, resolva-os manualmente no arquivo de configuração. - Use last region - Usar a última região + Use last region for GUI mode + Usar a última região - Uses the last region as the default selection for the next screenshot - Usa a última região como a seleção padrão para a próxima captura de tela + Use the last region as the default selection for the next screenshot in GUI mode + Usa a última região como a seleção padrão para a próxima captura de tela diff --git a/data/translations/Internationalization_ru.ts b/data/translations/Internationalization_ru.ts index c9832e85d6..19819871e6 100644 --- a/data/translations/Internationalization_ru.ts +++ b/data/translations/Internationalization_ru.ts @@ -1149,13 +1149,13 @@ Please solve them manually in the configuration file. - Use last region - Использовать последнюю область + Use last region for GUI mode + Использовать последнюю область - Uses the last region as the default selection for the next screenshot - Использовать последнюю область стандартным выделением для следующего снимка экрана + Use the last region as the default selection for the next screenshot in GUI mode + Использовать последнюю область стандартным выделением для следующего снимка экрана diff --git a/data/translations/Internationalization_sk.ts b/data/translations/Internationalization_sk.ts index 1fe2d19096..3a3a8f8fc3 100644 --- a/data/translations/Internationalization_sk.ts +++ b/data/translations/Internationalization_sk.ts @@ -1121,13 +1121,13 @@ Riešte ich ručne v konfiguračnom súbore. - Use last region - Použite posledný región + Use last region for GUI mode + Použite posledný región - Uses the last region as the default selection for the next screenshot - Používa posledný región ako predvolený výber pre ďalší snímku obrazovky + Use the last region as the default selection for the next screenshot in GUI mode + Používa posledný región ako predvolený výber pre ďalší snímku obrazovky diff --git a/data/translations/Internationalization_sr_SP.ts b/data/translations/Internationalization_sr_SP.ts index ba96a81782..088e834093 100644 --- a/data/translations/Internationalization_sr_SP.ts +++ b/data/translations/Internationalization_sr_SP.ts @@ -1061,13 +1061,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_sv_SE.ts b/data/translations/Internationalization_sv_SE.ts index 9177302c93..72c9020d7b 100644 --- a/data/translations/Internationalization_sv_SE.ts +++ b/data/translations/Internationalization_sv_SE.ts @@ -1057,13 +1057,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_sw.ts b/data/translations/Internationalization_sw.ts index 8d0c1549b5..8dca8fad54 100644 --- a/data/translations/Internationalization_sw.ts +++ b/data/translations/Internationalization_sw.ts @@ -1056,13 +1056,13 @@ Please solve them manually in the configuration file. - Use last region - + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_ta.ts b/data/translations/Internationalization_ta.ts index edff675508..301487da36 100644 --- a/data/translations/Internationalization_ta.ts +++ b/data/translations/Internationalization_ta.ts @@ -1056,13 +1056,13 @@ Please solve them manually in the configuration file. - Use last region - + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_th.ts b/data/translations/Internationalization_th.ts index 82e211cf8c..59b13fb1e6 100644 --- a/data/translations/Internationalization_th.ts +++ b/data/translations/Internationalization_th.ts @@ -1056,13 +1056,13 @@ Please solve them manually in the configuration file. - Use last region - + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_tr.ts b/data/translations/Internationalization_tr.ts index 0cf288efbc..09168f3c75 100644 --- a/data/translations/Internationalization_tr.ts +++ b/data/translations/Internationalization_tr.ts @@ -1073,13 +1073,13 @@ Lütfen bunları yapılandırma dosyasında elle çözün. - Use last region - Son bölgeyi kullan + Use last region for GUI mode + Son bölgeyi kullan - Uses the last region as the default selection for the next screenshot - Bir sonraki ekran görüntüsü için öntanımlı seçim olarak son bölgeyi kullanır + Use the last region as the default selection for the next screenshot in GUI mode + Bir sonraki ekran görüntüsü için öntanımlı seçim olarak son bölgeyi kullanır diff --git a/data/translations/Internationalization_uk.ts b/data/translations/Internationalization_uk.ts index 586655cd16..a27e4d17df 100644 --- a/data/translations/Internationalization_uk.ts +++ b/data/translations/Internationalization_uk.ts @@ -1149,13 +1149,13 @@ Please solve them manually in the configuration file. - Use last region - Використовувати останню ділянку + Use last region for GUI mode + Використовувати останню ділянку - Uses the last region as the default selection for the next screenshot - Використовує останню ділянку типовим виділенням для наступного знімка екрана + Use the last region as the default selection for the next screenshot in GUI mode + Використовує останню ділянку типовим виділенням для наступного знімка екрана diff --git a/data/translations/Internationalization_vi.ts b/data/translations/Internationalization_vi.ts index babe9d9b21..f78d8bba72 100644 --- a/data/translations/Internationalization_vi.ts +++ b/data/translations/Internationalization_vi.ts @@ -1054,13 +1054,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_zh_CN.ts b/data/translations/Internationalization_zh_CN.ts index fa371ee029..d7c849f240 100644 --- a/data/translations/Internationalization_zh_CN.ts +++ b/data/translations/Internationalization_zh_CN.ts @@ -1126,13 +1126,13 @@ Please solve them manually in the configuration file. - Use last region - 使用上一次的区域 + Use last region for GUI mode + 使用上一次的区域 - Uses the last region as the default selection for the next screenshot - 使用上一次选中的区域作为下一次截图的默认选区 + Use the last region as the default selection for the next screenshot in GUI mode + 使用上一次选中的区域作为下一次截图的默认选区 diff --git a/data/translations/Internationalization_zh_HK.ts b/data/translations/Internationalization_zh_HK.ts index c6e19c72d9..94159c54de 100644 --- a/data/translations/Internationalization_zh_HK.ts +++ b/data/translations/Internationalization_zh_HK.ts @@ -1105,13 +1105,13 @@ Please solve them manually in the configuration file. - Use last region - Use last region + Use last region for GUI mode + Use last region for GUI mode - Uses the last region as the default selection for the next screenshot - Uses the last region as the default selection for the next screenshot + Use the last region as the default selection for the next screenshot in GUI mode + Use the last region as the default selection for the next screenshot in GUI mode diff --git a/data/translations/Internationalization_zh_TW.ts b/data/translations/Internationalization_zh_TW.ts index a88fe3903a..711796949f 100644 --- a/data/translations/Internationalization_zh_TW.ts +++ b/data/translations/Internationalization_zh_TW.ts @@ -1053,13 +1053,13 @@ Please solve them manually in the configuration file. - Use last region - 使用上次的區域 + Use last region for GUI mode + 使用上次的區域 - Uses the last region as the default selection for the next screenshot - 將上次的區域作為下一次截圖的預設選擇 + Use the last region as the default selection for the next screenshot in GUI mode + 將上次的區域作為下一次截圖的預設選擇 diff --git a/src/config/generalconf.cpp b/src/config/generalconf.cpp index 47de77f809..8c8024def7 100644 --- a/src/config/generalconf.cpp +++ b/src/config/generalconf.cpp @@ -253,9 +253,10 @@ void GeneralConf::initShowHelp() void GeneralConf::initSaveLastRegion() { - m_saveLastRegion = new QCheckBox(tr("Use last region"), this); - m_saveLastRegion->setToolTip(tr("Uses the last region as the default " - "selection for the next screenshot")); + m_saveLastRegion = new QCheckBox(tr("Use last region for GUI mode"), this); + m_saveLastRegion->setToolTip( + tr("Use the last region as the default selection for the next screenshot " + "in GUI mode")); m_scrollAreaLayout->addWidget(m_saveLastRegion); connect(m_saveLastRegion, diff --git a/src/core/capturerequest.cpp b/src/core/capturerequest.cpp index c3f9f6a876..6fc76843ad 100644 --- a/src/core/capturerequest.cpp +++ b/src/core/capturerequest.cpp @@ -21,7 +21,8 @@ CaptureRequest::CaptureRequest(CaptureRequest::CaptureMode mode, { ConfigHandler config; - if (config.saveLastRegion()) { + if (m_mode == CaptureRequest::CaptureMode::GRAPHICAL_MODE && + config.saveLastRegion()) { setInitialSelection(getLastRegion()); } }