Skip to content

Commit

Permalink
Fix 评论预览被翻译 #23
Browse files Browse the repository at this point in the history
  • Loading branch information
maboloshi committed Jul 1, 2023
1 parent 20573d6 commit cbf48cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion locals.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ I18N.conf = {
* 文件,目录位置栏 |js-path-segment|final-path
* 文件列表 files js-navigation-container js-active-navigation-container
* 评论内容等 js-comment-body
* 评论预览 js-preview-body
* 评论编辑区域 comment-form-textarea
* 文件搜索模式 js-tree-finder-virtual-filter
* 仓库文件列表 js-navigation-open Link--primary
Expand All @@ -81,7 +82,7 @@ I18N.conf = {
* 提交的用户名 commit-author
* 搜索页 搜索结果 search-match
*/
reIgnoreClass: /(CodeMirror|blob-code|highlight-.*|repo-and-owner|js-path-segment|final-path|files js-navigation-container|js-comment-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|react-code-text|react-file-line|AppHeader-globalBar-start|commit-author|search-match)/,
reIgnoreClass: /(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|react-code-text|react-file-line|AppHeader-globalBar-start|commit-author|search-match)/,

/**
* 忽略区域的 itemprop 属性正则
Expand Down

0 comments on commit cbf48cc

Please sign in to comment.