From dc1bbb1c15ecd3385d5e44c4498c58e864515a4c Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Mon, 8 Jul 2024 01:23:10 +0000 Subject: [PATCH 1/2] GIT_SILENT Sync po/docbooks with svn --- poqm/fr/falkon_gnomekeyringpasswords_qt.po | 2 +- poqm/fr/falkon_greasemonkey_qt.po | 2 +- poqm/fr/falkon_statusbaricons_qt.po | 2 +- poqm/fr/falkon_testplugin_qt.po | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/poqm/fr/falkon_gnomekeyringpasswords_qt.po b/poqm/fr/falkon_gnomekeyringpasswords_qt.po index 04e497ea1..986dfc8f7 100644 --- a/poqm/fr/falkon_gnomekeyringpasswords_qt.po +++ b/poqm/fr/falkon_gnomekeyringpasswords_qt.po @@ -10,7 +10,7 @@ msgstr "" "PO-Revision-Date: 2020-12-29 14:44+0100\n" "Last-Translator: Xavier Besnard \n" "Language-Team: French \n" -"Language: fr\n" +"Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/poqm/fr/falkon_greasemonkey_qt.po b/poqm/fr/falkon_greasemonkey_qt.po index bede3f923..63207e54a 100644 --- a/poqm/fr/falkon_greasemonkey_qt.po +++ b/poqm/fr/falkon_greasemonkey_qt.po @@ -10,7 +10,7 @@ msgstr "" "PO-Revision-Date: 2020-12-29 14:45+0100\n" "Last-Translator: Xavier Besnard \n" "Language-Team: French \n" -"Language: fr\n" +"Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/poqm/fr/falkon_statusbaricons_qt.po b/poqm/fr/falkon_statusbaricons_qt.po index 787eb4f87..4423d3abb 100644 --- a/poqm/fr/falkon_statusbaricons_qt.po +++ b/poqm/fr/falkon_statusbaricons_qt.po @@ -10,7 +10,7 @@ msgstr "" "PO-Revision-Date: 2020-12-29 14:38+0100\n" "Last-Translator: Xavier Besnard \n" "Language-Team: French \n" -"Language: fr\n" +"Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" diff --git a/poqm/fr/falkon_testplugin_qt.po b/poqm/fr/falkon_testplugin_qt.po index 0f03eb847..7058ead22 100644 --- a/poqm/fr/falkon_testplugin_qt.po +++ b/poqm/fr/falkon_testplugin_qt.po @@ -10,7 +10,7 @@ msgstr "" "PO-Revision-Date: 2020-12-29 14:37+0100\n" "Last-Translator: Xavier Besnard \n" "Language-Team: French \n" -"Language: fr\n" +"Language: fr_FR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" From 244abda44527f727a8f9eaf67563ee22dea28efe Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Mon, 8 Jul 2024 20:31:08 +0200 Subject: [PATCH 2/2] Remove Falkon identification from UserAgent CloudFlare works properly only with QtWebEngine default user agent. Any modifications will cause it to break. Signed-off-by: Juraj Oravec --- src/lib/other/useragentmanager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/other/useragentmanager.cpp b/src/lib/other/useragentmanager.cpp index e394c8174..35078ef3f 100644 --- a/src/lib/other/useragentmanager.cpp +++ b/src/lib/other/useragentmanager.cpp @@ -29,7 +29,6 @@ UserAgentManager::UserAgentManager(QObject* parent) , m_usePerDomainUserAgent(false) { m_defaultUserAgent = mApp->webProfile()->httpUserAgent(); - m_defaultUserAgent.replace(QRegularExpression(QSL("(QtWebEngine/[^\\s]+)")), QSL("Falkon/%1 \\1").arg(QString::fromLatin1(Qz::VERSION))); } void UserAgentManager::loadSettings()