mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Update translation context
This commit is contained in:
parent
7bd452aed9
commit
b875a8debc
10 changed files with 459 additions and 378 deletions
|
@ -1049,47 +1049,9 @@ Medien-Größe: %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation>Du</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1123,8 +1085,55 @@ Medien-Größe: %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation>Du</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1047,47 +1047,9 @@ Media size: %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1121,8 +1083,55 @@ Media size: %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1050,11 +1050,67 @@ Media size: %2
|
|||
<translation>Flags</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished">%1 an audio clip</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 an image</source>
|
||||
<translation type="unfinished">%1 an image</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a file</source>
|
||||
<translation type="unfinished">%1 a file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a video clip</source>
|
||||
<translation type="unfinished">%1 a video clip</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a sticker</source>
|
||||
<translation type="unfinished">%1 a sticker</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a notification</source>
|
||||
<translation type="unfinished">%1 a notification</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+6"/>
|
||||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished">%1 an encrypted message</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished">sent</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished">sent</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation>You</translation>
|
||||
</message>
|
||||
|
@ -1079,54 +1135,7 @@ Media size: %2
|
|||
<translation>sent a video.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation>sent</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation>sent</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation>%1 an audio clip</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 an image</source>
|
||||
<translation>%1 an image</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a file</source>
|
||||
<translation>%1 a file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a video clip</source>
|
||||
<translation>%1 a video clip</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a sticker</source>
|
||||
<translation>%1 a sticker</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+2"/>
|
||||
<source>%1 a notification</source>
|
||||
<translation>%1 a notification</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+6"/>
|
||||
<source>%1 an encrypted message</source>
|
||||
<translation>%1 an encrypted message</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation>Unknown Message Type</translation>
|
||||
</message>
|
||||
|
|
|
@ -1051,47 +1051,9 @@ Median koko: %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation>Sinä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1125,8 +1087,55 @@ Median koko: %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation>Sinä</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1050,47 +1050,9 @@ Taille du média : %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1124,8 +1086,55 @@ Taille du média : %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1049,47 +1049,9 @@ Mediagrootte: %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1123,8 +1085,55 @@ Mediagrootte: %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1053,47 +1053,9 @@ Rozmiar multimediów: %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1127,8 +1089,55 @@ Rozmiar multimediów: %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1052,47 +1052,9 @@ Media size: %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1126,8 +1088,55 @@ Media size: %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
|
@ -1057,47 +1057,9 @@ Media size: %2
|
|||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<name>message-description sent:</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+141"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-45"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+1"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<location filename="../../src/Utils.h" line="+104"/>
|
||||
<source>%1 an audio clip</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
@ -1131,8 +1093,55 @@ Media size: %2
|
|||
<source>%1 an encrypted message</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description:</name>
|
||||
<message>
|
||||
<location line="-19"/>
|
||||
<source>sent</source>
|
||||
<comment>For when someone else is the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>message-description: </name>
|
||||
<message>
|
||||
<location line="-2"/>
|
||||
<source>sent</source>
|
||||
<comment>For when you are the sender</comment>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>utils</name>
|
||||
<message>
|
||||
<location filename="../../src/Utils.cpp" line="+46"/>
|
||||
<location filename="../../src/Utils.h" line="+47"/>
|
||||
<source>You</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+219"/>
|
||||
<source>sent a file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an image.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent an audio file.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location line="+3"/>
|
||||
<source>sent a video</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../../src/Utils.h" line="-23"/>
|
||||
<source>Unknown Message Type</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
|
|
18
src/Utils.h
18
src/Utils.h
|
@ -96,28 +96,28 @@ messageDescription(const QString &username = "",
|
|||
|
||||
// Sometimes the verb form of sent changes in some languages depending on the actor.
|
||||
auto remoteSent =
|
||||
QCoreApplication::translate("utils", "sent", "For when you are the sender");
|
||||
QCoreApplication::translate("message-description: ", "sent", "For when you are the sender");
|
||||
auto localSent =
|
||||
QCoreApplication::translate("utils", "sent", "For when someone else is the sender");
|
||||
QCoreApplication::translate("message-description:", "sent", "For when someone else is the sender");
|
||||
QString sentVerb = isLocal ? localSent : remoteSent;
|
||||
if (std::is_same<T, AudioItem>::value || std::is_same<T, Audio>::value) {
|
||||
return QCoreApplication::translate("utils", "%1 an audio clip").arg(sentVerb);
|
||||
return QCoreApplication::translate("message-description sent:", "%1 an audio clip").arg(sentVerb);
|
||||
} else if (std::is_same<T, ImageItem>::value || std::is_same<T, Image>::value) {
|
||||
return QCoreApplication::translate("utils", "%1 an image").arg(sentVerb);
|
||||
return QCoreApplication::translate("message-description sent:", "%1 an image").arg(sentVerb);
|
||||
} else if (std::is_same<T, FileItem>::value || std::is_same<T, File>::value) {
|
||||
return QCoreApplication::translate("utils", "%1 a file").arg(sentVerb);
|
||||
return QCoreApplication::translate("message-description sent:", "%1 a file").arg(sentVerb);
|
||||
} else if (std::is_same<T, VideoItem>::value || std::is_same<T, Video>::value) {
|
||||
return QCoreApplication::translate("utils", "%1 a video clip").arg(sentVerb);
|
||||
return QCoreApplication::translate("message-description sent:", "%1 a video clip").arg(sentVerb);
|
||||
} else if (std::is_same<T, StickerItem>::value || std::is_same<T, Sticker>::value) {
|
||||
return QCoreApplication::translate("utils", "%1 a sticker").arg(sentVerb);
|
||||
return QCoreApplication::translate("message-description sent:", "%1 a sticker").arg(sentVerb);
|
||||
} else if (std::is_same<T, Notice>::value) {
|
||||
return QCoreApplication::translate("utils", "%1 a notification").arg(sentVerb);
|
||||
return QCoreApplication::translate("message-description sent:", "%1 a notification").arg(sentVerb);
|
||||
} else if (std::is_same<T, Text>::value) {
|
||||
return QString(": %1").arg(body);
|
||||
} else if (std::is_same<T, Emote>::value) {
|
||||
return QString("* %1 %2").arg(username).arg(body);
|
||||
} else if (std::is_same<T, Encrypted>::value) {
|
||||
return QCoreApplication::translate("utils", "%1 an encrypted message")
|
||||
return QCoreApplication::translate("message-description sent:", "%1 an encrypted message")
|
||||
.arg(sentVerb);
|
||||
} else {
|
||||
return QCoreApplication::translate("utils", "Unknown Message Type");
|
||||
|
|
Loading…
Reference in a new issue