Browse Source

feat(History): Add a GUI error on database schema mismatch

Fix #5683
reviewable/pr6608/r2
Anthony Bilinski 3 years ago
parent
commit
f4e64ee7a6
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 7
      src/persistence/db/upgrades/dbupgrader.cpp
  2. 3
      src/persistence/db/upgrades/dbupgrader.h
  3. 4
      src/persistence/history.cpp
  4. 3
      src/persistence/history.h
  5. 2
      src/persistence/profile.cpp
  6. 8
      translations/ar.ts
  7. 8
      translations/be.ts
  8. 8
      translations/bg.ts
  9. 8
      translations/cs.ts
  10. 8
      translations/da.ts
  11. 8
      translations/de.ts
  12. 8
      translations/el.ts
  13. 8
      translations/eo.ts
  14. 8
      translations/es.ts
  15. 8
      translations/et.ts
  16. 8
      translations/fa.ts
  17. 8
      translations/fi.ts
  18. 8
      translations/fr.ts
  19. 8
      translations/gl.ts
  20. 8
      translations/he.ts
  21. 8
      translations/hr.ts
  22. 8
      translations/hu.ts
  23. 8
      translations/is.ts
  24. 8
      translations/it.ts
  25. 8
      translations/ja.ts
  26. 8
      translations/kn.ts
  27. 8
      translations/ko.ts
  28. 8
      translations/lt.ts
  29. 8
      translations/lv.ts
  30. 8
      translations/mk.ts
  31. 8
      translations/nl.ts
  32. 8
      translations/nl_BE.ts
  33. 8
      translations/no_nb.ts
  34. 8
      translations/pl.ts
  35. 8
      translations/pt.ts
  36. 8
      translations/pt_BR.ts
  37. 8
      translations/ro.ts
  38. 8
      translations/ru.ts
  39. 8
      translations/si.ts
  40. 8
      translations/sk.ts
  41. 8
      translations/sl.ts
  42. 8
      translations/sq.ts
  43. 8
      translations/sr.ts
  44. 8
      translations/sr_Latn.ts
  45. 8
      translations/sv.ts
  46. 8
      translations/sw.ts
  47. 8
      translations/ta.ts
  48. 8
      translations/tr.ts
  49. 8
      translations/ug.ts
  50. 8
      translations/uk.ts
  51. 8
      translations/ur.ts
  52. 8
      translations/zh_CN.ts
  53. 8
      translations/zh_TW.ts

7
src/persistence/db/upgrades/dbupgrader.cpp

