mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
更新国际化支持:为自定义规则卡片添加多语言文本,提升用户体验
This commit is contained in:
@@ -1614,4 +1614,44 @@ export default {
|
||||
emptyTitle: 'Actions',
|
||||
},
|
||||
},
|
||||
customRule: {
|
||||
error: {
|
||||
emptyIdName: 'Rule ID and rule name cannot be empty',
|
||||
idOccupied: 'Current rule ID is occupied by built-in rule',
|
||||
nameOccupied: 'Current rule name is occupied by built-in rule',
|
||||
idExists: 'Rule ID [{id}] already exists',
|
||||
nameExists: 'Rule name [{name}] already exists',
|
||||
},
|
||||
title: '{id} - Configuration',
|
||||
field: {
|
||||
ruleId: 'Rule ID',
|
||||
ruleName: 'Rule Name',
|
||||
include: 'Include',
|
||||
exclude: 'Exclude',
|
||||
sizeRange: 'Size (MB)',
|
||||
seeders: 'Seeders',
|
||||
publishTime: 'Publish Time (min)',
|
||||
},
|
||||
placeholder: {
|
||||
ruleId: 'Required; no duplicate with other rule IDs',
|
||||
ruleName: 'Required; no duplicate with other rule names',
|
||||
include: 'Keywords/Regex',
|
||||
exclude: 'Keywords/Regex',
|
||||
sizeRange: '0/1-10',
|
||||
seeders: '0/1-10',
|
||||
publishTime: '0/1-10',
|
||||
},
|
||||
hint: {
|
||||
ruleId: 'Combination of letters and numbers; no spaces',
|
||||
ruleName: 'Use alias for easy identification',
|
||||
include: 'Keywords or regex that must be included, separated by |',
|
||||
exclude: 'Keywords or regex that must not be included, separated by |',
|
||||
sizeRange: 'Minimum resource file size or range (MB)',
|
||||
seeders: 'Minimum number of seeders or range',
|
||||
publishTime: 'Minimum time since publication or range (min)',
|
||||
},
|
||||
action: {
|
||||
confirm: 'Confirm',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1592,4 +1592,44 @@ export default {
|
||||
emptyTitle: '操作',
|
||||
},
|
||||
},
|
||||
customRule: {
|
||||
error: {
|
||||
emptyIdName: '规则ID和规则名称不能为空',
|
||||
idOccupied: '当前规则ID已被内置规则占用',
|
||||
nameOccupied: '当前规则名称已被内置规则占用',
|
||||
idExists: '规则ID【{id}】已存在',
|
||||
nameExists: '规则名称【{name}】已存在',
|
||||
},
|
||||
title: '{id} - 配置',
|
||||
field: {
|
||||
ruleId: '规则ID',
|
||||
ruleName: '规则名称',
|
||||
include: '包含',
|
||||
exclude: '排除',
|
||||
sizeRange: '资源体积(MB)',
|
||||
seeders: '做种人数',
|
||||
publishTime: '发布时间(分钟)',
|
||||
},
|
||||
placeholder: {
|
||||
ruleId: '必填;不可与其他规则ID重名',
|
||||
ruleName: '必填;不可与其他规则名称重名',
|
||||
include: '关键字/正则表达式',
|
||||
exclude: '关键字/正则表达式',
|
||||
sizeRange: '0/1-10',
|
||||
seeders: '0/1-10',
|
||||
publishTime: '0/1-10',
|
||||
},
|
||||
hint: {
|
||||
ruleId: '字符与数字组合,不能含空格',
|
||||
ruleName: '使用别名便于区分规则',
|
||||
include: '必须包含的关键字或正则表达式,多个值使用|分隔',
|
||||
exclude: '不能包含的关键字或正则表达式,多个值使用|分隔',
|
||||
sizeRange: '最小资源文件体积或体积范围(剧集计算单集平均大小)',
|
||||
seeders: '最小做种人数或做种人数范围',
|
||||
publishTime: '距离资源发布的最小时间间隔或时间区间',
|
||||
},
|
||||
action: {
|
||||
confirm: '确定',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1589,4 +1589,44 @@ export default {
|
||||
emptyTitle: '操作',
|
||||
},
|
||||
},
|
||||
customRule: {
|
||||
error: {
|
||||
emptyIdName: '規則ID和規則名稱不能為空',
|
||||
idOccupied: '當前規則ID已被內置規則佔用',
|
||||
nameOccupied: '當前規則名稱已被內置規則佔用',
|
||||
idExists: '規則ID【{id}】已存在',
|
||||
nameExists: '規則名稱【{name}】已存在',
|
||||
},
|
||||
title: '{id} - 配置',
|
||||
field: {
|
||||
ruleId: '規則ID',
|
||||
ruleName: '規則名稱',
|
||||
include: '包含',
|
||||
exclude: '排除',
|
||||
sizeRange: '資源體積(MB)',
|
||||
seeders: '做種人數',
|
||||
publishTime: '發佈時間(分鐘)',
|
||||
},
|
||||
placeholder: {
|
||||
ruleId: '必填;不可與其他規則ID重名',
|
||||
ruleName: '必填;不可與其他規則名稱重名',
|
||||
include: '關鍵詞/正則表達式',
|
||||
exclude: '關鍵詞/正則表達式',
|
||||
sizeRange: '0/1-10',
|
||||
seeders: '0/1-10',
|
||||
publishTime: '0/1-10',
|
||||
},
|
||||
hint: {
|
||||
ruleId: '字符與數字組合,不能含空格',
|
||||
ruleName: '使用別名便於區分規則',
|
||||
include: '必須包含的關鍵詞或正則表達式,多個值使用|分隔',
|
||||
exclude: '不能包含的關鍵詞或正則表達式,多個值使用|分隔',
|
||||
sizeRange: '最小資源文件體積或體積範圍(劇集計算單集平均大小)',
|
||||
seeders: '最小做種人數或做種人數範圍',
|
||||
publishTime: '距離資源發佈的最小時間間隔或時間區間',
|
||||
},
|
||||
action: {
|
||||
confirm: '確定',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user