File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 374374 "get_backup_files_failed" : " 获取备份文件失败" ,
375375 "develop_mode_guide" : " 检测到当前未开启开发者模式,您的脚本无法正常使用,<a href=\" https://docs.scriptcat.org/docs/use/open-dev/\" target=\" black\" style=\" color: var(--color-text-1)\" >👉点我了解如何开启</a>" ,
376376 "allow_user_script_guide" : " 检测到当前未开启允许用户脚本,您的脚本无法正常使用,<a href=\" https://docs.scriptcat.org/docs/use/open-dev/\" target=\" black\" style=\" color: var(--color-text-1)\" >👉点我了解如何开启</a>" ,
377+ "lower_version_browser_guide" : " 检测到当前浏览器版本过低,您的脚本无法正常使用,<a href=\" https://docs.scriptcat.org/docs/use/open-dev/\" target=\" black\" style=\" color: var(--color-text-1)\" >👉点我了解更多</a>" ,
377378 "enable_script_failed" : " 脚本开启失败" ,
378379 "disable_script_failed" : " 脚本关闭失败" ,
379380 "confirm_leave_page" : " 当前正在编辑状态,跳转其它页面将会丢失当前内容,是否跳转?" ,
Original file line number Diff line number Diff line change @@ -97,7 +97,11 @@ function App() {
9797 dangerouslySetInnerHTML = { {
9898 __html :
9999 // Edge浏览器目前没有允许用户脚本选项,开启开发者模式即可
100- getBrowserVersion ( ) >= 138 && ! isEdge ( ) ? t ( "allow_user_script_guide" ) : t ( "develop_mode_guide" ) ,
100+ getBrowserVersion ( ) < 120
101+ ? t ( "lower_version_browser_guide" )
102+ : getBrowserVersion ( ) >= 138 && ! isEdge ( )
103+ ? t ( "allow_user_script_guide" )
104+ : t ( "develop_mode_guide" ) ,
101105 } }
102106 />
103107 }
You can’t perform that action at this time.
0 commit comments