Try to localise timestamps

I'm not sure, if that is the right way, but Qt doesn't really have a way
to format custom localised dates, so I tried to find the closest
approximations to what we currently have.

Relates to #69
This commit is contained in:
Nicolas Werner 2019-07-28 12:50:10 +02:00
parent 047966a069
commit 1c9cc33902
13 changed files with 668 additions and 193 deletions

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation>In Datei speichern</translation> <translation>In Datei speichern</translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation>Hochladen der Bilddatei fehlgeschlagen. Bitte versuche es erneut.</translation> <translation>Hochladen der Bilddatei fehlgeschlagen. Bitte versuche es erneut.</translation>
</message> </message>
@ -32,7 +32,7 @@
<translation>Hochladen der Videodatei fehlgeschlagen. Bitte versuche es erneut.</translation> <translation>Hochladen der Videodatei fehlgeschlagen. Bitte versuche es erneut.</translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation>Wiederherstellung des OLM Accounts fehlgeschlagen. Bitte logge dich erneut ein.</translation> <translation>Wiederherstellung des OLM Accounts fehlgeschlagen. Bitte logge dich erneut ein.</translation>
</message> </message>
@ -42,7 +42,7 @@
<translation type="unfinished">Nachrichten konnten nicht aus dem Cache geladen werden. Bitte melde dich erneut an.</translation> <translation type="unfinished">Nachrichten konnten nicht aus dem Cache geladen werden. Bitte melde dich erneut an.</translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation>Erstellung des Schlüsselmaterials fehlgeschlagen. Antwort des Servers: %1 %2. Bitte versuche es später erneut.</translation> <translation>Erstellung des Schlüsselmaterials fehlgeschlagen. Antwort des Servers: %1 %2. Bitte versuche es später erneut.</translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation>Datei speichern</translation> <translation>Datei speichern</translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation>Bild speichern</translation> <translation>Bild speichern</translation>
</message> </message>
@ -205,8 +205,8 @@
<translation>Teilnehmerliste</translation> <translation>Teilnehmerliste</translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
@ -277,7 +277,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -285,12 +285,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation>Raum verlassen</translation> <translation>Raum verlassen</translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation>Akzeptieren </translation> <translation>Akzeptieren </translation>
</message> </message>
@ -331,7 +331,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -354,13 +354,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation>Schreibe eine Nachricht...</translation> <translation>Schreibe eine Nachricht...</translation>
</message> </message>
@ -424,7 +424,12 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation>Benutzer einladen</translation> <translation>Benutzer einladen</translation>
</message> </message>
@ -460,7 +465,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation> tippt</translation> <translation> tippt</translation>
</message> </message>
@ -481,7 +486,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation>Ins Benachrichtigungsfeld minimieren</translation> <translation>Ins Benachrichtigungsfeld minimieren</translation>
</message> </message>
@ -521,12 +526,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation>Erscheinungsbild</translation> <translation>Erscheinungsbild</translation>
</message> </message>
@ -566,7 +576,7 @@
<translation>ALLGEMEINES</translation> <translation>ALLGEMEINES</translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -635,6 +645,14 @@
<translation>ANMELDEN</translation> <translation>ANMELDEN</translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -778,7 +796,7 @@ Medien-Größe: %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation>Lesebestätigungen</translation> <translation>Lesebestätigungen</translation>
</message> </message>
@ -793,6 +811,19 @@ Medien-Größe: %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1003,4 +1034,32 @@ Medien-Größe: %2
<translation>Flaggen</translation> <translation>Flaggen</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation>Αποθήκευση</translation> <translation>Αποθήκευση</translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -32,7 +32,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -42,7 +42,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation>Αποθήκευση</translation> <translation>Αποθήκευση</translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation>Αποθήκευση Εικόνας</translation> <translation>Αποθήκευση Εικόνας</translation>
</message> </message>
@ -205,8 +205,8 @@
<translation>Μέλη</translation> <translation>Μέλη</translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
@ -277,7 +277,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -285,12 +285,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation>Βγές</translation> <translation>Βγές</translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation>Αποδοχή</translation> <translation>Αποδοχή</translation>
</message> </message>
@ -331,7 +331,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -354,13 +354,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation>Γράψε ένα μήνυμα...</translation> <translation>Γράψε ένα μήνυμα...</translation>
</message> </message>
@ -424,7 +424,12 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation>Προσκάλεσε χρήστες</translation> <translation>Προσκάλεσε χρήστες</translation>
</message> </message>
@ -460,7 +465,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation> πληκτρολογεί</translation> <translation> πληκτρολογεί</translation>
</message> </message>
@ -481,7 +486,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation>Ελαχιστοποίηση</translation> <translation>Ελαχιστοποίηση</translation>
</message> </message>
@ -521,12 +526,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation>Φόντο</translation> <translation>Φόντο</translation>
</message> </message>
@ -566,7 +576,7 @@
<translation>ΓΕΝΙΚΑ</translation> <translation>ΓΕΝΙΚΑ</translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -635,6 +645,14 @@
<translation>ΕΙΣΟΔΟΣ</translation> <translation>ΕΙΣΟΔΟΣ</translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -776,7 +794,7 @@ Media size: %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -791,6 +809,19 @@ Media size: %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1001,4 +1032,32 @@ Media size: %2
<translation>Σημαίες</translation> <translation>Σημαίες</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation>Save File</translation> <translation>Save File</translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation>Failed to upload image. Please try again.</translation> <translation>Failed to upload image. Please try again.</translation>
</message> </message>
@ -32,7 +32,7 @@
<translation>Failed to upload video. Please try again.</translation> <translation>Failed to upload video. Please try again.</translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation>Failed to restore OLM account. Please login again.</translation> <translation>Failed to restore OLM account. Please login again.</translation>
</message> </message>
@ -42,7 +42,7 @@
<translation>Failed to restore save data. Please login again.</translation> <translation>Failed to restore save data. Please login again.</translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</translation> <translation>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation>Save File</translation> <translation>Save File</translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation>Save image</translation> <translation>Save image</translation>
</message> </message>
@ -205,8 +205,8 @@
<translation>Room members</translation> <translation>Room members</translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
@ -277,7 +277,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation>no version stored</translation> <translation>no version stored</translation>
</message> </message>
@ -285,12 +285,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation>Leave room</translation> <translation>Leave room</translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation>Accept</translation> <translation>Accept</translation>
</message> </message>
@ -331,7 +331,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -354,13 +354,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -424,7 +424,12 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -460,7 +465,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -481,7 +486,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -521,12 +526,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -566,7 +576,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -635,6 +645,14 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -776,7 +794,7 @@ Media size: %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -791,6 +809,19 @@ Media size: %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1001,4 +1032,32 @@ Media size: %2
<translation type="unfinished">Flags</translation> <translation type="unfinished">Flags</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation>Enregistrer le fichier</translation> <translation>Enregistrer le fichier</translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -32,7 +32,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -42,7 +42,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation>Enregistrer le fichier</translation> <translation>Enregistrer le fichier</translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation>Enregistrer l&apos;image</translation> <translation>Enregistrer l&apos;image</translation>
</message> </message>
@ -205,8 +205,8 @@
<translation>Membres du salon</translation> <translation>Membres du salon</translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
@ -278,7 +278,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -286,12 +286,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation>Quitter le salon</translation> <translation>Quitter le salon</translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation>Accepter</translation> <translation>Accepter</translation>
</message> </message>
@ -332,7 +332,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -355,13 +355,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation>Écrivez un message...</translation> <translation>Écrivez un message...</translation>
</message> </message>
@ -425,7 +425,12 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation>Inviter des utilisateurs</translation> <translation>Inviter des utilisateurs</translation>
</message> </message>
@ -461,7 +466,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation> est en train d&apos;écrire</translation> <translation> est en train d&apos;écrire</translation>
</message> </message>
@ -482,7 +487,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation>Réduire à la barre des tâches</translation> <translation>Réduire à la barre des tâches</translation>
</message> </message>
@ -522,12 +527,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation>Thème</translation> <translation>Thème</translation>
</message> </message>
@ -567,7 +577,7 @@
<translation>GÉNÉRAL</translation> <translation>GÉNÉRAL</translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -636,6 +646,14 @@
<translation>CONNEXION</translation> <translation>CONNEXION</translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -779,7 +797,7 @@ Taille du média : %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation>Accusés de lecture</translation> <translation>Accusés de lecture</translation>
</message> </message>
@ -794,6 +812,19 @@ Taille du média : %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1004,4 +1035,32 @@ Taille du média : %2
<translation>Drapeaux</translation> <translation>Drapeaux</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation>Bestand opslaan</translation> <translation>Bestand opslaan</translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -32,7 +32,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -42,7 +42,7 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation>Bestand opslaan</translation> <translation>Bestand opslaan</translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation>Afbeelding opslaan</translation> <translation>Afbeelding opslaan</translation>
</message> </message>
@ -205,8 +205,8 @@
<translation>Kamerleden</translation> <translation>Kamerleden</translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
@ -277,7 +277,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -285,12 +285,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation>Kamer verlaten</translation> <translation>Kamer verlaten</translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation>Accepteren</translation> <translation>Accepteren</translation>
</message> </message>
@ -331,7 +331,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -354,13 +354,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation>Typ een bericht...</translation> <translation>Typ een bericht...</translation>
</message> </message>
@ -424,7 +424,12 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation>Gebruikers uitnodigen</translation> <translation>Gebruikers uitnodigen</translation>
</message> </message>
@ -460,7 +465,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation> is aan het typen</translation> <translation> is aan het typen</translation>
</message> </message>
@ -481,7 +486,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation>Minimaliseren naar systeemvak</translation> <translation>Minimaliseren naar systeemvak</translation>
</message> </message>
@ -521,12 +526,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation>Thema</translation> <translation>Thema</translation>
</message> </message>
@ -566,7 +576,7 @@
<translation>ALGEMEEN</translation> <translation>ALGEMEEN</translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -635,6 +645,14 @@
<translation>INLOGGEN</translation> <translation>INLOGGEN</translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -778,7 +796,7 @@ Mediagrootte: %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation>Leesbevestigingen</translation> <translation>Leesbevestigingen</translation>
</message> </message>
@ -793,6 +811,19 @@ Mediagrootte: %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1003,4 +1034,32 @@ Mediagrootte: %2
<translation>Vlaggen</translation> <translation>Vlaggen</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation>Zapisz plik</translation> <translation>Zapisz plik</translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation>Nie udało się wysłać obrazu. Spróbuj ponownie.</translation> <translation>Nie udało się wysłać obrazu. Spróbuj ponownie.</translation>
</message> </message>
@ -32,7 +32,7 @@
<translation>Nie udało się wysłać filmu. Spróbuj ponownie.</translation> <translation>Nie udało się wysłać filmu. Spróbuj ponownie.</translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation>Nie udało się przywrócić konta OLM. Spróbuj zalogować się ponownie.</translation> <translation>Nie udało się przywrócić konta OLM. Spróbuj zalogować się ponownie.</translation>
</message> </message>
@ -42,7 +42,7 @@
<translation>Nie udało się przywrócić zapisanych danych. Spróbuj zalogować się ponownie.</translation> <translation>Nie udało się przywrócić zapisanych danych. Spróbuj zalogować się ponownie.</translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation>Zapisz plik</translation> <translation>Zapisz plik</translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation>Zapisz obraz</translation> <translation>Zapisz obraz</translation>
</message> </message>
@ -205,8 +205,8 @@
<translation>Członkowie pokoju</translation> <translation>Członkowie pokoju</translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
@ -277,7 +277,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -285,12 +285,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation>Opuść pokój</translation> <translation>Opuść pokój</translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation>Akceptuj</translation> <translation>Akceptuj</translation>
</message> </message>
@ -331,7 +331,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation>Szyfrowana</translation> <translation>Szyfrowana</translation>
</message> </message>
@ -354,13 +354,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation>Wyślij plik</translation> <translation>Wyślij plik</translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation>Napisz wiadomość</translation> <translation>Napisz wiadomość</translation>
</message> </message>
@ -424,7 +424,12 @@
<translation>Ustawienia pokoju</translation> <translation>Ustawienia pokoju</translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation>Zaproś użytkowników</translation> <translation>Zaproś użytkowników</translation>
</message> </message>
@ -460,7 +465,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation> pisze</translation> <translation> pisze</translation>
</message> </message>
@ -481,7 +486,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation>Zminimalizuj do paska zadań</translation> <translation>Zminimalizuj do paska zadań</translation>
</message> </message>
@ -521,12 +526,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation>Motyw</translation> <translation>Motyw</translation>
</message> </message>
@ -566,7 +576,7 @@
<translation>OGÓLNE</translation> <translation>OGÓLNE</translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -635,6 +645,14 @@
<translation>ZALOGUJ SIĘ</translation> <translation>ZALOGUJ SIĘ</translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -778,7 +796,7 @@ Rozmiar multimediów: %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation>Potwierdzenia przeczytania</translation> <translation>Potwierdzenia przeczytania</translation>
</message> </message>
@ -793,6 +811,19 @@ Rozmiar multimediów: %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1006,4 +1037,32 @@ Rozmiar multimediów: %2
<translation>Flagi</translation> <translation>Flagi</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation>Сохранить файл</translation> <translation>Сохранить файл</translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation>Не удалось загрузить изображение. Пожалуйста, попробуйте еще раз.</translation> <translation>Не удалось загрузить изображение. Пожалуйста, попробуйте еще раз.</translation>
</message> </message>
@ -32,7 +32,7 @@
<translation>Не удалось загрузить видео. Пожалуйста, попробуйте еще раз.</translation> <translation>Не удалось загрузить видео. Пожалуйста, попробуйте еще раз.</translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation>Не удалось восстановить учетную запись OLM. Пожалуйста, войдите снова.</translation> <translation>Не удалось восстановить учетную запись OLM. Пожалуйста, войдите снова.</translation>
</message> </message>
@ -42,7 +42,7 @@
<translation>Не удалось восстановить сохраненные данные. Пожалуйста, войдите снова.</translation> <translation>Не удалось восстановить сохраненные данные. Пожалуйста, войдите снова.</translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation>Не удалось настроить ключи шифрования. Ответ сервера:%1 %2. Пожалуйста, попробуйте позже.</translation> <translation>Не удалось настроить ключи шифрования. Ответ сервера:%1 %2. Пожалуйста, попробуйте позже.</translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation>Сохранить файл</translation> <translation>Сохранить файл</translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation>Сохранить изображение</translation> <translation>Сохранить изображение</translation>
</message> </message>
@ -205,9 +205,9 @@
<translation>Участники комнаты</translation> <translation>Участники комнаты</translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context> <context>
@ -277,7 +277,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -285,12 +285,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation>Покинуть комнату</translation> <translation>Покинуть комнату</translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation>Принять</translation> <translation>Принять</translation>
</message> </message>
@ -331,7 +331,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation>Зашифровано</translation> <translation>Зашифровано</translation>
</message> </message>
@ -354,13 +354,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation>Отправить файл</translation> <translation>Отправить файл</translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation>Написать сообщение...</translation> <translation>Написать сообщение...</translation>
</message> </message>
@ -424,7 +424,12 @@
<translation>Настройки комнаты</translation> <translation>Настройки комнаты</translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation>Пригласить пользователей</translation> <translation>Пригласить пользователей</translation>
</message> </message>
@ -460,7 +465,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation> печатает</translation> <translation> печатает</translation>
</message> </message>
@ -481,7 +486,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation>Сворачивать в системную панель</translation> <translation>Сворачивать в системную панель</translation>
</message> </message>
@ -521,12 +526,17 @@
<translation>Размер шрифта</translation> <translation>Размер шрифта</translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation>Тема</translation> <translation>Тема</translation>
</message> </message>
@ -566,7 +576,7 @@
<translation>ГЛАВНОЕ</translation> <translation>ГЛАВНОЕ</translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation>Открыть файл сеансов</translation> <translation>Открыть файл сеансов</translation>
</message> </message>
@ -636,6 +646,14 @@
<translation>ВХОД</translation> <translation>ВХОД</translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -779,7 +797,7 @@ Media size: %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation>Подтверждать прочтение</translation> <translation>Подтверждать прочтение</translation>
</message> </message>
@ -794,6 +812,19 @@ Media size: %2
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1005,4 +1036,32 @@ Media size: %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -4,7 +4,7 @@
<context> <context>
<name>AudioItem</name> <name>AudioItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/>
<source>Save File</source> <source>Save File</source>
<translation></translation> <translation></translation>
</message> </message>
@ -12,7 +12,7 @@
<context> <context>
<name>ChatPage</name> <name>ChatPage</name>
<message> <message>
<location filename="../../src/ChatPage.cpp" line="+309"/> <location filename="../../src/ChatPage.cpp" line="+331"/>
<source>Failed to upload image. Please try again.</source> <source>Failed to upload image. Please try again.</source>
<translation></translation> <translation></translation>
</message> </message>
@ -32,7 +32,7 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location line="+376"/> <location line="+380"/>
<source>Failed to restore OLM account. Please login again.</source> <source>Failed to restore OLM account. Please login again.</source>
<translation> OLM </translation> <translation> OLM </translation>
</message> </message>
@ -42,7 +42,7 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location line="+169"/> <location line="+198"/>
<source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -118,7 +118,7 @@
<context> <context>
<name>FileItem</name> <name>FileItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/>
<source>Save File</source> <source>Save File</source>
<translation></translation> <translation></translation>
</message> </message>
@ -126,7 +126,7 @@
<context> <context>
<name>ImageItem</name> <name>ImageItem</name>
<message> <message>
<location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/>
<source>Save image</source> <source>Save image</source>
<translation></translation> <translation></translation>
</message> </message>
@ -205,8 +205,8 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location line="+33"/> <location line="+4"/>
<source>ESC</source> <source>OK</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
@ -277,7 +277,7 @@
<context> <context>
<name>RoomInfo</name> <name>RoomInfo</name>
<message> <message>
<location filename="../../src/Cache.cpp" line="+2204"/> <location filename="../../src/Cache.cpp" line="+2205"/>
<source>no version stored</source> <source>no version stored</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
@ -285,12 +285,12 @@
<context> <context>
<name>RoomInfoListItem</name> <name>RoomInfoListItem</name>
<message> <message>
<location filename="../../src/RoomInfoListItem.cpp" line="+92"/> <location filename="../../src/RoomInfoListItem.cpp" line="+93"/>
<source>Leave room</source> <source>Leave room</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location line="+174"/> <location line="+181"/>
<source>Accept</source> <source>Accept</source>
<translation></translation> <translation></translation>
</message> </message>
@ -331,7 +331,7 @@
<context> <context>
<name>StatusIndicator</name> <name>StatusIndicator</name>
<message> <message>
<location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/>
<source>Encrypted</source> <source>Encrypted</source>
<translation></translation> <translation></translation>
</message> </message>
@ -354,13 +354,13 @@
<context> <context>
<name>TextInputWidget</name> <name>TextInputWidget</name>
<message> <message>
<location filename="../../src/TextInputWidget.cpp" line="+506"/> <location filename="../../src/TextInputWidget.cpp" line="+507"/>
<source>Send a file</source> <source>Send a file</source>
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location line="+13"/> <location line="+13"/>
<location filename="../../src/TextInputWidget.h" line="+168"/> <location filename="../../src/TextInputWidget.h" line="+164"/>
<source>Write a message...</source> <source>Write a message...</source>
<translation>...</translation> <translation>...</translation>
</message> </message>
@ -424,7 +424,12 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location line="+28"/> <location line="+5"/>
<source>Mentions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+34"/>
<source>Invite users</source> <source>Invite users</source>
<translation></translation> <translation></translation>
</message> </message>
@ -460,7 +465,7 @@
<context> <context>
<name>TypingDisplay</name> <name>TypingDisplay</name>
<message> <message>
<location filename="../../src/TypingDisplay.cpp" line="+45"/> <location filename="../../src/TypingDisplay.cpp" line="+46"/>
<source> is typing</source> <source> is typing</source>
<translation> </translation> <translation> </translation>
</message> </message>
@ -481,7 +486,7 @@
<context> <context>
<name>UserSettingsPage</name> <name>UserSettingsPage</name>
<message> <message>
<location filename="../../src/UserSettingsPage.cpp" line="+156"/> <location filename="../../src/UserSettingsPage.cpp" line="+166"/>
<source>Minimize to tray</source> <source>Minimize to tray</source>
<translation></translation> <translation></translation>
</message> </message>
@ -521,12 +526,17 @@
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+11"/> <location line="+13"/>
<source>Font Family</source> <source>Font Family</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location line="+17"/> <location line="+1"/>
<source>Emoji Font Famly</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+33"/>
<source>Theme</source> <source>Theme</source>
<translation></translation> <translation></translation>
</message> </message>
@ -566,7 +576,7 @@
<translation></translation> <translation></translation>
</message> </message>
<message> <message>
<location line="+150"/> <location line="+156"/>
<source>Open Sessions File</source> <source>Open Sessions File</source>
<translation></translation> <translation></translation>
</message> </message>
@ -635,6 +645,14 @@
<translation></translation> <translation></translation>
</message> </message>
</context> </context>
<context>
<name>descriptiveTime</name>
<message>
<location filename="../../src/Utils.cpp" line="+104"/>
<source>Yesterday</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::CreateRoom</name> <name>dialogs::CreateRoom</name>
<message> <message>
@ -778,7 +796,7 @@ Media size: %2
<context> <context>
<name>dialogs::ReadReceipts</name> <name>dialogs::ReadReceipts</name>
<message> <message>
<location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/>
<source>Read receipts</source> <source>Read receipts</source>
<translation></translation> <translation></translation>
</message> </message>
@ -793,6 +811,19 @@ Media size: %2
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
</context> </context>
<context>
<name>dialogs::ReceiptItem</name>
<message>
<location line="-55"/>
<source>Today %1</source>
<translation type="unfinished"></translation>
</message>
<message>
<location line="+2"/>
<source>Yesterday %1</source>
<translation type="unfinished"></translation>
</message>
</context>
<context> <context>
<name>dialogs::RoomSettings</name> <name>dialogs::RoomSettings</name>
<message> <message>
@ -1012,4 +1043,32 @@ Media size: %2
<translation>Flags</translation> <translation>Flags</translation>
</message> </message>
</context> </context>
<context>
<name>utils</name>
<message>
<location filename="../../src/Utils.cpp" line="+46"/>
<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>
</context>
</TS> </TS>

