fix: i18n `current`
This commit is contained in:
parent
73fa639305
commit
3343b05f9e
|
|
@ -145,5 +145,8 @@
|
|||
},
|
||||
"preview": {
|
||||
"message": "Preview"
|
||||
},
|
||||
"current": {
|
||||
"message": "Current"
|
||||
}
|
||||
}
|
||||
|
|
@ -145,5 +145,8 @@
|
|||
},
|
||||
"preview": {
|
||||
"message": "预览"
|
||||
},
|
||||
"current": {
|
||||
"message": "当前"
|
||||
}
|
||||
}
|
||||
|
|
@ -146,13 +146,13 @@ export function getPageRSSHub(data: {
|
|||
(parsed) => {
|
||||
if (parsed) {
|
||||
result.push({
|
||||
title: formatBlank(rules[domain]._name ? 'Current' : '', rule[recog.handler].title),
|
||||
title: formatBlank(rules[domain]._name ? chrome.i18n.getMessage('current') : '', rule[recog.handler].title),
|
||||
url: '{rsshubDomain}' + parsed,
|
||||
path: parsed,
|
||||
});
|
||||
} else {
|
||||
result.push({
|
||||
title: formatBlank(rules[domain]._name ? 'Current' : '', rule[recog.handler].title),
|
||||
title: formatBlank(rules[domain]._name ? chrome.i18n.getMessage('current') : '', rule[recog.handler].title),
|
||||
url: rule[recog.handler].docs,
|
||||
isDocs: true,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue