diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-07-28 12:50:10 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-07-28 12:55:08 +0200 |
commit | 1c9cc33902d8242ec25b4416a1662ee6c9902583 (patch) | |
tree | 6d7b32f32b98fdd3efc02dfc3ee43f3db4d41db7 /resources/langs/nheko_zh_CN.ts | |
parent | Translated using Weblate (German) (diff) | |
download | nheko-1c9cc33902d8242ec25b4416a1662ee6c9902583.tar.xz |
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
Diffstat (limited to 'resources/langs/nheko_zh_CN.ts')
-rw-r--r-- | resources/langs/nheko_zh_CN.ts | 101 |
1 files changed, 80 insertions, 21 deletions
diff --git a/resources/langs/nheko_zh_CN.ts b/resources/langs/nheko_zh_CN.ts index ca7c6e22..08463cd7 100644 --- a/resources/langs/nheko_zh_CN.ts +++ b/resources/langs/nheko_zh_CN.ts @@ -4,7 +4,7 @@ <context> <name>AudioItem</name> <message> - <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+117"/> + <location filename="../../src/timeline/widgets/AudioItem.cpp" line="+118"/> <source>Save File</source> <translation>保存文件</translation> </message> @@ -12,7 +12,7 @@ <context> <name>ChatPage</name> <message> - <location filename="../../src/ChatPage.cpp" line="+309"/> + <location filename="../../src/ChatPage.cpp" line="+331"/> <source>Failed to upload image. Please try again.</source> <translation>上传图像失败。请重试。</translation> </message> @@ -32,7 +32,7 @@ <translation>上传视频失败。请重试。</translation> </message> <message> - <location line="+376"/> + <location line="+380"/> <source>Failed to restore OLM account. Please login again.</source> <translation>恢复 OLM 账户失败。请重新登录。</translation> </message> @@ -42,7 +42,7 @@ <translation>恢复保存的数据失败。请重新登录。</translation> </message> <message> - <location line="+169"/> + <location line="+198"/> <source>Failed to setup encryption keys. Server response: %1 %2. Please try again later.</source> <translation type="unfinished"></translation> </message> @@ -118,7 +118,7 @@ <context> <name>FileItem</name> <message> - <location filename="../../src/timeline/widgets/FileItem.cpp" line="+106"/> + <location filename="../../src/timeline/widgets/FileItem.cpp" line="+107"/> <source>Save File</source> <translation>保存文件</translation> </message> @@ -126,7 +126,7 @@ <context> <name>ImageItem</name> <message> - <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+238"/> + <location filename="../../src/timeline/widgets/ImageItem.cpp" line="+241"/> <source>Save image</source> <translation>保存图像</translation> </message> @@ -205,8 +205,8 @@ <translation>聊天室成员</translation> </message> <message> - <location line="+33"/> - <source>ESC</source> + <location line="+4"/> + <source>OK</source> <translation type="unfinished"></translation> </message> </context> @@ -277,7 +277,7 @@ <context> <name>RoomInfo</name> <message> - <location filename="../../src/Cache.cpp" line="+2204"/> + <location filename="../../src/Cache.cpp" line="+2205"/> <source>no version stored</source> <translation type="unfinished"></translation> </message> @@ -285,12 +285,12 @@ <context> <name>RoomInfoListItem</name> <message> - <location filename="../../src/RoomInfoListItem.cpp" line="+92"/> + <location filename="../../src/RoomInfoListItem.cpp" line="+93"/> <source>Leave room</source> <translation>离开聊天室</translation> </message> <message> - <location line="+174"/> + <location line="+181"/> <source>Accept</source> <translation>接受</translation> </message> @@ -331,7 +331,7 @@ <context> <name>StatusIndicator</name> <message> - <location filename="../../src/timeline/TimelineItem.cpp" line="+106"/> + <location filename="../../src/timeline/TimelineItem.cpp" line="+107"/> <source>Encrypted</source> <translation>加密的</translation> </message> @@ -354,13 +354,13 @@ <context> <name>TextInputWidget</name> <message> - <location filename="../../src/TextInputWidget.cpp" line="+506"/> + <location filename="../../src/TextInputWidget.cpp" line="+507"/> <source>Send a file</source> <translation>发送一个文件</translation> </message> <message> <location line="+13"/> - <location filename="../../src/TextInputWidget.h" line="+168"/> + <location filename="../../src/TextInputWidget.h" line="+164"/> <source>Write a message...</source> <translation>写一条消息...</translation> </message> @@ -424,7 +424,12 @@ <translation>聊天室选项</translation> </message> <message> - <location line="+28"/> + <location line="+5"/> + <source>Mentions</source> + <translation type="unfinished"></translation> + </message> + <message> + <location line="+34"/> <source>Invite users</source> <translation>邀请用户</translation> </message> @@ -460,7 +465,7 @@ <context> <name>TypingDisplay</name> <message> - <location filename="../../src/TypingDisplay.cpp" line="+45"/> + <location filename="../../src/TypingDisplay.cpp" line="+46"/> <source> is typing</source> <translation> 正在打字</translation> </message> @@ -481,7 +486,7 @@ <context> <name>UserSettingsPage</name> <message> - <location filename="../../src/UserSettingsPage.cpp" line="+156"/> + <location filename="../../src/UserSettingsPage.cpp" line="+166"/> <source>Minimize to tray</source> <translation>最小化至托盘</translation> </message> @@ -521,12 +526,17 @@ <translation type="unfinished"></translation> </message> <message> - <location line="+11"/> + <location line="+13"/> <source>Font Family</source> <translation type="unfinished"></translation> </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> <translation>主题</translation> </message> @@ -566,7 +576,7 @@ <translation>通用</translation> </message> <message> - <location line="+150"/> + <location line="+156"/> <source>Open Sessions File</source> <translation>打开会话文件</translation> </message> @@ -636,6 +646,14 @@ </message> </context> <context> + <name>descriptiveTime</name> + <message> + <location filename="../../src/Utils.cpp" line="+104"/> + <source>Yesterday</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> <name>dialogs::CreateRoom</name> <message> <location filename="../../src/dialogs/CreateRoom.cpp" line="+36"/> @@ -778,7 +796,7 @@ Media size: %2 <context> <name>dialogs::ReadReceipts</name> <message> - <location filename="../../src/dialogs/ReadReceipts.cpp" line="+119"/> + <location filename="../../src/dialogs/ReadReceipts.cpp" line="+121"/> <source>Read receipts</source> <translation>阅读回执</translation> </message> @@ -794,6 +812,19 @@ Media size: %2 </message> </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> <name>dialogs::RoomSettings</name> <message> <location filename="../../src/dialogs/RoomSettings.cpp" line="+113"/> @@ -1012,4 +1043,32 @@ Media size: %2 <translation>Flags</translation> </message> </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> |