mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
fix(contacts): localize source type labels
This commit is contained in:
1 parent
103df0eba9
commit
dfd330e6bb
5 files changed
+21
-1
No files matched your search
@@ -49,6 +49,10 @@
|
||||
"score": "Score",
|
||||
"lastInteraction": "Last interaction",
|
||||
"sources": "Source chats",
|
||||
"sourceType": {
|
||||
"private": "Private",
|
||||
"group": "Group"
|
||||
},
|
||||
"aliases": "Aliases",
|
||||
"signals": "Interaction signals",
|
||||
"emptyTitle": "Select a contact",
|
||||
|
||||
@@ -49,6 +49,10 @@
|
||||
"score": "総合スコア",
|
||||
"lastInteraction": "最終インタラクション",
|
||||
"sources": "元チャット",
|
||||
"sourceType": {
|
||||
"private": "個人",
|
||||
"group": "グループ"
|
||||
},
|
||||
"aliases": "別名",
|
||||
"signals": "やり取りのシグナル",
|
||||
"emptyTitle": "連絡先を選択",
|
||||
|
||||
@@ -49,6 +49,10 @@
|
||||
"score": "综合分",
|
||||
"lastInteraction": "最近互动",
|
||||
"sources": "来源会话",
|
||||
"sourceType": {
|
||||
"private": "私聊",
|
||||
"group": "群聊"
|
||||
},
|
||||
"aliases": "别名",
|
||||
"signals": "互动信号",
|
||||
"emptyTitle": "选择一个联系人",
|
||||
|
||||
@@ -49,6 +49,10 @@
|
||||
"score": "綜合分",
|
||||
"lastInteraction": "最近互動",
|
||||
"sources": "來源會話",
|
||||
"sourceType": {
|
||||
"private": "私聊",
|
||||
"group": "群聊"
|
||||
},
|
||||
"aliases": "別名",
|
||||
"signals": "互動訊號",
|
||||
"emptyTitle": "選擇一個聯絡人",
|
||||
|
||||
@@ -674,7 +674,11 @@ function syncScroll(pool: ContactPoolTab, e: Event) {
|
||||
<span
|
||||
class="flex items-center gap-1 text-[10px] font-bold text-gray-400 transition group-hover/item:text-pink-500 dark:text-gray-500"
|
||||
>
|
||||
{{ source.type === 'private' ? '私聊' : '群聊' }}
|
||||
{{
|
||||
source.type === 'private'
|
||||
? t('contacts.detail.sourceType.private')
|
||||
: t('contacts.detail.sourceType.group')
|
||||
}}
|
||||
<UIcon
|
||||
name="i-lucide-arrow-up-right"
|
||||
class="h-3 w-3 transition-transform group-hover/item:translate-x-0.5 group-hover/item:-translate-y-0.5"
|
||||
|
||||
Reference in new issue
Block a user