From f4e64ee7a6149d5fcb9b4bb1003437771bb8957a Mon Sep 17 00:00:00 2001 From: Anthony Bilinski Date: Sun, 8 May 2022 03:35:03 -0700 Subject: [PATCH] feat(History): Add a GUI error on database schema mismatch Fix #5683 --- src/persistence/db/upgrades/dbupgrader.cpp | 7 ++++++- src/persistence/db/upgrades/dbupgrader.h | 3 ++- src/persistence/history.cpp | 4 ++-- src/persistence/history.h | 3 ++- src/persistence/profile.cpp | 2 +- translations/ar.ts | 8 ++++++++ translations/be.ts | 8 ++++++++ translations/bg.ts | 8 ++++++++ translations/cs.ts | 8 ++++++++ translations/da.ts | 8 ++++++++ translations/de.ts | 8 ++++++++ translations/el.ts | 8 ++++++++ translations/eo.ts | 8 ++++++++ translations/es.ts | 8 ++++++++ translations/et.ts | 8 ++++++++ translations/fa.ts | 8 ++++++++ translations/fi.ts | 8 ++++++++ translations/fr.ts | 8 ++++++++ translations/gl.ts | 8 ++++++++ translations/he.ts | 8 ++++++++ translations/hr.ts | 8 ++++++++ translations/hu.ts | 8 ++++++++ translations/is.ts | 8 ++++++++ translations/it.ts | 8 ++++++++ translations/ja.ts | 8 ++++++++ translations/kn.ts | 8 ++++++++ translations/ko.ts | 8 ++++++++ translations/lt.ts | 8 ++++++++ translations/lv.ts | 8 ++++++++ translations/mk.ts | 8 ++++++++ translations/nl.ts | 8 ++++++++ translations/nl_BE.ts | 8 ++++++++ translations/no_nb.ts | 8 ++++++++ translations/pl.ts | 8 ++++++++ translations/pt.ts | 8 ++++++++ translations/pt_BR.ts | 8 ++++++++ translations/ro.ts | 8 ++++++++ translations/ru.ts | 8 ++++++++ translations/si.ts | 8 ++++++++ translations/sk.ts | 8 ++++++++ translations/sl.ts | 8 ++++++++ translations/sq.ts | 8 ++++++++ translations/sr.ts | 8 ++++++++ translations/sr_Latn.ts | 8 ++++++++ translations/sv.ts | 8 ++++++++ translations/sw.ts | 8 ++++++++ translations/ta.ts | 8 ++++++++ translations/tr.ts | 8 ++++++++ translations/ug.ts | 8 ++++++++ translations/uk.ts | 8 ++++++++ translations/ur.ts | 8 ++++++++ translations/zh_CN.ts | 8 ++++++++ translations/zh_TW.ts | 8 ++++++++ 53 files changed, 397 insertions(+), 6 deletions(-) diff --git a/src/persistence/db/upgrades/dbupgrader.cpp b/src/persistence/db/upgrades/dbupgrader.cpp index 4c7762c70..776e6c459 100644 --- a/src/persistence/db/upgrades/dbupgrader.cpp +++ b/src/persistence/db/upgrades/dbupgrader.cpp @@ -22,9 +22,11 @@ #include "src/core/toxpk.h" #include "src/persistence/db/rawdatabase.h" #include "src/persistence/db/upgrades/dbto11.h" +#include "src/widget/tool/imessageboxmanager.h" #include #include +#include namespace { constexpr int SCHEMA_VERSION = 11; @@ -219,7 +221,7 @@ void addForeignKeyToBrokenMessages(QVector& queries) * @note On future alterations of the database all you have to do is bump the SCHEMA_VERSION * variable and add another case to the switch statement below. Make sure to fall through on each case. */ -bool DbUpgrader::dbSchemaUpgrade(std::shared_ptr& db) +bool DbUpgrader::dbSchemaUpgrade(std::shared_ptr& db, IMessageBoxManager& messageBoxManager) { // If we're a new dB we can just make a new one and call it a day bool success = false; @@ -250,6 +252,9 @@ bool DbUpgrader::dbSchemaUpgrade(std::shared_ptr& db) } if (databaseSchemaVersion > SCHEMA_VERSION) { + messageBoxManager.showError(QObject::tr("Failed to load chat history"), + QObject::tr("Database version (%1) is newer than we currently support (%2). Please upgrade qTox.") + .arg(databaseSchemaVersion).arg(SCHEMA_VERSION)); qWarning().nospace() << "Database version (" << databaseSchemaVersion << ") is newer than we currently support (" << SCHEMA_VERSION << "). Please upgrade qTox"; diff --git a/src/persistence/db/upgrades/dbupgrader.h b/src/persistence/db/upgrades/dbupgrader.h index 537ca343d..cf28c228f 100644 --- a/src/persistence/db/upgrades/dbupgrader.h +++ b/src/persistence/db/upgrades/dbupgrader.h @@ -22,9 +22,10 @@ #include class RawDatabase; +class IMessageBoxManager; namespace DbUpgrader { - bool dbSchemaUpgrade(std::shared_ptr& db); + bool dbSchemaUpgrade(std::shared_ptr& db, IMessageBoxManager& messageBoxManager); bool createCurrentSchema(RawDatabase& db); bool isNewDb(std::shared_ptr& db, bool& success); diff --git a/src/persistence/history.cpp b/src/persistence/history.cpp index b25c4f33c..3ca7cdc2e 100644 --- a/src/persistence/history.cpp +++ b/src/persistence/history.cpp @@ -180,7 +180,7 @@ FileDbInsertionData::FileDbInsertionData() * @brief Prepares the database to work with the history. * @param db This database will be prepared for use with the history. */ -History::History(std::shared_ptr db_, Settings& settings_) +History::History(std::shared_ptr db_, Settings& settings_, IMessageBoxManager& messageBoxManager) : db(db_) , settings(settings_) { @@ -194,7 +194,7 @@ History::History(std::shared_ptr db_, Settings& settings_) db->execNow( "PRAGMA foreign_keys = ON;"); - const auto upgradeSucceeded = DbUpgrader::dbSchemaUpgrade(db); + const auto upgradeSucceeded = DbUpgrader::dbSchemaUpgrade(db, messageBoxManager); // dbSchemaUpgrade may have put us in an invalid state if (!upgradeSucceeded) { diff --git a/src/persistence/history.h b/src/persistence/history.h index 1e861ca35..5d16141c1 100644 --- a/src/persistence/history.h +++ b/src/persistence/history.h @@ -40,6 +40,7 @@ class Profile; class HistoryKeeper; class Settings; class ChatId; +class IMessageBoxManager; enum class HistMessageContentType { @@ -211,7 +212,7 @@ public: }; public: - History(std::shared_ptr db, Settings& settings); + History(std::shared_ptr db, Settings& settings, IMessageBoxManager& messageBoxManager); ~History(); bool isValid(); diff --git a/src/persistence/profile.cpp b/src/persistence/profile.cpp index 8e4311490..ca2b5e49e 100644 --- a/src/persistence/profile.cpp +++ b/src/persistence/profile.cpp @@ -641,7 +641,7 @@ void Profile::loadDatabase(QString password, IMessageBoxManager& messageBoxManag database = std::make_shared(getDbPath(name, settings.getPaths()), password, salt); if (database && database->isOpen()) { - history.reset(new History(database, settings)); + history.reset(new History(database, settings, messageBoxManager)); } else { qWarning() << "Failed to open database for profile" << name; messageBoxManager.showError(QObject::tr("Error"), diff --git a/translations/ar.ts b/translations/ar.ts index cd0f0b69c..0e52429d1 100644 --- a/translations/ar.ts +++ b/translations/ar.ts @@ -2497,6 +2497,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/be.ts b/translations/be.ts index 8331a896a..cda69d43d 100644 --- a/translations/be.ts +++ b/translations/be.ts @@ -2493,6 +2493,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/bg.ts b/translations/bg.ts index 25a993288..5a299710e 100644 --- a/translations/bg.ts +++ b/translations/bg.ts @@ -2494,6 +2494,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group Напуснахте групата + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/cs.ts b/translations/cs.ts index af082ae14..8179362c5 100644 --- a/translations/cs.ts +++ b/translations/cs.ts @@ -2497,6 +2497,14 @@ ID zahrnuje kód NoSpam (modře) a kontrolní součet (šedě). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/da.ts b/translations/da.ts index 2322efa14..345a74e6f 100644 --- a/translations/da.ts +++ b/translations/da.ts @@ -2480,6 +2480,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/de.ts b/translations/de.ts index 6f93932b1..2da442ede 100644 --- a/translations/de.ts +++ b/translations/de.ts @@ -2502,6 +2502,14 @@ Diese ID enthält den NoSpam-Code (in blau) und die Prüfsumme (in grau).You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/el.ts b/translations/el.ts index 632a8fcff..4de87d298 100644 --- a/translations/el.ts +++ b/translations/el.ts @@ -2481,6 +2481,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/eo.ts b/translations/eo.ts index a95ae959f..01fdf03b2 100644 --- a/translations/eo.ts +++ b/translations/eo.ts @@ -2469,6 +2469,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/es.ts b/translations/es.ts index 5b9349ac8..eac495735 100644 --- a/translations/es.ts +++ b/translations/es.ts @@ -2494,6 +2494,14 @@ Este ID incluye el código NoSpam (en azul), y la suma de comprobación (en gris You have left the group Has dejado el grupo + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/et.ts b/translations/et.ts index d9e2f7038..6224189da 100644 --- a/translations/et.ts +++ b/translations/et.ts @@ -2496,6 +2496,14 @@ See ID sisaldab NoSpam koodi (sinine) ja kontrollsumma (hall). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/fa.ts b/translations/fa.ts index c5620987a..03cbae6fd 100644 --- a/translations/fa.ts +++ b/translations/fa.ts @@ -2485,6 +2485,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/fi.ts b/translations/fi.ts index 250f693e9..2dcec3e77 100644 --- a/translations/fi.ts +++ b/translations/fi.ts @@ -2493,6 +2493,14 @@ Tämä ID sisältää spammin estävän koodin(joka on sinisellä), ja tarkistus You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/fr.ts b/translations/fr.ts index 72240b4d7..ab15c4cab 100644 --- a/translations/fr.ts +++ b/translations/fr.ts @@ -2493,6 +2493,14 @@ Cet identifiant comprend le code NoSpam (en bleu) et la somme de contrôle (en g You have left the group Vous avez quitté le groupe + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/gl.ts b/translations/gl.ts index 1ac1d62ec..2f5afe450 100644 --- a/translations/gl.ts +++ b/translations/gl.ts @@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/he.ts b/translations/he.ts index 71d745313..c589197fc 100644 --- a/translations/he.ts +++ b/translations/he.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/hr.ts b/translations/hr.ts index f0230f2f4..b3590568e 100644 --- a/translations/hr.ts +++ b/translations/hr.ts @@ -2485,6 +2485,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/hu.ts b/translations/hu.ts index 1f2441fd1..831b59e96 100644 --- a/translations/hu.ts +++ b/translations/hu.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/is.ts b/translations/is.ts index 36bd5ea91..9db8dbb30 100644 --- a/translations/is.ts +++ b/translations/is.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/it.ts b/translations/it.ts index d473ba451..ca205bdb3 100644 --- a/translations/it.ts +++ b/translations/it.ts @@ -2490,6 +2490,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/ja.ts b/translations/ja.ts index 608b30ead..c41679301 100644 --- a/translations/ja.ts +++ b/translations/ja.ts @@ -2476,6 +2476,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/kn.ts b/translations/kn.ts index 7ed2adad4..7ec8dc856 100644 --- a/translations/kn.ts +++ b/translations/kn.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/ko.ts b/translations/ko.ts index 2f7a3c43f..c04f8e9cc 100644 --- a/translations/ko.ts +++ b/translations/ko.ts @@ -2475,6 +2475,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/lt.ts b/translations/lt.ts index e5c4eb266..f92095a81 100644 --- a/translations/lt.ts +++ b/translations/lt.ts @@ -2499,6 +2499,14 @@ Pasidalinkite ja su draugais, kad pradėtumėte kalbėtis. You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/lv.ts b/translations/lv.ts index eb0f6c87a..a4487f825 100644 --- a/translations/lv.ts +++ b/translations/lv.ts @@ -2500,6 +2500,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/mk.ts b/translations/mk.ts index 82a9e0e87..2048ce6f8 100644 --- a/translations/mk.ts +++ b/translations/mk.ts @@ -2493,6 +2493,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/nl.ts b/translations/nl.ts index 3724b5be0..3c740d89f 100644 --- a/translations/nl.ts +++ b/translations/nl.ts @@ -2481,6 +2481,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/nl_BE.ts b/translations/nl_BE.ts index 34869ffbb..9f82f1607 100644 --- a/translations/nl_BE.ts +++ b/translations/nl_BE.ts @@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/no_nb.ts b/translations/no_nb.ts index 66a928503..8125b24f4 100644 --- a/translations/no_nb.ts +++ b/translations/no_nb.ts @@ -2495,6 +2495,14 @@ Denne ID-en inkluderer NoSpam-koden (i blått), og sjekksummen (i grått).You have left the group Du har forlatt gruppen + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/pl.ts b/translations/pl.ts index 4c8fdba7f..25e2d3151 100644 --- a/translations/pl.ts +++ b/translations/pl.ts @@ -2519,6 +2519,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/pt.ts b/translations/pt.ts index 038cfa5bc..a21c978b7 100644 --- a/translations/pt.ts +++ b/translations/pt.ts @@ -2493,6 +2493,14 @@ Este ID inclui o código NoSpam (em azul) e o checkum (em cinzento).You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/pt_BR.ts b/translations/pt_BR.ts index f03ef0ea7..078ee9298 100644 --- a/translations/pt_BR.ts +++ b/translations/pt_BR.ts @@ -2501,6 +2501,14 @@ Este ID inclui o código NoSpam (em azul) e o checkum (em cinza). You have left the group Você deixou o grupo + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/ro.ts b/translations/ro.ts index 4c94a0251..107695293 100644 --- a/translations/ro.ts +++ b/translations/ro.ts @@ -2505,6 +2505,14 @@ Acest ID include codul NoSpam (în albastru) și suma de control (în gri).You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/ru.ts b/translations/ru.ts index f23bbea62..f20269cb5 100644 --- a/translations/ru.ts +++ b/translations/ru.ts @@ -2503,6 +2503,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group Вы покинули группу + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/si.ts b/translations/si.ts index dd404b132..2a841287c 100644 --- a/translations/si.ts +++ b/translations/si.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/sk.ts b/translations/sk.ts index 941dd5356..2db1ca22c 100644 --- a/translations/sk.ts +++ b/translations/sk.ts @@ -2505,6 +2505,14 @@ Toto ID obsahuje kód NoSpam (modrou) a kontrolný súčet (šedou).You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/sl.ts b/translations/sl.ts index 9d47ee9b8..667487ef0 100644 --- a/translations/sl.ts +++ b/translations/sl.ts @@ -2487,6 +2487,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/sq.ts b/translations/sq.ts index 6af270245..1d70a4831 100644 --- a/translations/sq.ts +++ b/translations/sq.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/sr.ts b/translations/sr.ts index 8991ee29f..d609f161b 100644 --- a/translations/sr.ts +++ b/translations/sr.ts @@ -2493,6 +2493,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/sr_Latn.ts b/translations/sr_Latn.ts index 8979e4404..5a1b58068 100644 --- a/translations/sr_Latn.ts +++ b/translations/sr_Latn.ts @@ -2494,6 +2494,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/sv.ts b/translations/sv.ts index 362e15724..c8ca9db1f 100644 --- a/translations/sv.ts +++ b/translations/sv.ts @@ -2493,6 +2493,14 @@ ID:t innehåller NoSpam-koden (i blått) och kontrollsumman (i grått).You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/sw.ts b/translations/sw.ts index f3330fb79..fc997e96c 100644 --- a/translations/sw.ts +++ b/translations/sw.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/ta.ts b/translations/ta.ts index ec9565819..e02e15b4e 100644 --- a/translations/ta.ts +++ b/translations/ta.ts @@ -2483,6 +2483,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/tr.ts b/translations/tr.ts index ac3509542..c06355ae8 100644 --- a/translations/tr.ts +++ b/translations/tr.ts @@ -2493,6 +2493,14 @@ Bu kimlik NoSpam kodunu (mavi) ve sağlama toplamını (gri) içerir.You have left the group Gruptan ayrıldınız + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/ug.ts b/translations/ug.ts index 9d09ee35d..9301ab862 100644 --- a/translations/ug.ts +++ b/translations/ug.ts @@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/uk.ts b/translations/uk.ts index 164840e24..2fa3cb858 100644 --- a/translations/uk.ts +++ b/translations/uk.ts @@ -2493,6 +2493,14 @@ It's difficult to translate "Tox me maybe" because in Ukrainian n You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/ur.ts b/translations/ur.ts index bed36bf98..0e7768138 100644 --- a/translations/ur.ts +++ b/translations/ur.ts @@ -2485,6 +2485,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts index a33a20e61..ff0725f32 100644 --- a/translations/zh_CN.ts +++ b/translations/zh_CN.ts @@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group 你已离开该群 + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog diff --git a/translations/zh_TW.ts b/translations/zh_TW.ts index b28004cc7..1c2c7b825 100644 --- a/translations/zh_TW.ts +++ b/translations/zh_TW.ts @@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray). You have left the group + + Failed to load chat history + + + + Database version (%1) is newer than we currently support (%2). Please upgrade qTox. + + RemoveChatDialog