View File

@ -99,13 +99,13 @@ utils::descriptiveTime(const QDateTime &then)
const auto days = then.daysTo(now); const auto days = then.daysTo(now);
if (days == 0) if (days == 0)
return then.toString("HH:mm"); return then.time().toString(Qt::DefaultLocaleShortDate);
else if (days < 2) else if (days < 2)
return QString("Yesterday"); return QString(QCoreApplication::translate("descriptiveTime", "Yesterday"));
else if (days < 365) else if (days < 7)
return then.toString("dd/MM"); return then.toString("dddd");
return then.toString("dd/MM/yy"); return then.date().toString(Qt::DefaultLocaleShortDate);
} }
DescInfo DescInfo
@ -147,7 +147,7 @@ utils::getMessageDescription(const TimelineEvent &event,
DescInfo info; DescInfo info;
if (sender == localUser) if (sender == localUser)
info.username = "You"; info.username = QCoreApplication::translate("utils", "You");
else else
info.username = username; info.username = username;
@ -366,16 +366,16 @@ utils::getQuoteBody(const RelatedInfo &related)
return markdownToHtml(related.quoted_body); return markdownToHtml(related.quoted_body);
} }
case MsgType::File: { case MsgType::File: {
return QString("sent a file."); return QString(QCoreApplication::translate("utils", "sent a file."));
} }
case MsgType::Image: { case MsgType::Image: {
return QString("sent an image."); return QString(QCoreApplication::translate("utils", "sent an image."));
} }
case MsgType::Audio: { case MsgType::Audio: {
return QString("sent an audio file."); return QString(QCoreApplication::translate("utils", "sent an audio file."));
} }
case MsgType::Video: { case MsgType::Video: {
return QString("sent a video"); return QString(QCoreApplication::translate("utils", "sent a video"));
} }
default: { default: {
return related.quoted_body; return related.quoted_body;

View File

@ -97,7 +97,7 @@ MemberList::MemberList(const QString &room_id, QWidget *parent)
topLabel_->setAlignment(Qt::AlignCenter); topLabel_->setAlignment(Qt::AlignCenter);
topLabel_->setFont(font); topLabel_->setFont(font);
auto okBtn = new QPushButton("OK", this); auto okBtn = new QPushButton(tr("OK"), this);
auto buttonLayout = new QHBoxLayout(); auto buttonLayout = new QHBoxLayout();
buttonLayout->setSpacing(15); buttonLayout->setSpacing(15);
@ -126,7 +126,7 @@ MemberList::MemberList(const QString &room_id, QWidget *parent)
qCritical() << e.what(); qCritical() << e.what();
} }
auto closeShortcut = new QShortcut(QKeySequence(tr("ESC")), this); auto closeShortcut = new QShortcut(QKeySequence("ESC"), this);
connect(closeShortcut, &QShortcut::activated, this, &MemberList::close); connect(closeShortcut, &QShortcut::activated, this, &MemberList::close);
connect(okBtn, &QPushButton::clicked, this, &MemberList::close); connect(okBtn, &QPushButton::clicked, this, &MemberList::close);
} }

View File

@ -78,13 +78,15 @@ ReceiptItem::dateFormat(const QDateTime &then) const
auto days = then.daysTo(now); auto days = then.daysTo(now);
if (days == 0) if (days == 0)
return QString("Today %1").arg(then.toString("HH:mm")); return tr("Today %1").arg(then.time().toString(Qt::DefaultLocaleShortDate));
else if (days < 2) else if (days < 2)
return QString("Yesterday %1").arg(then.toString("HH:mm")); return tr("Yesterday %1").arg(then.time().toString(Qt::DefaultLocaleShortDate));
else if (days < 365) else if (days < 7)
return then.toString("dd/MM HH:mm"); return QString("%1 %2")
.arg(then.toString("dddd"))
.arg(then.time().toString(Qt::DefaultLocaleShortDate));
return then.toString("dd/MM/yy"); return then.toString(Qt::DefaultLocaleShortDate);
} }
ReadReceipts::ReadReceipts(QWidget *parent) ReadReceipts::ReadReceipts(QWidget *parent)

View File

@ -951,4 +951,4 @@ TimelineItem::openRawMessageViewer() const
"failed to serialize event ({}, {})", room_id, event_id); "failed to serialize event ({}, {})", room_id, event_id);
} }
}); });
} }

View File

@ -2,6 +2,7 @@
#include "Config.h" #include "Config.h"
#include <QDateTime> #include <QDateTime>
#include <QLocale>
#include <QPainter> #include <QPainter>
#include <QPen> #include <QPen>
#include <QtGlobal> #include <QtGlobal>
@ -61,14 +62,14 @@ DateSeparator::DateSeparator(QDateTime datetime, QWidget *parent)
{ {
auto now = QDateTime::currentDateTime(); auto now = QDateTime::currentDateTime();
QString fmt; QString fmt = QLocale::system().dateFormat(QLocale::LongFormat);
if (now.date().year() != datetime.date().year()) if (now.date().year() == datetime.date().year()) {
fmt = QString("ddd d MMMM yy"); QRegularExpression rx("[^a-zA-Z]*y+[^a-zA-Z]*");
else fmt = fmt.remove(rx);
fmt = QString("ddd d MMMM"); }
msg_ = datetime.toString(fmt); msg_ = datetime.date().toString(fmt);
QFontMetrics fm{font()}; QFontMetrics fm{font()};
#if QT_VERSION < QT_VERSION_CHECK(5, 11, 0) #if QT_VERSION < QT_VERSION_CHECK(5, 11, 0)