Closed lethargicScribe closed 3 months ago
参考 #19 后,正文可以翻译,如下图 但是仍有结尾部分和评论区无法翻译, 如下 现在的规则设置如下:
{
"pattern": "steamcommunity.com",
"selector": ":is(li, p, h1, h2, h3, h4, h5, h6, dd, blockquote, .kiss-p)",
"keepSelector": "code, img, svg, pre",
"terms": "",
"translator": "Microsoft",
"fromLang": "auto",
"toLang": "zh-CN",
"textStyle": "dash_line",
"transOpen": "true",
"bgColor": "",
"textDiyStyle": "",
"selectStyle": "-webkit-line-clamp: unset; max-height: none; height: auto;",
"parentStyle": "-webkit-line-clamp: unset; max-height: none; height: auto;",
"injectJs": "",
"injectCss": "",
"transOnly": "false",
"transTiming": "mk_pagescroll",
"transTag": "span",
"transTitle": "false",
"detectRemote": "false",
"skipLangs": [],
"fixerSelector": "#highlightContent",
"fixerFunc": "br",
"transStartHook": "",
"transEndHook": "",
"transRemoveHook": ""
}
参考:
:is(li, p, h1, h2, h3, h4, h5, h6, dd, blockquote, .kiss-p), .workshopItemTitle
.workshopItemDescription, .bb_ul, .commentthread_comment_text
大佬, 厉害了
示例页面 https://steamcommunity.com/workshop/filedetails/?id=3231731155 如图所示, 基本上,描述部分的标题和正文都无法翻译,