diff --git a/locals.js b/locals.js index 693f64108..9d6a638ef 100644 --- a/locals.js +++ b/locals.js @@ -65,7 +65,7 @@ I18N.conf = { * 忽略区域的 class 正则 * * 代码编辑器 内容 代码高亮 CodeMirror - * 代码编辑器 最小单元 cm-line + * 代码编辑器 最小单元 cm-line ͼ.* * 代码高亮 blob-code * 仓库名和用户名 repo-and-owner (已知出现在:应用安装授权页和设置页 选定仓库) * 文件,目录位置栏 |js-path-segment|final-path @@ -83,9 +83,9 @@ I18N.conf = { * 搜索页 搜索结果 search-match * 追溯 视图 代码 react-code-text * tree 视图 文件名 react-directory-filename-column 提交信息 react-directory-commit-message - * 代码差异页面 pl-c1 + * 代码差异页面 代码 pl-.* */ - reIgnoreClass: /(cm-line|CodeMirror|blob-code|highlight-.*|repo-and-owner|js-path-segment|final-path|files js-navigation-container|js-comment-body|js-preview-body|comment-form-textarea|markdown-title|js-tree-finder-virtual-filter|js-navigation-open Link--primary|js-modifier-key|capped-list-label|blob-code blob-code-inner js-file-line|pl-token|Link--primary no-underline text-bold|markdown-body my-3|f4 my-3|commit-author|search-match|react-directory-filename-column|react-directory-commit-message|react-code-text|pl-c1)/, + reIgnoreClass: /(cm-line|ͼ.*|pl-.*|CodeMirror|blob-code|highlight-.*|repo-and-owner|js-path-segment|final-path|files js-navigation-container|js-comment-body|js-preview-body|comment-form-textarea|markdown-title|js-tree-finder-virtual-filter|js-navigation-open Link--primary|js-modifier-key|capped-list-label|blob-code blob-code-inner js-file-line|markdown-body my-3|f4 my-3|commit-author|search-match|react-directory-filename-column|react-directory-commit-message|react-code-text)/, /** * 忽略区域的 itemprop 属性正则