Remove translations from reply fallback
This commit is contained in:
parent
453d6f5f64
commit
8fcb670bde
@ -1282,30 +1282,6 @@ Medien-Größe: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1280,30 +1280,6 @@ Media size: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1284,30 +1284,6 @@ Media size: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation>sent a file.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation>sent an image.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation>sent an audio file.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation>sent a video.</translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1284,30 +1284,6 @@ Median koko: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1283,30 +1283,6 @@ Taille du média : %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1282,30 +1282,6 @@ Mediagrootte: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1286,30 +1286,6 @@ Rozmiar multimediów: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1285,30 +1285,6 @@ Media size: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -1290,30 +1290,6 @@ Media size: %2
|
|||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>utils</name>
|
<name>utils</name>
|
||||||
<message>
|
|
||||||
<location filename="../../src/Utils.cpp" line="+292"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an image.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent an audio file.</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
|
||||||
<location line="-32"/>
|
|
||||||
<location line="+35"/>
|
|
||||||
<source>sent a video</source>
|
|
||||||
<translation type="unfinished"></translation>
|
|
||||||
</message>
|
|
||||||
<message>
|
<message>
|
||||||
<location filename="../../src/Utils.h" line="+4"/>
|
<location filename="../../src/Utils.h" line="+4"/>
|
||||||
<source>Unknown Message Type</source>
|
<source>Unknown Message Type</source>
|
||||||
|
@ -403,21 +403,21 @@ utils::markdownToHtml(const QString &text)
|
|||||||
QString
|
QString
|
||||||
utils::getFormattedQuoteBody(const RelatedInfo &related, const QString &html)
|
utils::getFormattedQuoteBody(const RelatedInfo &related, const QString &html)
|
||||||
{
|
{
|
||||||
auto getFormattedBody = [related]() {
|
auto getFormattedBody = [related]() -> QString {
|
||||||
using MsgType = mtx::events::MessageType;
|
using MsgType = mtx::events::MessageType;
|
||||||
|
|
||||||
switch (related.type) {
|
switch (related.type) {
|
||||||
case MsgType::File: {
|
case MsgType::File: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent a file."));
|
return "sent a file.";
|
||||||
}
|
}
|
||||||
case MsgType::Image: {
|
case MsgType::Image: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent an image."));
|
return "sent an image.";
|
||||||
}
|
}
|
||||||
case MsgType::Audio: {
|
case MsgType::Audio: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent an audio file."));
|
return "sent an audio file.";
|
||||||
}
|
}
|
||||||
case MsgType::Video: {
|
case MsgType::Video: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent a video"));
|
return "sent a video";
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
return related.quoted_formatted_body;
|
return related.quoted_formatted_body;
|
||||||
@ -443,16 +443,16 @@ utils::getQuoteBody(const RelatedInfo &related)
|
|||||||
|
|
||||||
switch (related.type) {
|
switch (related.type) {
|
||||||
case MsgType::File: {
|
case MsgType::File: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent a file."));
|
return "sent a file.";
|
||||||
}
|
}
|
||||||
case MsgType::Image: {
|
case MsgType::Image: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent an image."));
|
return "sent an image.";
|
||||||
}
|
}
|
||||||
case MsgType::Audio: {
|
case MsgType::Audio: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent an audio file."));
|
return "sent an audio file.";
|
||||||
}
|
}
|
||||||
case MsgType::Video: {
|
case MsgType::Video: {
|
||||||
return QString(QCoreApplication::translate("utils", "sent a video"));
|
return "sent a video";
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
return related.quoted_body;
|
return related.quoted_body;
|
||||||
|
Loading…
Reference in New Issue
Block a user