diff --git a/src/persistence/settings.cpp b/src/persistence/settings.cpp index 30cf1894f..f514d4d47 100644 --- a/src/persistence/settings.cpp +++ b/src/persistence/settings.cpp @@ -121,8 +121,10 @@ void Settings::loadGlobal() auto upgradeSuccess = GlobalSettingsUpgrader::doUpgrade(*this, globalSettingsVersion, GLOBAL_SETTINGS_VERSION); if (!upgradeSuccess) { - // Would be nice to show a GUI warning, but GUI isn't initialized yet. - // Trying to run without even default settings isn't sane. + messageBoxManager.showError(tr("Failed to load global settings"), + tr("Unable to upgrade settings from version %1 to version %2. Cannot start qTox.") + .arg(globalSettingsVersion) + .arg(GLOBAL_SETTINGS_VERSION)); std::terminate(); return; } diff --git a/translations/ar.ts b/translations/ar.ts index 1912e8d14..f92cd1d21 100644 --- a/translations/ar.ts +++ b/translations/ar.ts @@ -2668,6 +2668,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/be.ts b/translations/be.ts index 189fecc6e..1797c3806 100644 --- a/translations/be.ts +++ b/translations/be.ts @@ -2664,6 +2664,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/bg.ts b/translations/bg.ts index 2cfb3a7b7..25bd21c13 100644 --- a/translations/bg.ts +++ b/translations/bg.ts @@ -2665,6 +2665,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/cs.ts b/translations/cs.ts index 76570d2b6..e583e59d1 100644 --- a/translations/cs.ts +++ b/translations/cs.ts @@ -2668,6 +2668,10 @@ ID zahrnuje kód NoSpam (modře) a kontrolní součet (šedě). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/da.ts b/translations/da.ts index 67a6ddc62..b6fa3f640 100644 --- a/translations/da.ts +++ b/translations/da.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/de.ts b/translations/de.ts index 438d69004..7ad8aa7b1 100644 --- a/translations/de.ts +++ b/translations/de.ts @@ -2673,6 +2673,10 @@ Diese ID enthält den NoSpam-Code (in blau) und die Prüfsumme (in grau).Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/el.ts b/translations/el.ts index b683951bb..ea0929e34 100644 --- a/translations/el.ts +++ b/translations/el.ts @@ -2652,6 +2652,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/eo.ts b/translations/eo.ts index d2ccc91a1..37436ce20 100644 --- a/translations/eo.ts +++ b/translations/eo.ts @@ -2640,6 +2640,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/es.ts b/translations/es.ts index 4399f5b07..814c77bb8 100644 --- a/translations/es.ts +++ b/translations/es.ts @@ -2665,6 +2665,10 @@ Este ID incluye el código NoSpam (en azul), y la suma de comprobación (en gris Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/et.ts b/translations/et.ts index 1bd042133..c8c1f6a1b 100644 --- a/translations/et.ts +++ b/translations/et.ts @@ -2667,6 +2667,10 @@ See ID sisaldab NoSpam koodi (sinine) ja kontrollsumma (hall). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/fa.ts b/translations/fa.ts index 153d10406..4288f9568 100644 --- a/translations/fa.ts +++ b/translations/fa.ts @@ -2656,6 +2656,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/fi.ts b/translations/fi.ts index 7daa49785..ce94d663f 100644 --- a/translations/fi.ts +++ b/translations/fi.ts @@ -2664,6 +2664,10 @@ Tämä ID sisältää spammin estävän koodin(joka on sinisellä), ja tarkistus Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/fr.ts b/translations/fr.ts index 7c0f34d00..b7b9aa184 100644 --- a/translations/fr.ts +++ b/translations/fr.ts @@ -2664,6 +2664,10 @@ Cet identifiant comprend le code NoSpam (en bleu) et la somme de contrôle (en g Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/gl.ts b/translations/gl.ts index c873a57e3..e4350f372 100644 --- a/translations/gl.ts +++ b/translations/gl.ts @@ -2660,6 +2660,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/he.ts b/translations/he.ts index 40a7b7daa..bb331728d 100644 --- a/translations/he.ts +++ b/translations/he.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/hr.ts b/translations/hr.ts index c48c88f11..5f672348e 100644 --- a/translations/hr.ts +++ b/translations/hr.ts @@ -2656,6 +2656,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/hu.ts b/translations/hu.ts index c19447297..e4ad6f32f 100644 --- a/translations/hu.ts +++ b/translations/hu.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/is.ts b/translations/is.ts index acb7344d8..5408cd1ae 100644 --- a/translations/is.ts +++ b/translations/is.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/it.ts b/translations/it.ts index 17e7b4092..731fc4428 100644 --- a/translations/it.ts +++ b/translations/it.ts @@ -2661,6 +2661,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/ja.ts b/translations/ja.ts index 78dfee3e8..8762432d1 100644 --- a/translations/ja.ts +++ b/translations/ja.ts @@ -2647,6 +2647,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/kn.ts b/translations/kn.ts index 6cacbf982..0a2c0f490 100644 --- a/translations/kn.ts +++ b/translations/kn.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/ko.ts b/translations/ko.ts index a201a475d..3a1430d44 100644 --- a/translations/ko.ts +++ b/translations/ko.ts @@ -2646,6 +2646,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/lt.ts b/translations/lt.ts index 9e7737e66..de01d4ef0 100644 --- a/translations/lt.ts +++ b/translations/lt.ts @@ -2670,6 +2670,10 @@ Pasidalinkite ja su draugais, kad pradėtumėte kalbėtis. Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/lv.ts b/translations/lv.ts index 7db1273dc..6f682de27 100644 --- a/translations/lv.ts +++ b/translations/lv.ts @@ -2671,6 +2671,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/mk.ts b/translations/mk.ts index d7bc5cf1d..8509a6d6a 100644 --- a/translations/mk.ts +++ b/translations/mk.ts @@ -2664,6 +2664,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/nl.ts b/translations/nl.ts index ed1eddcda..3fc4dbfa5 100644 --- a/translations/nl.ts +++ b/translations/nl.ts @@ -2652,6 +2652,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/nl_BE.ts b/translations/nl_BE.ts index 0d4f6aca8..1cbe9541f 100644 --- a/translations/nl_BE.ts +++ b/translations/nl_BE.ts @@ -2660,6 +2660,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/no_nb.ts b/translations/no_nb.ts index 7d283b72f..a431f937f 100644 --- a/translations/no_nb.ts +++ b/translations/no_nb.ts @@ -2654,6 +2654,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/pl.ts b/translations/pl.ts index cb0170ba5..2b62a2aa4 100644 --- a/translations/pl.ts +++ b/translations/pl.ts @@ -2690,6 +2690,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/pt.ts b/translations/pt.ts index ec04a7981..92242e886 100644 --- a/translations/pt.ts +++ b/translations/pt.ts @@ -2664,6 +2664,10 @@ Este ID inclui o código NoSpam (em azul) e o checkum (em cinzento).Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/pt_BR.ts b/translations/pt_BR.ts index a34b66e50..d6044293f 100644 --- a/translations/pt_BR.ts +++ b/translations/pt_BR.ts @@ -2672,6 +2672,10 @@ Este ID inclui o código NoSpam (em azul) e o checkum (em cinza). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/ro.ts b/translations/ro.ts index 1320b48ec..6f96b887f 100644 --- a/translations/ro.ts +++ b/translations/ro.ts @@ -2676,6 +2676,10 @@ Acest ID include codul NoSpam (în albastru) și suma de control (în gri).Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/ru.ts b/translations/ru.ts index 3b758b6ea..99a538ead 100644 --- a/translations/ru.ts +++ b/translations/ru.ts @@ -2674,6 +2674,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/si.ts b/translations/si.ts index 71edaea21..61cfd4aa5 100644 --- a/translations/si.ts +++ b/translations/si.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/sk.ts b/translations/sk.ts index 9ebc84b7e..fd3a7a138 100644 --- a/translations/sk.ts +++ b/translations/sk.ts @@ -2676,6 +2676,10 @@ Toto ID obsahuje kód NoSpam (modrou) a kontrolný súčet (šedou).Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/sl.ts b/translations/sl.ts index e73d933e6..726d93077 100644 --- a/translations/sl.ts +++ b/translations/sl.ts @@ -2658,6 +2658,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/sq.ts b/translations/sq.ts index 2437ea22e..ace800ad9 100644 --- a/translations/sq.ts +++ b/translations/sq.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/sr.ts b/translations/sr.ts index 9c605ece9..5927955c4 100644 --- a/translations/sr.ts +++ b/translations/sr.ts @@ -2664,6 +2664,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/sr_Latn.ts b/translations/sr_Latn.ts index 4da60a0ce..e7db57043 100644 --- a/translations/sr_Latn.ts +++ b/translations/sr_Latn.ts @@ -2665,6 +2665,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/sv.ts b/translations/sv.ts index 63b46c45b..efbf2121b 100644 --- a/translations/sv.ts +++ b/translations/sv.ts @@ -2664,6 +2664,10 @@ ID:t innehåller NoSpam-koden (i blått) och kontrollsumman (i grått).Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/sw.ts b/translations/sw.ts index feac7cd3a..15cc64bec 100644 --- a/translations/sw.ts +++ b/translations/sw.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/ta.ts b/translations/ta.ts index ea5de737d..8fc70f45c 100644 --- a/translations/ta.ts +++ b/translations/ta.ts @@ -2654,6 +2654,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/tr.ts b/translations/tr.ts index c6d97eb0f..a10cfa6f4 100644 --- a/translations/tr.ts +++ b/translations/tr.ts @@ -2664,6 +2664,10 @@ Bu kimlik NoSpam kodunu (mavi) ve sağlama toplamını (gri) içerir.Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/ug.ts b/translations/ug.ts index a2b29f146..dd92252db 100644 --- a/translations/ug.ts +++ b/translations/ug.ts @@ -2660,6 +2660,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/uk.ts b/translations/uk.ts index f611ae213..8524e1df2 100644 --- a/translations/uk.ts +++ b/translations/uk.ts @@ -2664,6 +2664,10 @@ It's difficult to translate "Tox me maybe" because in Ukrainian n Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/ur.ts b/translations/ur.ts index d5f02cdd3..52fc758a4 100644 --- a/translations/ur.ts +++ b/translations/ur.ts @@ -2656,6 +2656,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts index eda1aa608..c2ce4d784 100644 --- a/translations/zh_CN.ts +++ b/translations/zh_CN.ts @@ -2660,6 +2660,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog diff --git a/translations/zh_TW.ts b/translations/zh_TW.ts index bcac45b0b..fae864958 100644 --- a/translations/zh_TW.ts +++ b/translations/zh_TW.ts @@ -2648,6 +2648,10 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). Unable to upgrade settings from version %1 to version %2. Cannot start qTox. + + Failed to load global settings + + ToxURIDialog