@ -22,9 +22,11 @@
#include "src/core/toxpk.h" #include "src/core/toxpk.h"
#include "src/persistence/db/rawdatabase.h" #include "src/persistence/db/rawdatabase.h"
#include "src/persistence/db/upgrades/dbto11.h" #include "src/persistence/db/upgrades/dbto11.h"
#include "src/widget/tool/imessageboxmanager.h"
#include <QDebug> #include <QDebug>
#include <QString> #include <QString>
#include <QTranslator>
namespace { namespace {
constexpr int SCHEMA_VERSION = 11; constexpr int SCHEMA_VERSION = 11;
@ -219,7 +221,7 @@ void addForeignKeyToBrokenMessages(QVector<RawDatabase::Query>& queries)
* @note On future alterations of the database all you have to do is bump the SCHEMA_VERSION * @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. * variable and add another case to the switch statement below. Make sure to fall through on each case.
*/ */
bool DbUpgrader::dbSchemaUpgrade(std::shared_ptr<RawDatabase>& db) bool DbUpgrader::dbSchemaUpgrade(std::shared_ptr<RawDatabase>& db, IMessageBoxManager& messageBoxManager)
{ {
// If we're a new dB we can just make a new one and call it a day // If we're a new dB we can just make a new one and call it a day
bool success = false; bool success = false;
@ -250,6 +252,9 @@ bool DbUpgrader::dbSchemaUpgrade(std::shared_ptr<RawDatabase>& db)
} }
if (databaseSchemaVersion > SCHEMA_VERSION) { 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 qWarning().nospace() << "Database version (" << databaseSchemaVersion
<< ") is newer than we currently support (" << SCHEMA_VERSION << ") is newer than we currently support (" << SCHEMA_VERSION
<< "). Please upgrade qTox"; << "). Please upgrade qTox";

3
src/persistence/db/upgrades/dbupgrader.h

@ -22,9 +22,10 @@
#include <memory> #include <memory>
class RawDatabase; class RawDatabase;
class IMessageBoxManager;
namespace DbUpgrader namespace DbUpgrader
{ {
bool dbSchemaUpgrade(std::shared_ptr<RawDatabase>& db); bool dbSchemaUpgrade(std::shared_ptr<RawDatabase>& db, IMessageBoxManager& messageBoxManager);
bool createCurrentSchema(RawDatabase& db); bool createCurrentSchema(RawDatabase& db);
bool isNewDb(std::shared_ptr<RawDatabase>& db, bool& success); bool isNewDb(std::shared_ptr<RawDatabase>& db, bool& success);

4
src/persistence/history.cpp

@ -180,7 +180,7 @@ FileDbInsertionData::FileDbInsertionData()
* @brief Prepares the database to work with the history. * @brief Prepares the database to work with the history.
* @param db This database will be prepared for use with the history. * @param db This database will be prepared for use with the history.
*/ */
History::History(std::shared_ptr<RawDatabase> db_, Settings& settings_) History::History(std::shared_ptr<RawDatabase> db_, Settings& settings_, IMessageBoxManager& messageBoxManager)
: db(db_) : db(db_)
, settings(settings_) , settings(settings_)
{ {
@ -194,7 +194,7 @@ History::History(std::shared_ptr<RawDatabase> db_, Settings& settings_)
db->execNow( db->execNow(
"PRAGMA foreign_keys = ON;"); "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 // dbSchemaUpgrade may have put us in an invalid state
if (!upgradeSucceeded) { if (!upgradeSucceeded) {

3
src/persistence/history.h

@ -40,6 +40,7 @@ class Profile;
class HistoryKeeper; class HistoryKeeper;
class Settings; class Settings;
class ChatId; class ChatId;
class IMessageBoxManager;
enum class HistMessageContentType enum class HistMessageContentType
{ {
@ -211,7 +212,7 @@ public:
}; };
public: public:
History(std::shared_ptr<RawDatabase> db, Settings& settings); History(std::shared_ptr<RawDatabase> db, Settings& settings, IMessageBoxManager& messageBoxManager);
~History(); ~History();
bool isValid(); bool isValid();

2
src/persistence/profile.cpp

@ -641,7 +641,7 @@ void Profile::loadDatabase(QString password, IMessageBoxManager& messageBoxManag
database = std::make_shared<RawDatabase>(getDbPath(name, settings.getPaths()), database = std::make_shared<RawDatabase>(getDbPath(name, settings.getPaths()),
password, salt); password, salt);
if (database && database->isOpen()) { if (database && database->isOpen()) {
history.reset(new History(database, settings)); history.reset(new History(database, settings, messageBoxManager));
} else { } else {
qWarning() << "Failed to open database for profile" << name; qWarning() << "Failed to open database for profile" << name;
messageBoxManager.showError(QObject::tr("Error"), messageBoxManager.showError(QObject::tr("Error"),

8
translations/ar.ts vendored

@ -2497,6 +2497,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/be.ts vendored

@ -2493,6 +2493,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/bg.ts vendored

@ -2494,6 +2494,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation>Напуснахте групата</translation> <translation>Напуснахте групата</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/cs.ts vendored

@ -2497,6 +2497,14 @@ ID zahrnuje kód NoSpam (modře) a kontrolní součet (šedě).</translation>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/da.ts vendored

@ -2480,6 +2480,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/de.ts vendored

@ -2502,6 +2502,14 @@ Diese ID enthält den NoSpam-Code (in blau) und die Prüfsumme (in grau).</trans
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/el.ts vendored

@ -2481,6 +2481,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/eo.ts vendored

@ -2469,6 +2469,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/es.ts vendored

@ -2494,6 +2494,14 @@ Este ID incluye el código NoSpam (en azul), y la suma de comprobación (en gris
<source>You have left the group</source> <source>You have left the group</source>
<translation>Has dejado el grupo</translation> <translation>Has dejado el grupo</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/et.ts vendored

@ -2496,6 +2496,14 @@ See ID sisaldab NoSpam koodi (sinine) ja kontrollsumma (hall).</translation>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/fa.ts vendored

@ -2485,6 +2485,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/fi.ts vendored

@ -2493,6 +2493,14 @@ Tämä ID sisältää spammin estävän koodin(joka on sinisellä), ja tarkistus
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/fr.ts vendored

@ -2493,6 +2493,14 @@ Cet identifiant comprend le code NoSpam (en bleu) et la somme de contrôle (en g
<source>You have left the group</source> <source>You have left the group</source>
<translation>Vous avez quitté le groupe</translation> <translation>Vous avez quitté le groupe</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/gl.ts vendored

@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/he.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/hr.ts vendored

@ -2485,6 +2485,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/hu.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/is.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/it.ts vendored

@ -2490,6 +2490,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/ja.ts vendored

@ -2476,6 +2476,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/kn.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/ko.ts vendored

@ -2475,6 +2475,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/lt.ts vendored

@ -2499,6 +2499,14 @@ Pasidalinkite ja su draugais, kad pradėtumėte kalbėtis.
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/lv.ts vendored

@ -2500,6 +2500,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/mk.ts vendored

@ -2493,6 +2493,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/nl.ts vendored

@ -2481,6 +2481,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/nl_BE.ts vendored

@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/no_nb.ts vendored

@ -2495,6 +2495,14 @@ Denne ID-en inkluderer NoSpam-koden (i blått), og sjekksummen (i grått).</tran
<source>You have left the group</source> <source>You have left the group</source>
<translation>Du har forlatt gruppen</translation> <translation>Du har forlatt gruppen</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/pl.ts vendored

@ -2519,6 +2519,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/pt.ts vendored

@ -2493,6 +2493,14 @@ Este ID inclui o código NoSpam (em azul) e o checkum (em cinzento).</translatio
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/pt_BR.ts vendored

@ -2501,6 +2501,14 @@ Este ID inclui o código NoSpam (em azul) e o checkum (em cinza).</translation>
<source>You have left the group</source> <source>You have left the group</source>
<translation>Você deixou o grupo</translation> <translation>Você deixou o grupo</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/ro.ts vendored

@ -2505,6 +2505,14 @@ Acest ID include codul NoSpam (în albastru) și suma de control (în gri).</tra
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/ru.ts vendored

@ -2503,6 +2503,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation>Вы покинули группу</translation> <translation>Вы покинули группу</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/si.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/sk.ts vendored

@ -2505,6 +2505,14 @@ Toto ID obsahuje kód NoSpam (modrou) a kontrolný súčet (šedou).</translatio
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/sl.ts vendored

@ -2487,6 +2487,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/sq.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/sr.ts vendored

@ -2493,6 +2493,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/sr_Latn.ts vendored

@ -2494,6 +2494,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/sv.ts vendored

@ -2493,6 +2493,14 @@ ID:t innehåller NoSpam-koden (i blått) och kontrollsumman (i grått).</transla
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/sw.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/ta.ts vendored

@ -2483,6 +2483,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/tr.ts vendored

@ -2493,6 +2493,14 @@ Bu kimlik NoSpam kodunu (mavi) ve sağlama toplamını (gri) içerir.</translati
<source>You have left the group</source> <source>You have left the group</source>
<translation>Gruptan ayrıldınız</translation> <translation>Gruptan ayrıldınız</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/ug.ts vendored

@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/uk.ts vendored

@ -2493,6 +2493,14 @@ It&apos;s difficult to translate &quot;Tox me maybe&quot; because in Ukrainian n
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/ur.ts vendored

@ -2485,6 +2485,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/zh_CN.ts vendored

@ -2489,6 +2489,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation>你已离开该群</translation> <translation>你已离开该群</translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

8
translations/zh_TW.ts vendored

@ -2477,6 +2477,14 @@ This ID includes the NoSpam code (in blue), and the checksum (in gray).</source>
<source>You have left the group</source> <source>You have left the group</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<source>Failed to load chat history</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Database version (%1) is newer than we currently support (%2). Please upgrade qTox.</source>
<translation type="unfinished"></translation>
</message>
</context> </context>
<context> <context>
<name>RemoveChatDialog</name> <name>RemoveChatDialog</name>

Loading…
Cancel
Save