refactor: 重新设计词表页面

This commit is contained in:
jxxghp
2026-07-03 08:37:44 +08:00
parent b212e066b6
commit 6bbac7db7d
5 changed files with 1003 additions and 421 deletions

View File

@@ -80,6 +80,7 @@ export function useShortcutTools() {
subtitle: t('shortcut.words.subtitle'),
icon: 'mdi-file-word-box',
dialog: 'words',
bodyClass: 'words-shortcut-dialog-body pa-0',
component: WordsView,
maxWidth: '60rem',
titleText: t('shortcut.words.subtitle'),

View File

@@ -2090,6 +2090,23 @@ export default {
custom: 'Custom Notification',
},
words: {
summary: '{sections} word lists · {entries} entries',
sectionListLabel: 'Word list categories',
switchHint: 'Select an item on the left to edit it',
entryCount: '{count} entries',
ruleCount: '{count} rules',
listLabel: 'Word list content (one rule per line)',
saved: 'Saved',
unsaved: 'Unsaved changes',
saveChanges: 'Save changes',
guideTitle: 'Syntax tips',
dragToSort: 'Drag to reorder',
noRules: 'No episode format rules yet',
identifiersShort: 'Identifiers',
releaseGroupsShort: 'Groups',
customizationShort: 'Placeholders',
excludeWordsShort: 'Block words',
episodeFormatRuleShort: 'Episode rules',
customIdentifiers: 'Custom Identifiers',
identifiersDesc: 'Add rules to preprocess torrent names or file names to correct identification',
identifiersPlaceholder: 'Support regular expressions, special characters need \\ escape, one line for each rule',

View File

@@ -2054,6 +2054,23 @@ export default {
custom: '自定义通知',
},
words: {
summary: '共 {sections} 类词表 · {entries} 条配置',
sectionListLabel: '词表分类',
switchHint: '点击左侧项目切换编辑',
entryCount: '{count} 条',
ruleCount: '共 {count} 条规则',
listLabel: '词表内容(每行一个规则)',
saved: '已保存',
unsaved: '有未保存修改',
saveChanges: '保存更改',
guideTitle: '语法提示',
dragToSort: '拖动调整顺序',
noRules: '暂无集数定位规则',
identifiersShort: '识别词',
releaseGroupsShort: '制作组',
customizationShort: '占位符',
excludeWordsShort: '屏蔽词',
episodeFormatRuleShort: '集数规则',
customIdentifiers: '自定义识别词',
identifiersDesc: '添加规则对种子名或者文件名进行预处理以校正识别',
identifiersPlaceholder: '支持正则表达式,特殊字符需要\\转义,一行为一组',

View File

@@ -2053,6 +2053,23 @@ export default {
custom: '自定義通知',
},
words: {
summary: '共 {sections} 類詞表 · {entries} 條配置',
sectionListLabel: '詞表分類',
switchHint: '點擊左側項目切換編輯',
entryCount: '{count} 條',
ruleCount: '共 {count} 條規則',
listLabel: '詞表內容(每行一個規則)',
saved: '已保存',
unsaved: '有未保存修改',
saveChanges: '保存更改',
guideTitle: '語法提示',
dragToSort: '拖動調整順序',
noRules: '暫無集數定位規則',
identifiersShort: '識別詞',
releaseGroupsShort: '製作組',
customizationShort: '占位符',
excludeWordsShort: '屏蔽詞',
episodeFormatRuleShort: '集數規則',
customIdentifiers: '自定義識別詞',
identifiersDesc: '添加規則對種子名或者文件名進行預處理以校正識別',
identifiersPlaceholder: '支持正則表達式,特殊字符需要\\轉義,一行為一組',

File diff suppressed because it is too large Load Diff