Merge branch 'feat/addUnencryptedWarning' into 'develop'

feat: add unencrypted messaging warning in chat

Co-authored-by: Lhcfl <Lhcfl@outlook.com>

See merge request firefish/firefish!10695
This commit is contained in:
naskya 2024-03-06 18:27:34 +00:00
commit 914857a484
3 changed files with 6 additions and 0 deletions

View file

@ -2220,3 +2220,4 @@ _iconSets:
moreUrls: "Pinned pages"
moreUrlsDescription: "Enter the pages you want to pin to the help menu in the lower
left corner using this notation:\n\"Display name\": https://example.com/"
messagingUnencryptedInfo: "Chats on Firefish are not end-to-end encrypted. Don't share any sensitive infomation over Firefish."

View file

@ -2049,3 +2049,4 @@ searchWordsDescription: "要搜索帖子,请输入关键词。交集搜索关
searchRangeDescription: "如果您要过滤时间段请按以下格式输入20220615-20231031\n\n如果您省略年份例如 0105-0106
或 20231105-0110它将被解释为当前年份。\n\n您还可以省略开始日期或结束日期。 例如 -0102 将过滤搜索结果以仅显示今年 1 月 2 日之前发布的帖子,而
20231026- 将过滤结果以仅显示 2023 年 10 月 26 日之后发布的帖子。"
messagingUnencryptedInfo: "Firefish 上的聊天没有经过端到端加密,请不要在聊天中分享您的敏感信息。"

View file

@ -8,6 +8,9 @@
/></template>
<div>
<MkSpacer :content-max="800">
<MkInfo :closeable="false" class="_gap">
<I18n :src="i18n.ts.messagingUnencryptedInfo"> </I18n>
</MkInfo>
<swiper
:round-lengths="true"
:touch-angle="25"
@ -94,6 +97,7 @@ import { Virtual } from "swiper/modules";
import { Swiper, SwiperSlide } from "swiper/vue";
import MkButton from "@/components/MkButton.vue";
import MkChatPreview from "@/components/MkChatPreview.vue";
import MkInfo from "@/components/MkInfo.vue";
import MkPagination from "@/components/MkPagination.vue";
import * as os from "@/os";
import { useStream } from "@/stream";