Add periods to terminate non-user messages in the timeline

This commit is contained in:
Pushpam Choudhary 2020-03-12 22:41:52 +05:30
parent 0f1a352dd7
commit 71ba8cb284
11 changed files with 407 additions and 407 deletions

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation>-- Verschlüsseltes Event (keine Schlüssel zur Entschlüsselung gefunden) --</translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation>-- Entschlüsselungsfehler (Fehler bei Kommunikation mit Datenbank) --</translation> <translation>-- Entschlüsselungsfehler (Fehler bei Kommunikation mit Datenbank) --</translation>
@ -497,19 +491,7 @@
<translation>-- Entschlüsselungsfehler (Fehler bei Suche nach megolm Schlüsseln in Datenbank) --</translation> <translation>-- Entschlüsselungsfehler (Fehler bei Suche nach megolm Schlüsseln in Datenbank) --</translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
<translation>-- Entschlüsselungsfehler (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation>-- Verschlüsseltes Event (Unbekannter Eventtyp) --</translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation>Nachricht zurückziehen fehlgeschlagen: %1</translation> <translation>Nachricht zurückziehen fehlgeschlagen: %1</translation>
</message> </message>
@ -533,53 +515,71 @@
<source>Save file</source> <source>Save file</source>
<translation>Datei speichern</translation> <translation>Datei speichern</translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished">-- Verschlüsseltes Event (keine Schlüssel zur Entschlüsselung gefunden) --</translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1.</comment>
<translation type="unfinished">-- Entschlüsselungsfehler (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished">-- Verschlüsseltes Event (Unbekannter Eventtyp) --</translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation> <translation type="unfinished">
<numerusform>%1%2 tippt</numerusform> <numerusform></numerusform>
<numerusform>%1 und %2 tippen</numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -634,11 +634,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation>Hat die Verbannung von %1 zurückgezogen.</translation> <translation type="unfinished">Hat die Verbannung von %1. zurückgezogen.</translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation>%1 hat das Anklopfen zurückgezogen.</translation> <translation>%1 hat das Anklopfen zurückgezogen.</translation>
</message> </message>
@ -654,12 +659,7 @@
<translation type="unfinished">%1 hat den Raum verlassen.</translation> <translation type="unfinished">%1 hat den Raum verlassen.</translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -497,19 +491,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -533,9 +515,27 @@
<source>Save file</source> <source>Save file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform></numerusform>
@ -544,42 +544,42 @@
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -634,11 +634,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -654,12 +659,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation>-- Encrypted Event (No keys found for decryption) --</translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation>-- Decryption Error (failed to communicate with DB) --</translation> <translation>-- Decryption Error (failed to communicate with DB) --</translation>
@ -497,19 +491,7 @@
<translation>-- Decryption Error (failed to retrieve megolm keys from db) --</translation> <translation>-- Decryption Error (failed to retrieve megolm keys from db) --</translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
<translation>-- Decryption Error (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation>-- Encrypted Event (Unknown event type) --</translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation>Message redaction failed: %1</translation> <translation>Message redaction failed: %1</translation>
</message> </message>
@ -533,53 +515,71 @@
<source>Save file</source> <source>Save file</source>
<translation>Save file</translation> <translation>Save file</translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished">-- Encrypted Event (No keys found for decryption) --</translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1.</comment>
<translation type="unfinished">-- Decryption Error (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished">-- Encrypted Event (Unknown event type) --</translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation> <translation type="unfinished">
<numerusform>%1%2 is typing</numerusform> <numerusform></numerusform>
<numerusform>%1 and %2 are typing</numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -634,11 +634,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation>Unbanned %1.</translation> <translation type="unfinished">Unbanned %1..</translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation>%1 redacted their knock.</translation> <translation>%1 redacted their knock.</translation>
</message> </message>
@ -654,12 +659,7 @@
<translation type="unfinished">%1 left after having already left!</translation> <translation type="unfinished">%1 left after having already left!</translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation type="unfinished">-- Salattu viesti (salauksen purkuavaimia ei löydetty) --</translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation type="unfinished">-- Virhe purkaessa salausta (tietokannan kanssa kommunikointi epäonnistui) --</translation> <translation type="unfinished">-- Virhe purkaessa salausta (tietokannan kanssa kommunikointi epäonnistui) --</translation>
@ -497,19 +491,7 @@
<translation type="unfinished">-- Virhe purkaessa salausta (megolm-avaimien hakeminen tietokannasta epäonnistui) --</translation> <translation type="unfinished">-- Virhe purkaessa salausta (megolm-avaimien hakeminen tietokannasta epäonnistui) --</translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
<translation type="unfinished">-- Virhe purkaessa salausta (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation type="unfinished">-- Salattu viesti (tuntematon viestityyppi) --</translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation type="unfinished">Viestin poisto epäonnistui: %1</translation> <translation type="unfinished">Viestin poisto epäonnistui: %1</translation>
</message> </message>
@ -533,53 +515,71 @@
<source>Save file</source> <source>Save file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished">-- Salattu viesti (salauksen purkuavaimia ei löydetty) --</translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1.</comment>
<translation type="unfinished">-- Virhe purkaessa salausta (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished">-- Salattu viesti (tuntematon viestityyppi) --</translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation type="unfinished"> <translation type="unfinished">
<numerusform>%1%2 kirjoittaa</numerusform> <numerusform></numerusform>
<numerusform>%1 ja %2 kirjoittavat</numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -634,11 +634,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -654,12 +659,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -480,13 +480,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -498,19 +492,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -534,9 +516,27 @@
<source>Save file</source> <source>Save file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform></numerusform>
@ -545,42 +545,42 @@
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -635,11 +635,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -655,12 +660,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation>-- () --</translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation>-- () --</translation> <translation>-- () --</translation>
@ -497,19 +491,7 @@
<translation>-- (megolm鍵を取得できませんでした) --</translation> <translation>-- (megolm鍵を取得できませんでした) --</translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1</comment>
<translation>-- (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation>-- () --</translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation>: %1</translation> <translation>: %1</translation>
</message> </message>
@ -533,52 +515,70 @@
<source>Save file</source> <source>Save file</source>
<translation></translation> <translation></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished">-- () --</translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted. In this case, the Olm decrytion returned an error, which is passed ad %1.</comment>
<translation type="unfinished">-- (%1) --</translation>
</message>
<message>
<location line="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished">-- () --</translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation> <translation type="unfinished">
<numerusform>%1%2</numerusform> <numerusform></numerusform>
</translation> </translation>
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -633,11 +633,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation>%1</translation> <translation type="unfinished">%1.</translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation>%1</translation> <translation>%1</translation>
</message> </message>
@ -653,12 +658,7 @@
<translation type="unfinished">退%1退!</translation> <translation type="unfinished">退%1退!</translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -497,19 +491,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -533,9 +515,27 @@
<source>Save file</source> <source>Save file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform></numerusform>
@ -544,42 +544,42 @@
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -634,11 +634,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -654,12 +659,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -497,19 +491,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation type="unfinished">Redagowanie wiadomości nie powiodło się: %1</translation> <translation type="unfinished">Redagowanie wiadomości nie powiodło się: %1</translation>
</message> </message>
@ -533,9 +515,27 @@
<source>Save file</source> <source>Save file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform></numerusform>
@ -545,42 +545,42 @@
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -635,11 +635,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -655,12 +660,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -497,19 +491,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation type="unfinished">Ошибка редактирования сообщения: %1</translation> <translation type="unfinished">Ошибка редактирования сообщения: %1</translation>
</message> </message>
@ -533,9 +515,27 @@
<source>Save file</source> <source>Save file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform></numerusform>
@ -545,42 +545,42 @@
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -635,11 +635,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -655,12 +660,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -479,13 +479,7 @@
<context> <context>
<name>TimelineModel</name> <name>TimelineModel</name>
<message> <message>
<location filename="../../src/timeline/TimelineModel.cpp" line="+718"/> <location filename="../../src/timeline/TimelineModel.cpp" line="+733"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+15"/>
<source>-- Decryption Error (failed to communicate with DB) --</source> <source>-- Decryption Error (failed to communicate with DB) --</source>
<comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment> <comment>Placeholder, when the message can&apos;t be decrypted, because the DB access failed when trying to lookup the session.</comment>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
@ -497,19 +491,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+12"/> <location line="+88"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+47"/>
<source>Message redaction failed: %1</source> <source>Message redaction failed: %1</source>
<translation type="unfinished">%1</translation> <translation type="unfinished">%1</translation>
</message> </message>
@ -533,9 +515,27 @@
<source>Save file</source> <source>Save file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message>
<location line="-582"/>
<source>-- Encrypted Event (No keys found for decryption) --</source>
<comment>Placeholder, when the message was not decrypted yet or can&apos;t be decrypted.</comment>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+46"/>
<source>-- Decryption Error (%1) --</source>
<comment>Placeholder, when the message can&apos;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="+29"/>
<source>-- Encrypted Event (Unknown event type) --</source>
<comment>Placeholder, when the message was decrypted, but we couldn&apos;t parse it, because Nheko/mtxclient don&apos;t support that event type yet.</comment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes"> <message numerus="yes">
<location line="+129"/> <location line="+636"/>
<source>%1 and %2 are typing</source> <source>%1 and %2 are typing.</source>
<comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment> <comment>Multiple users are typing. First argument is a comma separated list of potentially multiple users. Second argument is the last user of that list. (If only one user is typing, %1 is empty. You should still use it in your string though to silence Qt warnings.)</comment>
<translation type="unfinished"> <translation type="unfinished">
<numerusform></numerusform> <numerusform></numerusform>
@ -543,42 +543,42 @@
</message> </message>
<message> <message>
<location line="+68"/> <location line="+68"/>
<source>%1 opened the room to the public</source> <source>%1 opened the room to the public.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 made this room require and invitation to join</source> <source>%1 made this room require and invitation to join.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room open to guests</source> <source>%1 made the room open to guests.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>%1 has closed the room to guest access</source> <source>%1 has closed the room to guest access.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+23"/> <location line="+23"/>
<source>%1 made the room history world readable. Events may be now read by non-joined people</source> <source>%1 made the room history world readable. Events may be now read by non-joined people.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+4"/> <location line="+4"/>
<source>%1 set the room history visible to members from this point on</source> <source>%1 set the room history visible to members from this point on.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they were invited</source> <source>%1 set the room history visible to members since they were invited.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+3"/>
<source>%1 set the room history visible to members since they joined the room</source> <source>%1 set the room history visible to members since they joined the room.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
@ -633,11 +633,16 @@
</message> </message>
<message> <message>
<location line="+2"/> <location line="+2"/>
<source>Unbanned %1</source> <source>Unbanned %1.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+3"/> <location line="+14"/>
<source>%1 was banned.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="-11"/>
<source>%1 redacted their knock.</source> <source>%1 redacted their knock.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -653,12 +658,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+7"/> <location line="+15"/>
<source>%1 was banned</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+8"/>
<source> Reason: %1</source> <source> Reason: %1</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>

View File

@ -716,7 +716,7 @@ TimelineModel::decryptEvent(const mtx::events::EncryptedEvent<mtx::events::msg::
dummy.sender = e.sender; dummy.sender = e.sender;
dummy.content.body = dummy.content.body =
tr("-- Encrypted Event (No keys found for decryption) --", tr("-- Encrypted Event (No keys found for decryption) --",
"Placeholder, when the message was not decrypted yet or can't be decrypted") "Placeholder, when the message was not decrypted yet or can't be decrypted.")
.toStdString(); .toStdString();
try { try {
@ -763,7 +763,7 @@ TimelineModel::decryptEvent(const mtx::events::EncryptedEvent<mtx::events::msg::
dummy.content.body = dummy.content.body =
tr("-- Decryption Error (%1) --", tr("-- Decryption Error (%1) --",
"Placeholder, when the message can't be decrypted. In this case, the Olm " "Placeholder, when the message can't be decrypted. In this case, the Olm "
"decrytion returned an error, which is passed ad %1") "decrytion returned an error, which is passed ad %1.")
.arg(e.what()) .arg(e.what())
.toStdString(); .toStdString();
return {dummy, false}; return {dummy, false};
@ -792,7 +792,7 @@ TimelineModel::decryptEvent(const mtx::events::EncryptedEvent<mtx::events::msg::
dummy.content.body = dummy.content.body =
tr("-- Encrypted Event (Unknown event type) --", tr("-- Encrypted Event (Unknown event type) --",
"Placeholder, when the message was decrypted, but we couldn't parse it, because " "Placeholder, when the message was decrypted, but we couldn't parse it, because "
"Nheko/mtxclient don't support that event type yet") "Nheko/mtxclient don't support that event type yet.")
.toStdString(); .toStdString();
return {dummy, false}; return {dummy, false};
} }
@ -1426,7 +1426,7 @@ QString
TimelineModel::formatTypingUsers(const std::vector<QString> &users, QColor bg) TimelineModel::formatTypingUsers(const std::vector<QString> &users, QColor bg)
{ {
QString temp = QString temp =
tr("%1 and %2 are typing", tr("%1 and %2 are typing.",
"Multiple users are typing. First argument is a comma separated list of potentially " "Multiple users are typing. First argument is a comma separated list of potentially "
"multiple users. Second argument is the last user of that list. (If only one user is " "multiple users. Second argument is the last user of that list. (If only one user is "
"typing, %1 is empty. You should still use it in your string though to silence Qt " "typing, %1 is empty. You should still use it in your string though to silence Qt "
@ -1494,9 +1494,9 @@ TimelineModel::formatJoinRuleEvent(QString id)
switch (event->content.join_rule) { switch (event->content.join_rule) {
case mtx::events::state::JoinRule::Public: case mtx::events::state::JoinRule::Public:
return tr("%1 opened the room to the public").arg(name); return tr("%1 opened the room to the public.").arg(name);
case mtx::events::state::JoinRule::Invite: case mtx::events::state::JoinRule::Invite:
return tr("%1 made this room require and invitation to join").arg(name); return tr("%1 made this room require and invitation to join.").arg(name);
default: default:
// Currently, knock and private are reserved keywords and not implemented in Matrix. // Currently, knock and private are reserved keywords and not implemented in Matrix.
return ""; return "";
@ -1519,9 +1519,9 @@ TimelineModel::formatGuestAccessEvent(QString id)
switch (event->content.guest_access) { switch (event->content.guest_access) {
case mtx::events::state::AccessState::CanJoin: case mtx::events::state::AccessState::CanJoin:
return tr("%1 made the room open to guests").arg(name); return tr("%1 made the room open to guests.").arg(name);
case mtx::events::state::AccessState::Forbidden: case mtx::events::state::AccessState::Forbidden:
return tr("%1 has closed the room to guest access").arg(name); return tr("%1 has closed the room to guest access.").arg(name);
default: default:
return ""; return "";
} }
@ -1545,16 +1545,16 @@ TimelineModel::formatHistoryVisibilityEvent(QString id)
switch (event->content.history_visibility) { switch (event->content.history_visibility) {
case mtx::events::state::Visibility::WorldReadable: case mtx::events::state::Visibility::WorldReadable:
return tr("%1 made the room history world readable. Events may be now read by " return tr("%1 made the room history world readable. Events may be now read by "
"non-joined people") "non-joined people.")
.arg(name); .arg(name);
case mtx::events::state::Visibility::Shared: case mtx::events::state::Visibility::Shared:
return tr("%1 set the room history visible to members from this point on") return tr("%1 set the room history visible to members from this point on.")
.arg(name); .arg(name);
case mtx::events::state::Visibility::Invited: case mtx::events::state::Visibility::Invited:
return tr("%1 set the room history visible to members since they were invited") return tr("%1 set the room history visible to members since they were invited.")
.arg(name); .arg(name);
case mtx::events::state::Visibility::Joined: case mtx::events::state::Visibility::Joined:
return tr("%1 set the room history visible to members since they joined the room") return tr("%1 set the room history visible to members since they joined the room.")
.arg(name); .arg(name);
default: default:
return ""; return "";
@ -1661,7 +1661,7 @@ TimelineModel::formatMemberEvent(QString id)
else else
rendered = tr("Kicked %1.").arg(name); rendered = tr("Kicked %1.").arg(name);
} else if (prevEvent->content.membership == Membership::Ban) { } else if (prevEvent->content.membership == Membership::Ban) {
rendered = tr("Unbanned %1").arg(name); rendered = tr("Unbanned %1.").arg(name);
} else if (prevEvent->content.membership == Membership::Knock) { } else if (prevEvent->content.membership == Membership::Knock) {
if (event->state_key == event->sender) if (event->state_key == event->sender)
rendered = tr("%1 redacted their knock.").arg(name); rendered = tr("%1 redacted their knock.").arg(name);
@ -1675,7 +1675,7 @@ TimelineModel::formatMemberEvent(QString id)
break; break;
case Membership::Ban: case Membership::Ban:
rendered = tr("%1 was banned").arg(name); rendered = tr("%1 was banned.").arg(name);
break; break;
case Membership::Knock: case Membership::Knock:
rendered = tr("%1 knocked.").arg(name); rendered = tr("%1 knocked.").arg(name);