Skip to content
Snippets Groups Projects
Commit ec6d4989 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix warning missing arg

parent bd641b64
No related branches found
No related tags found
No related merge requests found
......@@ -40,9 +40,8 @@ std::string eventBody(const StateEvent<state::Member> &e) {
.arg(QString::fromStdString(e.content.display_name))
.toStdString();
case state::Membership::Leave:
return QCoreApplication::translate("Room", "member_left: %1 %2")
return QCoreApplication::translate("Room", "member_left: %1")
.arg(QString::fromStdString(e.state_key))
.arg(QString::fromStdString(e.content.display_name))
.toStdString();
case state::Membership::Knock:
return QCoreApplication::translate("Room", "member_knocked: %1 %2")
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<TS version="2.1" language="de_DE">
<context>
<name>AboutPage</name>
<message>
......@@ -97,6 +97,14 @@
<source>Empty password</source>
<translation>Leeres Passwort</translation>
</message>
<message>
<source>Autodiscovery failed. Received malformed response.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autodiscovery failed. Unknown error when requesting .well-known.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LoginPage</name>
......@@ -142,6 +150,10 @@
<source>Logout</source>
<translation>Abmelden</translation>
</message>
<message>
<source>Exit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Name</name>
......@@ -168,7 +180,7 @@
<translation>%2 (%1) wurde gebannt.</translation>
</message>
<message>
<source>member_left: %1 %2</source>
<source>member_left: %1</source>
<translation>%1 hat den Raum verlassen.</translation>
</message>
<message>
......@@ -179,6 +191,10 @@
<source>member_joined: %1 %2</source>
<translation>%2 (%1) hat den Raum betreten.</translation>
</message>
<message>
<source>Empty Room</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Topic</name>
......
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<TS version="2.1" language="en_US">
<context>
<name>AboutPage</name>
<message>
......@@ -97,6 +97,14 @@
<source>Empty password</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autodiscovery failed. Received malformed response.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Autodiscovery failed. Unknown error when requesting .well-known.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>LoginPage</name>
......@@ -142,6 +150,10 @@
<source>Rooms</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Exit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Name</name>
......@@ -168,7 +180,7 @@
<translation>%2 (%1) was banned.</translation>
</message>
<message>
<source>member_left: %1 %2</source>
<source>member_left: %1</source>
<translation>%1 has left.</translation>
</message>
<message>
......@@ -179,6 +191,10 @@
<source>member_joined: %1 %2</source>
<translation>%2 (%1) joined.</translation>
</message>
<message>
<source>Empty Room</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Topic</name>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment