Skip to content

Commit

Permalink
DDL 复 DDL
Browse files Browse the repository at this point in the history
🐛 修正联系人列表拼音无法搜索的问题
🐛 (in) 修正图标卡片在非移动平台显示的问题
  • Loading branch information
Stapxs committed Jan 2, 2025
1 parent 1bf6e91 commit 40a0974
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

.opt-main-tab,
.main-body > div > div[name="主页"] {
margin-top: calc(1px - var(--safe-area-bottom))!important;
height: calc(100% + var(--safe-area-top) + var(--safe-area-bottom)) !important;
margin-top: calc(1px - var(--safe-area-top)) !important;
height: calc(100% + var(--safe-area-top) + var(--safe-area-bottom) - 20px) !important;
}

.chat-pan {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/assets/l10n/en-US.po
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ msgid "没救了,拖出去吧"
msgstr "Sometimes a CPR would help :)"

#: src/pages/options/OptDev.vue:30
msgid "这儿是兼容性相关的高级选项,包括 bot 附加功能、热插拔组件等。"
msgid "这儿是兼容性相关的高级选项,这些选项通常会自动识别,如果出现了不正确的情况你也可以手动调整。"
msgstr "Advanced options for bot compatibility and additional settings"

#: src/pages/options/OptDev.vue:87
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/assets/l10n/zh-CAT.po
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ msgid "一些好玩的主题!"
msgstr "要用这个联系喵星吗"

#: src/pages/options/OptDev.vue:30
msgid "这儿是兼容性相关的高级选项,包括 bot 附加功能、热插拔组件等。"
msgid "这儿是兼容性相关的高级选项,这些选项通常会自动识别,如果出现了不正确的情况你也可以手动调整。"
msgstr ""

#: src/pages/options/OptDev.vue:88
Expand Down Expand Up @@ -428,4 +428,4 @@ msgstr "在 Cathub 上反馈问题"

#: src/pages/options/OptDev.vue:60
msgid "不同框架之间的化学反应我们将其称之为达利园效应"
msgstr "不同的喵星之间可是会打起来的!"
msgstr "不同的喵星之间可是会打起来的!"
2 changes: 1 addition & 1 deletion src/renderer/src/assets/l10n/zh-CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ msgid "没救了,拖出去吧"
msgstr ""

#: src/pages/options/OptDev.vue:30
msgid "这儿是兼容性相关的高级选项,包括 bot 附加功能、热插拔组件等。"
msgid "这儿是兼容性相关的高级选项,这些选项通常会自动识别,如果出现了不正确的情况你也可以手动调整。"
msgstr ""

#: src/pages/options/OptDev.vue:87
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/assets/l10n/zh-TW.po
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ msgid "没救了,拖出去吧"
msgstr "「這個嘛,我想是這樣子啦:他真的沒救了。」"

#: src/pages/options/OptDev.vue:30
msgid "这儿是兼容性相关的高级选项,包括 bot 附加功能、热插拔组件等。"
msgid "这儿是兼容性相关的高级选项,这些选项通常会自动识别,如果出现了不正确的情况你也可以手动调整。"
msgstr "這裡是關於 Bot 相容性的進階選項,包括 Bot 的附加功能等。"

#: src/pages/options/OptDev.vue:87
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/assets/l10n/zh-YUE.po
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ msgid "没救了,拖出去吧"
msgstr "Call 999 save your life"

#: src/pages/options/OptDev.vue:30
msgid "这儿是兼容性相关的高级选项,包括 bot 附加功能、热插拔组件等。"
msgid "这儿是兼容性相关的高级选项,这些选项通常会自动识别,如果出现了不正确的情况你也可以手动调整。"
msgstr "呢度係同 bot 相容性有關嘅進階選項,包括一哋 bot 的附加功能等。"

#: src/pages/options/OptDev.vue:87
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/function/msg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ function saveUser(msg: { [key: string]: any }, type: string) {
pinyin.convertToPinyin(item.remark)
}
if (list && list[index]) {
list[index].py_name = py_name
list[index].py_name = py_name.toLowerCase()
list[index].py_start = py_name.substring(0, 1).toUpperCase()
}
// 构建分类
Expand Down
3 changes: 1 addition & 2 deletions src/renderer/src/pages/Friends.vue
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,7 @@
const id = item.user_id? item.user_id: item.group_id
return (
id.toString() === value ||
(value.length > 4 &&
py.indexOf(value.toLowerCase()) != -1) ||
py.indexOf(value.toLowerCase()) != -1 ||
name.indexOf(value.toLowerCase()) != -1
)
},
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/options/OptDev.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="tip">
{{
$t(
'这儿是兼容性相关的高级选项,包括 bot 附加功能、热插拔组件等。',
'这儿是兼容性相关的高级选项,这些选项通常会自动识别,如果出现了不正确的情况你也可以手动调整。',
)
}}
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/pages/options/OptView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
</select>
</div>
</div>
<div class="ss-card">
<div v-if="runtimeData.tags.isCapacitor" class="ss-card">
<header>{{ $t('图标') }}</header>
<div v-if="runtimeData.tags.isCapacitor" class="icon-list">
<div class="icon-list">
<div v-for="item in getIconList()"
:key="item.name"
:class="item.name === usedIcon ? 'selected' : ''"
Expand Down

0 comments on commit 40a0974

Please sign in to comment.