-
Notifications
You must be signed in to change notification settings - Fork 3.2k
feat(monitor): add websites list display for monitor #8361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,7 @@ | ||
| # title | ||
| VITE_GLOB_APP_TITLE = '1Panel' | ||
|
|
||
| # port | ||
| VITE_PORT = 4004 | ||
|
|
||
| # open 运行 npm run dev 时自动打开浏览器 | ||
| VITE_OPEN = false | ||
|
|
||
| # 是否生成包预览文件 | ||
| VITE_REPORT = false | ||
|
|
||
| # 是否开启gzip压缩 | ||
| VITE_BUILD_GZIP = false | ||
|
|
||
| # 是否删除生产环境 console | ||
| VITE_DROP_CONSOLE = true | ||
|
|
||
|
|
||
| PANEL_XPACK = false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,6 @@ | ||
| # 本地环境 | ||
| NODE_ENV = 'development' | ||
|
|
||
| # 本地环境接口地址 | ||
| VITE_API_URL = '/api/v2' | ||
|
|
||
| # 是否生成包预览文件 | ||
| VITE_REPORT = false | ||
|
|
||
| # 是否开启gzip压缩 | ||
| VITE_BUILD_GZIP = false | ||
|
|
||
| VITE_DROP_CONSOLE = true | ||
|
|
||
| PANEL_XPACK = true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,6 @@ | ||
| # 线上环境 | ||
| NODE_ENV = "production" | ||
|
|
||
| # 线上环境接口地址 | ||
| VITE_API_URL = '/api/v2' | ||
|
|
||
| # 是否生成包预览文件 | ||
| VITE_REPORT = true | ||
|
|
||
| # 是否开启gzip压缩 | ||
| VITE_BUILD_GZIP = false | ||
|
|
||
| VITE_DROP_CONSOLE = true | ||
|
|
||
| PANEL_XPACK = true |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3095,6 +3095,7 @@ const message = { | |
| logSaveSize: 'Maximum Log Save Size', | ||
| logSaveSizeHelper: 'This is the log save size for a single website', | ||
| '360se': '360 Security Browser', | ||
| websites: 'Website List', | ||
| }, | ||
| tamper: { | ||
| tamper: 'Website Tamper Protection', | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The provided code snippet appears to be part of an internationalization (i18n) file for a software application. It contains translations for key strings such as log save sizes and browser names. Here are some observations:
To address these points, you might want to adjust the content like this: const message = {
logSettings: {
logSaveSize: 'Maximum Log Save Size',
logSaveSizeHelper: 'This is the log save size for a single website',
},
browsers: {
'360se': '360 Security Browser',
},
protection: {
tamperProtection: 'Website Tamper Protection',
},
};This version consolidates duplicate entries and adds proper spacing between sections for clarity. Make sure to update any related usage in your application accordingly. |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2951,6 +2951,7 @@ const message = { | |
| logSaveSize: '最大ログ保存サイズ', | ||
| logSaveSizeHelper: 'これは単一ウェブサイトのログ保存サイズです', | ||
| '360se': '360 セキュリティブラウザ', | ||
| websites: 'ウェブサイトリスト', | ||
| }, | ||
| tamper: { | ||
| tamper: 'ウェブサイトの改ざん防止', | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The provided difference appears to be from an update to a localization file (likely for a product like Firefox Add-ons). The key you added is Key Points:
Overall, your translation looks good and contributes positively to the overall user experience by offering localized options for users who may speak Japanese. |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good overall. Here are a few minor suggestions:
Usefunction call at the beginning of the file seems unnecessary since there's no middleware being added to handle any specific concerns.Overall, the code is clear and functional with some slight improvements that can enhance maintainability and clarity.