Hello community,

here is the log from the commit of package sonnet for openSUSE:Factory checked 
in at 2020-10-12 13:57:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sonnet (Old)
 and      /work/SRC/openSUSE:Factory/.sonnet.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sonnet"

Mon Oct 12 13:57:28 2020 rev:86 rq:840865 version:5.75.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sonnet/sonnet.changes    2020-09-18 
14:44:37.296177863 +0200
+++ /work/SRC/openSUSE:Factory/.sonnet.new.3486/sonnet.changes  2020-10-12 
13:59:03.254209581 +0200
@@ -1,0 +2,16 @@
+Mon Oct  5 08:33:47 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.75.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/kde-frameworks-5.75.0
+- Changes since 5.74.0:
+  * Fix cppcheck warning
+  * Compile without deprecated method against qt5.15.
+  * downgrade trigrams output
+  * Prevent unnecessary temporary container creations
+  * const'ify pointer + initialize variable
+  * Use QMultiMap in createOrderedModel
+  * Fix test_highlighter to not fail if dict not found
+
+-------------------------------------------------------------------

Old:
----
  sonnet-5.74.0.tar.xz
  sonnet-5.74.0.tar.xz.sig

New:
----
  sonnet-5.75.0.tar.xz
  sonnet-5.75.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sonnet.spec ++++++
--- /var/tmp/diff_new_pack.MSxgWX/_old  2020-10-12 13:59:03.778209799 +0200
+++ /var/tmp/diff_new_pack.MSxgWX/_new  2020-10-12 13:59:03.778209799 +0200
@@ -17,14 +17,14 @@
 
 
 %define sonum   5
