From 8aafabacfc7cf0da1c4fc7dd0b97c56e0030a8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=99=E6=BC=A0=E4=B9=8B=E5=AD=90?= <7850715+maboloshi@users.noreply.github.com> Date: Wed, 3 Jul 2024 16:49:39 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=96=B0=E5=A2=9E`reIgnoreClass`?= =?UTF-8?q?=E8=A7=84=E5=88=99=EF=BC=9A`Truncate-text`=E5=8F=91=E8=A1=8C?= =?UTF-8?q?=E7=89=88=E9=99=84=E4=BB=B6=E5=90=8D=E7=A7=B0=E7=AD=89`?= =?UTF-8?q?=E6=88=AA=E6=96=AD=E6=96=87=E6=9C=AC`"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0ba80181ccbe7fb41f1e94044f22caa0d3588759. --- locals.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/locals.js b/locals.js index 36daffb21..eb8165554 100644 --- a/locals.js +++ b/locals.js @@ -186,9 +186,8 @@ I18N.conf = { * 追溯 视图 代码 react-code-text * tree 视图 文件名 react-directory-filename-column 提交信息 react-directory-commit-message * 代码差异页面 代码 pl-s1|pl-smi|pl-token|pl-c1|pl-kos|pl-k|pl-c|pl-en - * 发行版附件名称等`截断文本` */ - reIgnoreClass: /(cm-line|ͼ.*|pl-s1|pl-smi|pl-token|pl-c1|pl-kos|pl-k|pl-c|pl-en|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|zausi|Truncate-text)/, + reIgnoreClass: /(cm-line|ͼ.*|pl-s1|pl-smi|pl-token|pl-c1|pl-kos|pl-k|pl-c|pl-en|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|zausi)/, /** * 忽略区域的 itemprop 属性正则