diff --git a/resources/langs/nheko_de.ts b/resources/langs/nheko_de.ts
index 5c7ac522..e4271a6e 100644
--- a/resources/langs/nheko_de.ts
+++ b/resources/langs/nheko_de.ts
@@ -1282,30 +1282,6 @@ Medien-Größe: %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/resources/langs/nheko_el.ts b/resources/langs/nheko_el.ts
index ee7bf891..982a14ac 100644
--- a/resources/langs/nheko_el.ts
+++ b/resources/langs/nheko_el.ts
@@ -1280,30 +1280,6 @@ Media size: %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/resources/langs/nheko_en.ts b/resources/langs/nheko_en.ts
index 4ebe7e59..60b1fe3d 100644
--- a/resources/langs/nheko_en.ts
+++ b/resources/langs/nheko_en.ts
@@ -1284,30 +1284,6 @@ Media size: %2
utils
-
-
-
-
- sent a file.
-
-
-
-
-
- sent an image.
-
-
-
-
-
- sent an audio file.
-
-
-
-
-
- sent a video.
-
diff --git a/resources/langs/nheko_fi.ts b/resources/langs/nheko_fi.ts
index 30264f5d..b4b184c9 100644
--- a/resources/langs/nheko_fi.ts
+++ b/resources/langs/nheko_fi.ts
@@ -1284,30 +1284,6 @@ Median koko: %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/resources/langs/nheko_fr.ts b/resources/langs/nheko_fr.ts
index 7721e1c9..c713dcb1 100644
--- a/resources/langs/nheko_fr.ts
+++ b/resources/langs/nheko_fr.ts
@@ -1283,30 +1283,6 @@ Taille du média : %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/resources/langs/nheko_nl.ts b/resources/langs/nheko_nl.ts
index 7cd06e4b..82b0f881 100644
--- a/resources/langs/nheko_nl.ts
+++ b/resources/langs/nheko_nl.ts
@@ -1282,30 +1282,6 @@ Mediagrootte: %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/resources/langs/nheko_pl.ts b/resources/langs/nheko_pl.ts
index cfcbb82c..6fb2133b 100644
--- a/resources/langs/nheko_pl.ts
+++ b/resources/langs/nheko_pl.ts
@@ -1286,30 +1286,6 @@ Rozmiar multimediów: %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/resources/langs/nheko_ru.ts b/resources/langs/nheko_ru.ts
index d1f5c63c..1b84074f 100644
--- a/resources/langs/nheko_ru.ts
+++ b/resources/langs/nheko_ru.ts
@@ -1285,30 +1285,6 @@ Media size: %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/resources/langs/nheko_zh_CN.ts b/resources/langs/nheko_zh_CN.ts
index 43f4e15f..f8b19434 100644
--- a/resources/langs/nheko_zh_CN.ts
+++ b/resources/langs/nheko_zh_CN.ts
@@ -1290,30 +1290,6 @@ Media size: %2
utils
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Utils.cpp b/src/Utils.cpp
index e6b92160..5a67ef62 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -403,21 +403,21 @@ utils::markdownToHtml(const QString &text)
QString
utils::getFormattedQuoteBody(const RelatedInfo &related, const QString &html)
{
- auto getFormattedBody = [related]() {
+ auto getFormattedBody = [related]() -> QString {
using MsgType = mtx::events::MessageType;
switch (related.type) {
case MsgType::File: {
- return QString(QCoreApplication::translate("utils", "sent a file."));
+ return "sent a file.";
}
case MsgType::Image: {
- return QString(QCoreApplication::translate("utils", "sent an image."));
+ return "sent an image.";
}
case MsgType::Audio: {
- return QString(QCoreApplication::translate("utils", "sent an audio file."));
+ return "sent an audio file.";
}
case MsgType::Video: {
- return QString(QCoreApplication::translate("utils", "sent a video"));
+ return "sent a video";
}
default: {
return related.quoted_formatted_body;
@@ -443,16 +443,16 @@ utils::getQuoteBody(const RelatedInfo &related)
switch (related.type) {
case MsgType::File: {
- return QString(QCoreApplication::translate("utils", "sent a file."));
+ return "sent a file.";
}
case MsgType::Image: {
- return QString(QCoreApplication::translate("utils", "sent an image."));
+ return "sent an image.";
}
case MsgType::Audio: {
- return QString(QCoreApplication::translate("utils", "sent an audio file."));
+ return "sent an audio file.";
}
case MsgType::Video: {
- return QString(QCoreApplication::translate("utils", "sent a video"));
+ return "sent a video";
}
default: {
return related.quoted_body;