-%define _tar_path 5.74
+%define _tar_path 5.75
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
 %{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without lang
 Name:           sonnet
-Version:        5.74.0
+Version:        5.75.0
 Release:        0
 Summary:        KDE spell checking library
 License:        LGPL-2.1-or-later


++++++ sonnet-5.74.0.tar.xz -> sonnet-5.75.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/CMakeLists.txt 
new/sonnet-5.75.0/CMakeLists.txt
--- old/sonnet-5.74.0/CMakeLists.txt    2020-09-06 12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/CMakeLists.txt    2020-10-04 20:58:41.000000000 +0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.74.0") # handled by release scripts
+set(KF5_VERSION "5.75.0") # handled by release scripts
 project(Sonnet VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.74.0  NO_MODULE)
+find_package(ECM 5.75.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/autotests/test_highlighter.cpp 
new/sonnet-5.75.0/autotests/test_highlighter.cpp
--- old/sonnet-5.74.0/autotests/test_highlighter.cpp    2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/autotests/test_highlighter.cpp    2020-10-04 
20:58:41.000000000 +0200
@@ -12,6 +12,7 @@
 #include <QStandardPaths>
 #include <QObject>
 #include <QTest>
+#include <QRegularExpression>
 
 using namespace Sonnet;
 
@@ -54,7 +55,8 @@
     textEdit.setPlainText(QString::fromLatin1(s_englishSentence));
     Sonnet::Highlighter highlighter(&textEdit);
     highlighter.setCurrentLanguage(QStringLiteral("en"));
-    QVERIFY(highlighter.spellCheckerFound());
+    if(!highlighter.spellCheckerFound())
+        QSKIP("'en' not available");
     highlighter.rehighlight();
     QTextCursor cursor(textEdit.document());
 
@@ -81,7 +83,9 @@
     textEdit.setPlainText(QString::fromLatin1(s_frenchSentence));
     Sonnet::Highlighter highlighter(&textEdit);
     highlighter.setCurrentLanguage(QStringLiteral("fr_FR"));
-    QVERIFY(highlighter.spellCheckerFound());
+    if (!highlighter.spellCheckerFound()) {
+        QSKIP("'fr_FR' not available");
+    }
     highlighter.rehighlight();
     QTextCursor cursor(textEdit.document());
 
@@ -131,6 +135,13 @@
     highlighter.rehighlight();
     QTextCursor cursor(textEdit.document());
 
+    //create Speller to check if we have the language dictionaries available 
otherwise
+    //this will just keep failing
+    Sonnet::Speller speller;
+    const auto availableLangs = speller.availableLanguages();
+    bool isFrAvailable = availableLangs.indexOf(QStringLiteral("fr_FR")) != -1;
+    bool isEnAvailable = 
availableLangs.indexOf(QRegularExpression(QStringLiteral("en"))) != -1;
+
     // WHEN
     cursor.setPosition(6);
     const QStringList suggestionsForHelo = 
highlighter.suggestionsForWord(QStringLiteral("helo"), cursor);
@@ -142,10 +153,14 @@
     const QStringList suggestionsForDict = 
highlighter.suggestionsForWord(QStringLiteral("dictionnare"), cursor);
 
     // THEN
-    QVERIFY2(suggestionsForHelo.contains(QLatin1String("hello")), 
qPrintable(suggestionsForHelo.join(QLatin1Char(','))));
-    QVERIFY2(suggestionsForEnviroment.contains(QLatin1String("environment")), 
qPrintable(suggestionsForEnviroment.join(QLatin1Char(','))));
-    QVERIFY2(suggestionsForBnjour.contains(QLatin1String("Bonjour")), 
qPrintable(suggestionsForBnjour.join(QLatin1Char(','))));
-    QVERIFY2(suggestionsForDict.contains(QLatin1String("dictionnaire")), 
qPrintable(suggestionsForDict.join(QLatin1Char(','))));
+    if (isEnAvailable) {
+        QVERIFY2(suggestionsForHelo.contains(QLatin1String("hello")), 
qPrintable(suggestionsForHelo.join(QLatin1Char(','))));
+        
QVERIFY2(suggestionsForEnviroment.contains(QLatin1String("environment")), 
qPrintable(suggestionsForEnviroment.join(QLatin1Char(','))));
+    }
+    if (isFrAvailable) {
+        QVERIFY2(suggestionsForBnjour.contains(QLatin1String("Bonjour")), 
qPrintable(suggestionsForBnjour.join(QLatin1Char(','))));
+        QVERIFY2(suggestionsForDict.contains(QLatin1String("dictionnaire")), 
qPrintable(suggestionsForDict.join(QLatin1Char(','))));
+    }
 }
 
 QTEST_MAIN(HighlighterTest)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/data/gentrigrams.cpp 
new/sonnet-5.75.0/data/gentrigrams.cpp
--- old/sonnet-5.74.0/data/gentrigrams.cpp      2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/data/gentrigrams.cpp      2020-10-04 20:58:41.000000000 
+0200
@@ -53,13 +53,13 @@
     qDebug() << "model built!";
 
     qDebug() << "Sorting...";
-    QMap<int, QString> orderedTrigrams;
+    QMultiMap<int, QString> orderedTrigrams;
     for (const QString &key : model.keys()) {
         const QChar *data = key.constData();
         bool hasTwoSpaces = (data[1].isSpace() && (data[0].isSpace() || 
data[2].isSpace()));
 
         if (!hasTwoSpaces) {
-            orderedTrigrams.insertMulti(model[key], key);
+            orderedTrigrams.insert(model[key], key);
         }
     }
     qDebug() << "Sorted!";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/examples/plaintextedit.cpp 
new/sonnet-5.75.0/examples/plaintextedit.cpp
--- old/sonnet-5.74.0/examples/plaintextedit.cpp        2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/examples/plaintextedit.cpp        2020-10-04 
20:58:41.000000000 +0200
@@ -21,7 +21,7 @@
 class CommentCheckDecorator : public Sonnet::SpellCheckDecorator
 {
 public:
-    CommentCheckDecorator(QPlainTextEdit *edit)
+    explicit CommentCheckDecorator(QPlainTextEdit *edit)
         : Sonnet::SpellCheckDecorator(edit)
     {
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/examples/textedit.cpp 
new/sonnet-5.75.0/examples/textedit.cpp
--- old/sonnet-5.74.0/examples/textedit.cpp     2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/examples/textedit.cpp     2020-10-04 20:58:41.000000000 
+0200
@@ -21,7 +21,7 @@
 class MailSpellCheckDecorator : public Sonnet::SpellCheckDecorator
 {
 public:
-    MailSpellCheckDecorator(QTextEdit *edit)
+    explicit MailSpellCheckDecorator(QTextEdit *edit)
         : Sonnet::SpellCheckDecorator(edit)
     {
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/po/ca/sonnet5_qt.po 
new/sonnet-5.75.0/po/ca/sonnet5_qt.po
--- old/sonnet-5.74.0/po/ca/sonnet5_qt.po       2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/po/ca/sonnet5_qt.po       2020-10-04 20:58:41.000000000 
+0200
@@ -11,7 +11,7 @@
 # Orestes Mas <ores...@tsc.upc.edu>, 2010.
 msgid ""
 msgstr ""
-"Project-Id-Version: sonnet5_qt\n"
+"Project-Id-Version: sonnet\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
 "PO-Revision-Date: 2020-08-03 21:28+0200\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/po/ca@valencia/sonnet5_qt.po 
new/sonnet-5.75.0/po/ca@valencia/sonnet5_qt.po
--- old/sonnet-5.74.0/po/ca@valencia/sonnet5_qt.po      2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/po/ca@valencia/sonnet5_qt.po      2020-10-04 
20:58:41.000000000 +0200
@@ -12,7 +12,7 @@
 # Empar <montoro_...@gva.es>, 2019.
 msgid ""
 msgstr ""
-"Project-Id-Version: sonnet5_qt\n"
+"Project-Id-Version: sonnet\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
 "PO-Revision-Date: 2019-06-18 09:26+0200\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/po/el/sonnet5_qt.po 
new/sonnet-5.75.0/po/el/sonnet5_qt.po
--- old/sonnet-5.74.0/po/el/sonnet5_qt.po       2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/po/el/sonnet5_qt.po       2020-10-04 20:58:41.000000000 
+0200
@@ -14,21 +14,21 @@
 # Petros Vidalis <p_vida...@hotmail.com>, 2010, 2011.
 # Dimitrios Glentadakis <dgl...@gmail.com>, 2010, 2011, 2012, 2013, 2014.
 # nikos, 2011.
-# Stelios <ssta...@gmail.com>, 2012, 2013, 2015.
+# Stelios <ssta...@gmail.com>, 2012, 2013, 2015, 2020.
 # Dimitris Kardarakos <dimk...@gmail.com>, 2015.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
-"PO-Revision-Date: 2015-12-21 00:19+0200\n"
+"PO-Revision-Date: 2020-09-17 10:04+0300\n"
 "Last-Translator: Stelios <ssta...@gmail.com>\n"
 "Language-Team: Greek <kde-i18n...@kde.org>\n"
 "Language: el\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 2.0\n"
+"X-Generator: Lokalize 20.04.2\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
 "X-Qt-Contexts: true\n"
 
@@ -169,7 +169,7 @@
 #: ui/configui.ui:63
 msgctxt "SonnetConfigUI|"
 msgid "Choose your preferred languages"
-msgstr ""
+msgstr "Επιλέξτε τις γλώσσες που προτιμάτε"
 
 #: ui/configui.ui:71
 msgctxt "SonnetConfigUI|"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/po/ro/sonnet5_qt.po 
new/sonnet-5.75.0/po/ro/sonnet5_qt.po
--- old/sonnet-5.74.0/po/ro/sonnet5_qt.po       2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/po/ro/sonnet5_qt.po       2020-10-04 20:58:41.000000000 
+0200
@@ -1,157 +1,106 @@
 # Traducerea kdelibs4.po în Română
 # Laurenţiu Buzdugan <l...@rolix.org>, 2008, 2009.
-# Sergiu Bivol <ser...@ase.md>, 2008, 2009, 2010.
-# Sergiu Bivol <ser...@ase.md>, 2010, 2012, 2013, 2014.
+# Sergiu Bivol <ser...@cip.md>, 2008, 2009, 2010.
+# Sergiu Bivol <ser...@cip.md>, 2010, 2012, 2013, 2014, 2020.
 # Cristian Oneț <onet.crist...@gmail.com>, 2010, 2011, 2012, 2013.
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
-"PO-Revision-Date: 2014-03-26 19:20+0200\n"
-"Last-Translator: Sergiu Bivol <ser...@ase.md>\n"
-"Language-Team: Romanian <kde-i18n...@kde.org>\n"
+"PO-Revision-Date: 2020-09-19 14:51+0100\n"
+"Last-Translator: Sergiu Bivol <ser...@cip.md>\n"
+"Language-Team: Romanian\n"
 "Language: ro\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
-"X-Generator: Lokalize 1.5\n"
 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
 "20)) ? 1 : 2;\n"
+"X-Generator: Lokalize 19.12.3\n"
 "X-Qt-Contexts: true\n"
 
 #: core/loader.cpp:180
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "40"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "40"
 msgstr "40"
 
 #: core/loader.cpp:181
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "60"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "60"
 msgstr "60"
 
 #: core/loader.cpp:182
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "80"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "80"
 msgstr "80"
 
 #: core/loader.cpp:183
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "-ise suffixes"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "-ise suffixes"
-msgstr "sufixe -ise"
+msgstr "sufixe „-ise”"
 
 #: core/loader.cpp:184
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "-ize suffixes"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "-ize suffixes"
-msgstr "sufixe -ize"
+msgstr "sufixe -„ize”"
 
 #: core/loader.cpp:185
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "-ise suffixes and with accents"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "-ise suffixes and with accents"
-msgstr "sufixe -ise și cu accente"
+msgstr "sufixe „-ise” și cu accente"
 
 #: core/loader.cpp:187
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "-ise suffixes and without accents"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "-ise suffixes and without accents"
-msgstr "sufixe -ise și fără accente"
+msgstr "sufixe „-ise” și fără accente"
 
 #: core/loader.cpp:190
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "-ize suffixes and with accents"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "-ize suffixes and with accents"
-msgstr "sufixe -ize și cu accente"
+msgstr "sufixe „-ize” și cu accente"
 
 #: core/loader.cpp:192
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "-ize suffixes and without accents"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "-ize suffixes and without accents"
-msgstr "sufixe -ize și fără accente"
+msgstr "sufixe „-ize” și fără accente"
 
 #: core/loader.cpp:195
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "large"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "large"
-msgstr "larg"
+msgstr "mare"
 
 #: core/loader.cpp:196
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "medium"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "medium"
 msgstr "mediu"
 
 #: core/loader.cpp:197
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "small"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "small"
 msgstr "mic"
 
 #: core/loader.cpp:198
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "variant 0"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "variant 0"
 msgstr "varianta 0"
 
 #: core/loader.cpp:199
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "variant 1"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "variant 1"
 msgstr "varianta 1"
 
 #: core/loader.cpp:200
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "variant 2"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "variant 2"
 msgstr "varianta 2"
 
 #: core/loader.cpp:202
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "without accents"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "without accents"
 msgstr "fără accente"
 
 #: core/loader.cpp:203
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "with accents"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "with accents"
 msgstr "cu accente"
@@ -159,30 +108,25 @@
 #: core/loader.cpp:205
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "with ye, modern russian"
-msgstr ""
+msgstr "cu „ie”, rusa modernă"
 
 #: core/loader.cpp:207
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "with yeyo, modern and old russian"
-msgstr ""
+msgstr "cu „ieio”, rusa modernă și veche"
 
 #: core/loader.cpp:210
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "with yo, old russian"
-msgstr ""
+msgstr "cu „io”, rusa veche"
 
 #: core/loader.cpp:211
-#, fuzzy
-#| msgctxt "dictionary variant"
-#| msgid "extended"
 msgctxt "Sonnet::Loader|dictionary variant"
 msgid "extended"
 msgstr "extins"
 
 #: core/loader.cpp:246
-#, fuzzy, qt-format
-#| msgctxt "dictionary name. %1-language, %2-country and %3 variant name"
-#| msgid "%1 (%2) [%3]"
+#, qt-format
 msgctxt ""
 "Sonnet::Loader|dictionary name; %1 = language name, %2 = country name and %3 "
 "= language variant name"
@@ -190,30 +134,22 @@
 msgstr "%1 (%2) [%3]"
 
 #: core/loader.cpp:249
-#, fuzzy, qt-format
-#| msgctxt "name of digit set with digit string, e.g. 'Arabic (0123456789)'"
-#| msgid "%1 (%2)"
+#, qt-format
 msgctxt "Sonnet::Loader|dictionary name; %1 = language name, %2 = country name"
 msgid "%1 (%2)"
 msgstr "%1 (%2)"
 
 #: ui/configdialog.cpp:40
-#, fuzzy
-#| msgid "Spell Checking Configuration"
 msgctxt "Sonnet::ConfigDialog|"
 msgid "Spell Checking Configuration"
 msgstr "Configurarea verificării ortografice"
 
 #: ui/configui.ui:26
-#, fuzzy
-#| msgid "Enable &background spellchecking"
 msgctxt "SonnetConfigUI|"
 msgid "No backend found for spell checking"
-msgstr "Activează verificarea în f&undal a ortografiei"
+msgstr "Nu a fost găsită nicio platformă de verificare a ortografiei"
 
 #: ui/configui.ui:36
-#, fuzzy
-#| msgid "Default language:"
 msgctxt "SonnetConfigUI|"
 msgid "Default language:"
 msgstr "Limba implicită:"
@@ -221,11 +157,9 @@
 #: ui/configui.ui:63
 msgctxt "SonnetConfigUI|"
 msgid "Choose your preferred languages"
-msgstr ""
+msgstr "Alegeți limbile preferate"
 
 #: ui/configui.ui:71
-#, fuzzy
-#| msgid "Options"
 msgctxt "SonnetConfigUI|"
 msgid "Options"
 msgstr "Opțiuni"
@@ -233,131 +167,86 @@
 #: ui/configui.ui:77
 msgctxt "SonnetConfigUI|"
 msgid "Enable autodetection of &language"
-msgstr ""
+msgstr "Activează detectarea automată a &limbii"
 
 #: ui/configui.ui:84
-#, fuzzy
-#| msgid "Enable &background spellchecking"
 msgctxt "SonnetConfigUI|"
 msgid "Enable &background spellchecking"
-msgstr "Activează verificarea în f&undal a ortografiei"
+msgstr "Activează verificarea ortografiei în f&undal"
 
 #: ui/configui.ui:91
-#, fuzzy
-#| msgid "&Automatic spell checking enabled by default"
 msgctxt "SonnetConfigUI|"
 msgid "&Automatic spell checking enabled by default"
 msgstr "Verificare ortografică &automată activă implicit"
 
 #: ui/configui.ui:98
-#, fuzzy
-#| msgid "Skip all &uppercase words"
 msgctxt "SonnetConfigUI|"
 msgid "Skip all &uppercase words"
-msgstr "Sare peste cuvintele cu &MAJUSCULE"
+msgstr "Sari peste cuvintele cu toate maj&uscule"
 
 #: ui/configui.ui:105
-#, fuzzy
-#| msgid "S&kip run-together words"
 msgctxt "SonnetConfigUI|"
 msgid "S&kip run-together words"
-msgstr "Sare peste cuvintele &compuse"
+msgstr "Sari peste cuvintele &compuse"
 
 #: ui/configui.ui:115
-#, fuzzy
-#| msgid "Ignored Words"
 msgctxt "SonnetConfigUI|"
 msgid "Ignored Words:"
-msgstr "Cuvinte ignorate"
+msgstr "Cuvinte ignorate:"
 
 #: ui/configui.ui:129
-#, fuzzy
-#| msgid "&Add"
 msgctxt "SonnetConfigUI|"
 msgid "&Add"
 msgstr "&Adaugă"
 
 #: ui/configui.ui:142
-#, fuzzy
-#| msgid "&Remove"
 msgctxt "SonnetConfigUI|"
 msgid "&Remove"
 msgstr "&Elimină"
 
 #: ui/dialog.cpp:83 ui/dialog.cpp:205 ui/dialog.cpp:421
-#, fuzzy
-#| msgid "Check Spelling"
 msgctxt "Sonnet::Dialog|@title:window"
 msgid "Check Spelling"
-msgstr "Verificare ortografică"
+msgstr "Verifică ortografia"
 
 #: ui/dialog.cpp:204
-#, fuzzy
-#| msgctxt "progress label"
-#| msgid "Spell checking in progress..."
 msgctxt "Sonnet::Dialog|progress label"
 msgid "Spell checking in progress..."
 msgstr "Verificare ortografică în curs..."
 
 #: ui/dialog.cpp:228
-#, fuzzy
-#| msgid "Spell check stopped."
 msgctxt "Sonnet::Dialog|"
 msgid "Spell check stopped."
 msgstr "Verificare ortografică oprită."
 
 #: ui/dialog.cpp:238
-#, fuzzy
-#| msgid "Spell check canceled."
 msgctxt "Sonnet::Dialog|"
 msgid "Spell check canceled."
 msgstr "Verificare ortografică anulată."
 
 #: ui/dialog.cpp:417 ui/dialog.cpp:420
-#, fuzzy
-#| msgid "Spell check complete."
 msgctxt "Sonnet::Dialog|"
 msgid "Spell check complete."
 msgstr "Verificare ortografică încheiată."
 
 #: ui/highlighter.cpp:250 ui/highlighter.cpp:272
-#, fuzzy
-#| msgid "As-you-type spell checking enabled."
 msgctxt "Sonnet::Highlighter|"
 msgid "As-you-type spell checking enabled."
-msgstr "Verificarea ortografică automată este activată."
+msgstr "Verificarea ortografică pe măsură ce scrieți e activată."
 
 #: ui/highlighter.cpp:253
-#, fuzzy
-#| msgid "Too many misspelled words. As-you-type spell checking disabled."
 msgctxt "Sonnet::Highlighter|"
 msgid "Too many misspelled words. As-you-type spell checking disabled."
 msgstr ""
-"Prea multe cuvinte greșite. Verificarea ortografică automată a fost "
-"dezactivată."
+"Prea multe cuvinte greșite. Verificarea ortografică pe măsură ce scrieți a "
+"fost dezactivată."
 
 #: ui/highlighter.cpp:274
-#, fuzzy
-#| msgid "As-you-type spell checking disabled."
 msgctxt "Sonnet::Highlighter|"
 msgid "As-you-type spell checking disabled."
-msgstr "Verificarea ortografică automată este dezactivată."
+msgstr "Verificarea ortografică pe măsură ce scrieți a fost dezactivată."
 
 #: ui/sonnetui.ui:41 ui/sonnetui.ui:57
-#, fuzzy
-#| msgid ""
-#| "<qt><p>This word was considered to be an \"unknown word\" because it does "
-#| "not match any entry in the dictionary currently in use. It may also be a "
-#| "word in a foreign language.</p>\n"
-#| "<p>If the word is not misspelled, you may add it to the dictionary by "
-#| "clicking <b>Add to Dictionary</b>. If you do not want to add the unknown "
-#| "word to the dictionary, but you want to leave it unchanged, click "
-#| "<b>Ignore</b> or <b>Ignore All</b>.</p>\n"
-#| "<p>However, if the word is misspelled, you can try to find the correct "
-#| "replacement in the list below. If you cannot find a replacement there, "
-#| "you may type it in the text box below, and click <b>Replace</b> or "
-#| "<b>Replace All</b>.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt><p>This word was considered to be an \"unknown word\" because it does "
@@ -373,46 +262,35 @@
 "All</b>.</p>\n"
 "</qt>"
 msgstr ""
-"<qt><p>Acest cuvânt este considerat ca fiind „necunoscut” deoarece nu există "
-"în dicționarul curent. Este posibil să fie un cuvânt dintr-o altă limbă.</"
-"p>\n"
+"<qt><p>Acest cuvânt a fost considerat ca fiind „necunoscut” deoarece nu s-a "
+"potrivit cu nicio înregistrare din dicționarul actual. Este posibil să fie "
+"un cuvânt dintr-o altă limbă.</p>\n"
 "<p>Dacă acest cuvânt nu este scris greșit, îl puteți adăuga la dicționar "
 "apăsând butonul <b>Adaugă la dicționar</b>. Dacă nu doriți să adăugați "
-"cuvântul necunoscut la dicționar, dar doriți să-l lăsați nemodificat, dați "
-"clic pe <b>Ignoră</b> sau <b>Ignoră tot</b>.</p>\n"
-"<p>Dacă acest cuvânt este greșit, puteți să-i găsiți varianta corectă în "
-"lista de mai jos. Dacă nu ați găsit un înlocuitor, puteți să-l scrieți în "
-"căsuța de text de mai jos și să dați clic pe butonul <b>Înlocuiește</b> sau "
-"<b>Înlocuiește tot</b>.</p>\n"
+"cuvântul necunoscut la dicționar, dar doriți să-l lăsați nemodificat, "
+"apăsați pe <b>Ignoră</b> sau <b>Ignoră tot</b>.</p>\n"
+"<p>Totuși, dacă acest cuvânt este greșit, puteți să-i găsiți varianta "
+"corectă în lista de mai jos. Dacă nu ați găsit un înlocuitor, puteți să-l "
+"scrieți în caseta de text de mai jos și să apăsați pe butonul "
+"<b>Înlocuiește</b> sau <b>Înlocuiește tot</b>.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:47
-#, fuzzy
-#| msgid "Unknown word:"
 msgctxt "SonnetUi|"
 msgid "Unknown word:"
 msgstr "Cuvânt necunoscut:"
 
 #: ui/sonnetui.ui:54
-#, fuzzy
-#| msgid "Unknown word"
 msgctxt "SonnetUi|"
 msgid "Unknown word"
 msgstr "Cuvânt necunoscut"
 
 #: ui/sonnetui.ui:63
-#, fuzzy
-#| msgid "<b>misspelled</b>"
 msgctxt "SonnetUi|"
 msgid "<b>misspelled</b>"
 msgstr "<b>greșit</b>"
 
 #: ui/sonnetui.ui:70 ui/sonnetui.ui:180
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>Select the language of the document you are proofing here.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -420,34 +298,20 @@
 "</qt>"
 msgstr ""
 "<qt>\n"
-"<p>Selectați limba în care este scris documentul pe care îl corectați acum.</"
-"p>\n"
+"<p>Alegeți limba documentului pe care îl verificați acum.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:75
-#, fuzzy
-#| msgid "&Language:"
 msgctxt "SonnetUi|"
 msgid "&Language:"
 msgstr "&Limba:"
 
 #: ui/sonnetui.ui:85
-#, fuzzy
-#| msgid "Text excerpt showing the unknown word in its context."
 msgctxt "SonnetUi|"
 msgid "Text excerpt showing the unknown word in its context."
-msgstr "O bucată de text care afișează cuvântul necunoscut în context."
+msgstr "O bucată de text care arată cuvântul necunoscut în context."
 
 #: ui/sonnetui.ui:88
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>Here you can see a text excerpt showing the unknown word in its "
-#| "context. If this information is not sufficient to choose the best "
-#| "replacement for the unknown word, you can click on the document you are "
-#| "proofing, read a larger part of the text and then return here to continue "
-#| "proofing.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -458,31 +322,19 @@
 "</qt>"
 msgstr ""
 "<qt>\n"
-"<p>Aici puteți vedea o bucată de text ce afișează cuvântul necunoscut în "
+"<p>Aici puteți vedea o bucată de text ce arată cuvântul necunoscut în "
 "context. Dacă această informație nu este suficientă pentru a alege cel mai "
-"bun înlocuitor pentru cuvântul necunoscut, puteți da clic pe documentul pe "
-"care îl corectați, citiți o bucată mai mare de text și întoarceți-vă aici să "
-"continuați corectura.</p>\n"
+"bun înlocuitor pentru cuvântul necunoscut, puteți să apăsați pe documentul "
+"pe care îl corectați, să citiți o bucată mai mare de text și să vă "
+"întoarceți aici ca să continuați verificarea.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:96
-#, fuzzy
-#| msgid "... the <b>misspelled</b> word shown in context ..."
 msgctxt "SonnetUi|"
 msgid "... the <b>misspelled</b> word shown in context ..."
-msgstr "... cuvântul <b>greșit</b> afișat în context ..."
+msgstr "... cuvântul <b>greșit</b> arătat în context ..."
 
 #: ui/sonnetui.ui:106
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>The unknown word was detected and considered unknown because it is not "
-#| "included in the dictionary.<br>\n"
-#| "Click here if you consider the unknown word not to be misspelled, and you "
-#| "want to avoid wrongly detecting it again in the future. If you want to "
-#| "let it remain as is, but not add it to the dictionary, then click "
-#| "<b>Ignore</b> or <b>Ignore All</b> instead.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -498,37 +350,22 @@
 "<p>Cuvântul a fost detectat ca necunoscut deoarece nu este inclus în "
 "dicționar.<br />\n"
 "Apăsați aici dacă credeți că acest cuvânt nu este scris greșit și doriți să "
-"evitați detecția eronată ca fiind greșit. Dacă doriți să-l lăsați așa cum  "
-"este, dar să nu-l adăugați la dicționar, atunci dați clic pe butonul "
-"<b>Ignoră</b> sau <b>Ignoră tot</b></p>\n"
+"evitați detecția eronată ca fiind greșit. Dacă doriți să-l lăsați așa cum "
+"este, dar să nu-l adăugați la dicționar, atunci apăsați butonul <b>Ignoră</"
+"b> sau <b>Ignoră tot</b> în schimb.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:112
-#, fuzzy
-#| msgid "<< Add to Dictionary"
 msgctxt "SonnetUi|"
 msgid "<< Add to Dictionary"
 msgstr "<< Adaugă la dicționar"
 
 #: ui/sonnetui.ui:135
-#, fuzzy
-#| msgid "Suggestion List"
 msgctxt "SonnetUi|"
 msgid "Suggestion List"
 msgstr "Lista de sugestii"
 
 #: ui/sonnetui.ui:138
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>If the unknown word is misspelled, you should check if the correction "
-#| "for it is available and if it is, click on it. If none of the words in "
-#| "this list is a good replacement you may type the correct word in the edit "
-#| "box above.</p>\n"
-#| "<p>To correct this word click <b>Replace</b> if you want to correct only "
-#| "this occurrence or <b>Replace All</b> if you want to correct all "
-#| "occurrences.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -543,24 +380,15 @@
 msgstr ""
 "<qt>\n"
 "<p>Dacă cuvântul este scris greșit, trebuie să verificați dacă este "
-"disponibil unul corect și să dați clic pe el. Dacă nici unul din cuvintele "
-"din listă nu este un înlocuitor bun, puteți să scrieți cuvântul corect în "
-"căsuța de editare de mai sus.</p>\n"
-"<p>Pentru a corecta cuvântul dați clic pe <b>Înlocuiește</b> dacă doriți să "
-"înlocuiți numai această apariție sau <b>Înlocuiește tot</b> în caz că doriți "
-"înlocuirea tuturor aparițiilor lui</p>\n"
+"disponibil unul corect și să apăsați pe el. Dacă niciunul din cuvintele din "
+"listă nu este un înlocuitor bun, puteți să scrieți cuvântul corect în caseta "
+"de redactare de mai sus.</p>\n"
+"<p>Pentru a corecta cuvântul, apăsați pe <b>Înlocuiește</b> dacă doriți să "
+"înlocuiți numai această apariție sau <b>Înlocuiește tot</b> dacă doriți să "
+"corectați toate aparițiile.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:151 ui/sonnetui.ui:167
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>If the unknown word is misspelled, you should type the correction for "
-#| "your misspelled word here or select it from the list below.</p>\n"
-#| "<p>You can then click <b>Replace</b> if you want to correct only this "
-#| "occurrence of the word or <b>Replace All</b> if you want to correct all "
-#| "occurrences.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -573,40 +401,28 @@
 msgstr ""
 "<qt>\n"
 "<p>În cazul în care cuvântul este scris greșit, aici trebuie să scrieți "
-"varianta corectă sau să-l selectați din lista de mai jos.</p>\n"
-"<p>Puteți da clic pe <b>Înlocuiește</b> dacă doriți să corectați numai "
-"această apariție a cuvântului sau pe <b>Înlocuiește tot</b> dacă doriți să "
-"corectați toate aparițiile lui.</p>\n"
+"varianta corectă sau s-o alegeți din lista de mai jos.</p>\n"
+"<p>Puteți apăsa pe <b>Înlocuiește</b> dacă doriți să corectați numai această "
+"apariție a cuvântului sau pe <b>Înlocuiește tot</b> dacă doriți să corectați "
+"toate aparițiile.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:157
-#, fuzzy
-#| msgid "Replace &with:"
 msgctxt "SonnetUi|"
 msgid "Replace &with:"
 msgstr "Înlocuiește &cu:"
 
 #: ui/sonnetui.ui:177
-#, fuzzy
-#| msgid "Language Selection"
 msgctxt "SonnetUi|"
 msgid "Language Selection"
-msgstr "Selectare limbă"
+msgstr "Alegere limbă"
 
 #: ui/sonnetui.ui:206
-#, fuzzy
-#| msgid "S&uggest"
 msgctxt "SonnetUi|"
 msgid "S&uggest"
-msgstr "&Sugerează"
+msgstr "S&ugerează"
 
 #: ui/sonnetui.ui:213
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>Click here to replace this occurrence of the unknown text with the "
-#| "text in the edit box above (to the left).</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -615,24 +431,16 @@
 "</qt>"
 msgstr ""
 "<qt>\n"
-"<p>Dați clic aici pentru a înlocui această apariție a textului necunoscut cu "
-"textul din căsuța de editare de mai sus (din stânga).</p>\n"
+"<p>Apăsați aici pentru a înlocui această apariție a textului necunoscut cu "
+"textul din caseta alăturată (la stânga).</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:218
-#, fuzzy
-#| msgid "&Replace"
 msgctxt "SonnetUi|"
 msgid "&Replace"
 msgstr "Î&nlocuiește"
 
 #: ui/sonnetui.ui:225
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>Click here to replace all occurrences of the unknown text with the "
-#| "text in the edit box above (to the left).</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -641,27 +449,16 @@
 "</qt>"
 msgstr ""
 "<qt>\n"
-"<p>Dați clic aici pentru a înlocui toate aparițiile textului necunoscut cu "
-"textul din căsuța alăturată (la stânga).</p>\n"
+"<p>Apăsați aici pentru a înlocui toate aparițiile textului necunoscut cu "
+"textul din caseta alăturată (la stânga).</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:230
-#, fuzzy
-#| msgid "R&eplace All"
 msgctxt "SonnetUi|"
 msgid "R&eplace All"
-msgstr "Înlocuiește &tot"
+msgstr "Înlocui&ește tot"
 
 #: ui/sonnetui.ui:237
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>Click here to let this occurrence of the unknown word remain as is.</"
-#| "p>\n"
-#| "<p>This action is useful when the word is a name, an acronym, a foreign "
-#| "word or any other unknown word that you want to use but not add to the "
-#| "dictionary.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -672,30 +469,19 @@
 "</qt>"
 msgstr ""
 "<qt>\n"
-"<p>Dați clic aici pentru a păstra nemodificată această apariție a cuvântului "
+"<p>Apăsați aici pentru a păstra nemodificată această apariție a cuvântului "
 "necunoscut.</p>\n"
-"<p> Această acțiune este utilă atunci când cuvântul este un nume, un "
-"acronim, un cuvânt străin sau un alt cuvânt necunoscut pe care doriți să-l "
-"utilizați dar să nu-l adăugați la dicționar.</p>\n"
+"<p>Această acțiune este utilă atunci când cuvântul este un nume, un acronim, "
+"un cuvânt străin sau un alt cuvânt necunoscut pe care doriți să-l folosiți "
+"dar să nu-l adăugați la dicționar.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:243
-#, fuzzy
-#| msgid "&Ignore"
 msgctxt "SonnetUi|"
 msgid "&Ignore"
 msgstr "&Ignoră"
 
 #: ui/sonnetui.ui:250 ui/sonnetui.ui:263
-#, fuzzy
-#| msgid ""
-#| "<qt>\n"
-#| "<p>Click here to let all occurrences of the unknown word remain as they "
-#| "are.</p>\n"
-#| "<p>This action is useful when the word is a name, an acronym, a foreign "
-#| "word or any other unknown word that you want to use but not add to the "
-#| "dictionary.</p>\n"
-#| "</qt>"
 msgctxt "SonnetUi|"
 msgid ""
 "<qt>\n"
@@ -707,44 +493,35 @@
 "</qt>"
 msgstr ""
 "<qt>\n"
-"<p>Dați clic aici pentru a păstra nemodificate toate aparițiile cuvântului "
+"<p>Apăsați aici pentru a păstra nemodificate toate aparițiile cuvântului "
 "necunoscut.</p>\n"
 "<p> Această acțiune este utilă atunci când cuvântul este un nume, un "
 "acronim, un cuvânt străin sau un alt cuvânt necunoscut pe care doriți să-l "
-"utilizați dar să nu-l adăugați la dicționar.</p>\n"
+"folosiți dar să nu-l adăugați la dicționar.</p>\n"
 "</qt>"
 
 #: ui/sonnetui.ui:256
-#, fuzzy
-#| msgid "I&gnore All"
 msgctxt "SonnetUi|"
 msgid "I&gnore All"
-msgstr "Ignoră &tot"
+msgstr "I&gnoră tot"
 
 #: ui/sonnetui.ui:269
-#, fuzzy
-#| msgid "Autocorrect"
 msgctxt "SonnetUi|"
 msgid "Autocorrect"
 msgstr "Corectare automată"
 
 #: ui/spellcheckdecorator.cpp:159
-#, fuzzy, qt-format
-#| msgid "No suggestions for %1"
+#, qt-format
 msgctxt "Sonnet::SpellCheckDecorator|"
 msgid "No suggestions for %1"
 msgstr "Nicio sugestie pentru %1"
 
 #: ui/spellcheckdecorator.cpp:170
-#, fuzzy
-#| msgid "Ignore"
 msgctxt "Sonnet::SpellCheckDecorator|"
 msgid "Ignore"
 msgstr "Ignoră"
 
 #: ui/spellcheckdecorator.cpp:171
-#, fuzzy
-#| msgid "Add to Dictionary"
 msgctxt "Sonnet::SpellCheckDecorator|"
 msgid "Add to Dictionary"
 msgstr "Adaugă la dicționar"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/po/zh_CN/sonnet5_qt.po 
new/sonnet-5.75.0/po/zh_CN/sonnet5_qt.po
--- old/sonnet-5.74.0/po/zh_CN/sonnet5_qt.po    2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/po/zh_CN/sonnet5_qt.po    2020-10-04 20:58:41.000000000 
+0200
@@ -14,7 +14,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: kdeorg\n"
-"PO-Revision-Date: 2020-09-05 05:17\n"
+"PO-Revision-Date: 2020-09-23 12:19\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
 "MIME-Version: 1.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/core/guesslanguage.cpp 
new/sonnet-5.75.0/src/core/guesslanguage.cpp
--- old/sonnet-5.74.0/src/core/guesslanguage.cpp        2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/src/core/guesslanguage.cpp        2020-10-04 
20:58:41.000000000 +0200
@@ -533,14 +533,15 @@
     if (!allLanguages.contains(s_knownDictionaries)) {
         QSet<QString> dicts(s_knownDictionaries);
         dicts.subtract(allLanguages);
-        for (const QString &dictName : dicts) {
+        for (const QString &dictName : qAsConst(dicts)) {
             QString languageName = QLocale(dictName).name();
             if (languageName.isEmpty()) {
                 qCWarning(SONNET_LOG_CORE) << "Unable to parse language name" 
<< dictName;
                 continue;
             }
             s_dictionaryNameMap[languageName] = dictName;
-            if (!s_scriptLanguages.values().contains(languageName)) {
+            if (std::find(s_scriptLanguages.cbegin(), 
s_scriptLanguages.cend(), languageName)
+                    == s_scriptLanguages.cend()) {
                 qCWarning(SONNET_LOG_CORE) << "Unable to handle language from 
dictionary"
                                            << dictName << languageName;
             }
@@ -664,7 +665,7 @@
 #endif
     knownLanguages.subtract(availableLanguages);
     if (!knownLanguages.isEmpty()) {
-        qCWarning(SONNET_LOG_CORE) << "Missing trigrams for languages:" << 
knownLanguages;
+        qCDebug(SONNET_LOG_CORE) << "Missing trigrams for languages:" << 
knownLanguages;
     }
 }
 
@@ -771,7 +772,7 @@
 QList<QString> GuessLanguagePrivate::createOrderedModel(const QString &content)
 {
     QHash<QString, int> trigramCounts;
-    QMap<int, QString> orderedTrigrams;
+    QMultiMap<int, QString> orderedTrigrams;
 
     for (int i = 0; i < (content.size() - 2); ++i) {
         QString tri = content.mid(i, 3).toLower();
@@ -783,7 +784,7 @@
         bool hasTwoSpaces = (data[1].isSpace() && (data[0].isSpace() || 
data[2].isSpace()));
 
         if (!hasTwoSpaces) {
-            orderedTrigrams.insertMulti(-trigramCounts[key], key);
+            orderedTrigrams.insert(-trigramCounts[key], key);
         }
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/core/settings.cpp 
new/sonnet-5.75.0/src/core/settings.cpp
--- old/sonnet-5.74.0/src/core/settings.cpp     2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/src/core/settings.cpp     2020-10-04 20:58:41.000000000 
+0200
@@ -14,7 +14,7 @@
 class SettingsPrivate
 {
 public:
-    Loader *loader;
+    Loader *loader = nullptr;
 };
 
 Settings::Settings(QObject *parent)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/core/tokenizer.cpp 
new/sonnet-5.75.0/src/core/tokenizer.cpp
--- old/sonnet-5.74.0/src/core/tokenizer.cpp    2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/src/core/tokenizer.cpp    2020-10-04 20:58:41.000000000 
+0200
@@ -26,8 +26,6 @@
         , itemPosition(-1)
         , cacheValid(false)
         , type(s)
-        , inAddress(false)
-        , ignoreUppercase(false)
     {
     }
 
@@ -43,15 +41,15 @@
 
     QStringRef currentItem() const;
 
-    TextBreaks *breakFinder;
+    TextBreaks *const breakFinder;
     QString buffer;
 
-    int itemPosition;
+    int itemPosition = -1;
     mutable bool cacheValid;
     QStringRef last;
-    Type type;
-    bool inAddress;
-    bool ignoreUppercase;
+    const Type type;
+    bool inAddress = false;
+    bool ignoreUppercase = false;
 
     bool hasNext() const;
     QStringRef next();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/plugins/aspell/aspellclient.cpp 
new/sonnet-5.75.0/src/plugins/aspell/aspellclient.cpp
--- old/sonnet-5.74.0/src/plugins/aspell/aspellclient.cpp       2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/src/plugins/aspell/aspellclient.cpp       2020-10-04 
20:58:41.000000000 +0200
@@ -18,8 +18,8 @@
 
 ASpellClient::ASpellClient(QObject *parent)
     : Client(parent)
+    , m_config(new_aspell_config())
 {
-    m_config = new_aspell_config();
 #ifdef Q_OS_WIN
        aspell_config_replace(m_config, "data-dir", 
QString::fromLatin1("%1/data/aspell").arg(QCoreApplication::applicationDirPath()).toLatin1().constData());
        aspell_config_replace(m_config, "dict-dir", 
QString::fromLatin1("%1/data/aspell").arg(QCoreApplication::applicationDirPath()).toLatin1().constData());
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/plugins/aspell/aspellclient.h 
new/sonnet-5.75.0/src/plugins/aspell/aspellclient.h
--- old/sonnet-5.74.0/src/plugins/aspell/aspellclient.h 2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/src/plugins/aspell/aspellclient.h 2020-10-04 
20:58:41.000000000 +0200
@@ -42,7 +42,7 @@
     }
 
 private:
-    AspellConfig *m_config;
+    AspellConfig *const m_config;
 };
 
 #endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/plugins/voikko/voikkodict.cpp 
new/sonnet-5.75.0/src/plugins/voikko/voikkodict.cpp
--- old/sonnet-5.74.0/src/plugins/voikko/voikkodict.cpp 2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/src/plugins/voikko/voikkodict.cpp 2020-10-04 
20:58:41.000000000 +0200
@@ -49,7 +49,6 @@
 
         #ifdef Q_OS_WIN
     // Resolve the windows' Roaming directory manually
-    directory = 
QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation);
     if (QSysInfo::windowsVersion() == QSysInfo::WV_XP || 
QSysInfo::windowsVersion() == QSysInfo::WV_2003) {
         // In Xp Roaming is "<user>/Application Data"
         // DataLocation: "<user>/Local Settings/Application Data"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/ui/configdialog.cpp 
new/sonnet-5.75.0/src/ui/configdialog.cpp
--- old/sonnet-5.74.0/src/ui/configdialog.cpp   2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/src/ui/configdialog.cpp   2020-10-04 20:58:41.000000000 
+0200
@@ -22,7 +22,7 @@
     }
 
     ConfigWidget *ui = nullptr;
-    ConfigDialog *q;
+    ConfigDialog *const q;
     void slotConfigChanged();
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/ui/dialog.cpp 
new/sonnet-5.75.0/src/ui/dialog.cpp
--- old/sonnet-5.74.0/src/ui/dialog.cpp 2020-09-06 12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/src/ui/dialog.cpp 2020-10-04 20:58:41.000000000 +0200
@@ -27,7 +27,7 @@
 class ReadOnlyStringListModel : public QStringListModel
 {
 public:
-    ReadOnlyStringListModel(QObject *parent) : QStringListModel(parent)
+    explicit ReadOnlyStringListModel(QObject *parent) : 
QStringListModel(parent)
     {
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/ui/dictionarycombobox.cpp 
new/sonnet-5.75.0/src/ui/dictionarycombobox.cpp
--- old/sonnet-5.74.0/src/ui/dictionarycombobox.cpp     2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/src/ui/dictionarycombobox.cpp     2020-10-04 
20:58:41.000000000 +0200
@@ -19,7 +19,7 @@
     {
     }
 
-    DictionaryComboBox *q;
+    DictionaryComboBox *const q;
     void slotDictionaryChanged(int idx);
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/ui/highlighter.cpp 
new/sonnet-5.75.0/src/ui/highlighter.cpp
--- old/sonnet-5.74.0/src/ui/highlighter.cpp    2020-09-06 12:43:02.000000000 
+0200
+++ new/sonnet-5.75.0/src/ui/highlighter.cpp    2020-10-04 20:58:41.000000000 
+0200
@@ -129,7 +129,7 @@
     int wordCount, errorCount;
     QTimer *rehighlightRequest = nullptr;
     QColor spellColor;
-    Highlighter *q;
+    Highlighter *const q;
 };
 
 HighlighterPrivate::~HighlighterPrivate()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sonnet-5.74.0/src/ui/spellcheckdecorator.cpp 
new/sonnet-5.75.0/src/ui/spellcheckdecorator.cpp
--- old/sonnet-5.74.0/src/ui/spellcheckdecorator.cpp    2020-09-06 
12:43:02.000000000 +0200
+++ new/sonnet-5.75.0/src/ui/spellcheckdecorator.cpp    2020-10-04 
20:58:41.000000000 +0200
@@ -46,7 +46,7 @@
     void execSuggestionMenu(const QPoint &pos, const QString &word, const 
QTextCursor &cursor);
     void createDefaultHighlighter();
 
-    SpellCheckDecorator *q = nullptr;
+    SpellCheckDecorator *const q;
     QTextEdit *m_textEdit = nullptr;
     QPlainTextEdit *m_plainTextEdit = nullptr;
     Highlighter *m_highlighter = nullptr;


Reply via email to