mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Add decryption error messages to translations
This commit is contained in:
parent
0f8d882aaf
commit
50c3d4ed3a
10 changed files with 293 additions and 5 deletions
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -416,6 +416,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation>Szyfrowanie jest włączone</translation>
|
<translation>Szyfrowanie jest włączone</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation>Шифрование включено</translation>
|
<translation>Шифрование включено</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -415,6 +415,36 @@
|
||||||
<source>Encryption is enabled</source>
|
<source>Encryption is enabled</source>
|
||||||
<translation>加密已启用</translation>
|
<translation>加密已启用</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+65"/>
|
||||||
|
<source>-- Encrypted Event (No keys found for decryption) --</source>
|
||||||
|
<comment>Placeholder, when the message was not decrypted yet or can't be decrypted</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+15"/>
|
||||||
|
<source>-- Decryption Error (failed to communicate with DB) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed when trying to lookup the session.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+19"/>
|
||||||
|
<source>-- Decryption Error (failed to retrieve megolm keys from db) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted, because the DB access failed.</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+12"/>
|
||||||
|
<source>-- Decryption Error (%1) --</source>
|
||||||
|
<comment>Placeholder, when the message can't be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
|
<message>
|
||||||
|
<location line="+27"/>
|
||||||
|
<source>-- Encrypted Event (Unknown event type) --</source>
|
||||||
|
<comment>Placeholder, when the message was decrypted, but we couldn't parse it, because Nheko/mtxclient don't support that event type yet</comment>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>TopRoomBar</name>
|
<name>TopRoomBar</name>
|
||||||
|
|
|
@ -306,7 +306,10 @@ TimelineView::parseEncryptedEvent(const mtx::events::EncryptedEvent<mtx::events:
|
||||||
dummy.origin_server_ts = e.origin_server_ts;
|
dummy.origin_server_ts = e.origin_server_ts;
|
||||||
dummy.event_id = e.event_id;
|
dummy.event_id = e.event_id;
|
||||||
dummy.sender = e.sender;
|
dummy.sender = e.sender;
|
||||||
dummy.content.body = "-- Encrypted Event (No keys found for decryption) --";
|
dummy.content.body =
|
||||||
|
tr("-- Encrypted Event (No keys found for decryption) --",
|
||||||
|
"Placeholder, when the message was not decrypted yet or can't be decrypted")
|
||||||
|
.toStdString();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (!cache::client()->inboundMegolmSessionExists(index)) {
|
if (!cache::client()->inboundMegolmSessionExists(index)) {
|
||||||
|
@ -319,7 +322,10 @@ TimelineView::parseEncryptedEvent(const mtx::events::EncryptedEvent<mtx::events:
|
||||||
}
|
}
|
||||||
} catch (const lmdb::error &e) {
|
} catch (const lmdb::error &e) {
|
||||||
nhlog::db()->critical("failed to check megolm session's existence: {}", e.what());
|
nhlog::db()->critical("failed to check megolm session's existence: {}", e.what());
|
||||||
dummy.content.body = "-- Decryption Error (failed to communicate with DB) --";
|
dummy.content.body = tr("-- Decryption Error (failed to communicate with DB) --",
|
||||||
|
"Placeholder, when the message can't be decrypted, because "
|
||||||
|
"the DB access failed when trying to lookup the session.")
|
||||||
|
.toStdString();
|
||||||
return {dummy, false};
|
return {dummy, false};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -335,7 +341,10 @@ TimelineView::parseEncryptedEvent(const mtx::events::EncryptedEvent<mtx::events:
|
||||||
index.sender_key,
|
index.sender_key,
|
||||||
e.what());
|
e.what());
|
||||||
dummy.content.body =
|
dummy.content.body =
|
||||||
"-- Decryption Error (failed to retrieve megolm keys from db) --";
|
tr("-- Decryption Error (failed to retrieve megolm keys from db) --",
|
||||||
|
"Placeholder, when the message can't be decrypted, because the DB access "
|
||||||
|
"failed.")
|
||||||
|
.toStdString();
|
||||||
return {dummy, false};
|
return {dummy, false};
|
||||||
} catch (const mtx::crypto::olm_exception &e) {
|
} catch (const mtx::crypto::olm_exception &e) {
|
||||||
nhlog::crypto()->critical("failed to decrypt message with index ({}, {}, {}): {}",
|
nhlog::crypto()->critical("failed to decrypt message with index ({}, {}, {}): {}",
|
||||||
|
@ -343,7 +352,12 @@ TimelineView::parseEncryptedEvent(const mtx::events::EncryptedEvent<mtx::events:
|
||||||
index.session_id,
|
index.session_id,
|
||||||
index.sender_key,
|
index.sender_key,
|
||||||
e.what());
|
e.what());
|
||||||
dummy.content.body = "-- Decryption Error (" + std::string(e.what()) + ") --";
|
dummy.content.body =
|
||||||
|
tr("-- Decryption Error (%1) --",
|
||||||
|
"Placeholder, when the message can't be decrypted. In this case, the Olm "
|
||||||
|
"decrytion returned an error, which is passed ad %1")
|
||||||
|
.arg(e.what())
|
||||||
|
.toStdString();
|
||||||
return {dummy, false};
|
return {dummy, false};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -365,7 +379,11 @@ TimelineView::parseEncryptedEvent(const mtx::events::EncryptedEvent<mtx::events:
|
||||||
if (events.size() == 1)
|
if (events.size() == 1)
|
||||||
return {events.at(0), true};
|
return {events.at(0), true};
|
||||||
|
|
||||||
dummy.content.body = "-- Encrypted Event (Unknown event type) --";
|
dummy.content.body =
|
||||||
|
tr("-- Encrypted Event (Unknown event type) --",
|
||||||
|
"Placeholder, when the message was decrypted, but we couldn't parse it, because "
|
||||||
|
"Nheko/mtxclient don't support that event type yet")
|
||||||
|
.toStdString();
|
||||||
return {dummy, false};
|
return {dummy, false};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue