Compare commits

...

41 Commits

Author SHA1 Message Date
sepakeloudest c8401af672 🐛 fix: 更新next版本 2025-12-07 05:59:23 -08:00
semantic-release-bot ea3964ebe5 🔖 chore(release): v1.6.1 [skip ci]
## [1.6.1](https://github.com/perfect-panel/ppanel-web/compare/v1.6.0...v1.6.1) (2025-11-05)

### 🐛 Bug Fixes

* Fixing issues with generating standard and quantum-resistant encryption keys ([5eac6a9](https://github.com/perfect-panel/ppanel-web/commit/5eac6a9))
2025-11-05 04:45:55 +00:00
web 5eac6a9f4a 🐛 fix: Fixing issues with generating standard and quantum-resistant encryption keys 2025-11-04 20:40:53 -08:00
web@ppanel 2182400adc Merge pull request #61 from Ember-Moth/main
fix: 服务器编辑时合并协议默认配置
2025-11-04 19:51:05 -08:00
Ember Moth 5318b9cf44 Refactor protocol configuration logic in server form 2025-11-02 16:48:41 +08:00
semantic-release-bot 705391f82a 🔖 chore(release): v1.6.0 [skip ci]
# [1.6.0](https://github.com/perfect-panel/ppanel-web/compare/v1.5.4...v1.6.0) (2025-10-28)

###  Features

* Add server installation dialog and commands ([4429c9d](https://github.com/perfect-panel/ppanel-web/commit/4429c9d))

### 🐛 Bug Fixes

* Add typeRoots configuration to ensure type definitions are resolved correctly ([ad60ea9](https://github.com/perfect-panel/ppanel-web/commit/ad60ea9))
2025-10-28 09:13:37 +00:00
web 4429c9ddc9 feat: Add server installation dialog and commands 2025-10-28 02:10:12 -07:00
web ad60ea9b18 🐛 fix: Add typeRoots configuration to ensure type definitions are resolved correctly 2025-10-27 04:05:20 -07:00
semantic-release-bot 5025fd1103 🔖 chore(release): v1.5.4 [skip ci]
## [1.5.4](https://github.com/perfect-panel/ppanel-web/compare/v1.5.3...v1.5.4) (2025-10-26)

### 🐛 Bug Fixes

* Update generateRealityKeyPair to use async key generation ([e60e369](https://github.com/perfect-panel/ppanel-web/commit/e60e369))
* Update the wallet localization file and add new fields such as automatic reset and recharge ([88aa965](https://github.com/perfect-panel/ppanel-web/commit/88aa965))
2025-10-26 18:24:43 +00:00
web 88aa9656b2 🐛 fix: Update the wallet localization file and add new fields such as automatic reset and recharge 2025-10-26 11:20:52 -07:00
web e60e369bbe 🐛 fix: Update generateRealityKeyPair to use async key generation 2025-10-26 08:48:52 -07:00
semantic-release-bot c3d0ef8317 🔖 chore(release): v1.5.3 [skip ci]
## [1.5.3](https://github.com/perfect-panel/ppanel-web/compare/v1.5.2...v1.5.3) (2025-10-21)

### 🐛 Bug Fixes

* Fix bugs ([a46657d](https://github.com/perfect-panel/ppanel-web/commit/a46657d))
* Fix dependencies ([8bd25d6](https://github.com/perfect-panel/ppanel-web/commit/8bd25d6))
* Remove unnecessary migration function code and add device configuration options ([521a7a9](https://github.com/perfect-panel/ppanel-web/commit/521a7a9))
* Update bun.lockb to reflect dependency changes ([ca892dd](https://github.com/perfect-panel/ppanel-web/commit/ca892dd))
2025-10-21 12:32:02 +00:00
web 8bd25d651b 🐛 fix: Fix dependencies 2025-10-21 05:28:40 -07:00
web ca892dd359 🐛 fix: Update bun.lockb to reflect dependency changes 2025-10-21 04:38:50 -07:00
web 521a7a97fb 🐛 fix: Remove unnecessary migration function code and add device configuration options 2025-10-21 04:33:29 -07:00
web a46657d5ef 🐛 fix: Fix bugs 2025-10-21 04:10:34 -07:00
semantic-release-bot c2bfee1f31 🔖 chore(release): v1.5.2 [skip ci]
## [1.5.2](https://github.com/perfect-panel/ppanel-web/compare/v1.5.1...v1.5.2) (2025-09-29)

### 🐛 Bug Fixes

* Add step attribute to datetime-local inputs for precise time selection in forms ([32fd181](https://github.com/perfect-panel/ppanel-web/commit/32fd181))
* Rename 'hysteria2' to 'hysteria' across protocol definitions and schemas for consistency ([5816dd5](https://github.com/perfect-panel/ppanel-web/commit/5816dd5))
* Update protocol options in ServerConfig for accuracy and consistency ([9266529](https://github.com/perfect-panel/ppanel-web/commit/9266529))
2025-09-29 10:01:27 +00:00
web 32fd181b52 🐛 fix: Add step attribute to datetime-local inputs for precise time selection in forms 2025-09-29 02:43:39 -07:00
web 5816dd5198 🐛 fix: Rename 'hysteria2' to 'hysteria' across protocol definitions and schemas for consistency 2025-09-29 02:32:28 -07:00
web 92665293ec 🐛 fix: Update protocol options in ServerConfig for accuracy and consistency 2025-09-29 02:18:16 -07:00
semantic-release-bot ec1e402419 🔖 chore(release): v1.5.1 [skip ci]
## [1.5.1](https://github.com/perfect-panel/ppanel-web/compare/v1.5.0...v1.5.1) (2025-09-28)

### 🐛 Bug Fixes

* Simplify protocol enable checks by removing unnecessary false comparisons ([4828700](https://github.com/perfect-panel/ppanel-web/commit/4828700))
2025-09-28 16:24:12 +00:00
web 4828700776 🐛 fix: Simplify protocol enable checks by removing unnecessary false comparisons 2025-09-28 09:19:54 -07:00
semantic-release-bot 35e1cef18e 🔖 chore(release): v1.5.0 [skip ci]
# [1.5.0](https://github.com/perfect-panel/ppanel-web/compare/v1.4.8...v1.5.0) (2025-09-28)

###  Features

* Update server configuration translations for multiple languages ([fc43de1](https://github.com/perfect-panel/ppanel-web/commit/fc43de1))

### 🐛 Bug Fixes

* Add DynamicMultiplier component for managing node multipliers and update ServersPage layout ([bb6671c](https://github.com/perfect-panel/ppanel-web/commit/bb6671c))
* Remove unnecessary blank lines in multiple index files for cleaner code structure ([6a823b8](https://github.com/perfect-panel/ppanel-web/commit/6a823b8))
* Remove unused ratio variable from server traffic log and server form for cleaner code ([55034dc](https://github.com/perfect-panel/ppanel-web/commit/55034dc))
* Update Badge variants and restructure traffic ratio display in ServersPage ([3d778e5](https://github.com/perfect-panel/ppanel-web/commit/3d778e5))
* Update minimum ratio value to 0 in protocol fields and adjust related schemas; enhance unit conversion in ServerConfig ([3b6ef17](https://github.com/perfect-panel/ppanel-web/commit/3b6ef17))
* Update protocol fields to use 'obfs' instead of 'security' and adjust related configurations ([4abdd36](https://github.com/perfect-panel/ppanel-web/commit/4abdd36))
2025-09-28 16:03:36 +00:00
web 55034dc97d 🐛 fix: Remove unused ratio variable from server traffic log and server form for cleaner code 2025-09-28 09:01:03 -07:00
web 6a823b8faa 🐛 fix: Remove unnecessary blank lines in multiple index files for cleaner code structure 2025-09-28 08:49:52 -07:00
web 3b6ef177ba 🐛 fix: Update minimum ratio value to 0 in protocol fields and adjust related schemas; enhance unit conversion in ServerConfig 2025-09-28 08:48:17 -07:00
web 3d778e5e36 🐛 fix: Update Badge variants and restructure traffic ratio display in ServersPage 2025-09-28 07:23:28 -07:00
web 4abdd367ee 🐛 fix: Update protocol fields to use 'obfs' instead of 'security' and adjust related configurations 2025-09-28 06:57:41 -07:00
web fc43de16f0 feat: Update server configuration translations for multiple languages
- Added new keys for server configuration actions and descriptions in Russian, Thai, Turkish, Ukrainian, Vietnamese, Chinese (Simplified and Traditional).
- Removed outdated configuration structure and replaced it with a more organized server_config object.
- Enhanced the dynamic Inputs component to support textarea input type for better user experience.
2025-09-24 06:05:24 -07:00
web bb6671c14f 🐛 fix: Add DynamicMultiplier component for managing node multipliers and update ServersPage layout 2025-09-24 03:00:37 -07:00
semantic-release-bot 47f66030db 🔖 chore(release): v1.4.8 [skip ci]
## [1.4.8](https://github.com/perfect-panel/ppanel-web/compare/v1.4.7...v1.4.8) (2025-09-23)

### 🐛 Bug Fixes

* Rename 'server_id' to 'protocol' in NodesPage and clean up unused imports and code in ServerConfig ([70b3484](https://github.com/perfect-panel/ppanel-web/commit/70b3484))
* Update announcement page to display timeline of announcements with Markdown content ([3c036eb](https://github.com/perfect-panel/ppanel-web/commit/3c036eb))
* Update Empty component to support border prop and adjust usage in various pages ([ce9ab89](https://github.com/perfect-panel/ppanel-web/commit/ce9ab89))
2025-09-23 13:11:32 +00:00
web 70b3484f98 🐛 fix: Rename 'server_id' to 'protocol' in NodesPage and clean up unused imports and code in ServerConfig 2025-09-23 06:08:36 -07:00
web 3c036eb09c 🐛 fix: Update announcement page to display timeline of announcements with Markdown content 2025-09-23 05:48:25 -07:00
web ce9ab89c1c 🐛 fix: Update Empty component to support border prop and adjust usage in various pages 2025-09-23 05:46:21 -07:00
semantic-release-bot bb0a811432 🔖 chore(release): v1.4.7 [skip ci]
## [1.4.7](https://github.com/perfect-panel/ppanel-web/compare/v1.4.6...v1.4.7) (2025-09-23)

### 🐛 Bug Fixes

* Add unique key to ProTable for improved rendering with user ID filters ([2bff15f](https://github.com/perfect-panel/ppanel-web/commit/2bff15f))
* Adjust layout spacing and chart aspect ratio in ServerConfig component ([05a61d8](https://github.com/perfect-panel/ppanel-web/commit/05a61d8))
* Refactor server ID cell rendering for improved readability and consistency ([0345b7c](https://github.com/perfect-panel/ppanel-web/commit/0345b7c))
* Update announcement page to format creation date and enhance content display ([8445e30](https://github.com/perfect-panel/ppanel-web/commit/8445e30))
* Update OnlineUsersCell to display user count with icon instead of badge ([7a4ebdf](https://github.com/perfect-panel/ppanel-web/commit/7a4ebdf))
* Update subscribe name fallback to return '--' instead of 'Unknown' ([0a07d25](https://github.com/perfect-panel/ppanel-web/commit/0a07d25))
2025-09-23 12:16:40 +00:00
web 8445e302e6 🐛 fix: Update announcement page to format creation date and enhance content display 2025-09-23 05:12:36 -07:00
web 2bff15fd13 🐛 fix: Add unique key to ProTable for improved rendering with user ID filters 2025-09-23 05:04:33 -07:00
web 0345b7cced 🐛 fix: Refactor server ID cell rendering for improved readability and consistency 2025-09-23 05:01:17 -07:00
web 7a4ebdf985 🐛 fix: Update OnlineUsersCell to display user count with icon instead of badge 2025-09-23 04:46:33 -07:00
web 05a61d8bf2 🐛 fix: Adjust layout spacing and chart aspect ratio in ServerConfig component 2025-09-23 04:42:55 -07:00
web 0a07d2578e 🐛 fix: Update subscribe name fallback to return '--' instead of 'Unknown' 2025-09-23 04:40:35 -07:00
107 changed files with 7450 additions and 1097 deletions
+108 -15
View File
@@ -1,36 +1,129 @@
<a name="readme-top"></a> <a name="readme-top"></a>
# Changelog # Changelog
## [1.4.6](https://github.com/perfect-panel/ppanel-web/compare/v1.4.5...v1.4.6) (2025-09-17) ## [1.6.1](https://github.com/perfect-panel/ppanel-web/compare/v1.6.0...v1.6.1) (2025-11-05)
### 🐛 Bug Fixes
* Fixing issues with generating standard and quantum-resistant encryption keys ([5eac6a9](https://github.com/perfect-panel/ppanel-web/commit/5eac6a9))
<a name="readme-top"></a>
# Changelog
# [1.6.0](https://github.com/perfect-panel/ppanel-web/compare/v1.5.4...v1.6.0) (2025-10-28)
### ✨ Features
- Add server installation dialog and commands ([4429c9d](https://github.com/perfect-panel/ppanel-web/commit/4429c9d))
### 🐛 Bug Fixes
- Add typeRoots configuration to ensure type definitions are resolved correctly ([ad60ea9](https://github.com/perfect-panel/ppanel-web/commit/ad60ea9))
<a name="readme-top"></a>
# Changelog
## [1.5.4](https://github.com/perfect-panel/ppanel-web/compare/v1.5.3...v1.5.4) (2025-10-26)
### 🐛 Bug Fixes
- Update generateRealityKeyPair to use async key generation ([e60e369](https://github.com/perfect-panel/ppanel-web/commit/e60e369))
- Update the wallet localization file and add new fields such as automatic reset and recharge ([88aa965](https://github.com/perfect-panel/ppanel-web/commit/88aa965))
## [1.5.3](https://github.com/perfect-panel/ppanel-web/compare/v1.5.2...v1.5.3) (2025-10-21)
### 🐛 Bug Fixes
- Fix bugs ([a46657d](https://github.com/perfect-panel/ppanel-web/commit/a46657d))
- Fix dependencies ([8bd25d6](https://github.com/perfect-panel/ppanel-web/commit/8bd25d6))
- Remove unnecessary migration function code and add device configuration options ([521a7a9](https://github.com/perfect-panel/ppanel-web/commit/521a7a9))
- Update bun.lockb to reflect dependency changes ([ca892dd](https://github.com/perfect-panel/ppanel-web/commit/ca892dd))
<a name="readme-top"></a>
# Changelog
## [1.5.2](https://github.com/perfect-panel/ppanel-web/compare/v1.5.1...v1.5.2) (2025-09-29)
### 🐛 Bug Fixes
- Add step attribute to datetime-local inputs for precise time selection in forms ([32fd181](https://github.com/perfect-panel/ppanel-web/commit/32fd181))
- Rename 'hysteria2' to 'hysteria' across protocol definitions and schemas for consistency ([5816dd5](https://github.com/perfect-panel/ppanel-web/commit/5816dd5))
- Update protocol options in ServerConfig for accuracy and consistency ([9266529](https://github.com/perfect-panel/ppanel-web/commit/9266529))
## [1.5.1](https://github.com/perfect-panel/ppanel-web/compare/v1.5.0...v1.5.1) (2025-09-28)
### 🐛 Bug Fixes
- Simplify protocol enable checks by removing unnecessary false comparisons ([4828700](https://github.com/perfect-panel/ppanel-web/commit/4828700))
# [1.5.0](https://github.com/perfect-panel/ppanel-web/compare/v1.4.8...v1.5.0) (2025-09-28)
### ✨ Features
- Update server configuration translations for multiple languages ([fc43de1](https://github.com/perfect-panel/ppanel-web/commit/fc43de1))
### 🐛 Bug Fixes
- Add DynamicMultiplier component for managing node multipliers and update ServersPage layout ([bb6671c](https://github.com/perfect-panel/ppanel-web/commit/bb6671c))
- Remove unnecessary blank lines in multiple index files for cleaner code structure ([6a823b8](https://github.com/perfect-panel/ppanel-web/commit/6a823b8))
- Remove unused ratio variable from server traffic log and server form for cleaner code ([55034dc](https://github.com/perfect-panel/ppanel-web/commit/55034dc))
- Update Badge variants and restructure traffic ratio display in ServersPage ([3d778e5](https://github.com/perfect-panel/ppanel-web/commit/3d778e5))
- Update minimum ratio value to 0 in protocol fields and adjust related schemas; enhance unit conversion in ServerConfig ([3b6ef17](https://github.com/perfect-panel/ppanel-web/commit/3b6ef17))
- Update protocol fields to use 'obfs' instead of 'security' and adjust related configurations ([4abdd36](https://github.com/perfect-panel/ppanel-web/commit/4abdd36))
<a name="readme-top"></a>
# Changelog
## [1.4.8](https://github.com/perfect-panel/ppanel-web/compare/v1.4.7...v1.4.8) (2025-09-23)
### 🐛 Bug Fixes
- Rename 'server_id' to 'protocol' in NodesPage and clean up unused imports and code in ServerConfig ([70b3484](https://github.com/perfect-panel/ppanel-web/commit/70b3484))
- Update announcement page to display timeline of announcements with Markdown content ([3c036eb](https://github.com/perfect-panel/ppanel-web/commit/3c036eb))
- Update Empty component to support border prop and adjust usage in various pages ([ce9ab89](https://github.com/perfect-panel/ppanel-web/commit/ce9ab89))
## [1.4.7](https://github.com/perfect-panel/ppanel-web/compare/v1.4.6...v1.4.7) (2025-09-23)
### 🐛 Bug Fixes
- Add unique key to ProTable for improved rendering with user ID filters ([2bff15f](https://github.com/perfect-panel/ppanel-web/commit/2bff15f))
- Adjust layout spacing and chart aspect ratio in ServerConfig component ([05a61d8](https://github.com/perfect-panel/ppanel-web/commit/05a61d8))
- Refactor server ID cell rendering for improved readability and consistency ([0345b7c](https://github.com/perfect-panel/ppanel-web/commit/0345b7c))
- Update announcement page to format creation date and enhance content display ([8445e30](https://github.com/perfect-panel/ppanel-web/commit/8445e30))
- Update OnlineUsersCell to display user count with icon instead of badge ([7a4ebdf](https://github.com/perfect-panel/ppanel-web/commit/7a4ebdf))
- Update subscribe name fallback to return '--' instead of 'Unknown' ([0a07d25](https://github.com/perfect-panel/ppanel-web/commit/0a07d25))
## [1.4.6](https://github.com/perfect-panel/ppanel-web/compare/v1.4.5...v1.4.6) (2025-09-17)
### 🎫 Chores ### 🎫 Chores
* Merge branch 'main' into develop ([41f06bf](https://github.com/perfect-panel/ppanel-web/commit/41f06bf)) - Merge branch 'main' into develop ([41f06bf](https://github.com/perfect-panel/ppanel-web/commit/41f06bf))
### 🐛 Bug Fixes ### 🐛 Bug Fixes
* Add loaded state to node, server, and subscribe stores for better loading management ([13dce0c](https://github.com/perfect-panel/ppanel-web/commit/13dce0c)) - Add loaded state to node, server, and subscribe stores for better loading management ([13dce0c](https://github.com/perfect-panel/ppanel-web/commit/13dce0c))
* Removed node metadata fields in subscription schema to simplify structure ([0cadd83](https://github.com/perfect-panel/ppanel-web/commit/0cadd83)) - Removed node metadata fields in subscription schema to simplify structure ([0cadd83](https://github.com/perfect-panel/ppanel-web/commit/0cadd83))
## [1.4.5](https://github.com/perfect-panel/ppanel-web/compare/v1.4.4...v1.4.5) (2025-09-17) ## [1.4.5](https://github.com/perfect-panel/ppanel-web/compare/v1.4.4...v1.4.5) (2025-09-17)
### ♻ Code Refactoring ### ♻ Code Refactoring
* Replace useQuery with Zustand store for subscription and node data management ([c6dd0b6](https://github.com/perfect-panel/ppanel-web/commit/c6dd0b6)) - Replace useQuery with Zustand store for subscription and node data management ([c6dd0b6](https://github.com/perfect-panel/ppanel-web/commit/c6dd0b6))
* Simplify TemplatePreview component structure by consolidating Sheet and Button elements ([1b715c5](https://github.com/perfect-panel/ppanel-web/commit/1b715c5)) - Simplify TemplatePreview component structure by consolidating Sheet and Button elements ([1b715c5](https://github.com/perfect-panel/ppanel-web/commit/1b715c5))
### 🐛 Bug Fixes ### 🐛 Bug Fixes
* Add showLineNumbers prop handling in MonacoEditor for improved placeholder positioning ([bd67ece](https://github.com/perfect-panel/ppanel-web/commit/bd67ece)) - Add showLineNumbers prop handling in MonacoEditor for improved placeholder positioning ([bd67ece](https://github.com/perfect-panel/ppanel-web/commit/bd67ece))
* Add fetchTags method to NodesPage and ensure tags are fetched alongside nodes ([a3c5e31](https://github.com/perfect-panel/ppanel-web/commit/a3c5e31)) - Add fetchTags method to NodesPage and ensure tags are fetched alongside nodes ([a3c5e31](https://github.com/perfect-panel/ppanel-web/commit/a3c5e31))
* Add NEXT_PUBLIC_HIDDEN_TUTORIAL_DOCUMENT to control tutorial visibility and update page query accordingly ([e94405d](https://github.com/perfect-panel/ppanel-web/commit/e94405d)) - Add NEXT_PUBLIC_HIDDEN_TUTORIAL_DOCUMENT to control tutorial visibility and update page query accordingly ([e94405d](https://github.com/perfect-panel/ppanel-web/commit/e94405d))
* Add subscribeSchema for subscription management with detailed proxy and user information ([49b3dcc](https://github.com/perfect-panel/ppanel-web/commit/49b3dcc)) - Add subscribeSchema for subscription management with detailed proxy and user information ([49b3dcc](https://github.com/perfect-panel/ppanel-web/commit/49b3dcc))
* Enhance server ID display in ServerTrafficLogPage with badges and server ratio ([6dfac27](https://github.com/perfect-panel/ppanel-web/commit/6dfac27)) - Enhance server ID display in ServerTrafficLogPage with badges and server ratio ([6dfac27](https://github.com/perfect-panel/ppanel-web/commit/6dfac27))
* Update platform handling in Content component to ensure available platforms are correctly filtered and displayed ([1dde708](https://github.com/perfect-panel/ppanel-web/commit/1dde708)) - Update platform handling in Content component to ensure available platforms are correctly filtered and displayed ([1dde708](https://github.com/perfect-panel/ppanel-web/commit/1dde708))
<a name="readme-top"></a> <a name="readme-top"></a>
@@ -225,6 +225,7 @@ export default function AdsForm<T extends Record<string, any>>({
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='datetime-local' type='datetime-local'
step='1'
placeholder={t('form.enterStartTime')} placeholder={t('form.enterStartTime')}
value={field.value ? new Date(field.value).toISOString().slice(0, 16) : ''} value={field.value ? new Date(field.value).toISOString().slice(0, 16) : ''}
min={Number(new Date().toISOString().slice(0, 16))} min={Number(new Date().toISOString().slice(0, 16))}
@@ -253,6 +254,7 @@ export default function AdsForm<T extends Record<string, any>>({
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='datetime-local' type='datetime-local'
step='1'
placeholder={t('form.enterEndTime')} placeholder={t('form.enterEndTime')}
value={ value={
field.value ? new Date(field.value).toISOString().slice(0, 16) : '' field.value ? new Date(field.value).toISOString().slice(0, 16) : ''
@@ -41,13 +41,10 @@ export default function ServerTrafficLogPage() {
accessorKey: 'server_id', accessorKey: 'server_id',
header: t('column.server'), header: t('column.server'),
cell: ({ row }) => { cell: ({ row }) => {
const server = getServerById(row.original.server_id);
const ratio = server?.ratio || 1;
return ( return (
<div className='flex items-center gap-2'> <div className='flex items-center gap-2'>
<Badge>{row.original.server_id}</Badge> <Badge>{row.original.server_id}</Badge>
<span>{getServerName(row.original.server_id)}</span> <span>{getServerName(row.original.server_id)}</span>
<Badge variant='outline'>{ratio}X</Badge>
</div> </div>
); );
}, },
@@ -366,6 +366,7 @@ export default function EmailBroadcastForm() {
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='datetime-local' type='datetime-local'
step='1'
disabled={form.watch('scope') === 5} // ScopeSkip disabled={form.watch('scope') === 5} // ScopeSkip
value={field.value} value={field.value}
onValueChange={field.onChange} onValueChange={field.onChange}
@@ -384,6 +385,7 @@ export default function EmailBroadcastForm() {
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='datetime-local' type='datetime-local'
step='1'
disabled={form.watch('scope') === 5} // ScopeSkip disabled={form.watch('scope') === 5} // ScopeSkip
value={field.value} value={field.value}
onValueChange={field.onChange} onValueChange={field.onChange}
@@ -425,6 +427,7 @@ export default function EmailBroadcastForm() {
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='datetime-local' type='datetime-local'
step='1'
placeholder={t('leaveEmptyForImmediateSend')} placeholder={t('leaveEmptyForImmediateSend')}
value={field.value} value={field.value}
onValueChange={field.onChange} onValueChange={field.onChange}
@@ -269,6 +269,7 @@ export default function QuotaBroadcastForm() {
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='datetime-local' type='datetime-local'
step='1'
value={field.value} value={field.value}
onValueChange={field.onChange} onValueChange={field.onChange}
/> />
@@ -286,6 +287,7 @@ export default function QuotaBroadcastForm() {
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='datetime-local' type='datetime-local'
step='1'
value={field.value} value={field.value}
onValueChange={field.onChange} onValueChange={field.onChange}
/> />
+6 -2
View File
@@ -36,9 +36,13 @@ export type ProtocolName =
| 'vmess' | 'vmess'
| 'vless' | 'vless'
| 'trojan' | 'trojan'
| 'hysteria2' | 'hysteria'
| 'tuic' | 'tuic'
| 'anytls'; | 'anytls'
| 'naive'
| 'http'
| 'socks'
| 'mieru';
const buildSchema = (t: ReturnType<typeof useTranslations>) => const buildSchema = (t: ReturnType<typeof useTranslations>) =>
z.object({ z.object({
+9 -13
View File
@@ -88,24 +88,20 @@ export default function NodesPage() {
{ {
id: 'address_port', id: 'address_port',
header: `${t('address')}:${t('port')}`, header: `${t('address')}:${t('port')}`,
cell: ({ row }) => (row.original.address || '—') + ':' + (row.original.port ?? '—'), cell: ({ row }) => `${row.original.address || '—'}:${row.original.port || '—'}`,
}, },
{ {
id: 'server_id', id: 'server_id',
header: t('server'), header: t('server'),
cell: ({ row }) => ( cell: ({ row }) =>
<div className='space-y-1'> `${getServerName(row.original.server_id)}:${getServerAddress(row.original.server_id)}`,
<Badge variant='outline'> },
{getServerName(row.original.server_id)} : {getServerAddress(row.original.server_id)} {
</Badge> id: 'protocol',
<br /> header: ` ${t('protocol')}:${t('port')}`,
<Badge variant='outline'> cell: ({ row }) =>
{row.original.protocol || '—'} :{' '} `${row.original.protocol}:${getProtocolPort(row.original.server_id, row.original.protocol)}`,
{getProtocolPort(row.original.server_id, row.original.protocol)}
</Badge>
</div>
),
}, },
{ {
accessorKey: 'tags', accessorKey: 'tags',
+3
View File
@@ -58,6 +58,9 @@ export default function Page() {
accessorKey: 'subscribe_id', accessorKey: 'subscribe_id',
header: t('subscribe'), header: t('subscribe'),
cell: ({ row }) => { cell: ({ row }) => {
if (row.original.type === 4) {
return t(`type.${row.getValue('type')}`);
}
const name = getSubscribeName(row.getValue('subscribe_id')); const name = getSubscribeName(row.getValue('subscribe_id'));
const quantity = row.original.quantity; const quantity = row.original.quantity;
return name ? `${name} × ${quantity}` : ''; return name ? `${name} × ${quantity}` : '';
@@ -1,5 +1,6 @@
'use client'; 'use client';
import useGlobalStore from '@/config/use-global';
import { useNode } from '@/store/node'; import { useNode } from '@/store/node';
import { zodResolver } from '@hookform/resolvers/zod'; import { zodResolver } from '@hookform/resolvers/zod';
import { import {
@@ -78,6 +79,9 @@ export default function SubscribeForm<T extends Record<string, any>>({
trigger, trigger,
title, title,
}: Readonly<SubscribeFormProps<T>>) { }: Readonly<SubscribeFormProps<T>>) {
const { common } = useGlobalStore();
const { currency } = common;
const t = useTranslations('product'); const t = useTranslations('product');
const [open, setOpen] = useState(false); const [open, setOpen] = useState(false);
const updateTimeoutRef = useRef<NodeJS.Timeout | null>(null); const updateTimeoutRef = useRef<NodeJS.Timeout | null>(null);
@@ -213,7 +217,11 @@ export default function SubscribeForm<T extends Record<string, any>>({
form?.reset( form?.reset(
assign(defaultValues, shake(initialValues, (value) => value === null) as Record<string, any>), assign(defaultValues, shake(initialValues, (value) => value === null) as Record<string, any>),
); );
}, [form, initialValues]); const discount = form.getValues('discount') || [];
if (discount.length > 0) {
debouncedCalculateDiscount(discount, 'discount');
}
}, [form, initialValues, open]);
useEffect(() => { useEffect(() => {
return () => { return () => {
@@ -228,7 +236,7 @@ export default function SubscribeForm<T extends Record<string, any>>({
if (bool) setOpen(false); if (bool) setOpen(false);
} }
const { nodes, getAllAvailableTags, getNodesByTag, getNodesWithoutTags } = useNode(); const { getAllAvailableTags, getNodesByTag, getNodesWithoutTags } = useNode();
const tagGroups = getAllAvailableTags(); const tagGroups = getAllAvailableTags();
@@ -630,9 +638,9 @@ export default function SubscribeForm<T extends Record<string, any>>({
{ {
name: 'discount', name: 'discount',
type: 'number', type: 'number',
min: 0.01, min: 1,
max: 100, max: 100,
step: 0.01, step: 1,
placeholder: t('form.discountPercent'), placeholder: t('form.discountPercent'),
suffix: '%', suffix: '%',
}, },
@@ -642,6 +650,7 @@ export default function SubscribeForm<T extends Record<string, any>>({
type: 'number', type: 'number',
min: 0, min: 0,
step: 0.01, step: 0.01,
prefix: currency.currency_symbol,
formatInput: (value) => unitConversion('centsToDollars', value), formatInput: (value) => unitConversion('centsToDollars', value),
formatOutput: (value) => formatOutput: (value) =>
unitConversion('dollarsToCents', value).toString(), unitConversion('dollarsToCents', value).toString(),
@@ -0,0 +1,121 @@
'use client';
import { getNodeMultiplier, setNodeMultiplier } from '@/services/admin/system';
import { useQuery } from '@tanstack/react-query';
import { Button } from '@workspace/ui/components/button';
import { Card, CardContent } from '@workspace/ui/components/card';
import { ScrollArea } from '@workspace/ui/components/scroll-area';
import {
Sheet,
SheetContent,
SheetDescription,
SheetFooter,
SheetHeader,
SheetTitle,
SheetTrigger,
} from '@workspace/ui/components/sheet';
import { ArrayInput } from '@workspace/ui/custom-components/dynamic-Inputs';
import { Icon } from '@workspace/ui/custom-components/icon';
import { useTranslations } from 'next-intl';
import { useEffect, useState } from 'react';
import { toast } from 'sonner';
export default function DynamicMultiplier() {
const t = useTranslations('servers');
const [open, setOpen] = useState(false);
const [timeSlots, setTimeSlots] = useState<API.TimePeriod[]>([]);
const { data: periodsResp, refetch: refetchPeriods } = useQuery({
queryKey: ['getNodeMultiplier'],
queryFn: async () => {
const { data } = await getNodeMultiplier();
return (data.data?.periods || []) as API.TimePeriod[];
},
enabled: open,
});
useEffect(() => {
if (periodsResp) {
setTimeSlots(periodsResp);
}
}, [periodsResp]);
async function savePeriods() {
await setNodeMultiplier({ periods: timeSlots });
await refetchPeriods();
toast.success(t('server_config.saveSuccess'));
setOpen(false);
}
return (
<Sheet open={open} onOpenChange={setOpen}>
<SheetTrigger asChild>
<Card>
<CardContent className='p-4'>
<div className='flex cursor-pointer items-center justify-between'>
<div className='flex items-center gap-3'>
<div className='bg-primary/10 flex h-10 w-10 items-center justify-center rounded-lg'>
<Icon icon='mdi:clock-time-eight' className='text-primary h-5 w-5' />
</div>
<div className='flex-1'>
<p className='font-medium'>{t('server_config.dynamic_multiplier')}</p>
<p className='text-muted-foreground truncate text-sm'>
{t('server_config.dynamic_multiplier_desc')}
</p>
</div>
</div>
<Icon icon='mdi:chevron-right' className='size-6' />
</div>
</CardContent>
</Card>
</SheetTrigger>
<SheetContent className='w-[600px] max-w-full md:max-w-screen-md'>
<SheetHeader>
<SheetTitle>{t('server_config.dynamic_multiplier')}</SheetTitle>
<SheetDescription>{t('server_config.dynamic_multiplier_desc')}</SheetDescription>
</SheetHeader>
<ScrollArea className='-mx-6 h-[calc(100dvh-48px-36px-60px-env(safe-area-inset-top))] px-6'>
<div className='space-y-4 pt-4'>
<ArrayInput<API.TimePeriod>
fields={[
{
name: 'start_time',
prefix: t('server_config.fields.start_time'),
type: 'time',
step: '1',
},
{
name: 'end_time',
prefix: t('server_config.fields.end_time'),
type: 'time',
step: '1',
},
{
name: 'multiplier',
prefix: t('server_config.fields.multiplier'),
type: 'number',
placeholder: '0',
},
]}
value={timeSlots}
onChange={setTimeSlots}
/>
</div>
</ScrollArea>
<SheetFooter className='flex-row justify-between pt-3'>
<Button variant='outline' onClick={() => setTimeSlots(periodsResp || [])}>
{t('server_config.fields.reset')}
</Button>
<div className='flex gap-2'>
<Button variant='outline' onClick={() => setOpen(false)}>
{t('actions.cancel')}
</Button>
<Button onClick={savePeriods}>{t('actions.save')}</Button>
</div>
</SheetFooter>
</SheetContent>
</Sheet>
);
}
@@ -3,7 +3,7 @@ export const protocols = [
'vmess', 'vmess',
'vless', 'vless',
'trojan', 'trojan',
'hysteria2', 'hysteria',
'tuic', 'tuic',
'anytls', 'anytls',
'socks', 'socks',
@@ -60,10 +60,11 @@ export const TRANSPORTS = {
} as const; } as const;
export const SECURITY = { export const SECURITY = {
shadowsocks: ['none', 'http', 'tls'] as const,
vmess: ['none', 'tls'] as const, vmess: ['none', 'tls'] as const,
vless: ['none', 'tls', 'reality'] as const, vless: ['none', 'tls', 'reality'] as const,
trojan: ['tls'] as const, trojan: ['tls'] as const,
hysteria2: ['tls'] as const, hysteria: ['tls'] as const,
tuic: ['tls'] as const, tuic: ['tls'] as const,
anytls: ['tls'] as const, anytls: ['tls'] as const,
naive: ['none', 'tls'] as const, naive: ['none', 'tls'] as const,
@@ -91,6 +92,8 @@ export const FINGERPRINTS = [
'qq', 'qq',
] as const; ] as const;
export const CERT_MODES = ['none', 'http', 'dns', 'self'] as const;
export const multiplexLevels = ['none', 'low', 'middle', 'high'] as const; export const multiplexLevels = ['none', 'low', 'middle', 'high'] as const;
export function getLabel(value: string): string { export function getLabel(value: string): string {
@@ -13,37 +13,86 @@ export function getProtocolDefaultConfig(proto: ProtocolType) {
obfs: 'none', obfs: 'none',
obfs_host: null, obfs_host: null,
obfs_path: null, obfs_path: null,
sni: null,
allow_insecure: null,
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'vmess': case 'vmess':
return { return {
type: 'vmess', type: 'vmess',
enable: false, enable: false,
host: null,
port: null, port: null,
transport: 'tcp', transport: 'tcp',
security: 'none', security: 'none',
path: null,
service_name: null,
sni: null,
allow_insecure: null,
fingerprint: 'chrome',
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'vless': case 'vless':
return { return {
type: 'vless', type: 'vless',
enable: false, enable: false,
host: null,
port: null, port: null,
transport: 'tcp', transport: 'tcp',
security: 'none', security: 'none',
flow: 'none', flow: 'none',
path: null,
service_name: null,
sni: null,
allow_insecure: null,
fingerprint: 'chrome',
reality_server_addr: null,
reality_server_port: null,
reality_private_key: null,
reality_public_key: null,
reality_short_id: null,
xhttp_mode: XHTTP_MODES[0], // 'auto' xhttp_mode: XHTTP_MODES[0], // 'auto'
xhttp_extra: null, xhttp_extra: null,
encryption: 'none',
encryption_mode: null,
encryption_rtt: null,
encryption_ticket: null,
encryption_server_padding: null,
encryption_private_key: null,
encryption_client_padding: null,
encryption_password: null,
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'trojan': case 'trojan':
return { return {
type: 'trojan', type: 'trojan',
enable: false, enable: false,
host: null,
port: null, port: null,
transport: 'tcp', transport: 'tcp',
security: 'tls', security: 'tls',
path: null,
service_name: null,
sni: null,
allow_insecure: null,
fingerprint: 'chrome',
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'hysteria2': case 'hysteria':
return { return {
type: 'hysteria2', type: 'hysteria',
enable: false, enable: false,
port: null, port: null,
hop_ports: null, hop_ports: null,
@@ -53,6 +102,13 @@ export function getProtocolDefaultConfig(proto: ProtocolType) {
security: 'tls', security: 'tls',
up_mbps: null, up_mbps: null,
down_mbps: null, down_mbps: null,
sni: null,
allow_insecure: null,
fingerprint: 'chrome',
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'tuic': case 'tuic':
return { return {
@@ -67,12 +123,17 @@ export function getProtocolDefaultConfig(proto: ProtocolType) {
sni: null, sni: null,
allow_insecure: false, allow_insecure: false,
fingerprint: 'chrome', fingerprint: 'chrome',
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'socks': case 'socks':
return { return {
type: 'socks', type: 'socks',
enable: false, enable: false,
port: null, port: null,
ratio: 1,
} as any; } as any;
case 'naive': case 'naive':
return { return {
@@ -80,6 +141,13 @@ export function getProtocolDefaultConfig(proto: ProtocolType) {
enable: false, enable: false,
port: null, port: null,
security: 'none', security: 'none',
sni: null,
allow_insecure: null,
fingerprint: 'chrome',
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'http': case 'http':
return { return {
@@ -87,6 +155,13 @@ export function getProtocolDefaultConfig(proto: ProtocolType) {
enable: false, enable: false,
port: null, port: null,
security: 'none', security: 'none',
sni: null,
allow_insecure: null,
fingerprint: 'chrome',
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
case 'mieru': case 'mieru':
return { return {
@@ -106,6 +181,10 @@ export function getProtocolDefaultConfig(proto: ProtocolType) {
sni: null, sni: null,
allow_insecure: false, allow_insecure: false,
fingerprint: 'chrome', fingerprint: 'chrome',
cert_mode: 'none',
cert_dns_provider: null,
cert_dns_env: null,
ratio: 1,
} as any; } as any;
default: default:
return {} as any; return {} as any;
@@ -5,6 +5,7 @@ import {
generateRealityShortId, generateRealityShortId,
} from '../generate'; } from '../generate';
import { import {
CERT_MODES,
ENCRYPTION_MODES, ENCRYPTION_MODES,
ENCRYPTION_RTT, ENCRYPTION_RTT,
ENCRYPTION_TYPES, ENCRYPTION_TYPES,
@@ -22,11 +23,20 @@ import type { FieldConfig } from './types';
export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = { export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
shadowsocks: [ shadowsocks: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -65,7 +75,7 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
{ {
name: 'obfs_host', name: 'obfs_host',
type: 'input', type: 'input',
label: 'obfs_host', label: 'host',
placeholder: 'e.g. www.bing.com', placeholder: 'e.g. www.bing.com',
group: 'obfs', group: 'obfs',
condition: (p) => p.obfs && p.obfs !== 'none', condition: (p) => p.obfs && p.obfs !== 'none',
@@ -73,18 +83,67 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
{ {
name: 'obfs_path', name: 'obfs_path',
type: 'input', type: 'input',
label: 'obfs_path', label: 'path',
placeholder: 'e.g. /path/to/obfs', placeholder: 'e.g. /path/to/obfs',
group: 'obfs', group: 'obfs',
condition: (p) => p.obfs && p.obfs !== 'none', condition: (p) => p.obfs && p.obfs !== 'none',
}, },
{
name: 'sni',
type: 'input',
label: 'security_sni',
group: 'security',
condition: (p) => p.obfs === 'tls',
},
{
name: 'allow_insecure',
type: 'switch',
label: 'security_allow_insecure',
group: 'security',
condition: (p) => p.obfs === 'tls',
},
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
condition: (p) => p.obfs === 'tls',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.obfs === 'tls' && p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.obfs === 'tls' && p.cert_mode === 'dns',
},
], ],
vmess: [ vmess: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -151,13 +210,48 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
group: 'security', group: 'security',
condition: (p) => p.security !== 'none', condition: (p) => p.security !== 'none',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
condition: (p) => p.security === 'tls',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
], ],
vless: [ vless: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -350,7 +444,16 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
placeholder: (t) => t('encryption_private_key_placeholder'), placeholder: (t) => t('encryption_private_key_placeholder'),
group: 'encryption', group: 'encryption',
generate: { generate: {
functions: [
{
label: (t) => t('generate_standard_encryption_key'),
function: generateRealityKeyPair,
},
{
label: (t) => t('generate_quantum_resistant_key'),
function: generateMLKEM768KeyPair, function: generateMLKEM768KeyPair,
},
],
updateFields: { updateFields: {
encryption_private_key: 'privateKey', encryption_private_key: 'privateKey',
encryption_password: 'publicKey', encryption_password: 'publicKey',
@@ -374,13 +477,48 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
group: 'encryption', group: 'encryption',
condition: (p) => p.encryption === 'mlkem768x25519plus', condition: (p) => p.encryption === 'mlkem768x25519plus',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
condition: (p) => p.security === 'tls',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
], ],
trojan: [ trojan: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -447,13 +585,48 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
group: 'security', group: 'security',
condition: (p) => p.security !== 'none', condition: (p) => p.security !== 'none',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
condition: (p) => p.security === 'tls',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
], ],
hysteria2: [ hysteria: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -470,7 +643,7 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
type: 'number', type: 'number',
label: 'hop_interval', label: 'hop_interval',
placeholder: 'e.g. 300', placeholder: 'e.g. 300',
min: 0, min: 1,
suffix: 'S', suffix: 'S',
group: 'basic', group: 'basic',
}, },
@@ -497,7 +670,7 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
name: 'up_mbps', name: 'up_mbps',
type: 'number', type: 'number',
label: 'up_mbps', label: 'up_mbps',
min: 0, min: 1,
placeholder: (t) => t('bandwidth_placeholder'), placeholder: (t) => t('bandwidth_placeholder'),
suffix: 'Mbps', suffix: 'Mbps',
group: 'basic', group: 'basic',
@@ -506,7 +679,7 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
name: 'down_mbps', name: 'down_mbps',
type: 'number', type: 'number',
label: 'down_mbps', label: 'down_mbps',
min: 0, min: 1,
placeholder: (t) => t('bandwidth_placeholder'), placeholder: (t) => t('bandwidth_placeholder'),
suffix: 'Mbps', suffix: 'Mbps',
group: 'basic', group: 'basic',
@@ -521,13 +694,47 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
defaultValue: 'chrome', defaultValue: 'chrome',
group: 'security', group: 'security',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.cert_mode === 'dns',
},
], ],
tuic: [ tuic: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -560,24 +767,67 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
defaultValue: 'chrome', defaultValue: 'chrome',
group: 'security', group: 'security',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.cert_mode === 'dns',
},
], ],
socks: [ socks: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
}, },
], ],
naive: [ naive: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -613,13 +863,48 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
group: 'security', group: 'security',
condition: (p) => p.security !== 'none', condition: (p) => p.security !== 'none',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
condition: (p) => p.security === 'tls',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
], ],
http: [ http: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -655,13 +940,48 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
group: 'security', group: 'security',
condition: (p) => p.security !== 'none', condition: (p) => p.security !== 'none',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
condition: (p) => p.security === 'tls',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.security === 'tls' && p.cert_mode === 'dns',
},
], ],
mieru: [ mieru: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -684,11 +1004,20 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
}, },
], ],
anytls: [ anytls: [
{
name: 'ratio',
type: 'number',
label: 'traffic_ratio',
min: 0,
step: 0.01,
defaultValue: 1,
group: 'basic',
},
{ {
name: 'port', name: 'port',
type: 'number', type: 'number',
label: 'port', label: 'port',
min: 0, min: 1,
max: 65535, max: 65535,
placeholder: '1-65535', placeholder: '1-65535',
group: 'basic', group: 'basic',
@@ -710,5 +1039,30 @@ export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
defaultValue: 'chrome', defaultValue: 'chrome',
group: 'security', group: 'security',
}, },
{
name: 'cert_mode',
type: 'select',
label: 'cert_mode',
options: CERT_MODES,
defaultValue: 'none',
group: 'security',
},
{
name: 'cert_dns_provider',
type: 'input',
label: 'cert_dns_provider',
placeholder: 'e.g. cloudflare, aliyun',
group: 'security',
condition: (p) => p.cert_mode === 'dns',
},
{
name: 'cert_dns_env',
type: 'textarea',
label: 'cert_dns_env',
placeholder:
'CF_DNS_API_TOKEN=1234567890abcdefghijklmnopqrstuvwxyz\nALI_ACCESS_KEY_ID=your_access_key_id\nALI_ACCESS_KEY_SECRET=your_access_key_secret',
group: 'security',
condition: (p) => p.cert_mode === 'dns',
},
], ],
}; };
@@ -1,5 +1,6 @@
import { z } from 'zod'; import { z } from 'zod';
import { import {
CERT_MODES,
ENCRYPTION_MODES, ENCRYPTION_MODES,
ENCRYPTION_RTT, ENCRYPTION_RTT,
ENCRYPTION_TYPES, ENCRYPTION_TYPES,
@@ -16,20 +17,25 @@ import {
const nullableString = z.string().nullish(); const nullableString = z.string().nullish();
const nullableBool = z.boolean().nullish(); const nullableBool = z.boolean().nullish();
const nullablePort = z.number().int().min(0).max(65535).nullish(); const nullablePort = z.number().int().min(0).max(65535).nullish();
const nullableRatio = z.number().min(0).nullish();
const ss = z.object({ const ss = z.object({
ratio: nullableRatio,
type: z.literal('shadowsocks'), type: z.literal('shadowsocks'),
enable: nullableBool, enable: nullableBool,
host: nullableString,
port: nullablePort, port: nullablePort,
cipher: z.enum(SS_CIPHERS).nullish(), cipher: z.enum(SS_CIPHERS).nullish(),
server_key: nullableString, server_key: nullableString,
obfs: z.enum(['none', 'http', 'tls'] as const).nullish(), obfs: z.enum(['none', 'http', 'tls'] as const).nullish(),
obfs_host: nullableString, obfs_host: nullableString,
obfs_path: nullableString, obfs_path: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const vmess = z.object({ const vmess = z.object({
ratio: nullableRatio,
type: z.literal('vmess'), type: z.literal('vmess'),
enable: nullableBool, enable: nullableBool,
host: nullableString, host: nullableString,
@@ -41,9 +47,13 @@ const vmess = z.object({
sni: nullableString, sni: nullableString,
allow_insecure: nullableBool, allow_insecure: nullableBool,
fingerprint: nullableString, fingerprint: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const vless = z.object({ const vless = z.object({
ratio: nullableRatio,
type: z.literal('vless'), type: z.literal('vless'),
enable: nullableBool, enable: nullableBool,
host: nullableString, host: nullableString,
@@ -71,9 +81,13 @@ const vless = z.object({
encryption_private_key: nullableString, encryption_private_key: nullableString,
encryption_client_padding: nullableString, encryption_client_padding: nullableString,
encryption_password: nullableString, encryption_password: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const trojan = z.object({ const trojan = z.object({
ratio: nullableRatio,
type: z.literal('trojan'), type: z.literal('trojan'),
enable: nullableBool, enable: nullableBool,
host: nullableString, host: nullableString,
@@ -85,25 +99,33 @@ const trojan = z.object({
sni: nullableString, sni: nullableString,
allow_insecure: nullableBool, allow_insecure: nullableBool,
fingerprint: nullableString, fingerprint: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const hysteria2 = z.object({ const hysteria = z.object({
type: z.literal('hysteria2'), ratio: nullableRatio,
type: z.literal('hysteria'),
enable: nullableBool, enable: nullableBool,
hop_ports: nullableString, hop_ports: nullableString,
hop_interval: z.number().nullish(), hop_interval: z.number().nullish(),
obfs_password: nullableString, obfs_password: nullableString,
obfs: z.enum(['none', 'salamander'] as const).nullish(), obfs: z.enum(['none', 'salamander'] as const).nullish(),
port: nullablePort, port: nullablePort,
security: z.enum(SECURITY.hysteria2).nullish(), security: z.enum(SECURITY.hysteria).nullish(),
sni: nullableString, sni: nullableString,
allow_insecure: nullableBool, allow_insecure: nullableBool,
fingerprint: nullableString, fingerprint: nullableString,
up_mbps: z.number().nullish(), up_mbps: z.number().nullish(),
down_mbps: z.number().nullish(), down_mbps: z.number().nullish(),
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const tuic = z.object({ const tuic = z.object({
ratio: nullableRatio,
type: z.literal('tuic'), type: z.literal('tuic'),
enable: nullableBool, enable: nullableBool,
host: nullableString, host: nullableString,
@@ -116,9 +138,13 @@ const tuic = z.object({
sni: nullableString, sni: nullableString,
allow_insecure: nullableBool, allow_insecure: nullableBool,
fingerprint: nullableString, fingerprint: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const anytls = z.object({ const anytls = z.object({
ratio: nullableRatio,
type: z.literal('anytls'), type: z.literal('anytls'),
enable: nullableBool, enable: nullableBool,
port: nullablePort, port: nullablePort,
@@ -127,15 +153,20 @@ const anytls = z.object({
allow_insecure: nullableBool, allow_insecure: nullableBool,
fingerprint: nullableString, fingerprint: nullableString,
padding_scheme: nullableString, padding_scheme: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const socks = z.object({ const socks = z.object({
ratio: nullableRatio,
type: z.literal('socks'), type: z.literal('socks'),
enable: nullableBool, enable: nullableBool,
port: nullablePort, port: nullablePort,
}); });
const naive = z.object({ const naive = z.object({
ratio: nullableRatio,
type: z.literal('naive'), type: z.literal('naive'),
enable: nullableBool, enable: nullableBool,
port: nullablePort, port: nullablePort,
@@ -143,9 +174,13 @@ const naive = z.object({
sni: nullableString, sni: nullableString,
allow_insecure: nullableBool, allow_insecure: nullableBool,
fingerprint: nullableString, fingerprint: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const http = z.object({ const http = z.object({
ratio: nullableRatio,
type: z.literal('http'), type: z.literal('http'),
enable: nullableBool, enable: nullableBool,
port: nullablePort, port: nullablePort,
@@ -153,9 +188,13 @@ const http = z.object({
sni: nullableString, sni: nullableString,
allow_insecure: nullableBool, allow_insecure: nullableBool,
fingerprint: nullableString, fingerprint: nullableString,
cert_mode: z.enum(CERT_MODES).nullish(),
cert_dns_provider: nullableString,
cert_dns_env: nullableString,
}); });
const mieru = z.object({ const mieru = z.object({
ratio: nullableRatio,
type: z.literal('mieru'), type: z.literal('mieru'),
enable: nullableBool, enable: nullableBool,
port: nullablePort, port: nullablePort,
@@ -168,7 +207,7 @@ export const protocolApiScheme = z.discriminatedUnion('type', [
vmess, vmess,
vless, vless,
trojan, trojan,
hysteria2, hysteria,
tuic, tuic,
anytls, anytls,
socks, socks,
@@ -182,6 +221,5 @@ export const formSchema = z.object({
address: z.string().min(1), address: z.string().min(1),
country: z.string().optional(), country: z.string().optional(),
city: z.string().optional(), city: z.string().optional(),
ratio: z.number().default(1),
protocols: z.array(protocolApiScheme), protocols: z.array(protocolApiScheme),
}); });
@@ -12,7 +12,11 @@ export type FieldConfig = {
step?: number; step?: number;
suffix?: string; suffix?: string;
generate?: { generate?: {
function?: () => Promise<string | Record<string, string>> | string | Record<string, string>;
functions?: {
label: string | ((t: (key: string) => string, protocol: any) => string);
function: () => Promise<string | Record<string, string>> | string | Record<string, string>; function: () => Promise<string | Record<string, string>> | string | Record<string, string>;
}[];
updateFields?: Record<string, string>; updateFields?: Record<string, string>;
}; };
condition?: (protocol: any, values: any) => boolean; condition?: (protocol: any, values: any) => boolean;
@@ -1,4 +1,4 @@
import { x25519 } from '@noble/curves/ed25519'; import { x25519 } from '@noble/curves/ed25519.js';
import { toB64Url } from './util'; import { toB64Url } from './util';
/** /**
@@ -15,6 +15,7 @@ import {
SheetTrigger, SheetTrigger,
} from '@workspace/ui/components/sheet'; } from '@workspace/ui/components/sheet';
import { formatBytes } from '@workspace/ui/utils'; import { formatBytes } from '@workspace/ui/utils';
import { Users } from 'lucide-react';
import { useTranslations } from 'next-intl'; import { useTranslations } from 'next-intl';
import { useState } from 'react'; import { useState } from 'react';
@@ -92,8 +93,7 @@ export default function OnlineUsersCell({ status }: { status?: API.ServerStatus
<Sheet open={open} onOpenChange={setOpen}> <Sheet open={open} onOpenChange={setOpen}>
<SheetTrigger asChild> <SheetTrigger asChild>
<button className='hover:text-foreground text-muted-foreground flex items-center gap-2 bg-transparent p-0 text-sm'> <button className='hover:text-foreground text-muted-foreground flex items-center gap-2 bg-transparent p-0 text-sm'>
<Badge variant='secondary'>{status?.online.length}</Badge> <Users className='h-4 w-4' /> {status?.online.length}
<span>{t('onlineUsers')}</span>
</button> </button>
</SheetTrigger> </SheetTrigger>
<SheetContent className='h-screen w-screen max-w-none sm:h-auto sm:w-[900px] sm:max-w-[90vw]'> <SheetContent className='h-screen w-screen max-w-none sm:h-auto sm:w-[900px] sm:max-w-[90vw]'>
+17 -60
View File
@@ -5,25 +5,23 @@ import {
createServer, createServer,
deleteServer, deleteServer,
filterServerList, filterServerList,
hasMigrateSeverNode,
migrateServerNode,
resetSortWithServer, resetSortWithServer,
updateServer, updateServer,
} from '@/services/admin/server'; } from '@/services/admin/server';
import { useNode } from '@/store/node'; import { useNode } from '@/store/node';
import { useServer } from '@/store/server'; import { useServer } from '@/store/server';
import { useQuery } from '@tanstack/react-query';
import { Badge } from '@workspace/ui/components/badge'; import { Badge } from '@workspace/ui/components/badge';
import { Button } from '@workspace/ui/components/button'; import { Button } from '@workspace/ui/components/button';
import { Card, CardContent } from '@workspace/ui/components/card';
import { ConfirmButton } from '@workspace/ui/custom-components/confirm-button'; import { ConfirmButton } from '@workspace/ui/custom-components/confirm-button';
import { cn } from '@workspace/ui/lib/utils'; import { cn } from '@workspace/ui/lib/utils';
import { useTranslations } from 'next-intl'; import { useTranslations } from 'next-intl';
import { useRef, useState } from 'react'; import { useRef, useState } from 'react';
import { toast } from 'sonner'; import { toast } from 'sonner';
import DynamicMultiplier from './dynamic-multiplier';
import OnlineUsersCell from './online-users-cell'; import OnlineUsersCell from './online-users-cell';
import ServerConfig from './server-config'; import ServerConfig from './server-config';
import ServerForm from './server-form'; import ServerForm from './server-form';
import ServerInstall from './server-install';
function PctBar({ value }: { value: number }) { function PctBar({ value }: { value: number }) {
const v = value.toFixed(2); const v = value.toFixed(2);
@@ -52,7 +50,7 @@ function RegionIpCell({
return ( return (
<div className='flex items-center gap-1'> <div className='flex items-center gap-1'>
<Badge variant='outline'>{region}</Badge> <Badge variant='outline'>{region}</Badge>
<Badge variant='outline'>{ip || t('notAvailable')}</Badge> <Badge variant='secondary'>{ip || t('notAvailable')}</Badge>
</div> </div>
); );
} }
@@ -63,54 +61,20 @@ export default function ServersPage() {
const { fetchServers } = useServer(); const { fetchServers } = useServer();
const [loading, setLoading] = useState(false); const [loading, setLoading] = useState(false);
const [migrating, setMigrating] = useState(false);
const ref = useRef<ProTableActions>(null); const ref = useRef<ProTableActions>(null);
const { data: hasMigrate, refetch: refetchHasMigrate } = useQuery({
queryKey: ['hasMigrateSeverNode'],
queryFn: async () => {
const { data } = await hasMigrateSeverNode();
return data.data?.has_migrate;
},
});
const handleMigrate = async () => {
setMigrating(true);
try {
const { data } = await migrateServerNode();
const fail = data.data?.fail || 0;
if (fail > 0) {
toast.error(data.data?.message);
} else {
toast.success(t('migrated'));
}
refetchHasMigrate();
ref.current?.refresh();
} catch (error) {
toast.error(t('migrateFailed'));
} finally {
setMigrating(false);
}
};
return ( return (
<div className='space-y-4'> <div className='space-y-4'>
<Card> <div className='grid grid-cols-1 gap-4 md:grid-cols-2'>
<CardContent className='p-4'> <DynamicMultiplier />
<ServerConfig /> <ServerConfig />
</CardContent> </div>
</Card>
<ProTable<API.Server, { search: string }> <ProTable<API.Server, { search: string }>
action={ref} action={ref}
header={{ header={{
title: t('pageTitle'), title: t('pageTitle'),
toolbar: ( toolbar: (
<div className='flex gap-2'> <div className='flex gap-2'>
{hasMigrate && (
<Button variant='outline' onClick={handleMigrate} disabled={migrating}>
{migrating ? t('migrating') : t('migrate')}
</Button>
)}
<ServerForm <ServerForm
trigger={t('create')} trigger={t('create')}
title={t('drawerCreateTitle')} title={t('drawerCreateTitle')}
@@ -156,17 +120,18 @@ export default function ServersPage() {
accessorKey: 'protocols', accessorKey: 'protocols',
header: t('protocols'), header: t('protocols'),
cell: ({ row }) => { cell: ({ row }) => {
const list = row.original.protocols.filter( const list = row.original.protocols.filter((p) => p.enable) as API.Protocol[];
(p) => p.enable !== false,
) as API.Protocol[];
if (!list.length) return '—'; if (!list.length) return '—';
return ( return (
<div className='flex flex-wrap gap-1'> <div className='flex flex-col gap-1'>
{list.map((p, idx) => { {list.map((p, idx) => {
const ratio = Number(p.ratio ?? 1) || 1;
return ( return (
<Badge key={idx} variant='outline'> <div key={idx} className='flex items-center gap-2'>
{p.type} ({p.port}) <Badge variant='outline'>{ratio.toFixed(2)}x</Badge>
</Badge> <Badge variant='secondary'>{p.type}</Badge>
<Badge variant='secondary'>{p.port}</Badge>
</div>
); );
})} })}
</div> </div>
@@ -219,15 +184,7 @@ export default function ServersPage() {
header: t('onlineUsers'), header: t('onlineUsers'),
cell: ({ row }) => <OnlineUsersCell status={row.original.status as API.ServerStatus} />, cell: ({ row }) => <OnlineUsersCell status={row.original.status as API.ServerStatus} />,
}, },
{ // traffic ratio moved to per-protocol configs; column removed
id: 'traffic_ratio',
header: t('traffic_ratio'),
cell: ({ row }) => {
const raw = row.original.ratio as unknown;
const ratio = Number(raw ?? 1) || 1;
return <span className='text-sm'>{ratio.toFixed(2)}x</span>;
},
},
]} ]}
params={[{ key: 'search' }]} params={[{ key: 'search' }]}
request={async (pagination, filter) => { request={async (pagination, filter) => {
@@ -246,7 +203,7 @@ export default function ServersPage() {
key='edit' key='edit'
trigger={t('edit')} trigger={t('edit')}
title={t('drawerEditTitle')} title={t('drawerEditTitle')}
initialValues={row as any} initialValues={row}
loading={loading} loading={loading}
onSubmit={async (values) => { onSubmit={async (values) => {
setLoading(true); setLoading(true);
@@ -267,6 +224,7 @@ export default function ServersPage() {
} }
}} }}
/>, />,
<ServerInstall key='install' server={row} />,
<ConfirmButton <ConfirmButton
key='delete' key='delete'
trigger={ trigger={
@@ -296,7 +254,6 @@ export default function ServersPage() {
name: others.name, name: others.name,
country: others.country, country: others.country,
city: others.city, city: others.city,
ratio: others.ratio,
address: others.address, address: others.address,
protocols: others.protocols || [], protocols: others.protocols || [],
}; };
+314 -204
View File
@@ -1,15 +1,10 @@
'use client'; 'use client';
import { import { getNodeConfig, updateNodeConfig } from '@/services/admin/system';
getNodeConfig,
getNodeMultiplier,
setNodeMultiplier,
updateNodeConfig,
} from '@/services/admin/system';
import { zodResolver } from '@hookform/resolvers/zod'; import { zodResolver } from '@hookform/resolvers/zod';
import { useQuery } from '@tanstack/react-query'; import { useQuery } from '@tanstack/react-query';
import { Button } from '@workspace/ui/components/button'; import { Button } from '@workspace/ui/components/button';
import { ChartContainer, ChartTooltip } from '@workspace/ui/components/chart'; import { Card, CardContent } from '@workspace/ui/components/card';
import { import {
Form, Form,
FormControl, FormControl,
@@ -19,8 +14,14 @@ import {
FormLabel, FormLabel,
FormMessage, FormMessage,
} from '@workspace/ui/components/form'; } from '@workspace/ui/components/form';
import { Label } from '@workspace/ui/components/label';
import { ScrollArea } from '@workspace/ui/components/scroll-area'; import { ScrollArea } from '@workspace/ui/components/scroll-area';
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from '@workspace/ui/components/select';
import { import {
Sheet, Sheet,
SheetContent, SheetContent,
@@ -29,75 +30,46 @@ import {
SheetTitle, SheetTitle,
SheetTrigger, SheetTrigger,
} from '@workspace/ui/components/sheet'; } from '@workspace/ui/components/sheet';
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@workspace/ui/components/tabs';
import { Textarea } from '@workspace/ui/components/textarea';
import { ArrayInput } from '@workspace/ui/custom-components/dynamic-Inputs'; import { ArrayInput } from '@workspace/ui/custom-components/dynamic-Inputs';
import { EnhancedInput } from '@workspace/ui/custom-components/enhanced-input'; import { EnhancedInput } from '@workspace/ui/custom-components/enhanced-input';
import { Icon } from '@workspace/ui/custom-components/icon'; import { Icon } from '@workspace/ui/custom-components/icon';
import { unitConversion } from '@workspace/ui/utils';
import { DicesIcon } from 'lucide-react'; import { DicesIcon } from 'lucide-react';
import { useTranslations } from 'next-intl'; import { useTranslations } from 'next-intl';
import { uid } from 'radash'; import { uid } from 'radash';
import { useEffect, useMemo, useState } from 'react'; import { useEffect, useState } from 'react';
import { useForm } from 'react-hook-form'; import { useForm } from 'react-hook-form';
import { Cell, Legend, Pie, PieChart } from 'recharts';
import { toast } from 'sonner'; import { toast } from 'sonner';
import { z } from 'zod'; import { z } from 'zod';
import { SS_CIPHERS } from './form-schema';
const COLORS = [ const dnsConfigSchema = z.object({
'hsl(var(--chart-1))', proto: z.string(), // z.enum(['tcp', 'udp', 'tls', 'https', 'quic']),
'hsl(var(--chart-2))', address: z.string(),
'hsl(var(--chart-3))', domains: z.array(z.string()),
'hsl(var(--chart-4))', });
'hsl(var(--chart-5))',
];
const MINUTES_IN_DAY = 1440; const outboundConfigSchema = z.object({
name: z.string(),
function getTimeRangeData(slots: API.TimePeriod[]) { protocol: z.string(),
const timePoints = slots address: z.string(),
.filter((slot) => slot.start_time && slot.end_time) port: z.number(),
.flatMap((slot) => { cipher: z.string().optional(),
const [startH = 0, startM = 0] = slot.start_time.split(':').map(Number); password: z.string().optional(),
const [endH = 0, endM = 0] = slot.end_time.split(':').map(Number); rules: z.array(z.string()).optional(),
const start = startH * 60 + startM; });
let end = endH * 60 + endM;
if (end < start) end += MINUTES_IN_DAY;
return { start, end, multiplier: slot.multiplier };
})
.sort((a, b) => a.start - b.start);
const result: { name: string; value: number; multiplier: number }[] = [];
let currentMinute = 0;
timePoints.forEach((point) => {
if (point.start > currentMinute) {
result.push({
name: `${Math.floor(currentMinute / 60)}:${String(currentMinute % 60).padStart(2, '0')} - ${Math.floor(point.start / 60)}:${String(point.start % 60).padStart(2, '0')}`,
value: point.start - currentMinute,
multiplier: 1,
});
}
result.push({
name: `${Math.floor(point.start / 60)}:${String(point.start % 60).padStart(2, '0')} - ${Math.floor((point.end / 60) % 24)}:${String(point.end % 60).padStart(2, '0')}`,
value: point.end - point.start,
multiplier: point.multiplier,
});
currentMinute = point.end % MINUTES_IN_DAY;
});
if (currentMinute < MINUTES_IN_DAY) {
result.push({
name: `${Math.floor(currentMinute / 60)}:${String(currentMinute % 60).padStart(2, '0')} - 24:00`,
value: MINUTES_IN_DAY - currentMinute,
multiplier: 1,
});
}
return result;
}
const nodeConfigSchema = z.object({ const nodeConfigSchema = z.object({
node_secret: z.string().optional(), node_secret: z.string().optional(),
node_pull_interval: z.number().optional(), node_pull_interval: z.number().optional(),
node_push_interval: z.number().optional(), node_push_interval: z.number().optional(),
traffic_report_threshold: z.number().optional(),
ip_strategy: z.enum(['prefer_ipv4', 'prefer_ipv6']).optional(),
dns: z.array(dnsConfigSchema).optional(),
block: z.array(z.string()).optional(),
outbound: z.array(outboundConfigSchema).optional(),
}); });
type NodeConfigFormData = z.infer<typeof nodeConfigSchema>; type NodeConfigFormData = z.infer<typeof nodeConfigSchema>;
@@ -105,7 +77,6 @@ export default function ServerConfig() {
const t = useTranslations('servers'); const t = useTranslations('servers');
const [open, setOpen] = useState(false); const [open, setOpen] = useState(false);
const [saving, setSaving] = useState(false); const [saving, setSaving] = useState(false);
const [timeSlots, setTimeSlots] = useState<API.TimePeriod[]>([]);
const { data: cfgResp, refetch: refetchCfg } = useQuery({ const { data: cfgResp, refetch: refetchCfg } = useQuery({
queryKey: ['getNodeConfig'], queryKey: ['getNodeConfig'],
@@ -116,21 +87,17 @@ export default function ServerConfig() {
enabled: open, enabled: open,
}); });
const { data: periodsResp, refetch: refetchPeriods } = useQuery({
queryKey: ['getNodeMultiplier'],
queryFn: async () => {
const { data } = await getNodeMultiplier();
return (data.data?.periods || []) as API.TimePeriod[];
},
enabled: open,
});
const form = useForm<NodeConfigFormData>({ const form = useForm<NodeConfigFormData>({
resolver: zodResolver(nodeConfigSchema), resolver: zodResolver(nodeConfigSchema),
defaultValues: { defaultValues: {
node_secret: '', node_secret: '',
node_pull_interval: undefined, node_pull_interval: undefined,
node_push_interval: undefined, node_push_interval: undefined,
traffic_report_threshold: undefined,
ip_strategy: 'prefer_ipv4',
dns: [],
block: [],
outbound: [],
}, },
}); });
@@ -140,35 +107,21 @@ export default function ServerConfig() {
node_secret: cfgResp.node_secret ?? '', node_secret: cfgResp.node_secret ?? '',
node_pull_interval: cfgResp.node_pull_interval as number | undefined, node_pull_interval: cfgResp.node_pull_interval as number | undefined,
node_push_interval: cfgResp.node_push_interval as number | undefined, node_push_interval: cfgResp.node_push_interval as number | undefined,
traffic_report_threshold: cfgResp.traffic_report_threshold as number | undefined,
ip_strategy:
(cfgResp.ip_strategy as 'prefer_ipv4' | 'prefer_ipv6' | undefined) || 'prefer_ipv4',
dns: cfgResp.dns || [],
block: cfgResp.block || [],
outbound: cfgResp.outbound || [],
}); });
} }
}, [cfgResp, form]); }, [cfgResp, form]);
useEffect(() => {
if (periodsResp) {
setTimeSlots(periodsResp);
}
}, [periodsResp]);
const chartTimeSlots = useMemo(() => getTimeRangeData(timeSlots), [timeSlots]);
const chartConfig = useMemo(() => {
return chartTimeSlots.reduce(
(acc, item, index) => {
acc[item.name] = {
label: item.name,
color: COLORS[index % COLORS.length] || 'hsl(var(--default-chart-color))',
};
return acc;
},
{} as Record<string, { label: string; color: string }>,
);
}, [chartTimeSlots]);
async function onSubmit(values: NodeConfigFormData) { async function onSubmit(values: NodeConfigFormData) {
setSaving(true); setSaving(true);
try { try {
await updateNodeConfig(values as API.NodeConfig); await updateNodeConfig(values as API.NodeConfig);
toast.success(t('config.saveSuccess')); toast.success(t('server_config.saveSuccess'));
await refetchCfg(); await refetchCfg();
setOpen(false); setOpen(false);
} finally { } finally {
@@ -176,50 +129,55 @@ export default function ServerConfig() {
} }
} }
async function savePeriods() {
await setNodeMultiplier({ periods: timeSlots });
await refetchPeriods();
toast.success(t('config.saveSuccess'));
}
return ( return (
<Sheet open={open} onOpenChange={setOpen}> <Sheet open={open} onOpenChange={setOpen}>
<SheetTrigger asChild> <SheetTrigger asChild>
<Card>
<CardContent className='p-4'>
<div className='flex cursor-pointer items-center justify-between'> <div className='flex cursor-pointer items-center justify-between'>
<div className='flex items-center gap-3'> <div className='flex items-center gap-3'>
<div className='bg-primary/10 flex h-10 w-10 items-center justify-center rounded-lg'> <div className='bg-primary/10 flex h-10 w-10 items-center justify-center rounded-lg'>
<Icon icon='mdi:resistor-nodes' className='text-primary h-5 w-5' /> <Icon icon='mdi:resistor-nodes' className='text-primary h-5 w-5' />
</div> </div>
<div className='flex-1'> <div className='flex-1'>
<p className='font-medium'>{t('config.title')}</p> <p className='font-medium'>{t('server_config.title')}</p>
<p className='text-muted-foreground text-sm'>{t('config.description')}</p> <p className='text-muted-foreground truncate text-sm'>
{t('server_config.description')}
</p>
</div> </div>
</div> </div>
<Icon icon='mdi:chevron-right' className='size-6' /> <Icon icon='mdi:chevron-right' className='size-6' />
</div> </div>
</CardContent>
</Card>
</SheetTrigger> </SheetTrigger>
<SheetContent className='w-[720px] max-w-full md:max-w-screen-md'> <SheetContent className='w-[720px] max-w-full md:max-w-screen-md'>
<SheetHeader> <SheetHeader>
<SheetTitle>{t('config.title')}</SheetTitle> <SheetTitle>{t('server_config.title')}</SheetTitle>
</SheetHeader> </SheetHeader>
<ScrollArea className='-mx-6 h-[calc(100dvh-48px-36px-36px-env(safe-area-inset-top))] px-6'> <ScrollArea className='-mx-6 h-[calc(100dvh-48px-36px-36px-env(safe-area-inset-top))] px-6'>
<Tabs defaultValue='basic' className='pt-4'>
<TabsList className='grid w-full grid-cols-4'>
<TabsTrigger value='basic'>{t('server_config.tabs.basic')}</TabsTrigger>
<TabsTrigger value='dns'>{t('server_config.tabs.dns')}</TabsTrigger>
<TabsTrigger value='outbound'>{t('server_config.tabs.outbound')}</TabsTrigger>
<TabsTrigger value='block'>{t('server_config.tabs.block')}</TabsTrigger>
</TabsList>
<Form {...form}> <Form {...form}>
<form <form id='server-config-form' onSubmit={form.handleSubmit(onSubmit)} className='mt-4'>
id='server-config-form' <TabsContent value='basic' className='space-y-4'>
onSubmit={form.handleSubmit(onSubmit)}
className='space-y-4 pt-4'
>
<FormField <FormField
control={form.control} control={form.control}
name='node_secret' name='node_secret'
render={({ field }) => ( render={({ field }) => (
<FormItem> <FormItem>
<FormLabel>{t('config.communicationKey')}</FormLabel> <FormLabel>{t('server_config.fields.communication_key')}</FormLabel>
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
placeholder={t('config.inputPlaceholder')} placeholder={t('server_config.fields.communication_key_placeholder')}
value={field.value || ''} value={field.value || ''}
onValueChange={field.onChange} onValueChange={field.onChange}
suffix={ suffix={
@@ -236,7 +194,9 @@ export default function ServerConfig() {
} }
/> />
</FormControl> </FormControl>
<FormDescription>{t('config.communicationKeyDescription')}</FormDescription> <FormDescription>
{t('server_config.fields.communication_key_desc')}
</FormDescription>
<FormMessage /> <FormMessage />
</FormItem> </FormItem>
)} )}
@@ -247,7 +207,7 @@ export default function ServerConfig() {
name='node_pull_interval' name='node_pull_interval'
render={({ field }) => ( render={({ field }) => (
<FormItem> <FormItem>
<FormLabel>{t('config.nodePullInterval')}</FormLabel> <FormLabel>{t('server_config.fields.node_pull_interval')}</FormLabel>
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='number' type='number'
@@ -255,10 +215,12 @@ export default function ServerConfig() {
suffix='S' suffix='S'
value={field.value as any} value={field.value as any}
onValueChange={field.onChange} onValueChange={field.onChange}
placeholder={t('config.inputPlaceholder')} placeholder={t('server_config.fields.communication_key_placeholder')}
/> />
</FormControl> </FormControl>
<FormDescription>{t('config.nodePullIntervalDescription')}</FormDescription> <FormDescription>
{t('server_config.fields.node_pull_interval_desc')}
</FormDescription>
<FormMessage /> <FormMessage />
</FormItem> </FormItem>
)} )}
@@ -269,7 +231,7 @@ export default function ServerConfig() {
name='node_push_interval' name='node_push_interval'
render={({ field }) => ( render={({ field }) => (
<FormItem> <FormItem>
<FormLabel>{t('config.nodePushInterval')}</FormLabel> <FormLabel>{t('server_config.fields.node_push_interval')}</FormLabel>
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
type='number' type='number'
@@ -278,120 +240,268 @@ export default function ServerConfig() {
step={0.1} step={0.1}
value={field.value as any} value={field.value as any}
onValueChange={field.onChange} onValueChange={field.onChange}
placeholder={t('config.inputPlaceholder')} placeholder={t('server_config.fields.communication_key_placeholder')}
/> />
</FormControl> </FormControl>
<FormDescription>{t('config.nodePushIntervalDescription')}</FormDescription> <FormDescription>
{t('server_config.fields.node_push_interval_desc')}
</FormDescription>
<FormMessage /> <FormMessage />
</FormItem> </FormItem>
)} )}
/> />
<div className='mt-6 space-y-3'> <FormField
<Label className='text-base'>{t('config.dynamicMultiplier')}</Label> control={form.control}
<p className='text-muted-foreground text-sm'> name='traffic_report_threshold'
{t('config.dynamicMultiplierDescription')} render={({ field }) => (
</p> <FormItem>
<FormLabel>{t('server_config.fields.traffic_report_threshold')}</FormLabel>
<FormControl>
<EnhancedInput
type='number'
min={0}
suffix='MB'
value={unitConversion('bitsToMb', field.value as number | undefined)}
onValueChange={(value) => {
field.onChange(unitConversion('mbToBits', value));
}}
placeholder='1'
/>
</FormControl>
<FormDescription>
{t('server_config.fields.traffic_report_threshold_desc')}
</FormDescription>
<FormMessage />
</FormItem>
)}
/>
</TabsContent>
<div className='flex flex-col-reverse gap-8 md:flex-row md:items-start'> <TabsContent value='dns' className='space-y-4'>
<div className='w-full md:w-1/2'> <FormField
<ArrayInput<API.TimePeriod> control={form.control}
name='ip_strategy'
render={({ field }) => (
<FormItem>
<FormLabel>{t('server_config.fields.ip_strategy')}</FormLabel>
<Select onValueChange={field.onChange} value={field.value}>
<FormControl>
<SelectTrigger>
<SelectValue
placeholder={t('server_config.fields.ip_strategy_placeholder')}
/>
</SelectTrigger>
</FormControl>
<SelectContent>
<SelectItem value='prefer_ipv4'>
{t('server_config.fields.ip_strategy_ipv4')}
</SelectItem>
<SelectItem value='prefer_ipv6'>
{t('server_config.fields.ip_strategy_ipv6')}
</SelectItem>
</SelectContent>
</Select>
<FormDescription>
{t('server_config.fields.ip_strategy_desc')}
</FormDescription>
<FormMessage />
</FormItem>
)}
/>
<FormField
control={form.control}
name='dns'
render={({ field }) => (
<FormItem>
<FormLabel>{t('server_config.fields.dns_config')}</FormLabel>
<FormControl>
<ArrayInput
className='grid grid-cols-2 gap-2'
fields={[ fields={[
{ name: 'start_time', prefix: t('config.startTime'), type: 'time' },
{ name: 'end_time', prefix: t('config.endTime'), type: 'time' },
{ {
name: 'multiplier', name: 'proto',
prefix: t('config.multiplier'), type: 'select',
type: 'number', placeholder: t('server_config.fields.dns_proto_placeholder'),
placeholder: '0', options: [
{ label: 'TCP', value: 'tcp' },
{ label: 'UDP', value: 'udp' },
{ label: 'TLS', value: 'tls' },
{ label: 'HTTPS', value: 'https' },
{ label: 'QUIC', value: 'quic' },
],
},
{ name: 'address', type: 'text', placeholder: '8.8.8.8:53' },
{
name: 'domains',
type: 'textarea',
className: 'col-span-2',
placeholder: t('server_config.fields.dns_domains_placeholder'),
}, },
]} ]}
value={timeSlots} value={(field.value || []).map((item) => ({
onChange={setTimeSlots} ...item,
/> domains: Array.isArray(item.domains) ? item.domains.join('\n') : '',
<div className='mt-3 flex gap-2'> }))}
<Button onChange={(values) => {
size='sm' const converted = values.map((item: any) => ({
variant='outline' proto: item.proto,
onClick={() => setTimeSlots(periodsResp || [])} address: item.address,
> domains:
{t('config.reset')} typeof item.domains === 'string'
</Button> ? item.domains.split('\n').map((d: string) => d.trim())
<Button size='sm' onClick={savePeriods}> : item.domains || [],
{t('config.save')} }));
</Button> field.onChange(converted);
</div>
</div>
<div className='w-full md:w-1/2'>
<ChartContainer
config={chartConfig}
className='mx-auto aspect-[4/3] max-w-[400px]'
>
<PieChart>
<Pie
data={chartTimeSlots}
cx='50%'
cy='50%'
labelLine={false}
outerRadius='80%'
fill='#8884d8'
dataKey='value'
label={({ percent, multiplier }) =>
`${(multiplier || 0)?.toFixed(2)}x (${(percent * 100).toFixed(0)}%)`
}
>
{chartTimeSlots.map((entry, index) => (
<Cell key={`cell-${index}`} fill={COLORS[index % COLORS.length]} />
))}
</Pie>
<ChartTooltip
content={({ payload }) => {
if (payload && payload.length) {
const d = payload[0]?.payload as any;
return (
<div className='bg-background rounded-lg border p-2 shadow-sm'>
<div className='grid grid-cols-2 gap-2'>
<div className='flex flex-col'>
<span className='text-muted-foreground text-[0.70rem] uppercase'>
{t('config.timeSlot')}
</span>
<span className='text-muted-foreground font-bold'>
{d.name || '—'}
</span>
</div>
<div className='flex flex-col'>
<span className='text-muted-foreground text-[0.70rem] uppercase'>
{t('config.multiplier')}
</span>
<span className='font-bold'>
{Number(d.multiplier).toFixed(2)}x
</span>
</div>
</div>
</div>
);
}
return null;
}} }}
/> />
<Legend /> </FormControl>
</PieChart> <FormMessage />
</ChartContainer> </FormItem>
</div> )}
</div> />
</div> </TabsContent>
<TabsContent value='outbound' className='space-y-4'>
<FormField
control={form.control}
name='outbound'
render={({ field }) => {
return (
<FormItem>
<FormControl>
<ArrayInput
className='grid grid-cols-2 gap-2'
fields={[
{
name: 'name',
type: 'text',
className: 'col-span-2',
placeholder: t('server_config.fields.outbound_name_placeholder'),
},
{
name: 'protocol',
type: 'select',
placeholder: t(
'server_config.fields.outbound_protocol_placeholder',
),
options: [
{ label: 'HTTP', value: 'http' },
{ label: 'SOCKS', value: 'socks' },
{ label: 'Shadowsocks', value: 'shadowsocks' },
{ label: 'Brook', value: 'brook' },
{ label: 'Snell', value: 'snell' },
{ label: 'VMess', value: 'vmess' },
{ label: 'VLESS', value: 'vless' },
{ label: 'Trojan', value: 'trojan' },
{ label: 'WireGuard', value: 'wireguard' },
{ label: 'Hysteria', value: 'hysteria' },
{ label: 'TUIC', value: 'tuic' },
{ label: 'AnyTLS', value: 'anytls' },
{ label: 'Naive', value: 'naive' },
{ label: 'Direct', value: 'direct' },
{ label: 'Reject', value: 'reject' },
],
},
{
name: 'cipher',
type: 'select',
options: SS_CIPHERS.map((cipher) => ({
label: cipher,
value: cipher,
})),
visible: (item: Record<string, any>) =>
item.protocol === 'shadowsocks',
},
{
name: 'address',
type: 'text',
placeholder: t(
'server_config.fields.outbound_address_placeholder',
),
},
{
name: 'port',
type: 'number',
placeholder: t('server_config.fields.outbound_port_placeholder'),
},
{
name: 'password',
type: 'text',
placeholder: t(
'server_config.fields.outbound_password_placeholder',
),
},
{
name: 'rules',
type: 'textarea',
className: 'col-span-2',
placeholder: t('server_config.fields.outbound_rules_placeholder'),
},
]}
value={(field.value || []).map((item) => ({
...item,
rules: Array.isArray(item.rules) ? item.rules.join('\n') : '',
}))}
onChange={(values) => {
const converted = values.map((item: any) => ({
name: item.name,
protocol: item.protocol,
address: item.address,
port: item.port,
cipher: item.cipher,
password: item.password,
rules:
typeof item.rules === 'string'
? item.rules.split('\n').map((r: string) => r.trim())
: item.rules || [],
}));
field.onChange(converted);
}}
/>
</FormControl>
<FormMessage />
</FormItem>
);
}}
/>
</TabsContent>
<TabsContent value='block' className='space-y-4'>
<FormField
control={form.control}
name='block'
render={({ field }) => (
<FormItem>
<FormControl>
<Textarea
placeholder={t('server_config.fields.block_rules_placeholder')}
value={(field.value || []).join('\n')}
onChange={(e) => {
const lines = e.target.value.split('\n').map((line) => line.trim());
field.onChange(lines);
}}
rows={10}
/>
</FormControl>
<FormMessage />
</FormItem>
)}
/>
</TabsContent>
</form> </form>
</Form> </Form>
</Tabs>
</ScrollArea> </ScrollArea>
<SheetFooter className='flex-row justify-end gap-2 pt-3'> <SheetFooter className='flex-row justify-end gap-2 pt-3'>
<Button variant='outline' disabled={saving} onClick={() => setOpen(false)}> <Button variant='outline' disabled={saving} onClick={() => setOpen(false)}>
{t('config.actions.cancel')} {t('actions.cancel')}
</Button> </Button>
<Button disabled={saving} type='submit' form='server-config-form'> <Button disabled={saving} type='submit' form='server-config-form'>
<Icon icon='mdi:loading' className={saving ? 'mr-2 animate-spin' : 'hidden'} /> <Icon icon='mdi:loading' className={saving ? 'mr-2 animate-spin' : 'hidden'} />
{t('config.actions.save')} {t('actions.save')}
</Button> </Button>
</SheetFooter> </SheetFooter>
</SheetContent> </SheetContent>
@@ -10,6 +10,12 @@ import {
} from '@workspace/ui/components/accordion'; } from '@workspace/ui/components/accordion';
import { Badge } from '@workspace/ui/components/badge'; import { Badge } from '@workspace/ui/components/badge';
import { Button } from '@workspace/ui/components/button'; import { Button } from '@workspace/ui/components/button';
import {
DropdownMenu,
DropdownMenuContent,
DropdownMenuItem,
DropdownMenuTrigger,
} from '@workspace/ui/components/dropdown-menu';
import { import {
Form, Form,
FormControl, FormControl,
@@ -99,11 +105,49 @@ function DynamicField({
onValueChange={(v) => fieldProps.onChange(v)} onValueChange={(v) => fieldProps.onChange(v)}
suffix={ suffix={
field.generate ? ( field.generate ? (
field.generate.functions && field.generate.functions.length > 0 ? (
<DropdownMenu>
<DropdownMenuTrigger asChild>
<Button type='button' variant='ghost' size='sm'>
<Icon icon='mdi:key' className='h-4 w-4' />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align='end'>
{field.generate.functions.map((genFunc, idx) => (
<DropdownMenuItem
key={idx}
onClick={async () => {
const result = await genFunc.function();
if (typeof result === 'string') {
fieldProps.onChange(result);
} else if (field.generate!.updateFields) {
Object.entries(field.generate!.updateFields).forEach(
([fieldName, resultKey]) => {
const fullFieldName = `protocols.${protocolIndex}.${fieldName}`;
form.setValue(fullFieldName, (result as any)[resultKey]);
},
);
} else {
if (result.privateKey) {
fieldProps.onChange(result.privateKey);
}
}
}}
>
{typeof genFunc.label === 'function'
? genFunc.label(t, protocolData)
: genFunc.label}
</DropdownMenuItem>
))}
</DropdownMenuContent>
</DropdownMenu>
) : field.generate.function ? (
<Button <Button
type='button' type='button'
variant='ghost' variant='ghost'
size='sm'
onClick={async () => { onClick={async () => {
const result = await field.generate!.function(); const result = await field.generate!.function!();
if (typeof result === 'string') { if (typeof result === 'string') {
fieldProps.onChange(result); fieldProps.onChange(result);
} else if (field.generate!.updateFields) { } else if (field.generate!.updateFields) {
@@ -122,6 +166,7 @@ function DynamicField({
> >
<Icon icon='mdi:key' className='h-4 w-4' /> <Icon icon='mdi:key' className='h-4 w-4' />
</Button> </Button>
) : null
) : ( ) : (
field.suffix field.suffix
) )
@@ -338,7 +383,6 @@ export default function ServerForm(props: {
address: '', address: '',
country: '', country: '',
city: '', city: '',
ratio: 1,
protocols: [] as any[], protocols: [] as any[],
...initialValues, ...initialValues,
}, },
@@ -354,11 +398,11 @@ export default function ServerForm(props: {
address: '', address: '',
country: '', country: '',
city: '', city: '',
ratio: 1,
...initialValues, ...initialValues,
protocols: PROTOCOLS.map((type) => { protocols: PROTOCOLS.map((type) => {
const existingProtocol = initialValues.protocols?.find((p) => p.type === type); const existingProtocol = initialValues.protocols?.find((p) => p.type === type);
return existingProtocol || getProtocolDefaultConfig(type); const defaultConfig = getProtocolDefaultConfig(type);
return existingProtocol ? { ...defaultConfig, ...existingProtocol } : defaultConfig;
}), }),
}); });
} }
@@ -375,7 +419,6 @@ export default function ServerForm(props: {
name: values.name, name: values.name,
country: values.country, country: values.country,
city: values.city, city: values.city,
ratio: values.ratio || 1,
address: values.address, address: values.address,
protocols: filteredProtocols, protocols: filteredProtocols,
}; };
@@ -399,7 +442,6 @@ export default function ServerForm(props: {
address: '', address: '',
country: '', country: '',
city: '', city: '',
ratio: 1,
protocols: full, protocols: full,
}); });
} }
@@ -416,7 +458,7 @@ export default function ServerForm(props: {
<ScrollArea className='-mx-6 h-[calc(100dvh-48px-36px-36px-env(safe-area-inset-top))]'> <ScrollArea className='-mx-6 h-[calc(100dvh-48px-36px-36px-env(safe-area-inset-top))]'>
<Form {...form}> <Form {...form}>
<form className='grid grid-cols-1 gap-2 px-6 pt-4'> <form className='grid grid-cols-1 gap-2 px-6 pt-4'>
<div className='grid grid-cols-3 gap-2'> <div className='grid grid-cols-2 gap-2 md:grid-cols-4'>
<FormField <FormField
control={control} control={control}
name='name' name='name'
@@ -430,6 +472,23 @@ export default function ServerForm(props: {
</FormItem> </FormItem>
)} )}
/> />
<FormField
control={control}
name='address'
render={({ field }) => (
<FormItem>
<FormLabel>{t('address')}</FormLabel>
<FormControl>
<EnhancedInput
{...field}
placeholder={t('address_placeholder')}
onValueChange={(v) => field.onChange(v)}
/>
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<FormField <FormField
control={control} control={control}
name='country' name='country'
@@ -457,44 +516,6 @@ export default function ServerForm(props: {
)} )}
/> />
</div> </div>
<div className='grid grid-cols-2 gap-2'>
<FormField
control={control}
name='address'
render={({ field }) => (
<FormItem>
<FormLabel>{t('address')}</FormLabel>
<FormControl>
<EnhancedInput
{...field}
placeholder={t('address_placeholder')}
onValueChange={(v) => field.onChange(v)}
/>
</FormControl>
<FormMessage />
</FormItem>
)}
/>
<FormField
control={control}
name='ratio'
render={({ field }) => (
<FormItem>
<FormLabel>{t('traffic_ratio')}</FormLabel>
<FormControl>
<EnhancedInput
{...field}
type='number'
step={0.1}
min={0}
onValueChange={(v) => field.onChange(v)}
/>
</FormControl>
<FormMessage />
</FormItem>
)}
/>
</div>
<div className='my-3'> <div className='my-3'>
<h3 className='text-foreground text-sm font-semibold'> <h3 className='text-foreground text-sm font-semibold'>
{t('protocol_configurations')} {t('protocol_configurations')}
@@ -517,7 +538,7 @@ export default function ServerForm(props: {
PROTOCOLS.findIndex((t) => t === type), PROTOCOLS.findIndex((t) => t === type),
); );
const current = (protocolsValues[i] || {}) as Record<string, any>; const current = (protocolsValues[i] || {}) as Record<string, any>;
const isEnabled = current?.enable !== false; const isEnabled = current?.enable;
const fields = PROTOCOL_FIELDS[type] || []; const fields = PROTOCOL_FIELDS[type] || [];
return ( return (
<AccordionItem key={type} value={type} className='mb-2 rounded-lg border'> <AccordionItem key={type} value={type} className='mb-2 rounded-lg border'>
@@ -554,7 +575,8 @@ export default function ServerForm(props: {
checked={!!isEnabled} checked={!!isEnabled}
disabled={Boolean( disabled={Boolean(
initialValues?.id && initialValues?.id &&
isProtocolUsedInNodes(initialValues?.id || 0, type), isProtocolUsedInNodes(initialValues?.id || 0, type) &&
isEnabled,
)} )}
onCheckedChange={(checked) => { onCheckedChange={(checked) => {
form.setValue(`protocols.${i}.enable`, checked); form.setValue(`protocols.${i}.enable`, checked);
@@ -0,0 +1,119 @@
'use client';
import { getNodeConfig } from '@/services/admin/system';
import { useQuery } from '@tanstack/react-query';
import { Button } from '@workspace/ui/components/button';
import {
Dialog,
DialogContent,
DialogFooter,
DialogHeader,
DialogTitle,
DialogTrigger,
} from '@workspace/ui/components/dialog';
import { Input } from '@workspace/ui/components/input';
import { Label } from '@workspace/ui/components/label';
import { useTranslations } from 'next-intl';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import { toast } from 'sonner';
type Props = {
server: API.Server;
};
export default function ServerInstall({ server }: Props) {
const t = useTranslations('servers');
const [open, setOpen] = useState(false);
const [domain, setDomain] = useState('');
const { data: cfgResp } = useQuery({
queryKey: ['getNodeConfig'],
queryFn: async () => {
const { data } = await getNodeConfig();
return data.data as API.NodeConfig | undefined;
},
enabled: open,
});
useEffect(() => {
if (open) {
const host = localStorage.getItem('API_HOST') ?? window.location.origin;
setDomain(host);
}
}, [open]);
const installCommand = useMemo(() => {
const secret = cfgResp?.node_secret ?? '';
return `wget -N https://raw.githubusercontent.com/perfect-panel/ppanel-node/master/scripts/install.sh && bash install.sh --api-host ${domain} --server-id ${server.id} --secret-key ${secret}`;
}, [domain, server.id, cfgResp?.node_secret]);
async function handleCopy() {
try {
if (navigator?.clipboard?.writeText) {
await navigator.clipboard.writeText(installCommand);
} else {
// fallback for environments without clipboard API
const el = document.createElement('textarea');
el.value = installCommand;
document.body.appendChild(el);
el.select();
document.execCommand('copy');
document.body.removeChild(el);
}
toast.success(t('copied'));
setOpen(false);
} catch (error) {
toast.error(t('copyFailed'));
}
}
const onDomainChange = useCallback((e: React.ChangeEvent<HTMLInputElement>) => {
setDomain(e.target.value);
localStorage.setItem('API_HOST', e.target.value);
}, []);
return (
<Dialog open={open} onOpenChange={setOpen}>
<DialogTrigger asChild>
<Button variant='secondary'>{t('connect')}</Button>
</DialogTrigger>
<DialogContent className='w-[720px] max-w-full md:max-w-screen-md'>
<DialogHeader>
<DialogTitle>{t('oneClickInstall')}</DialogTitle>
</DialogHeader>
<div className='space-y-4'>
<div>
<Label>{t('apiHost')}</Label>
<div className='flex items-center gap-2'>
<Input
value={domain}
placeholder={t('apiHostPlaceholder')}
onChange={onDomainChange}
/>
</div>
</div>
<div>
<Label>{t('installCommand')}</Label>
<div className='flex flex-col gap-2'>
<textarea
readOnly
aria-label={t('installCommand')}
value={installCommand}
className='min-h-[88px] w-full rounded border p-2 font-mono text-sm'
/>
</div>
</div>
</div>
<DialogFooter className='flex-row justify-end gap-2 pt-3'>
<Button variant='outline' onClick={() => setOpen(false)}>
{t('close')}
</Button>
<Button onClick={handleCopy}>{t('copyAndClose')}</Button>
</DialogFooter>
</DialogContent>
</Dialog>
);
}
+1
View File
@@ -60,6 +60,7 @@ export default function Page() {
return ( return (
<ProTable<API.User, API.GetUserListParams> <ProTable<API.User, API.GetUserListParams>
key={initialFilters.user_id}
action={ref} action={ref}
initialFilters={initialFilters} initialFilters={initialFilters}
header={{ header={{
@@ -170,6 +170,7 @@ export default function UserForm<T extends Record<string, any>>({
<FormLabel>{t('password')}</FormLabel> <FormLabel>{t('password')}</FormLabel>
<FormControl> <FormControl>
<EnhancedInput <EnhancedInput
autoComplete='new-password'
placeholder={t('passwordPlaceholder')} placeholder={t('passwordPlaceholder')}
{...field} {...field}
onValueChange={(value) => { onValueChange={(value) => {
+7
View File
@@ -1,6 +1,7 @@
'use client'; 'use client';
import useGlobalStore, { GlobalStore } from '@/config/use-global'; import useGlobalStore, { GlobalStore } from '@/config/use-global';
import { useStatsStore } from '@/store/stats';
import { Logout } from '@/utils/common'; import { Logout } from '@/utils/common';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { ReactQueryStreamedHydration } from '@tanstack/react-query-next-experimental'; import { ReactQueryStreamedHydration } from '@tanstack/react-query-next-experimental';
@@ -42,6 +43,12 @@ export default function Providers({
setCommon(common); setCommon(common);
}, [setCommon, common]); }, [setCommon, common]);
const { stats } = useStatsStore();
useEffect(() => {
stats();
}, []);
return ( return (
<NextThemesProvider attribute='class' defaultTheme='system' enableSystem> <NextThemesProvider attribute='class' defaultTheme='system' enableSystem>
<QueryClientProvider client={queryClient}> <QueryClientProvider client={queryClient}>
+6
View File
@@ -45,6 +45,12 @@ export const useGlobalStore = create<GlobalStore>((set, get) => ({
ip_register_limit: 0, ip_register_limit: 0,
ip_register_limit_duration: 0, ip_register_limit_duration: 0,
}, },
device: {
enable: false,
show_ads: false,
enable_security: false,
only_real_device: false,
},
}, },
invite: { invite: {
forced_invite: false, forced_invite: false,
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Adresa",
"address_placeholder": "Adresa serveru",
"bandwidth_placeholder": "Zadejte šířku pásma, nechte prázdné pro BBR",
"basic": "Základní konfigurace",
"cancel": "Zrušit",
"cipher": "Šifrovací algoritmus",
"city": "Město",
"config": {
"actions": { "actions": {
"cancel": "Zrušit", "cancel": "Zrušit",
"save": "Uložit" "save": "Uložit"
}, },
"communicationKey": "Komunikační klíč", "address": "Adresa",
"communicationKeyDescription": "Používá se pro autentizaci uzlu.", "address_placeholder": "Adresa serveru",
"description": "Spravujte klíče pro komunikaci uzlu, intervaly stahování/odesílání a dynamické multiplikátory.", "apiHost": "API hostitel",
"dynamicMultiplier": "Dynamický multiplikátor", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "Definujte časové sloty a multiplikátory pro úpravu účtování provozu.", "bandwidth_placeholder": "Zadejte šířku pásma, nechte prázdné pro BBR",
"endTime": "Čas konce", "basic": "Základní konfigurace",
"inputPlaceholder": "Prosím zadejte", "cancel": "Zrušit",
"multiplier": "Multiplikátor", "cert_dns_env": "DNS proměnné prostředí",
"nodePullInterval": "Interval stahování uzlu", "cert_dns_provider": "DNS poskytovatel",
"nodePullIntervalDescription": "Jak často uzel stahuje konfiguraci (vteřiny).", "cert_mode": "Režim certifikátu",
"nodePushInterval": "Interval odesílání uzlu", "cipher": "Šifrovací algoritmus",
"nodePushIntervalDescription": "Jak často uzel odesílá statistiky (vteřiny).", "city": "Město",
"reset": "Obnovit",
"save": "Uložit",
"saveSuccess": "Úspěšně uloženo",
"startTime": "Čas začátku",
"timeSlot": "Časový slot",
"title": "Konfigurace uzlu"
},
"confirm": "Potvrdit", "confirm": "Potvrdit",
"confirmDeleteDesc": "Tuto akci nelze vrátit zpět.", "confirmDeleteDesc": "Tuto akci nelze vrátit zpět.",
"confirmDeleteTitle": "Smazat tento server?", "confirmDeleteTitle": "Smazat tento server?",
"congestion_controller": "Ovladač přetížení", "congestion_controller": "Ovladač přetížení",
"connect": "Připojit",
"copied": "Zkopírováno", "copied": "Zkopírováno",
"copy": "Kopírovat", "copy": "Kopírovat",
"country": "Země", "country": "Země",
@@ -64,11 +50,14 @@
"expired": "Vypršelo", "expired": "Vypršelo",
"extra": "Další konfigurace", "extra": "Další konfigurace",
"flow": "Tok", "flow": "Tok",
"generate_quantum_resistant_key": "Generovat kvantově odolný klíč",
"generate_standard_encryption_key": "Generovat standardní šifrovací klíč",
"hop_interval": "Interval skoku", "hop_interval": "Interval skoku",
"hop_ports": "Porty skoku", "hop_ports": "Porty skoku",
"hop_ports_placeholder": "např. 1-65535", "hop_ports_placeholder": "např. 1-65535",
"host": "Hostitel", "host": "Hostitel",
"id": "ID", "id": "ID",
"installCommand": "Instalační příkaz",
"ipAddresses": "IP adresy", "ipAddresses": "IP adresy",
"memory": "Paměť", "memory": "Paměť",
"migrate": "Migrace dat", "migrate": "Migrace dat",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Zadejte heslo pro obfuskaci", "obfs_password_placeholder": "Zadejte heslo pro obfuskaci",
"obfs_path": "Obfs cesta", "obfs_path": "Obfs cesta",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "Instalace jedním kliknutím",
"online": "Online", "online": "Online",
"onlineUsers": "Online uživatelé", "onlineUsers": "Online uživatelé",
"padding_scheme": "Schéma vycpání", "padding_scheme": "Schéma vycpání",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Hexadecimální řetězec (max. 16 znaků)", "security_short_id_placeholder": "Hexadecimální řetězec (max. 16 znaků)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Vyberte metodu šifrování", "select_encryption_method": "Vyberte metodu šifrování",
"server_config": {
"description": "Spravujte klíče pro komunikaci uzlu, intervaly stahování/odesílání.",
"dynamic_multiplier": "Dynamický multiplikátor",
"dynamic_multiplier_desc": "Definujte časové sloty a multiplikátory pro úpravu účtování provozu.",
"fields": {
"block_rules_placeholder": "Jedno pravidlo domény na řádek, podporuje:\nkeyword:google (shoda podle klíčového slova)\nsuffix:google.com (shoda podle přípony)\nregex:.*\\.example\\.com$ (shoda podle regulárního výrazu)\nexample.com (přesná shoda)",
"communication_key": "Klíč pro komunikaci",
"communication_key_desc": "Používá se pro autentizaci uzlu.",
"communication_key_placeholder": "Zadejte prosím",
"dns_config": "DNS konfigurace",
"dns_domains_placeholder": "Jedno pravidlo domény na řádek, podporuje:\nkeyword:google (shoda podle klíčového slova)\nsuffix:google.com (shoda podle přípony)\nregex:.*\\.example\\.com$ (shoda podle regulárního výrazu)\nexample.com (přesná shoda)",
"dns_proto_placeholder": "Vyberte typ",
"end_time": "Čas konce",
"ip_strategy": "IP strategie",
"ip_strategy_desc": "Vyberte preferenci verze IP pro síťová připojení",
"ip_strategy_ipv4": "Preferovat IPv4",
"ip_strategy_ipv6": "Preferovat IPv6",
"ip_strategy_placeholder": "Vyberte IP strategii",
"multiplier": "Multiplikátor",
"node_pull_interval": "Interval stahování uzlu",
"node_pull_interval_desc": "Jak často uzel stahuje konfiguraci (v sekundách).",
"node_push_interval": "Interval odesílání uzlu",
"node_push_interval_desc": "Jak často uzel odesílá statistiky (v sekundách).",
"outbound_address_placeholder": "Adresa serveru",
"outbound_name_placeholder": "Název konfigurace",
"outbound_password_placeholder": "Heslo (volitelné)",
"outbound_port_placeholder": "Číslo portu",
"outbound_protocol_placeholder": "Vyberte protokol",
"outbound_rules_placeholder": "Jedno pravidlo na řádek, podporuje:\nkeyword:google (shoda podle klíčového slova)\nsuffix:google.com (shoda podle přípony)\nregex:.*\\.example\\.com$ (shoda podle regulárního výrazu)\nexample.com (přesná shoda)\nNechte prázdné pro výchozí směrování",
"reset": "Obnovit",
"save": "Uložit",
"start_time": "Čas začátku",
"time_slot": "Časový slot",
"traffic_report_threshold": "Prahová hodnota zprávy o provozu",
"traffic_report_threshold_desc": "Nastavte minimální prahovou hodnotu pro hlášení o provozu. Provoz bude hlášen pouze tehdy, když překročí tuto hodnotu. Nastavte na 0 nebo nechte prázdné pro hlášení veškerého provozu."
},
"saveSuccess": "Úspěšně uloženo",
"tabs": {
"basic": "Základní konfigurace",
"block": "Blokovací pravidla",
"dns": "DNS konfigurace",
"outbound": "Odchozí pravidla"
},
"title": "Konfigurace uzlu"
},
"server_key": "Klíč serveru", "server_key": "Klíč serveru",
"service_name": "Název služby", "service_name": "Název služby",
"sorted_success": "Úspěšně seřazeno", "sorted_success": "Úspěšně seřazeno",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Adresse",
"address_placeholder": "Serveradresse",
"bandwidth_placeholder": "Geben Sie die Bandbreite ein, lassen Sie das Feld leer für BBR",
"basic": "Grundkonfiguration",
"cancel": "Abbrechen",
"cipher": "Verschlüsselungsalgorithmus",
"city": "Stadt",
"config": {
"actions": { "actions": {
"cancel": "Abbrechen", "cancel": "Abbrechen",
"save": "Speichern" "save": "Speichern"
}, },
"communicationKey": "Kommunikationsschlüssel", "address": "Adresse",
"communicationKeyDescription": "Wird zur Authentifizierung des Knotens verwendet.", "address_placeholder": "Serveradresse",
"description": "Verwalten Sie die Kommunikationsschlüssel des Knotens, Pull/Push-Intervalle und dynamische Multiplikatoren.", "apiHost": "API-Host",
"dynamicMultiplier": "Dynamischer Multiplikator", "apiHostPlaceholder": "http(s)://beispiel.de",
"dynamicMultiplierDescription": "Definieren Sie Zeitfenster und Multiplikatoren zur Anpassung der Verkehrsabrechnung.", "bandwidth_placeholder": "Geben Sie die Bandbreite ein, lassen Sie das Feld leer für BBR",
"endTime": "Endzeit", "basic": "Grundkonfiguration",
"inputPlaceholder": "Bitte eingeben", "cancel": "Abbrechen",
"multiplier": "Multiplikator", "cert_dns_env": "DNS-Umgebungsvariablen",
"nodePullInterval": "Knoten-Pull-Intervall", "cert_dns_provider": "DNS-Anbieter",
"nodePullIntervalDescription": "Wie oft der Knoten die Konfiguration abruft (Sekunden).", "cert_mode": "Zertifikatsmodus",
"nodePushInterval": "Knoten-Push-Intervall", "cipher": "Verschlüsselungsalgorithmus",
"nodePushIntervalDescription": "Wie oft der Knoten Statistiken sendet (Sekunden).", "city": "Stadt",
"reset": "Zurücksetzen",
"save": "Speichern",
"saveSuccess": "Erfolgreich gespeichert",
"startTime": "Startzeit",
"timeSlot": "Zeitfenster",
"title": "Knoten-Konfiguration"
},
"confirm": "Bestätigen", "confirm": "Bestätigen",
"confirmDeleteDesc": "Diese Aktion kann nicht rückgängig gemacht werden.", "confirmDeleteDesc": "Diese Aktion kann nicht rückgängig gemacht werden.",
"confirmDeleteTitle": "Diesen Server löschen?", "confirmDeleteTitle": "Diesen Server löschen?",
"congestion_controller": "Staukontroller", "congestion_controller": "Staukontroller",
"connect": "Verbinden",
"copied": "Kopiert", "copied": "Kopiert",
"copy": "Kopieren", "copy": "Kopieren",
"country": "Land", "country": "Land",
@@ -64,11 +50,14 @@
"expired": "Abgelaufen", "expired": "Abgelaufen",
"extra": "Zusätzliche Konfiguration", "extra": "Zusätzliche Konfiguration",
"flow": "Fluss", "flow": "Fluss",
"generate_quantum_resistant_key": "Quantenresistenten Schlüssel generieren",
"generate_standard_encryption_key": "Standard-Verschlüsselungsschlüssel generieren",
"hop_interval": "Hop-Intervall", "hop_interval": "Hop-Intervall",
"hop_ports": "Hop-Ports", "hop_ports": "Hop-Ports",
"hop_ports_placeholder": "z.B. 1-65535", "hop_ports_placeholder": "z.B. 1-65535",
"host": "Host", "host": "Host",
"id": "ID", "id": "ID",
"installCommand": "Installationsbefehl",
"ipAddresses": "IP-Adressen", "ipAddresses": "IP-Adressen",
"memory": "Speicher", "memory": "Speicher",
"migrate": "Daten migrieren", "migrate": "Daten migrieren",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Obfuskationspasswort eingeben", "obfs_password_placeholder": "Obfuskationspasswort eingeben",
"obfs_path": "Obfs-Pfad", "obfs_path": "Obfs-Pfad",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "Ein-Klick-Installation",
"online": "Online", "online": "Online",
"onlineUsers": "Online-Benutzer", "onlineUsers": "Online-Benutzer",
"padding_scheme": "Polsterungsschema", "padding_scheme": "Polsterungsschema",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Hex-String (bis zu 16 Zeichen)", "security_short_id_placeholder": "Hex-String (bis zu 16 Zeichen)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Verschlüsselungsmethode auswählen", "select_encryption_method": "Verschlüsselungsmethode auswählen",
"server_config": {
"description": "Verwalten Sie die Kommunikationsschlüssel des Knotens, Pull/Push-Intervalle.",
"dynamic_multiplier": "Dynamischer Multiplikator",
"dynamic_multiplier_desc": "Definieren Sie Zeitfenster und Multiplikatoren zur Anpassung der Verkehrserfassung.",
"fields": {
"block_rules_placeholder": "Eine Domainregel pro Zeile, unterstützt:\nkeyword:google (Schlüsselwortübereinstimmung)\nsuffix:google.com (Suffixübereinstimmung)\nregex:.*\\.example\\.com$ (Regex-Übereinstimmung)\nexample.com (exakte Übereinstimmung)",
"communication_key": "Kommunikationsschlüssel",
"communication_key_desc": "Wird zur Authentifizierung des Knotens verwendet.",
"communication_key_placeholder": "Bitte eingeben",
"dns_config": "DNS-Konfiguration",
"dns_domains_placeholder": "Eine Domainregel pro Zeile, unterstützt:\nkeyword:google (Schlüsselwortübereinstimmung)\nsuffix:google.com (Suffixübereinstimmung)\nregex:.*\\.example\\.com$ (Regex-Übereinstimmung)\nexample.com (exakte Übereinstimmung)",
"dns_proto_placeholder": "Typ auswählen",
"end_time": "Endzeit",
"ip_strategy": "IP-Strategie",
"ip_strategy_desc": "Wählen Sie die bevorzugte IP-Version für Netzwerkverbindungen",
"ip_strategy_ipv4": "Bevorzuge IPv4",
"ip_strategy_ipv6": "Bevorzuge IPv6",
"ip_strategy_placeholder": "IP-Strategie auswählen",
"multiplier": "Multiplikator",
"node_pull_interval": "Knoten-Pull-Intervall",
"node_pull_interval_desc": "Wie oft der Knoten die Konfiguration abruft (Sekunden).",
"node_push_interval": "Knoten-Push-Intervall",
"node_push_interval_desc": "Wie oft der Knoten Statistiken sendet (Sekunden).",
"outbound_address_placeholder": "Serveradresse",
"outbound_name_placeholder": "Konfigurationsname",
"outbound_password_placeholder": "Passwort (optional)",
"outbound_port_placeholder": "Portnummer",
"outbound_protocol_placeholder": "Protokoll auswählen",
"outbound_rules_placeholder": "Eine Regel pro Zeile, unterstützt:\nkeyword:google (Schlüsselwortübereinstimmung)\nsuffix:google.com (Suffixübereinstimmung)\nregex:.*\\.example\\.com$ (Regex-Übereinstimmung)\nexample.com (exakte Übereinstimmung)\nLeer lassen für Standardrouting",
"reset": "Zurücksetzen",
"save": "Speichern",
"start_time": "Startzeit",
"time_slot": "Zeitfenster",
"traffic_report_threshold": "Schwellenwert für Verkehrsberichte",
"traffic_report_threshold_desc": "Legen Sie den Mindestschwellenwert für die Verkehrsmeldung fest. Verkehr wird nur gemeldet, wenn er diesen Wert überschreitet. Auf 0 setzen oder leer lassen, um gesamten Verkehr zu melden."
},
"saveSuccess": "Erfolgreich gespeichert",
"tabs": {
"basic": "Grundkonfiguration",
"block": "Blockierungsregeln",
"dns": "DNS-Konfiguration",
"outbound": "Ausgehende Regeln"
},
"title": "Knoten-Konfiguration"
},
"server_key": "Server-Schlüssel", "server_key": "Server-Schlüssel",
"service_name": "Dienstname", "service_name": "Dienstname",
"sorted_success": "Erfolgreich sortiert", "sorted_success": "Erfolgreich sortiert",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Address",
"address_placeholder": "Server address",
"bandwidth_placeholder": "Enter bandwidth, leave empty for BBR",
"basic": "Basic Configuration",
"cancel": "Cancel",
"cipher": "Encryption Algorithm",
"city": "City",
"config": {
"title": "Node configuration",
"description": "Manage node communication keys, pull/push intervals, and dynamic multipliers.",
"saveSuccess": "Saved successfully",
"communicationKey": "Communication key",
"inputPlaceholder": "Please enter",
"communicationKeyDescription": "Used for node authentication.",
"nodePullInterval": "Node pull interval",
"nodePullIntervalDescription": "How often the node pulls configuration (seconds).",
"nodePushInterval": "Node push interval",
"nodePushIntervalDescription": "How often the node pushes stats (seconds).",
"dynamicMultiplier": "Dynamic multiplier",
"dynamicMultiplierDescription": "Define time slots and multipliers to adjust traffic accounting.",
"startTime": "Start time",
"endTime": "End time",
"multiplier": "Multiplier",
"reset": "Reset",
"save": "Save",
"timeSlot": "Time slot",
"actions": { "actions": {
"cancel": "Cancel", "cancel": "Cancel",
"save": "Save" "save": "Save"
}
}, },
"address": "Address",
"address_placeholder": "Server address",
"apiHost": "API Host",
"apiHostPlaceholder": "http(s)://example.com",
"bandwidth_placeholder": "Enter bandwidth, leave empty for BBR",
"basic": "Basic Configuration",
"cancel": "Cancel",
"cert_dns_env": "DNS Environment Variables",
"cert_dns_provider": "DNS Provider",
"cert_mode": "Certificate Mode",
"cipher": "Encryption Algorithm",
"city": "City",
"confirm": "Confirm", "confirm": "Confirm",
"confirmDeleteDesc": "This action cannot be undone.", "confirmDeleteDesc": "This action cannot be undone.",
"confirmDeleteTitle": "Delete this server?", "confirmDeleteTitle": "Delete this server?",
"congestion_controller": "Congestion controller", "congestion_controller": "Congestion controller",
"connect": "Connect",
"copied": "Copied", "copied": "Copied",
"copy": "Copy", "copy": "Copy",
"country": "Country", "country": "Country",
@@ -64,11 +50,14 @@
"expired": "Expired", "expired": "Expired",
"extra": "Extra Configuration", "extra": "Extra Configuration",
"flow": "Flow", "flow": "Flow",
"generate_quantum_resistant_key": "Generate Quantum-Resistant Key",
"generate_standard_encryption_key": "Generate Standard Encryption Key",
"hop_interval": "Hop interval", "hop_interval": "Hop interval",
"hop_ports": "Hop ports", "hop_ports": "Hop ports",
"hop_ports_placeholder": "e.g. 1-65535", "hop_ports_placeholder": "e.g. 1-65535",
"host": "Host", "host": "Host",
"id": "ID", "id": "ID",
"installCommand": "Install command",
"ipAddresses": "IP addresses", "ipAddresses": "IP addresses",
"memory": "Memory", "memory": "Memory",
"migrate": "Migrate Data", "migrate": "Migrate Data",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Enter obfuscation password", "obfs_password_placeholder": "Enter obfuscation password",
"obfs_path": "Obfs Path", "obfs_path": "Obfs Path",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "One-click Install",
"online": "Online", "online": "Online",
"onlineUsers": "Online users", "onlineUsers": "Online users",
"padding_scheme": "Padding Scheme", "padding_scheme": "Padding Scheme",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Hex string (up to 16 chars)", "security_short_id_placeholder": "Hex string (up to 16 chars)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Select encryption method", "select_encryption_method": "Select encryption method",
"server_config": {
"title": "Node configuration",
"description": "Manage node communication keys, pull/push intervals.",
"saveSuccess": "Saved successfully",
"dynamic_multiplier": "Dynamic multiplier",
"dynamic_multiplier_desc": "Define time slots and multipliers to adjust traffic accounting.",
"tabs": {
"basic": "Basic Configuration",
"dns": "DNS Configuration",
"outbound": "Outbound Rules",
"block": "Block Rules"
},
"fields": {
"communication_key": "Communication key",
"communication_key_placeholder": "Please enter",
"communication_key_desc": "Used for node authentication.",
"node_pull_interval": "Node pull interval",
"node_pull_interval_desc": "How often the node pulls configuration (seconds).",
"node_push_interval": "Node push interval",
"node_push_interval_desc": "How often the node pushes stats (seconds).",
"start_time": "Start time",
"end_time": "End time",
"multiplier": "Multiplier",
"reset": "Reset",
"save": "Save",
"time_slot": "Time slot",
"traffic_report_threshold": "Traffic Report Threshold",
"traffic_report_threshold_desc": "Set the minimum threshold for traffic reporting. Traffic will only be reported when it exceeds this value. Set to 0 or leave empty to report all traffic.",
"ip_strategy": "IP Strategy",
"ip_strategy_desc": "Choose IP version preference for network connections",
"ip_strategy_placeholder": "Select IP strategy",
"ip_strategy_ipv4": "Prefer IPv4",
"ip_strategy_ipv6": "Prefer IPv6",
"dns_config": "DNS Configuration",
"dns_proto_placeholder": "Select type",
"dns_domains_placeholder": "One domain rule per line, supports:\nkeyword:google (keyword matching)\nsuffix:google.com (suffix matching)\nregex:.*\\.example\\.com$ (regex matching)\nexample.com (exact matching)",
"outbound_protocol_placeholder": "Select protocol",
"outbound_name_placeholder": "Configuration name",
"outbound_address_placeholder": "Server address",
"outbound_port_placeholder": "Port number",
"outbound_password_placeholder": "Password (optional)",
"outbound_rules_placeholder": "One rule per line, supports:\nkeyword:google (keyword matching)\nsuffix:google.com (suffix matching)\nregex:.*\\.example\\.com$ (regex matching)\nexample.com (exact matching)\nLeave empty for default routing",
"block_rules_placeholder": "One domain rule per line, supports:\nkeyword:google (keyword matching)\nsuffix:google.com (suffix matching)\nregex:.*\\.example\\.com$ (regex matching)\nexample.com (exact matching)"
}
},
"server_key": "Server key", "server_key": "Server key",
"service_name": "Service name", "service_name": "Service name",
"sorted_success": "Sorted successfully", "sorted_success": "Sorted successfully",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Dirección",
"address_placeholder": "Dirección del servidor",
"bandwidth_placeholder": "Introduce el ancho de banda, deja vacío para BBR",
"basic": "Configuración Básica",
"cancel": "Cancelar",
"cipher": "Algoritmo de Cifrado",
"city": "Ciudad",
"config": {
"actions": { "actions": {
"cancel": "Cancelar", "cancel": "Cancelar",
"save": "Guardar" "save": "Guardar"
}, },
"communicationKey": "Clave de comunicación", "address": "Dirección",
"communicationKeyDescription": "Utilizado para la autenticación del nodo.", "address_placeholder": "Dirección del servidor",
"description": "Gestionar las claves de comunicación del nodo, intervalos de extracción/empuje y multiplicadores dinámicos.", "apiHost": "Host de API",
"dynamicMultiplier": "Multiplicador dinámico", "apiHostPlaceholder": "http(s)://ejemplo.com",
"dynamicMultiplierDescription": "Definir intervalos de tiempo y multiplicadores para ajustar la contabilidad del tráfico.", "bandwidth_placeholder": "Introduce el ancho de banda, deja vacío para BBR",
"endTime": "Hora de finalización", "basic": "Configuración Básica",
"inputPlaceholder": "Por favor ingrese", "cancel": "Cancelar",
"multiplier": "Multiplicador", "cert_dns_env": "Variables de Entorno DNS",
"nodePullInterval": "Intervalo de extracción del nodo", "cert_dns_provider": "Proveedor de DNS",
"nodePullIntervalDescription": "Con qué frecuencia el nodo extrae la configuración (segundos).", "cert_mode": "Modo de Certificado",
"nodePushInterval": "Intervalo de empuje del nodo", "cipher": "Algoritmo de Cifrado",
"nodePushIntervalDescription": "Con qué frecuencia el nodo envía estadísticas (segundos).", "city": "Ciudad",
"reset": "Restablecer",
"save": "Guardar",
"saveSuccess": "Guardado con éxito",
"startTime": "Hora de inicio",
"timeSlot": "Intervalo de tiempo",
"title": "Configuración del nodo"
},
"confirm": "Confirmar", "confirm": "Confirmar",
"confirmDeleteDesc": "Esta acción no se puede deshacer.", "confirmDeleteDesc": "Esta acción no se puede deshacer.",
"confirmDeleteTitle": "¿Eliminar este servidor?", "confirmDeleteTitle": "¿Eliminar este servidor?",
"congestion_controller": "Controlador de congestión", "congestion_controller": "Controlador de congestión",
"connect": "Conectar",
"copied": "Copiado", "copied": "Copiado",
"copy": "Copiar", "copy": "Copiar",
"country": "País", "country": "País",
@@ -64,11 +50,14 @@
"expired": "Expirado", "expired": "Expirado",
"extra": "Configuración Extra", "extra": "Configuración Extra",
"flow": "Flujo", "flow": "Flujo",
"generate_quantum_resistant_key": "Generar clave resistente a cuánticos",
"generate_standard_encryption_key": "Generar clave de cifrado estándar",
"hop_interval": "Intervalo de salto", "hop_interval": "Intervalo de salto",
"hop_ports": "Puertos de salto", "hop_ports": "Puertos de salto",
"hop_ports_placeholder": "p. ej. 1-65535", "hop_ports_placeholder": "p. ej. 1-65535",
"host": "Host", "host": "Host",
"id": "ID", "id": "ID",
"installCommand": "Comando de instalación",
"ipAddresses": "Direcciones IP", "ipAddresses": "Direcciones IP",
"memory": "Memoria", "memory": "Memoria",
"migrate": "Migrar datos", "migrate": "Migrar datos",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Ingrese la contraseña de ofuscación", "obfs_password_placeholder": "Ingrese la contraseña de ofuscación",
"obfs_path": "Ruta de Ofuscación", "obfs_path": "Ruta de Ofuscación",
"offline": "Desconectado", "offline": "Desconectado",
"oneClickInstall": "Instalación con un clic",
"online": "Conectado", "online": "Conectado",
"onlineUsers": "Usuarios en línea", "onlineUsers": "Usuarios en línea",
"padding_scheme": "Esquema de Relleno", "padding_scheme": "Esquema de Relleno",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Cadena hexadecimal (hasta 16 caracteres)", "security_short_id_placeholder": "Cadena hexadecimal (hasta 16 caracteres)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Seleccionar método de cifrado", "select_encryption_method": "Seleccionar método de cifrado",
"server_config": {
"description": "Gestionar claves de comunicación del nodo, intervalos de extracción/push.",
"dynamic_multiplier": "Multiplicador dinámico",
"dynamic_multiplier_desc": "Definir intervalos de tiempo y multiplicadores para ajustar la contabilidad del tráfico.",
"fields": {
"block_rules_placeholder": "Una regla de dominio por línea, soporta:\nkeyword:google (coincidencia de palabras clave)\nsuffix:google.com (coincidencia de sufijo)\nregex:.*\\.example\\.com$ (coincidencia de regex)\nexample.com (coincidencia exacta)",
"communication_key": "Clave de comunicación",
"communication_key_desc": "Utilizado para la autenticación del nodo.",
"communication_key_placeholder": "Por favor ingrese",
"dns_config": "Configuración de DNS",
"dns_domains_placeholder": "Una regla de dominio por línea, soporta:\nkeyword:google (coincidencia de palabras clave)\nsuffix:google.com (coincidencia de sufijo)\nregex:.*\\.example\\.com$ (coincidencia de regex)\nexample.com (coincidencia exacta)",
"dns_proto_placeholder": "Seleccionar tipo",
"end_time": "Hora de finalización",
"ip_strategy": "Estrategia de IP",
"ip_strategy_desc": "Elija la preferencia de versión de IP para conexiones de red",
"ip_strategy_ipv4": "Preferir IPv4",
"ip_strategy_ipv6": "Preferir IPv6",
"ip_strategy_placeholder": "Seleccionar estrategia de IP",
"multiplier": "Multiplicador",
"node_pull_interval": "Intervalo de extracción del nodo",
"node_pull_interval_desc": "Con qué frecuencia el nodo extrae la configuración (segundos).",
"node_push_interval": "Intervalo de push del nodo",
"node_push_interval_desc": "Con qué frecuencia el nodo envía estadísticas (segundos).",
"outbound_address_placeholder": "Dirección del servidor",
"outbound_name_placeholder": "Nombre de la configuración",
"outbound_password_placeholder": "Contraseña (opcional)",
"outbound_port_placeholder": "Número de puerto",
"outbound_protocol_placeholder": "Seleccionar protocolo",
"outbound_rules_placeholder": "Una regla por línea, soporta:\nkeyword:google (coincidencia de palabras clave)\nsuffix:google.com (coincidencia de sufijo)\nregex:.*\\.example\\.com$ (coincidencia de regex)\nexample.com (coincidencia exacta)\nDejar vacío para enrutamiento por defecto",
"reset": "Restablecer",
"save": "Guardar",
"start_time": "Hora de inicio",
"time_slot": "Intervalo de tiempo",
"traffic_report_threshold": "Umbral de Informe de Tráfico",
"traffic_report_threshold_desc": "Establecer el umbral mínimo para el informe de tráfico. El tráfico solo se informará cuando supere este valor. Establezca en 0 o deje vacío para informar todo el tráfico."
},
"saveSuccess": "Guardado con éxito",
"tabs": {
"basic": "Configuración Básica",
"block": "Reglas de Bloqueo",
"dns": "Configuración de DNS",
"outbound": "Reglas Salientes"
},
"title": "Configuración del nodo"
},
"server_key": "Clave del servidor", "server_key": "Clave del servidor",
"service_name": "Nombre del servicio", "service_name": "Nombre del servicio",
"sorted_success": "Ordenado con éxito", "sorted_success": "Ordenado con éxito",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Dirección",
"address_placeholder": "Dirección del servidor",
"bandwidth_placeholder": "Ingresa el ancho de banda, deja vacío para BBR",
"basic": "Configuración Básica",
"cancel": "Cancelar",
"cipher": "Algoritmo de Cifrado",
"city": "Ciudad",
"config": {
"actions": { "actions": {
"cancel": "Cancelar", "cancel": "Cancelar",
"save": "Guardar" "save": "Guardar"
}, },
"communicationKey": "Clave de comunicación", "address": "Dirección",
"communicationKeyDescription": "Utilizado para la autenticación del nodo.", "address_placeholder": "Dirección del servidor",
"description": "Gestiona las claves de comunicación del nodo, intervalos de extracción/empuje y multiplicadores dinámicos.", "apiHost": "Host de API",
"dynamicMultiplier": "Multiplicador dinámico", "apiHostPlaceholder": "http(s)://ejemplo.com",
"dynamicMultiplierDescription": "Define intervalos de tiempo y multiplicadores para ajustar la contabilidad del tráfico.", "bandwidth_placeholder": "Ingresa el ancho de banda, deja vacío para BBR",
"endTime": "Hora de finalización", "basic": "Configuración Básica",
"inputPlaceholder": "Por favor ingresa", "cancel": "Cancelar",
"multiplier": "Multiplicador", "cert_dns_env": "Variables de Entorno DNS",
"nodePullInterval": "Intervalo de extracción del nodo", "cert_dns_provider": "Proveedor de DNS",
"nodePullIntervalDescription": "Con qué frecuencia el nodo extrae la configuración (segundos).", "cert_mode": "Modo de Certificado",
"nodePushInterval": "Intervalo de empuje del nodo", "cipher": "Algoritmo de Cifrado",
"nodePushIntervalDescription": "Con qué frecuencia el nodo envía estadísticas (segundos).", "city": "Ciudad",
"reset": "Restablecer",
"save": "Guardar",
"saveSuccess": "Guardado con éxito",
"startTime": "Hora de inicio",
"timeSlot": "Intervalo de tiempo",
"title": "Configuración del nodo"
},
"confirm": "Confirmar", "confirm": "Confirmar",
"confirmDeleteDesc": "Esta acción no se puede deshacer.", "confirmDeleteDesc": "Esta acción no se puede deshacer.",
"confirmDeleteTitle": "¿Eliminar este servidor?", "confirmDeleteTitle": "¿Eliminar este servidor?",
"congestion_controller": "Controlador de congestión", "congestion_controller": "Controlador de congestión",
"connect": "Conectar",
"copied": "Copiado", "copied": "Copiado",
"copy": "Copiar", "copy": "Copiar",
"country": "País", "country": "País",
@@ -64,11 +50,14 @@
"expired": "Expirado", "expired": "Expirado",
"extra": "Configuración Extra", "extra": "Configuración Extra",
"flow": "Flujo", "flow": "Flujo",
"generate_quantum_resistant_key": "Generar clave resistente a cuánticos",
"generate_standard_encryption_key": "Generar clave de cifrado estándar",
"hop_interval": "Intervalo de salto", "hop_interval": "Intervalo de salto",
"hop_ports": "Puertos de salto", "hop_ports": "Puertos de salto",
"hop_ports_placeholder": "p. ej. 1-65535", "hop_ports_placeholder": "p. ej. 1-65535",
"host": "Host", "host": "Host",
"id": "ID", "id": "ID",
"installCommand": "Comando de instalación",
"ipAddresses": "Direcciones IP", "ipAddresses": "Direcciones IP",
"memory": "Memoria", "memory": "Memoria",
"migrate": "Migrar datos", "migrate": "Migrar datos",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Ingresa la contraseña de ofuscación", "obfs_password_placeholder": "Ingresa la contraseña de ofuscación",
"obfs_path": "Ruta de Ofuscación", "obfs_path": "Ruta de Ofuscación",
"offline": "Desconectado", "offline": "Desconectado",
"oneClickInstall": "Instalación con un clic",
"online": "Conectado", "online": "Conectado",
"onlineUsers": "Usuarios en línea", "onlineUsers": "Usuarios en línea",
"padding_scheme": "Esquema de Relleno", "padding_scheme": "Esquema de Relleno",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Cadena hexadecimal (hasta 16 caracteres)", "security_short_id_placeholder": "Cadena hexadecimal (hasta 16 caracteres)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Selecciona el método de encriptación", "select_encryption_method": "Selecciona el método de encriptación",
"server_config": {
"description": "Gestionar claves de comunicación del nodo, intervalos de extracción/push.",
"dynamic_multiplier": "Multiplicador Dinámico",
"dynamic_multiplier_desc": "Definir intervalos de tiempo y multiplicadores para ajustar la contabilidad del tráfico.",
"fields": {
"block_rules_placeholder": "Una regla de dominio por línea, soporta:\nkeyword:google (coincidencia de palabra clave)\nsuffix:google.com (coincidencia de sufijo)\nregex:.*\\.example\\.com$ (coincidencia de regex)\nexample.com (coincidencia exacta)",
"communication_key": "Clave de Comunicación",
"communication_key_desc": "Utilizado para la autenticación del nodo.",
"communication_key_placeholder": "Por favor ingrese",
"dns_config": "Configuración de DNS",
"dns_domains_placeholder": "Una regla de dominio por línea, soporta:\nkeyword:google (coincidencia de palabra clave)\nsuffix:google.com (coincidencia de sufijo)\nregex:.*\\.example\\.com$ (coincidencia de regex)\nexample.com (coincidencia exacta)",
"dns_proto_placeholder": "Seleccionar tipo",
"end_time": "Hora de Fin",
"ip_strategy": "Estrategia de IP",
"ip_strategy_desc": "Elija la preferencia de versión de IP para conexiones de red",
"ip_strategy_ipv4": "Preferir IPv4",
"ip_strategy_ipv6": "Preferir IPv6",
"ip_strategy_placeholder": "Seleccionar estrategia de IP",
"multiplier": "Multiplicador",
"node_pull_interval": "Intervalo de Extracción del Nodo",
"node_pull_interval_desc": "Con qué frecuencia el nodo extrae la configuración (segundos).",
"node_push_interval": "Intervalo de Push del Nodo",
"node_push_interval_desc": "Con qué frecuencia el nodo envía estadísticas (segundos).",
"outbound_address_placeholder": "Dirección del servidor",
"outbound_name_placeholder": "Nombre de la configuración",
"outbound_password_placeholder": "Contraseña (opcional)",
"outbound_port_placeholder": "Número de puerto",
"outbound_protocol_placeholder": "Seleccionar protocolo",
"outbound_rules_placeholder": "Una regla por línea, soporta:\nkeyword:google (coincidencia de palabra clave)\nsuffix:google.com (coincidencia de sufijo)\nregex:.*\\.example\\.com$ (coincidencia de regex)\nexample.com (coincidencia exacta)\nDejar vacío para enrutamiento por defecto",
"reset": "Restablecer",
"save": "Guardar",
"start_time": "Hora de Inicio",
"time_slot": "Intervalo de Tiempo",
"traffic_report_threshold": "Umbral de Informe de Tráfico",
"traffic_report_threshold_desc": "Establecer el umbral mínimo para el informe de tráfico. El tráfico solo se informará cuando supere este valor. Establezca en 0 o deje vacío para informar todo el tráfico."
},
"saveSuccess": "Guardado exitosamente",
"tabs": {
"basic": "Configuración Básica",
"block": "Reglas de Bloqueo",
"dns": "Configuración de DNS",
"outbound": "Reglas Salientes"
},
"title": "Configuración del Nodo"
},
"server_key": "Clave del servidor", "server_key": "Clave del servidor",
"service_name": "Nombre del servicio", "service_name": "Nombre del servicio",
"sorted_success": "Ordenado con éxito", "sorted_success": "Ordenado con éxito",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "آدرس",
"address_placeholder": "آدرس سرور",
"bandwidth_placeholder": "عرض پهنای باند، برای BBR خالی بگذارید",
"basic": "پیکربندی پایه",
"cancel": "لغو",
"cipher": "الگوریتم رمزنگاری",
"city": "شهر",
"config": {
"actions": { "actions": {
"cancel": "لغو", "cancel": "لغو",
"save": "ذخیره" "save": "ذخیره"
}, },
"communicationKey": "کلید ارتباطی", "address": "آدرس",
"communicationKeyDescription": "برای احراز هویت نود استفاده می‌شود.", "address_placeholder": "آدرس سرور",
"description": "مدیریت کلیدهای ارتباطی نود، فواصل کشیدن/فشردن و ضریب‌های دینامیک.", "apiHost": "میزبان API",
"dynamicMultiplier": "ضریب دینامیک", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "تعریف زمان‌های مشخص و ضریب‌ها برای تنظیم حسابداری ترافیک.", "bandwidth_placeholder": "عرض پهنای باند، برای BBR خالی بگذارید",
"endTime": "زمان پایان", "basic": "پیکربندی پایه",
"inputPlaceholder": "لطفاً وارد کنید", "cancel": "لغو",
"multiplier": "ضریب", "cert_dns_env": "متغیرهای محیطی DNS",
"nodePullInterval": "فاصله کشیدن نود", "cert_dns_provider": "ارائه‌دهنده DNS",
"nodePullIntervalDescription": "چند وقت یکبار نود پیکربندی را می‌کشد (ثانیه).", "cert_mode": "حالت گواهی",
"nodePushInterval": "فاصله فشردن نود", "cipher": "الگوریتم رمزنگاری",
"nodePushIntervalDescription": "چند وقت یکبار نود آمار را فشرده می‌کند (ثانیه).", "city": "شهر",
"reset": "بازنشانی",
"save": "ذخیره",
"saveSuccess": "با موفقیت ذخیره شد",
"startTime": "زمان شروع",
"timeSlot": "زمان‌بندی",
"title": "پیکربندی نود"
},
"confirm": "تأیید", "confirm": "تأیید",
"confirmDeleteDesc": "این عمل قابل بازگشت نیست.", "confirmDeleteDesc": "این عمل قابل بازگشت نیست.",
"confirmDeleteTitle": "آیا این سرور را حذف کنید؟", "confirmDeleteTitle": "آیا این سرور را حذف کنید؟",
"congestion_controller": "کنترل‌کننده ترافیک", "congestion_controller": "کنترل‌کننده ترافیک",
"connect": "اتصال",
"copied": "کپی شد", "copied": "کپی شد",
"copy": "کپی", "copy": "کپی",
"country": "کشور", "country": "کشور",
@@ -64,11 +50,14 @@
"expired": "منقضی شده", "expired": "منقضی شده",
"extra": "پیکربندی اضافی", "extra": "پیکربندی اضافی",
"flow": "جریان", "flow": "جریان",
"generate_quantum_resistant_key": "تولید کلید مقاوم در برابر کوانتوم",
"generate_standard_encryption_key": "تولید کلید رمزگذاری استاندارد",
"hop_interval": "فاصله پرش", "hop_interval": "فاصله پرش",
"hop_ports": "پورت‌های پرش", "hop_ports": "پورت‌های پرش",
"hop_ports_placeholder": "مثلاً 1-65535", "hop_ports_placeholder": "مثلاً 1-65535",
"host": "میزبان", "host": "میزبان",
"id": "شناسه", "id": "شناسه",
"installCommand": "دستور نصب",
"ipAddresses": "آدرس‌های IP", "ipAddresses": "آدرس‌های IP",
"memory": "حافظه", "memory": "حافظه",
"migrate": "انتقال داده", "migrate": "انتقال داده",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "رمز عبور اختفا را وارد کنید", "obfs_password_placeholder": "رمز عبور اختفا را وارد کنید",
"obfs_path": "مسیر پنهان‌سازی", "obfs_path": "مسیر پنهان‌سازی",
"offline": "آفلاین", "offline": "آفلاین",
"oneClickInstall": "نصب با یک کلیک",
"online": "آنلاین", "online": "آنلاین",
"onlineUsers": "کاربران آنلاین", "onlineUsers": "کاربران آنلاین",
"padding_scheme": "طرح پدینگ", "padding_scheme": "طرح پدینگ",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "رشته هگز (حداکثر 16 کاراکتر)", "security_short_id_placeholder": "رشته هگز (حداکثر 16 کاراکتر)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "روش رمزنگاری را انتخاب کنید", "select_encryption_method": "روش رمزنگاری را انتخاب کنید",
"server_config": {
"description": "مدیریت کلیدهای ارتباط نود، فواصل کشیدن/فشردن.",
"dynamic_multiplier": "ضریب دینامیک",
"dynamic_multiplier_desc": "زمان‌های مشخص و ضرایب را برای تنظیم حسابداری ترافیک تعریف کنید.",
"fields": {
"block_rules_placeholder": "یک قانون دامنه در هر خط، پشتیبانی می‌کند:\nkeyword:google (مطابقت با کلمه کلیدی)\nsuffix:google.com (مطابقت با پسوند)\nregex:.*\\.example\\.com$ (مطابقت با regex)\nexample.com (مطابقت دقیق)",
"communication_key": "کلید ارتباطی",
"communication_key_desc": "برای احراز هویت نود استفاده می‌شود.",
"communication_key_placeholder": "لطفاً وارد کنید",
"dns_config": "پیکربندی DNS",
"dns_domains_placeholder": "یک قانون دامنه در هر خط، پشتیبانی می‌کند:\nkeyword:google (مطابقت با کلمه کلیدی)\nsuffix:google.com (مطابقت با پسوند)\nregex:.*\\.example\\.com$ (مطابقت با regex)\nexample.com (مطابقت دقیق)",
"dns_proto_placeholder": "نوع را انتخاب کنید",
"end_time": "زمان پایان",
"ip_strategy": "استراتژی IP",
"ip_strategy_desc": "ترجیح نسخه IP را برای اتصالات شبکه انتخاب کنید",
"ip_strategy_ipv4": "ترجیح IPv4",
"ip_strategy_ipv6": "ترجیح IPv6",
"ip_strategy_placeholder": "استراتژی IP را انتخاب کنید",
"multiplier": "ضریب",
"node_pull_interval": "فاصله کشیدن نود",
"node_pull_interval_desc": "چند وقت یکبار نود پیکربندی را می‌کشد (ثانیه).",
"node_push_interval": "فاصله فشردن نود",
"node_push_interval_desc": "چند وقت یکبار نود آمار را فشرده می‌کند (ثانیه).",
"outbound_address_placeholder": "آدرس سرور",
"outbound_name_placeholder": "نام پیکربندی",
"outbound_password_placeholder": "رمز عبور (اختیاری)",
"outbound_port_placeholder": "شماره پورت",
"outbound_protocol_placeholder": "پروتکل را انتخاب کنید",
"outbound_rules_placeholder": "یک قانون در هر خط، پشتیبانی می‌کند:\nkeyword:google (مطابقت با کلمه کلیدی)\nsuffix:google.com (مطابقت با پسوند)\nregex:.*\\.example\\.com$ (مطابقت با regex)\nexample.com (مطابقت دقیق)\nبرای مسیریابی پیش‌فرض خالی بگذارید",
"reset": "تنظیم مجدد",
"save": "ذخیره",
"start_time": "زمان شروع",
"time_slot": "بازه زمانی",
"traffic_report_threshold": "آستانه گزارش ترافیک",
"traffic_report_threshold_desc": "حداقل آستانه برای گزارش ترافیک را تنظیم کنید. ترافیک فقط زمانی گزارش می‌شود که از این مقدار فراتر رود. برای گزارش همه ترافیک، مقدار را 0 تنظیم کنید یا خالی بگذارید."
},
"saveSuccess": "با موفقیت ذخیره شد",
"tabs": {
"basic": "پیکربندی پایه",
"block": "قوانین مسدود",
"dns": "پیکربندی DNS",
"outbound": "قوانین خروجی"
},
"title": "پیکربندی نود"
},
"server_key": "کلید سرور", "server_key": "کلید سرور",
"service_name": "نام سرویس", "service_name": "نام سرویس",
"sorted_success": "با موفقیت مرتب شد", "sorted_success": "با موفقیت مرتب شد",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Osoite",
"address_placeholder": "Palvelimen osoite",
"bandwidth_placeholder": "Syötä kaistanleveys, jätä tyhjäksi BBR:lle",
"basic": "Perusasetukset",
"cancel": "Peruuta",
"cipher": "Salausalgoritmi",
"city": "Kaupunki",
"config": {
"actions": { "actions": {
"cancel": "Peruuta", "cancel": "Peruuta",
"save": "Tallenna" "save": "Tallenna"
}, },
"communicationKey": "Viestintäavain", "address": "Osoite",
"communicationKeyDescription": "Käytetään solmun todennukseen.", "address_placeholder": "Palvelimen osoite",
"description": "Hallitse solmun viestintäavaimia, vetovälejä ja dynaamisia kertoimia.", "apiHost": "API-isäntä",
"dynamicMultiplier": "Dynaaminen kerroin", "apiHostPlaceholder": "http(s)://esimerkki.com",
"dynamicMultiplierDescription": "Määritä aikaväli ja kertoimet liikenteen laskentaa varten.", "bandwidth_placeholder": "Syökaistanleveys, jätä tyhjäksi BBR:lle",
"endTime": "Lopetusaika", "basic": "Perusasetukset",
"inputPlaceholder": "Ole hyvä ja syötä", "cancel": "Peruuta",
"multiplier": "Kerroin", "cert_dns_env": "DNS-ympäristömuuttujat",
"nodePullInterval": "Solmun vetoväli", "cert_dns_provider": "DNS-toimittaja",
"nodePullIntervalDescription": "Kuinka usein solmu vetää konfiguraation (sekunteina).", "cert_mode": "Sertifikaattitila",
"nodePushInterval": "Solmun työntöväli", "cipher": "Salausalgoritmi",
"nodePushIntervalDescription": "Kuinka usein solmu työntää tilastoja (sekunteina).", "city": "Kaupunki",
"reset": "Nollaa",
"save": "Tallenna",
"saveSuccess": "Tallennus onnistui",
"startTime": "Aloitusaika",
"timeSlot": "Aikaväli",
"title": "Solmun konfigurointi"
},
"confirm": "Vahvista", "confirm": "Vahvista",
"confirmDeleteDesc": "Tätä toimintoa ei voi peruuttaa.", "confirmDeleteDesc": "Tätä toimintoa ei voi peruuttaa.",
"confirmDeleteTitle": "Poista tämä palvelin?", "confirmDeleteTitle": "Poista tämä palvelin?",
"congestion_controller": "Ruuhkansäätö", "congestion_controller": "Ruuhkansäätö",
"connect": "Yhdistä",
"copied": "Kopioitu", "copied": "Kopioitu",
"copy": "Kopioi", "copy": "Kopioi",
"country": "Maa", "country": "Maa",
@@ -64,11 +50,14 @@
"expired": "Vanhentunut", "expired": "Vanhentunut",
"extra": "Lisäasetukset", "extra": "Lisäasetukset",
"flow": "Virta", "flow": "Virta",
"generate_quantum_resistant_key": "Luo kvanttikestävä avain",
"generate_standard_encryption_key": "Luo standardi salausavain",
"hop_interval": "Hyppyvälit", "hop_interval": "Hyppyvälit",
"hop_ports": "Hyppysatamat", "hop_ports": "Hyppysatamat",
"hop_ports_placeholder": "esim. 1-65535", "hop_ports_placeholder": "esim. 1-65535",
"host": "Isäntä", "host": "Isäntä",
"id": "ID", "id": "ID",
"installCommand": "Asennuskomento",
"ipAddresses": "IP-osoitteet", "ipAddresses": "IP-osoitteet",
"memory": "Muisti", "memory": "Muisti",
"migrate": "Siirrä tiedot", "migrate": "Siirrä tiedot",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Syötä häilytyssalasana", "obfs_password_placeholder": "Syötä häilytyssalasana",
"obfs_path": "Häilytys polku", "obfs_path": "Häilytys polku",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "Yhden napsautuksen asennus",
"online": "Online", "online": "Online",
"onlineUsers": "Verkossa olevat käyttäjät", "onlineUsers": "Verkossa olevat käyttäjät",
"padding_scheme": "Täyttökaavio", "padding_scheme": "Täyttökaavio",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Hex-merkkijono (enintään 16 merkkiä)", "security_short_id_placeholder": "Hex-merkkijono (enintään 16 merkkiä)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Valitse salausmenetelmä", "select_encryption_method": "Valitse salausmenetelmä",
"server_config": {
"description": "Hallitse solmun viestintäavaimia, vetämis-/työntövälejä.",
"dynamic_multiplier": "Dynaaminen kerroin",
"dynamic_multiplier_desc": "Määritä aikavälit ja kertoimet liikenteen laskentaa varten.",
"fields": {
"block_rules_placeholder": "Yksi domain-sääntö per rivi, tukee:\nkeyword:google (avainsanan vastaavuus)\nsuffix:google.com (päätteiden vastaavuus)\nregex:.*\\.example\\.com$ (regex-vastaavuus)\nexample.com (täsmällinen vastaavuus)",
"communication_key": "Viestintäavain",
"communication_key_desc": "Käytetään solmun todennukseen.",
"communication_key_placeholder": "Ole hyvä ja syötä",
"dns_config": "DNS-asetukset",
"dns_domains_placeholder": "Yksi domain-sääntö per rivi, tukee:\nkeyword:google (avainsanan vastaavuus)\nsuffix:google.com (päätteiden vastaavuus)\nregex:.*\\.example\\.com$ (regex-vastaavuus)\nexample.com (täsmällinen vastaavuus)",
"dns_proto_placeholder": "Valitse tyyppi",
"end_time": "Lopetusaika",
"ip_strategy": "IP-strategia",
"ip_strategy_desc": "Valitse IP-version mieltymys verkkoyhteyksille",
"ip_strategy_ipv4": "Suosi IPv4:ää",
"ip_strategy_ipv6": "Suosi IPv6:ta",
"ip_strategy_placeholder": "Valitse IP-strategia",
"multiplier": "Kerroin",
"node_pull_interval": "Solmun vetoväli",
"node_pull_interval_desc": "Kuinka usein solmu vetää konfiguraation (sekunteina).",
"node_push_interval": "Solmun työntöväli",
"node_push_interval_desc": "Kuinka usein solmu työntää tilastoja (sekunteina).",
"outbound_address_placeholder": "Palvelimen osoite",
"outbound_name_placeholder": "Konfiguraation nimi",
"outbound_password_placeholder": "Salasana (valinnainen)",
"outbound_port_placeholder": "Porttinumero",
"outbound_protocol_placeholder": "Valitse protokolla",
"outbound_rules_placeholder": "Yksi sääntö per rivi, tukee:\nkeyword:google (avainsanan vastaavuus)\nsuffix:google.com (päätteiden vastaavuus)\nregex:.*\\.example\\.com$ (regex-vastaavuus)\nexample.com (täsmällinen vastaavuus)\nJätä tyhjäksi oletusreititykselle",
"reset": "Nollaa",
"save": "Tallenna",
"start_time": "Aloitusaika",
"time_slot": "Aikaväli",
"traffic_report_threshold": "Liikennetiedotuksen kynnysarvo",
"traffic_report_threshold_desc": "Aseta liikennetiedotuksen vähimmäiskynnys. Liikennettä raportoidaan vain, kun se ylittää tämän arvon. Aseta 0 tai jätä tyhjäksi, jotta kaikki liikenne raportoidaan."
},
"saveSuccess": "Tallennus onnistui",
"tabs": {
"basic": "Perusasetukset",
"block": "Estosäännöt",
"dns": "DNS-asetukset",
"outbound": "Ulkosäännöt"
},
"title": "Solmun konfiguraatio"
},
"server_key": "Palvelimen avain", "server_key": "Palvelimen avain",
"service_name": "Palvelun nimi", "service_name": "Palvelun nimi",
"sorted_success": "Lajiteltu onnistuneesti", "sorted_success": "Lajiteltu onnistuneesti",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Adresse",
"address_placeholder": "Adresse du serveur",
"bandwidth_placeholder": "Entrez la bande passante, laissez vide pour BBR",
"basic": "Configuration de base",
"cancel": "Annuler",
"cipher": "Algorithme de chiffrement",
"city": "Ville",
"config": {
"actions": { "actions": {
"cancel": "Annuler", "cancel": "Annuler",
"save": "Enregistrer" "save": "Enregistrer"
}, },
"communicationKey": "Clé de communication", "address": "Adresse",
"communicationKeyDescription": "Utilisé pour l'authentification du nœud.", "address_placeholder": "Adresse du serveur",
"description": "Gérer les clés de communication du nœud, les intervalles de tirage/poussée et les multiplicateurs dynamiques.", "apiHost": "Hôte API",
"dynamicMultiplier": "Multiplicateur dynamique", "apiHostPlaceholder": "http(s)://exemple.com",
"dynamicMultiplierDescription": "Définir des créneaux horaires et des multiplicateurs pour ajuster le comptage du trafic.", "bandwidth_placeholder": "Entrez la bande passante, laissez vide pour BBR",
"endTime": "Heure de fin", "basic": "Configuration de base",
"inputPlaceholder": "Veuillez entrer", "cancel": "Annuler",
"multiplier": "Multiplicateur", "cert_dns_env": "Variables d'environnement DNS",
"nodePullInterval": "Intervalle de tirage du nœud", "cert_dns_provider": "Fournisseur DNS",
"nodePullIntervalDescription": "À quelle fréquence le nœud tire la configuration (secondes).", "cert_mode": "Mode de certificat",
"nodePushInterval": "Intervalle de poussée du nœud", "cipher": "Algorithme de chiffrement",
"nodePushIntervalDescription": "À quelle fréquence le nœud pousse les statistiques (secondes).", "city": "Ville",
"reset": "Réinitialiser",
"save": "Enregistrer",
"saveSuccess": "Enregistré avec succès",
"startTime": "Heure de début",
"timeSlot": "Créneau horaire",
"title": "Configuration du nœud"
},
"confirm": "Confirmer", "confirm": "Confirmer",
"confirmDeleteDesc": "Cette action ne peut pas être annulée.", "confirmDeleteDesc": "Cette action ne peut pas être annulée.",
"confirmDeleteTitle": "Supprimer ce serveur ?", "confirmDeleteTitle": "Supprimer ce serveur ?",
"congestion_controller": "Contrôleur de congestion", "congestion_controller": "Contrôleur de congestion",
"connect": "Se connecter",
"copied": "Copié", "copied": "Copié",
"copy": "Copier", "copy": "Copier",
"country": "Pays", "country": "Pays",
@@ -64,11 +50,14 @@
"expired": "Expiré", "expired": "Expiré",
"extra": "Configuration supplémentaire", "extra": "Configuration supplémentaire",
"flow": "Flux", "flow": "Flux",
"generate_quantum_resistant_key": "Générer une clé résistante aux quantiques",
"generate_standard_encryption_key": "Générer une clé de chiffrement standard",
"hop_interval": "Intervalle de saut", "hop_interval": "Intervalle de saut",
"hop_ports": "Ports de saut", "hop_ports": "Ports de saut",
"hop_ports_placeholder": "ex. 1-65535", "hop_ports_placeholder": "ex. 1-65535",
"host": "Hôte", "host": "Hôte",
"id": "ID", "id": "ID",
"installCommand": "Commande d'installation",
"ipAddresses": "Adresses IP", "ipAddresses": "Adresses IP",
"memory": "Mémoire", "memory": "Mémoire",
"migrate": "Migrer les données", "migrate": "Migrer les données",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Entrez le mot de passe d'obfuscation", "obfs_password_placeholder": "Entrez le mot de passe d'obfuscation",
"obfs_path": "Chemin Obfs", "obfs_path": "Chemin Obfs",
"offline": "Hors ligne", "offline": "Hors ligne",
"oneClickInstall": "Installation en un clic",
"online": "En ligne", "online": "En ligne",
"onlineUsers": "Utilisateurs en ligne", "onlineUsers": "Utilisateurs en ligne",
"padding_scheme": "Schéma de remplissage", "padding_scheme": "Schéma de remplissage",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Chaîne hexadécimale (jusqu'à 16 caractères)", "security_short_id_placeholder": "Chaîne hexadécimale (jusqu'à 16 caractères)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Sélectionner la méthode de chiffrement", "select_encryption_method": "Sélectionner la méthode de chiffrement",
"server_config": {
"description": "Gérer les clés de communication du nœud, les intervalles de pull/push.",
"dynamic_multiplier": "Multiplicateur dynamique",
"dynamic_multiplier_desc": "Définir des créneaux horaires et des multiplicateurs pour ajuster le comptage du trafic.",
"fields": {
"block_rules_placeholder": "Une règle de domaine par ligne, prend en charge :\nkeyword:google (correspondance par mot-clé)\nsuffix:google.com (correspondance par suffixe)\nregex:.*\\.example\\.com$ (correspondance regex)\nexample.com (correspondance exacte)",
"communication_key": "Clé de communication",
"communication_key_desc": "Utilisé pour l'authentification du nœud.",
"communication_key_placeholder": "Veuillez entrer",
"dns_config": "Configuration DNS",
"dns_domains_placeholder": "Une règle de domaine par ligne, prend en charge :\nkeyword:google (correspondance par mot-clé)\nsuffix:google.com (correspondance par suffixe)\nregex:.*\\.example\\.com$ (correspondance regex)\nexample.com (correspondance exacte)",
"dns_proto_placeholder": "Sélectionnez le type",
"end_time": "Heure de fin",
"ip_strategy": "Stratégie IP",
"ip_strategy_desc": "Choisissez la préférence de version IP pour les connexions réseau",
"ip_strategy_ipv4": "Préférer IPv4",
"ip_strategy_ipv6": "Préférer IPv6",
"ip_strategy_placeholder": "Sélectionnez la stratégie IP",
"multiplier": "Multiplicateur",
"node_pull_interval": "Intervalle de pull du nœud",
"node_pull_interval_desc": "À quelle fréquence le nœud récupère la configuration (secondes).",
"node_push_interval": "Intervalle de push du nœud",
"node_push_interval_desc": "À quelle fréquence le nœud envoie des statistiques (secondes).",
"outbound_address_placeholder": "Adresse du serveur",
"outbound_name_placeholder": "Nom de la configuration",
"outbound_password_placeholder": "Mot de passe (optionnel)",
"outbound_port_placeholder": "Numéro de port",
"outbound_protocol_placeholder": "Sélectionnez le protocole",
"outbound_rules_placeholder": "Une règle par ligne, prend en charge :\nkeyword:google (correspondance par mot-clé)\nsuffix:google.com (correspondance par suffixe)\nregex:.*\\.example\\.com$ (correspondance regex)\nexample.com (correspondance exacte)\nLaisser vide pour le routage par défaut",
"reset": "Réinitialiser",
"save": "Enregistrer",
"start_time": "Heure de début",
"time_slot": "Créneau horaire",
"traffic_report_threshold": "Seuil de rapport de trafic",
"traffic_report_threshold_desc": "Définir le seuil minimum pour le rapport de trafic. Le trafic ne sera rapporté que s'il dépasse cette valeur. Mettre à 0 ou laisser vide pour rapporter tout le trafic."
},
"saveSuccess": "Enregistré avec succès",
"tabs": {
"basic": "Configuration de base",
"block": "Règles de blocage",
"dns": "Configuration DNS",
"outbound": "Règles sortantes"
},
"title": "Configuration du nœud"
},
"server_key": "Clé du serveur", "server_key": "Clé du serveur",
"service_name": "Nom du service", "service_name": "Nom du service",
"sorted_success": "Trié avec succès", "sorted_success": "Trié avec succès",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "पता",
"address_placeholder": "सर्वर का पता",
"bandwidth_placeholder": "बैंडविड्थ दर्ज करें, BBR के लिए खाली छोड़ें",
"basic": "बुनियादी कॉन्फ़िगरेशन",
"cancel": "रद्द करें",
"cipher": "एन्क्रिप्शन एल्गोरिदम",
"city": "शहर",
"config": {
"actions": { "actions": {
"cancel": "रद्द करें", "cancel": "रद्द करें",
"save": "सहेजें" "save": "सहेजें"
}, },
"communicationKey": "संचार कुंजी", "address": "पता",
"communicationKeyDescription": "नोड प्रमाणीकरण के लिए उपयोग किया जाता है।", "address_placeholder": "सर्वर का पता",
"description": "नोड संचार कुंजी, पुल/धक्का अंतराल, और गतिशील गुणांक प्रबंधित करें।", "apiHost": "एपीआई होस्ट",
"dynamicMultiplier": "गतिशील गुणांक", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "यातायात लेखांकन को समायोजित करने के लिए समय स्लॉट और गुणांक परिभाषित करें", "bandwidth_placeholder": "बैंडविड्थ दर्ज करें, BBR के लिए खाली छोड़ें",
"endTime": "समाप्ति का समय", "basic": "बुनियादी कॉन्फ़िगरेशन",
"inputPlaceholder": "कृपया दर्ज करें", "cancel": "रद्द करें",
"multiplier": "गुणांक", "cert_dns_env": "DNS पर्यावरण चर",
"nodePullInterval": "नोड पुल अंतराल", "cert_dns_provider": "DNS प्रदाता",
"nodePullIntervalDescription": "नोड कितनी बार कॉन्फ़िगरेशन खींचता है (सेकंड में)।", "cert_mode": "प्रमाणपत्र मोड",
"nodePushInterval": "नोड धक्का अंतराल", "cipher": "एन्क्रिप्शन एल्गोरिदम",
"nodePushIntervalDescription": "नोड कितनी बार आँकड़े धकेलता है (सेकंड में)।", "city": "शहर",
"reset": "रीसेट करें",
"save": "सहेजें",
"saveSuccess": "सफलता से सहेजा गया",
"startTime": "शुरुआत का समय",
"timeSlot": "समय स्लॉट",
"title": "नोड कॉन्फ़िगरेशन"
},
"confirm": "पुष्टि करें", "confirm": "पुष्टि करें",
"confirmDeleteDesc": "यह क्रिया पूर्ववत नहीं की जा सकती।", "confirmDeleteDesc": "यह क्रिया पूर्ववत नहीं की जा सकती।",
"confirmDeleteTitle": "क्या इस सर्वर को हटाएं?", "confirmDeleteTitle": "क्या इस सर्वर को हटाएं?",
"congestion_controller": "भीड़ नियंत्रण", "congestion_controller": "भीड़ नियंत्रण",
"connect": "जोड़ें",
"copied": "कॉपी किया गया", "copied": "कॉपी किया गया",
"copy": "कॉपी करें", "copy": "कॉपी करें",
"country": "देश", "country": "देश",
@@ -64,11 +50,14 @@
"expired": "समय समाप्त", "expired": "समय समाप्त",
"extra": "अतिरिक्त कॉन्फ़िगरेशन", "extra": "अतिरिक्त कॉन्फ़िगरेशन",
"flow": "प्रवाह", "flow": "प्रवाह",
"generate_quantum_resistant_key": "क्वांटम-प्रतिरोधी कुंजी उत्पन्न करें",
"generate_standard_encryption_key": "मानक एन्क्रिप्शन कुंजी उत्पन्न करें",
"hop_interval": "हॉप अंतराल", "hop_interval": "हॉप अंतराल",
"hop_ports": "हॉप पोर्ट", "hop_ports": "हॉप पोर्ट",
"hop_ports_placeholder": "जैसे 1-65535", "hop_ports_placeholder": "जैसे 1-65535",
"host": "होस्ट", "host": "होस्ट",
"id": "आईडी", "id": "आईडी",
"installCommand": "इंस्टॉल कमांड",
"ipAddresses": "आईपी पते", "ipAddresses": "आईपी पते",
"memory": "मेमोरी", "memory": "मेमोरी",
"migrate": "डेटा माइग्रेट करें", "migrate": "डेटा माइग्रेट करें",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "अवशोषण पासवर्ड दर्ज करें", "obfs_password_placeholder": "अवशोषण पासवर्ड दर्ज करें",
"obfs_path": "ओबफ्स पथ", "obfs_path": "ओबफ्स पथ",
"offline": "ऑफलाइन", "offline": "ऑफलाइन",
"oneClickInstall": "एक-क्लिक इंस्टॉलेशन",
"online": "ऑनलाइन", "online": "ऑनलाइन",
"onlineUsers": "ऑनलाइन उपयोगकर्ता", "onlineUsers": "ऑनलाइन उपयोगकर्ता",
"padding_scheme": "पैडिंग योजना", "padding_scheme": "पैडिंग योजना",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "हेक्स स्ट्रिंग (16 अक्षरों तक)", "security_short_id_placeholder": "हेक्स स्ट्रिंग (16 अक्षरों तक)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "एन्क्रिप्शन विधि चुनें", "select_encryption_method": "एन्क्रिप्शन विधि चुनें",
"server_config": {
"description": "नोड संचार कुंजी, खींचने/धकेलने के अंतराल प्रबंधित करें।",
"dynamic_multiplier": "गतिशील गुणांक",
"dynamic_multiplier_desc": "यातायात लेखांकन को समायोजित करने के लिए समय स्लॉट और गुणांक परिभाषित करें।",
"fields": {
"block_rules_placeholder": "प्रति पंक्ति एक डोमेन नियम, समर्थन:\nकीवर्ड:google (कीवर्ड मिलान)\nsuffix:google.com (सफिक्स मिलान)\nregex:.*\\.example\\.com$ (regex मिलान)\nexample.com (सटीक मिलान)",
"communication_key": "संचार कुंजी",
"communication_key_desc": "नोड प्रमाणीकरण के लिए उपयोग किया जाता है।",
"communication_key_placeholder": "कृपया दर्ज करें",
"dns_config": "DNS कॉन्फ़िगरेशन",
"dns_domains_placeholder": "प्रति पंक्ति एक डोमेन नियम, समर्थन:\nकीवर्ड:google (कीवर्ड मिलान)\nsuffix:google.com (सफिक्स मिलान)\nregex:.*\\.example\\.com$ (regex मिलान)\nexample.com (सटीक मिलान)",
"dns_proto_placeholder": "प्रकार चुनें",
"end_time": "समाप्ति का समय",
"ip_strategy": "IP रणनीति",
"ip_strategy_desc": "नेटवर्क कनेक्शनों के लिए IP संस्करण प्राथमिकता चुनें",
"ip_strategy_ipv4": "IPv4 को प्राथमिकता दें",
"ip_strategy_ipv6": "IPv6 को प्राथमिकता दें",
"ip_strategy_placeholder": "IP रणनीति चुनें",
"multiplier": "गुणांक",
"node_pull_interval": "नोड खींचने का अंतराल",
"node_pull_interval_desc": "नोड कितनी बार कॉन्फ़िगरेशन खींचता है (सेकंड में)।",
"node_push_interval": "नोड धकेलने का अंतराल",
"node_push_interval_desc": "नोड कितनी बार आँकड़े धकेलता है (सेकंड में)।",
"outbound_address_placeholder": "सर्वर पता",
"outbound_name_placeholder": "कॉन्फ़िगरेशन नाम",
"outbound_password_placeholder": "पासवर्ड (वैकल्पिक)",
"outbound_port_placeholder": "पोर्ट संख्या",
"outbound_protocol_placeholder": "प्रोटोकॉल चुनें",
"outbound_rules_placeholder": "प्रति पंक्ति एक नियम, समर्थन:\nकीवर्ड:google (कीवर्ड मिलान)\nsuffix:google.com (सफिक्स मिलान)\nregex:.*\\.example\\.com$ (regex मिलान)\nexample.com (सटीक मिलान)\nडिफ़ॉल्ट रूटिंग के लिए खाली छोड़ें",
"reset": "रीसेट करें",
"save": "सहेजें",
"start_time": "शुरुआत का समय",
"time_slot": "समय स्लॉट",
"traffic_report_threshold": "यातायात रिपोर्ट थ्रेशोल्ड",
"traffic_report_threshold_desc": "यातायात रिपोर्टिंग के लिए न्यूनतम थ्रेशोल्ड सेट करें। जब यातायात इस मान को पार करेगा तभी रिपोर्ट किया जाएगा। सभी यातायात रिपोर्ट करने के लिए 0 पर सेट करें या खाली छोड़ें।"
},
"saveSuccess": "सफलता से सहेजा गया",
"tabs": {
"basic": "बुनियादी कॉन्फ़िगरेशन",
"block": "ब्लॉक नियम",
"dns": "DNS कॉन्फ़िगरेशन",
"outbound": "आउटबाउंड नियम"
},
"title": "नोड कॉन्फ़िगरेशन"
},
"server_key": "सर्वर कुंजी", "server_key": "सर्वर कुंजी",
"service_name": "सेवा का नाम", "service_name": "सेवा का नाम",
"sorted_success": "सफलता से क्रमबद्ध किया गया", "sorted_success": "सफलता से क्रमबद्ध किया गया",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Cím",
"address_placeholder": "Szerver cím",
"bandwidth_placeholder": "Adja meg a sávszélességet, hagyja üresen a BBR-hez",
"basic": "Alapértelmezett Beállítások",
"cancel": "Mégse",
"cipher": "Titkosítási algoritmus",
"city": "Város",
"config": {
"actions": { "actions": {
"cancel": "Mégse", "cancel": "Mégse",
"save": "Mentés" "save": "Mentés"
}, },
"communicationKey": "Kommunikációs kulcs", "address": "Cím",
"communicationKeyDescription": "A node hitelesítéséhez használatos.", "address_placeholder": "Szerver cím",
"description": "A node kommunikációs kulcsainak, pull/push időközeinek és dinamikus szorzóinak kezelése.", "apiHost": "API gazda",
"dynamicMultiplier": "Dinamikus szorzó", "apiHostPlaceholder": "http(s)://pelda.com",
"dynamicMultiplierDescription": "Időszakok és szorzók meghatározása a forgalom elszámolásának módosításához.", "bandwidth_placeholder": "Adja meg a sávszélességet, hagyja üresen a BBR-hez",
"endTime": "Befejezési idő", "basic": "Alapértelmezett Beállítások",
"inputPlaceholder": "Kérjük, adja meg", "cancel": "Mégse",
"multiplier": "Szorzó", "cert_dns_env": "DNS Környezeti Váltok",
"nodePullInterval": "Node pull időköz", "cert_dns_provider": "DNS Szolgáltató",
"nodePullIntervalDescription": "Milyen gyakran húzza a node a konfigurációt (másodperc).", "cert_mode": "Tanúsítvány Mód",
"nodePushInterval": "Node push időköz", "cipher": "Titkosítási algoritmus",
"nodePushIntervalDescription": "Milyen gyakran tolja a node a statisztikákat (másodperc).", "city": "Város",
"reset": "Visszaállítás",
"save": "Mentés",
"saveSuccess": "Sikeresen mentve",
"startTime": "Kezdési idő",
"timeSlot": "Időszak",
"title": "Node konfiguráció"
},
"confirm": "Megerősítés", "confirm": "Megerősítés",
"confirmDeleteDesc": "Ez a művelet nem vonható vissza.", "confirmDeleteDesc": "Ez a művelet nem vonható vissza.",
"confirmDeleteTitle": "Törölni szeretné ezt a szervert?", "confirmDeleteTitle": "Törölni szeretné ezt a szervert?",
"congestion_controller": "Torlaszkezelő", "congestion_controller": "Torlaszkezelő",
"connect": "Csatlakozás",
"copied": "Másolva", "copied": "Másolva",
"copy": "Másolás", "copy": "Másolás",
"country": "Ország", "country": "Ország",
@@ -64,11 +50,14 @@
"expired": "Lejárt", "expired": "Lejárt",
"extra": "További konfiguráció", "extra": "További konfiguráció",
"flow": "Forgalom", "flow": "Forgalom",
"generate_quantum_resistant_key": "Kvantumálló kulcs generálása",
"generate_standard_encryption_key": "Szabványos titkosítási kulcs generálása",
"hop_interval": "Ugrás időköz", "hop_interval": "Ugrás időköz",
"hop_ports": "Ugrás portok", "hop_ports": "Ugrás portok",
"hop_ports_placeholder": "pl. 1-65535", "hop_ports_placeholder": "pl. 1-65535",
"host": "Gazda", "host": "Gazda",
"id": "ID", "id": "ID",
"installCommand": "Telepítési parancs",
"ipAddresses": "IP címek", "ipAddresses": "IP címek",
"memory": "Memória", "memory": "Memória",
"migrate": "Adatok migrálása", "migrate": "Adatok migrálása",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Adja meg az obfuszkálás jelszót", "obfs_password_placeholder": "Adja meg az obfuszkálás jelszót",
"obfs_path": "Obfs útvonal", "obfs_path": "Obfs útvonal",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "Egylépéses telepítés",
"online": "Online", "online": "Online",
"onlineUsers": "Online felhasználók", "onlineUsers": "Online felhasználók",
"padding_scheme": "Kitöltési Sémák", "padding_scheme": "Kitöltési Sémák",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Hexadecimális karakterlánc (legfeljebb 16 karakter)", "security_short_id_placeholder": "Hexadecimális karakterlánc (legfeljebb 16 karakter)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Válassza ki a titkosítási módszert", "select_encryption_method": "Válassza ki a titkosítási módszert",
"server_config": {
"description": "Node kommunikációs kulcsok kezelése, pull/push időközök.",
"dynamic_multiplier": "Dinamikus szorzó",
"dynamic_multiplier_desc": "Időszakok és szorzók meghatározása a forgalom elszámolásának módosításához.",
"fields": {
"block_rules_placeholder": "Egy domain szabály soronként, támogatja:\nkeyword:google (kulcsszó egyezés)\nsuffix:google.com (végződés egyezés)\nregex:.*\\.example\\.com$ (regex egyezés)\nexample.com (pontos egyezés)",
"communication_key": "Kommunikációs kulcs",
"communication_key_desc": "A node hitelesítéséhez használatos.",
"communication_key_placeholder": "Kérjük, adja meg",
"dns_config": "DNS Beállítások",
"dns_domains_placeholder": "Egy domain szabály soronként, támogatja:\nkeyword:google (kulcsszó egyezés)\nsuffix:google.com (végződés egyezés)\nregex:.*\\.example\\.com$ (regex egyezés)\nexample.com (pontos egyezés)",
"dns_proto_placeholder": "Válassza ki a típust",
"end_time": "Befejezési idő",
"ip_strategy": "IP Stratégia",
"ip_strategy_desc": "Válassza ki az IP verzió preferenciát a hálózati kapcsolatokhoz",
"ip_strategy_ipv4": "IPv4 előnyben",
"ip_strategy_ipv6": "IPv6 előnyben",
"ip_strategy_placeholder": "Válassza ki az IP stratégiát",
"multiplier": "Szorzó",
"node_pull_interval": "Node lehúzási időköz",
"node_pull_interval_desc": "Milyen gyakran húzza le a node a konfigurációt (másodperc).",
"node_push_interval": "Node feltöltési időköz",
"node_push_interval_desc": "Milyen gyakran tölti fel a node a statisztikákat (másodperc).",
"outbound_address_placeholder": "Szerver címe",
"outbound_name_placeholder": "Konfiguráció neve",
"outbound_password_placeholder": "Jelszó (opcionális)",
"outbound_port_placeholder": "Port szám",
"outbound_protocol_placeholder": "Válassza ki a protokollt",
"outbound_rules_placeholder": "Egy szabály soronként, támogatja:\nkeyword:google (kulcsszó egyezés)\nsuffix:google.com (végződés egyezés)\nregex:.*\\.example\\.com$ (regex egyezés)\nexample.com (pontos egyezés)\nHagyja üresen az alapértelmezett útvonalhoz",
"reset": "Visszaállítás",
"save": "Mentés",
"start_time": "Kezdési idő",
"time_slot": "Időszak",
"traffic_report_threshold": "Forgalom Jelentési Küszöb",
"traffic_report_threshold_desc": "Állítsa be a forgalom jelentésének minimális küszöbét. A forgalmat csak akkor jelentjük, ha meghaladja ezt az értéket. Állítsa 0-ra vagy hagyja üresen, hogy minden forgalmat jelenteni tudjon."
},
"saveSuccess": "Sikeresen mentve",
"tabs": {
"basic": "Alapértelmezett Beállítások",
"block": "Blokkolási Szabályok",
"dns": "DNS Beállítások",
"outbound": "Kimenő Szabályok"
},
"title": "Node konfiguráció"
},
"server_key": "Szerver kulcs", "server_key": "Szerver kulcs",
"service_name": "Szolgáltatás neve", "service_name": "Szolgáltatás neve",
"sorted_success": "Sikeresen rendezve", "sorted_success": "Sikeresen rendezve",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "アドレス",
"address_placeholder": "サーバーアドレス",
"bandwidth_placeholder": "帯域幅を入力してください。BBRの場合は空白のままにしてください。",
"basic": "基本設定",
"cancel": "キャンセル",
"cipher": "暗号化アルゴリズム",
"city": "都市",
"config": {
"actions": { "actions": {
"cancel": "キャンセル", "cancel": "キャンセル",
"save": "保存" "save": "保存"
}, },
"communicationKey": "通信キー", "address": "アドレス",
"communicationKeyDescription": "ノード認証に使用されます。", "address_placeholder": "サーバーアドレス",
"description": "ノードの通信キー、プル/プッシュ間隔、動的倍率を管理します。", "apiHost": "APIホスト",
"dynamicMultiplier": "動的倍率", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "トラフィック計算を調整するための時間スロットと倍率を定義します。", "bandwidth_placeholder": "帯域幅を入力してください。BBRの場合は空白のままにしてください。",
"endTime": "終了時間", "basic": "基本設定",
"inputPlaceholder": "入力してください", "cancel": "キャンセル",
"multiplier": "倍率", "cert_dns_env": "DNS環境変数",
"nodePullInterval": "ノードプル間隔", "cert_dns_provider": "DNSプロバイダー",
"nodePullIntervalDescription": "ノードが設定をプルする頻度(秒)。", "cert_mode": "証明書モード",
"nodePushInterval": "ノードプッシュ間隔", "cipher": "暗号化アルゴリズム",
"nodePushIntervalDescription": "ノードが統計をプッシュする頻度(秒)。", "city": "都市",
"reset": "リセット",
"save": "保存",
"saveSuccess": "保存に成功しました",
"startTime": "開始時間",
"timeSlot": "時間スロット",
"title": "ノード設定"
},
"confirm": "確認", "confirm": "確認",
"confirmDeleteDesc": "この操作は元に戻せません。", "confirmDeleteDesc": "この操作は元に戻せません。",
"confirmDeleteTitle": "このサーバーを削除しますか?", "confirmDeleteTitle": "このサーバーを削除しますか?",
"congestion_controller": "混雑制御", "congestion_controller": "混雑制御",
"connect": "接続",
"copied": "コピーしました", "copied": "コピーしました",
"copy": "コピー", "copy": "コピー",
"country": "国", "country": "国",
@@ -64,11 +50,14 @@
"expired": "期限切れ", "expired": "期限切れ",
"extra": "追加設定", "extra": "追加設定",
"flow": "フロー", "flow": "フロー",
"generate_quantum_resistant_key": "量子耐性キーを生成",
"generate_standard_encryption_key": "標準暗号化キーを生成",
"hop_interval": "ホップ間隔", "hop_interval": "ホップ間隔",
"hop_ports": "ホップポート", "hop_ports": "ホップポート",
"hop_ports_placeholder": "例: 1-65535", "hop_ports_placeholder": "例: 1-65535",
"host": "ホスト", "host": "ホスト",
"id": "ID", "id": "ID",
"installCommand": "インストールコマンド",
"ipAddresses": "IPアドレス", "ipAddresses": "IPアドレス",
"memory": "メモリ", "memory": "メモリ",
"migrate": "データを移行する", "migrate": "データを移行する",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "難読化パスワードを入力してください", "obfs_password_placeholder": "難読化パスワードを入力してください",
"obfs_path": "難読化パス", "obfs_path": "難読化パス",
"offline": "オフライン", "offline": "オフライン",
"oneClickInstall": "ワンクリックインストール",
"online": "オンライン", "online": "オンライン",
"onlineUsers": "オンラインユーザー", "onlineUsers": "オンラインユーザー",
"padding_scheme": "パディングスキーム", "padding_scheme": "パディングスキーム",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "16文字以内の16進数文字列", "security_short_id_placeholder": "16文字以内の16進数文字列",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "暗号化方式を選択", "select_encryption_method": "暗号化方式を選択",
"server_config": {
"description": "ノード通信キー、プル/プッシュ間隔を管理します。",
"dynamic_multiplier": "動的乗数",
"dynamic_multiplier_desc": "トラフィック計算を調整するための時間スロットと乗数を定義します。",
"fields": {
"block_rules_placeholder": "1行に1つのドメインルール、サポート:\nkeyword:google(キーワードマッチング)\nsuffix:google.com(サフィックスマッチング)\nregex:.*\\.example\\.com$(正規表現マッチング)\nexample.com(完全一致)",
"communication_key": "通信キー",
"communication_key_desc": "ノード認証に使用されます。",
"communication_key_placeholder": "入力してください",
"dns_config": "DNS設定",
"dns_domains_placeholder": "1行に1つのドメインルール、サポート:\nkeyword:google(キーワードマッチング)\nsuffix:google.com(サフィックスマッチング)\nregex:.*\\.example\\.com$(正規表現マッチング)\nexample.com(完全一致)",
"dns_proto_placeholder": "タイプを選択",
"end_time": "終了時間",
"ip_strategy": "IP戦略",
"ip_strategy_desc": "ネットワーク接続のためのIPバージョンの優先度を選択します。",
"ip_strategy_ipv4": "IPv4を優先",
"ip_strategy_ipv6": "IPv6を優先",
"ip_strategy_placeholder": "IP戦略を選択",
"multiplier": "乗数",
"node_pull_interval": "ノードプル間隔",
"node_pull_interval_desc": "ノードが設定をプルする頻度(秒)。",
"node_push_interval": "ノードプッシュ間隔",
"node_push_interval_desc": "ノードが統計をプッシュする頻度(秒)。",
"outbound_address_placeholder": "サーバーアドレス",
"outbound_name_placeholder": "設定名",
"outbound_password_placeholder": "パスワード(オプション)",
"outbound_port_placeholder": "ポート番号",
"outbound_protocol_placeholder": "プロトコルを選択",
"outbound_rules_placeholder": "1行に1つのルール、サポート:\nkeyword:google(キーワードマッチング)\nsuffix:google.com(サフィックスマッチング)\nregex:.*\\.example\\.com$(正規表現マッチング)\nexample.com(完全一致)\nデフォルトルーティングには空白のままにしてください",
"reset": "リセット",
"save": "保存",
"start_time": "開始時間",
"time_slot": "時間スロット",
"traffic_report_threshold": "トラフィックレポートの閾値",
"traffic_report_threshold_desc": "トラフィック報告の最小閾値を設定します。この値を超えた場合のみトラフィックが報告されます。すべてのトラフィックを報告するには0に設定するか、空白のままにしてください。"
},
"saveSuccess": "正常に保存されました",
"tabs": {
"basic": "基本設定",
"block": "ブロックルール",
"dns": "DNS設定",
"outbound": "アウトバウンドルール"
},
"title": "ノード設定"
},
"server_key": "サーバーキー", "server_key": "サーバーキー",
"service_name": "サービス名", "service_name": "サービス名",
"sorted_success": "正常にソートされました", "sorted_success": "正常にソートされました",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "주소",
"address_placeholder": "서버 주소",
"bandwidth_placeholder": "대역폭을 입력하세요. BBR을 사용하려면 비워 두세요.",
"basic": "기본 설정",
"cancel": "취소",
"cipher": "암호화 알고리즘",
"city": "도시",
"config": {
"actions": { "actions": {
"cancel": "취소", "cancel": "취소",
"save": "저장" "save": "저장"
}, },
"communicationKey": "통신 키", "address": "주소",
"communicationKeyDescription": "노드 인증에 사용됩니다.", "address_placeholder": "서버 주소",
"description": "노드 통신 키, 풀/푸시 간격 및 동적 배수를 관리합니다.", "apiHost": "API 호스트",
"dynamicMultiplier": "동적 배수", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "트래픽 회계를 조정하기 위한 시간 슬롯 및 배수를 정의합니다.", "bandwidth_placeholder": "대역폭을 입력하세요. BBR을 사용하려면 비워 두세요.",
"endTime": "종료 시간", "basic": "기본 설정",
"inputPlaceholder": "입력해 주세요", "cancel": "취소",
"multiplier": "배수", "cert_dns_env": "DNS 환경 변수",
"nodePullInterval": "노드 풀 간격", "cert_dns_provider": "DNS 제공자",
"nodePullIntervalDescription": "노드가 구성을 가져오는 빈도(초 단위).", "cert_mode": "인증서 모드",
"nodePushInterval": "노드 푸시 간격", "cipher": "암호화 알고리즘",
"nodePushIntervalDescription": "노드가 통계를 푸시하는 빈도(초 단위).", "city": "도시",
"reset": "초기화",
"save": "저장",
"saveSuccess": "저장 성공",
"startTime": "시작 시간",
"timeSlot": "시간 슬롯",
"title": "노드 구성"
},
"confirm": "확인", "confirm": "확인",
"confirmDeleteDesc": "이 작업은 실행 취소할 수 없습니다.", "confirmDeleteDesc": "이 작업은 실행 취소할 수 없습니다.",
"confirmDeleteTitle": "이 서버를 삭제하시겠습니까?", "confirmDeleteTitle": "이 서버를 삭제하시겠습니까?",
"congestion_controller": "혼잡 제어기", "congestion_controller": "혼잡 제어기",
"connect": "연결",
"copied": "복사됨", "copied": "복사됨",
"copy": "복사", "copy": "복사",
"country": "국가", "country": "국가",
@@ -64,11 +50,14 @@
"expired": "만료됨", "expired": "만료됨",
"extra": "추가 구성", "extra": "추가 구성",
"flow": "흐름", "flow": "흐름",
"generate_quantum_resistant_key": "양자 저항 키 생성",
"generate_standard_encryption_key": "표준 암호화 키 생성",
"hop_interval": "홉 간격", "hop_interval": "홉 간격",
"hop_ports": "홉 포트", "hop_ports": "홉 포트",
"hop_ports_placeholder": "예: 1-65535", "hop_ports_placeholder": "예: 1-65535",
"host": "호스트", "host": "호스트",
"id": "ID", "id": "ID",
"installCommand": "설치 명령",
"ipAddresses": "IP 주소", "ipAddresses": "IP 주소",
"memory": "메모리", "memory": "메모리",
"migrate": "데이터 마이그레이션", "migrate": "데이터 마이그레이션",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "난독화 비밀번호를 입력하세요", "obfs_password_placeholder": "난독화 비밀번호를 입력하세요",
"obfs_path": "난독화 경로", "obfs_path": "난독화 경로",
"offline": "오프라인", "offline": "오프라인",
"oneClickInstall": "원클릭 설치",
"online": "온라인", "online": "온라인",
"onlineUsers": "온라인 사용자", "onlineUsers": "온라인 사용자",
"padding_scheme": "패딩 규칙", "padding_scheme": "패딩 규칙",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "16자 이내의 헥스 문자열", "security_short_id_placeholder": "16자 이내의 헥스 문자열",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "암호화 방법 선택", "select_encryption_method": "암호화 방법 선택",
"server_config": {
"description": "노드 통신 키, 풀/푸시 간격 관리.",
"dynamic_multiplier": "동적 배수",
"dynamic_multiplier_desc": "트래픽 회계를 조정하기 위한 시간 슬롯과 배수를 정의합니다.",
"fields": {
"block_rules_placeholder": "한 줄에 하나의 도메인 규칙, 지원:\nkeyword:google (키워드 일치)\nsuffix:google.com (접미사 일치)\nregex:.*\\.example\\.com$ (정규 표현식 일치)\nexample.com (정확한 일치)",
"communication_key": "통신 키",
"communication_key_desc": "노드 인증에 사용됩니다.",
"communication_key_placeholder": "입력해 주세요",
"dns_config": "DNS 구성",
"dns_domains_placeholder": "한 줄에 하나의 도메인 규칙, 지원:\nkeyword:google (키워드 일치)\nsuffix:google.com (접미사 일치)\nregex:.*\\.example\\.com$ (정규 표현식 일치)\nexample.com (정확한 일치)",
"dns_proto_placeholder": "유형 선택",
"end_time": "종료 시간",
"ip_strategy": "IP 전략",
"ip_strategy_desc": "네트워크 연결을 위한 IP 버전 선호도를 선택합니다.",
"ip_strategy_ipv4": "IPv4 우선",
"ip_strategy_ipv6": "IPv6 우선",
"ip_strategy_placeholder": "IP 전략 선택",
"multiplier": "배수",
"node_pull_interval": "노드 풀 간격",
"node_pull_interval_desc": "노드가 구성을 가져오는 빈도(초).",
"node_push_interval": "노드 푸시 간격",
"node_push_interval_desc": "노드가 통계를 푸시하는 빈도(초).",
"outbound_address_placeholder": "서버 주소",
"outbound_name_placeholder": "구성 이름",
"outbound_password_placeholder": "비밀번호 (선택 사항)",
"outbound_port_placeholder": "포트 번호",
"outbound_protocol_placeholder": "프로토콜 선택",
"outbound_rules_placeholder": "한 줄에 하나의 규칙, 지원:\nkeyword:google (키워드 일치)\nsuffix:google.com (접미사 일치)\nregex:.*\\.example\\.com$ (정규 표현식 일치)\nexample.com (정확한 일치)\n기본 라우팅을 위해 비워두기",
"reset": "초기화",
"save": "저장",
"start_time": "시작 시간",
"time_slot": "시간 슬롯",
"traffic_report_threshold": "트래픽 보고 임계값",
"traffic_report_threshold_desc": "트래픽 보고를 위한 최소 임계값을 설정합니다. 이 값을 초과할 때만 트래픽이 보고됩니다. 0으로 설정하거나 비워두면 모든 트래픽이 보고됩니다."
},
"saveSuccess": "성공적으로 저장되었습니다.",
"tabs": {
"basic": "기본 구성",
"block": "차단 규칙",
"dns": "DNS 구성",
"outbound": "아웃바운드 규칙"
},
"title": "노드 구성"
},
"server_key": "서버 키", "server_key": "서버 키",
"service_name": "서비스 이름", "service_name": "서비스 이름",
"sorted_success": "정렬이 완료되었습니다.", "sorted_success": "정렬이 완료되었습니다.",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Adresse",
"address_placeholder": "Serveradresse",
"bandwidth_placeholder": "Skriv inn båndbredde, la stå tomt for BBR",
"basic": "Grunnleggende Konfigurasjon",
"cancel": "Avbryt",
"cipher": "Krypteringsalgoritme",
"city": "By",
"config": {
"actions": { "actions": {
"cancel": "Avbryt", "cancel": "Avbryt",
"save": "Lagre" "save": "Lagre"
}, },
"communicationKey": "Kommunikasjonsnøkkel", "address": "Adresse",
"communicationKeyDescription": "Brukes for nodeautentisering.", "address_placeholder": "Serveradresse",
"description": "Administrer nodekommunikasjonsnøkler, pull/push-intervaller og dynamiske multiplikatorer.", "apiHost": "API-vert",
"dynamicMultiplier": "Dynamisk multiplikator", "apiHostPlaceholder": "http(s)://eksempel.com",
"dynamicMultiplierDescription": "Definer tidsluker og multiplikatorer for å justere trafikkregnskap.", "bandwidth_placeholder": "Skriv inn båndbredde, la stå tomt for BBR",
"endTime": "Sluttid", "basic": "Grunnleggende Konfigurasjon",
"inputPlaceholder": "Vennligst skriv inn", "cancel": "Avbryt",
"multiplier": "Multiplikator", "cert_dns_env": "DNS-miljøvariabler",
"nodePullInterval": "Node pull-intervall", "cert_dns_provider": "DNS-leverandør",
"nodePullIntervalDescription": "Hvor ofte noden henter konfigurasjon (sekunder).", "cert_mode": "Sertifikatmodus",
"nodePushInterval": "Node push-intervall", "cipher": "Krypteringsalgoritme",
"nodePushIntervalDescription": "Hvor ofte noden sender statistikk (sekunder).", "city": "By",
"reset": "Tilbakestill",
"save": "Lagre",
"saveSuccess": "Lagring vellykket",
"startTime": "Starttid",
"timeSlot": "Tidsluke",
"title": "Nodekonfigurasjon"
},
"confirm": "Bekreft", "confirm": "Bekreft",
"confirmDeleteDesc": "Denne handlingen kan ikke angres.", "confirmDeleteDesc": "Denne handlingen kan ikke angres.",
"confirmDeleteTitle": "Slette denne serveren?", "confirmDeleteTitle": "Slette denne serveren?",
"congestion_controller": "Kongestjonskontroller", "congestion_controller": "Kongestjonskontroller",
"connect": "Koble til",
"copied": "Kopiert", "copied": "Kopiert",
"copy": "Kopier", "copy": "Kopier",
"country": "Land", "country": "Land",
@@ -64,11 +50,14 @@
"expired": "Utløpt", "expired": "Utløpt",
"extra": "Ekstra konfigurasjon", "extra": "Ekstra konfigurasjon",
"flow": "Flyt", "flow": "Flyt",
"generate_quantum_resistant_key": "Generer kvantumresistent nøkkel",
"generate_standard_encryption_key": "Generer standard krypteringsnøkkel",
"hop_interval": "Hoppintervall", "hop_interval": "Hoppintervall",
"hop_ports": "Hoppporter", "hop_ports": "Hoppporter",
"hop_ports_placeholder": "f.eks. 1-65535", "hop_ports_placeholder": "f.eks. 1-65535",
"host": "Vert", "host": "Vert",
"id": "ID", "id": "ID",
"installCommand": "Installasjonskommando",
"ipAddresses": "IP-adresser", "ipAddresses": "IP-adresser",
"memory": "Minne", "memory": "Minne",
"migrate": "Migrer data", "migrate": "Migrer data",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Skriv inn obfuskasjonspassord", "obfs_password_placeholder": "Skriv inn obfuskasjonspassord",
"obfs_path": "Obfs Sti", "obfs_path": "Obfs Sti",
"offline": "Frakoblet", "offline": "Frakoblet",
"oneClickInstall": "Én-klikk installasjon",
"online": "På nett", "online": "På nett",
"onlineUsers": "Brukere på nett", "onlineUsers": "Brukere på nett",
"padding_scheme": "Polstring Skjema", "padding_scheme": "Polstring Skjema",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Hex-streng (opptil 16 tegn)", "security_short_id_placeholder": "Hex-streng (opptil 16 tegn)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Velg krypteringsmetode", "select_encryption_method": "Velg krypteringsmetode",
"server_config": {
"description": "Administrer nodekommunikasjonsnøkler, pull/push-intervaller.",
"dynamic_multiplier": "Dynamisk multiplikator",
"dynamic_multiplier_desc": "Definer tidsluker og multiplikatorer for å justere trafikkregnskap.",
"fields": {
"block_rules_placeholder": "Én domene regel per linje, støtter:\nkeyword:google (nøkkelordmatching)\nsuffix:google.com (suffixmatching)\nregex:.*\\.example\\.com$ (regexmatching)\nexample.com (nøyaktig matching)",
"communication_key": "Kommunikasjonsnøkkel",
"communication_key_desc": "Brukes for nodeautentisering.",
"communication_key_placeholder": "Vennligst skriv inn",
"dns_config": "DNS-konfigurasjon",
"dns_domains_placeholder": "Én domene regel per linje, støtter:\nkeyword:google (nøkkelordmatching)\nsuffix:google.com (suffixmatching)\nregex:.*\\.example\\.com$ (regexmatching)\nexample.com (nøyaktig matching)",
"dns_proto_placeholder": "Velg type",
"end_time": "Sluttid",
"ip_strategy": "IP-strategi",
"ip_strategy_desc": "Velg IP-versjon preferanse for nettverksforbindelser",
"ip_strategy_ipv4": "Foretrekk IPv4",
"ip_strategy_ipv6": "Foretrekk IPv6",
"ip_strategy_placeholder": "Velg IP-strategi",
"multiplier": "Multiplikator",
"node_pull_interval": "Node pull-intervall",
"node_pull_interval_desc": "Hvor ofte noden henter konfigurasjon (sekunder).",
"node_push_interval": "Node push-intervall",
"node_push_interval_desc": "Hvor ofte noden sender statistikk (sekunder).",
"outbound_address_placeholder": "Serveradresse",
"outbound_name_placeholder": "Konfigurasjonsnavn",
"outbound_password_placeholder": "Passord (valgfritt)",
"outbound_port_placeholder": "Portnummer",
"outbound_protocol_placeholder": "Velg protokoll",
"outbound_rules_placeholder": "Én regel per linje, støtter:\nkeyword:google (nøkkelordmatching)\nsuffix:google.com (suffixmatching)\nregex:.*\\.example\\.com$ (regexmatching)\nexample.com (nøyaktig matching)\nLa stå tomt for standard ruting",
"reset": "Tilbakestill",
"save": "Lagre",
"start_time": "Starttid",
"time_slot": "Tidsluke",
"traffic_report_threshold": "Trafikkrapportgrense",
"traffic_report_threshold_desc": "Sett minimumsgrensen for trafikkrapportering. Trafikk vil kun bli rapportert når den overstiger denne verdien. Sett til 0 eller la stå tomt for å rapportere all trafikk."
},
"saveSuccess": "Lagring vellykket",
"tabs": {
"basic": "Grunnleggende konfigurasjon",
"block": "Blokker regler",
"dns": "DNS-konfigurasjon",
"outbound": "Utgående regler"
},
"title": "Nodekonfigurasjon"
},
"server_key": "Servernøkkel", "server_key": "Servernøkkel",
"service_name": "Tjenestenavn", "service_name": "Tjenestenavn",
"sorted_success": "Sortert med suksess", "sorted_success": "Sortert med suksess",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Adres",
"address_placeholder": "Adres serwera",
"bandwidth_placeholder": "Wprowadź przepustowość, pozostaw puste dla BBR",
"basic": "Podstawowa konfiguracja",
"cancel": "Anuluj",
"cipher": "Algorytm szyfrowania",
"city": "Miasto",
"config": {
"actions": { "actions": {
"cancel": "Anuluj", "cancel": "Anuluj",
"save": "Zapisz" "save": "Zapisz"
}, },
"communicationKey": "Klucz komunikacyjny", "address": "Adres",
"communicationKeyDescription": "Używany do uwierzytelniania węzła.", "address_placeholder": "Adres serwera",
"description": "Zarządzaj kluczami komunikacyjnymi węzła, interwałami pobierania/wysyłania oraz dynamicznymi mnożnikami.", "apiHost": "Host API",
"dynamicMultiplier": "Dynamiczny mnożnik", "apiHostPlaceholder": "http(s)://przyklad.com",
"dynamicMultiplierDescription": "Zdefiniuj przedziały czasowe i mnożniki, aby dostosować rozliczanie ruchu.", "bandwidth_placeholder": "Wprowadź przepustowość, pozostaw puste dla BBR",
"endTime": "Czas zakończenia", "basic": "Podstawowa konfiguracja",
"inputPlaceholder": "Proszę wpisać", "cancel": "Anuluj",
"multiplier": "Mnożnik", "cert_dns_env": "Zmienne środowiskowe DNS",
"nodePullInterval": "Interwał pobierania węzła", "cert_dns_provider": "Dostawca DNS",
"nodePullIntervalDescription": "Jak często węzeł pobiera konfigurację (sekundy).", "cert_mode": "Tryb certyfikatu",
"nodePushInterval": "Interwał wysyłania węzła", "cipher": "Algorytm szyfrowania",
"nodePushIntervalDescription": "Jak często węzeł wysyła statystyki (sekundy).", "city": "Miasto",
"reset": "Resetuj",
"save": "Zapisz",
"saveSuccess": "Zapisano pomyślnie",
"startTime": "Czas rozpoczęcia",
"timeSlot": "Przedział czasowy",
"title": "Konfiguracja węzła"
},
"confirm": "Potwierdź", "confirm": "Potwierdź",
"confirmDeleteDesc": "Ta akcja nie może być cofnięta.", "confirmDeleteDesc": "Ta akcja nie może być cofnięta.",
"confirmDeleteTitle": "Usunąć ten serwer?", "confirmDeleteTitle": "Usunąć ten serwer?",
"congestion_controller": "Kontroler przeciążenia", "congestion_controller": "Kontroler przeciążenia",
"connect": "Połącz",
"copied": "Skopiowano", "copied": "Skopiowano",
"copy": "Kopiuj", "copy": "Kopiuj",
"country": "Kraj", "country": "Kraj",
@@ -64,11 +50,14 @@
"expired": "Wygasł", "expired": "Wygasł",
"extra": "Dodatkowa konfiguracja", "extra": "Dodatkowa konfiguracja",
"flow": "Przepływ", "flow": "Przepływ",
"generate_quantum_resistant_key": "Generuj klucz odporny na kwanty",
"generate_standard_encryption_key": "Generuj standardowy klucz szyfrowania",
"hop_interval": "Interwał skoku", "hop_interval": "Interwał skoku",
"hop_ports": "Porty skoku", "hop_ports": "Porty skoku",
"hop_ports_placeholder": "np. 1-65535", "hop_ports_placeholder": "np. 1-65535",
"host": "Host", "host": "Host",
"id": "ID", "id": "ID",
"installCommand": "Polecenie instalacji",
"ipAddresses": "Adresy IP", "ipAddresses": "Adresy IP",
"memory": "Pamięć", "memory": "Pamięć",
"migrate": "Migracja danych", "migrate": "Migracja danych",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Wprowadź hasło obfuskacji", "obfs_password_placeholder": "Wprowadź hasło obfuskacji",
"obfs_path": "Ścieżka obfuskacji", "obfs_path": "Ścieżka obfuskacji",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "Instalacja jednym kliknięciem",
"online": "Online", "online": "Online",
"onlineUsers": "Użytkownicy online", "onlineUsers": "Użytkownicy online",
"padding_scheme": "Schemat wypełnienia", "padding_scheme": "Schemat wypełnienia",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Ciąg szesnastkowy (do 16 znaków)", "security_short_id_placeholder": "Ciąg szesnastkowy (do 16 znaków)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Wybierz metodę szyfrowania", "select_encryption_method": "Wybierz metodę szyfrowania",
"server_config": {
"description": "Zarządzaj kluczami komunikacyjnymi węzła, interwałami pobierania/wysyłania.",
"dynamic_multiplier": "Dynamiczny mnożnik",
"dynamic_multiplier_desc": "Zdefiniuj przedziały czasowe i mnożniki do dostosowania rozliczania ruchu.",
"fields": {
"block_rules_placeholder": "Jedna reguła domeny na linię, wspiera:\nkeyword:google (dopasowanie słów kluczowych)\nsuffix:google.com (dopasowanie sufiksu)\nregex:.*\\.example\\.com$ (dopasowanie regex)\nexample.com (dokładne dopasowanie)",
"communication_key": "Klucz komunikacyjny",
"communication_key_desc": "Używany do uwierzytelniania węzła.",
"communication_key_placeholder": "Proszę wpisać",
"dns_config": "Konfiguracja DNS",
"dns_domains_placeholder": "Jedna reguła domeny na linię, wspiera:\nkeyword:google (dopasowanie słów kluczowych)\nsuffix:google.com (dopasowanie sufiksu)\nregex:.*\\.example\\.com$ (dopasowanie regex)\nexample.com (dokładne dopasowanie)",
"dns_proto_placeholder": "Wybierz typ",
"end_time": "Czas zakończenia",
"ip_strategy": "Strategia IP",
"ip_strategy_desc": "Wybierz preferencje wersji IP dla połączeń sieciowych",
"ip_strategy_ipv4": "Preferuj IPv4",
"ip_strategy_ipv6": "Preferuj IPv6",
"ip_strategy_placeholder": "Wybierz strategię IP",
"multiplier": "Mnożnik",
"node_pull_interval": "Interwał pobierania węzła",
"node_pull_interval_desc": "Jak często węzeł pobiera konfigurację (sekundy).",
"node_push_interval": "Interwał wysyłania węzła",
"node_push_interval_desc": "Jak często węzeł wysyła statystyki (sekundy).",
"outbound_address_placeholder": "Adres serwera",
"outbound_name_placeholder": "Nazwa konfiguracji",
"outbound_password_placeholder": "Hasło (opcjonalnie)",
"outbound_port_placeholder": "Numer portu",
"outbound_protocol_placeholder": "Wybierz protokół",
"outbound_rules_placeholder": "Jedna reguła na linię, wspiera:\nkeyword:google (dopasowanie słów kluczowych)\nsuffix:google.com (dopasowanie sufiksu)\nregex:.*\\.example\\.com$ (dopasowanie regex)\nexample.com (dokładne dopasowanie)\nPozostaw puste dla domyślnego routingu",
"reset": "Resetuj",
"save": "Zapisz",
"start_time": "Czas rozpoczęcia",
"time_slot": "Przedział czasowy",
"traffic_report_threshold": "Próg raportu ruchu",
"traffic_report_threshold_desc": "Ustaw minimalny próg dla raportowania ruchu. Ruch będzie raportowany tylko wtedy, gdy przekroczy tę wartość. Ustaw na 0 lub pozostaw puste, aby raportować cały ruch."
},
"saveSuccess": "Zapisano pomyślnie",
"tabs": {
"basic": "Podstawowa konfiguracja",
"block": "Reguły blokowania",
"dns": "Konfiguracja DNS",
"outbound": "Reguły wychodzące"
},
"title": "Konfiguracja węzła"
},
"server_key": "Klucz serwera", "server_key": "Klucz serwera",
"service_name": "Nazwa usługi", "service_name": "Nazwa usługi",
"sorted_success": "Posortowano pomyślnie", "sorted_success": "Posortowano pomyślnie",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Endereço",
"address_placeholder": "Endereço do servidor",
"bandwidth_placeholder": "Insira a largura de banda, deixe em branco para BBR",
"basic": "Configuração Básica",
"cancel": "Cancelar",
"cipher": "Algoritmo de Criptografia",
"city": "Cidade",
"config": {
"actions": { "actions": {
"cancel": "Cancelar", "cancel": "Cancelar",
"save": "Salvar" "save": "Salvar"
}, },
"communicationKey": "Chave de comunicação", "address": "Endereço",
"communicationKeyDescription": "Usado para autenticação do nó.", "address_placeholder": "Endereço do servidor",
"description": "Gerenciar chaves de comunicação do nó, intervalos de pull/push e multiplicadores dinâmicos.", "apiHost": "Host da API",
"dynamicMultiplier": "Multiplicador dinâmico", "apiHostPlaceholder": "http(s)://exemplo.com",
"dynamicMultiplierDescription": "Defina intervalos de tempo e multiplicadores para ajustar a contagem de tráfego.", "bandwidth_placeholder": "Insira a largura de banda, deixe em branco para BBR",
"endTime": "Hora de término", "basic": "Configuração Básica",
"inputPlaceholder": "Por favor, insira", "cancel": "Cancelar",
"multiplier": "Multiplicador", "cert_dns_env": "Variáveis de Ambiente DNS",
"nodePullInterval": "Intervalo de pull do nó", "cert_dns_provider": "Provedor DNS",
"nodePullIntervalDescription": "Com que frequência o nó puxa a configuração (segundos).", "cert_mode": "Modo de Certificado",
"nodePushInterval": "Intervalo de push do nó", "cipher": "Algoritmo de Criptografia",
"nodePushIntervalDescription": "Com que frequência o nó envia estatísticas (segundos).", "city": "Cidade",
"reset": "Redefinir",
"save": "Salvar",
"saveSuccess": "Salvo com sucesso",
"startTime": "Hora de início",
"timeSlot": "Intervalo de tempo",
"title": "Configuração do nó"
},
"confirm": "Confirmar", "confirm": "Confirmar",
"confirmDeleteDesc": "Esta ação não pode ser desfeita.", "confirmDeleteDesc": "Esta ação não pode ser desfeita.",
"confirmDeleteTitle": "Excluir este servidor?", "confirmDeleteTitle": "Excluir este servidor?",
"congestion_controller": "Controlador de congestionamento", "congestion_controller": "Controlador de congestionamento",
"connect": "Conectar",
"copied": "Copiado", "copied": "Copiado",
"copy": "Copiar", "copy": "Copiar",
"country": "País", "country": "País",
@@ -64,11 +50,14 @@
"expired": "Expirado", "expired": "Expirado",
"extra": "Configuração Extra", "extra": "Configuração Extra",
"flow": "Fluxo", "flow": "Fluxo",
"generate_quantum_resistant_key": "Gerar chave resistente a quânticos",
"generate_standard_encryption_key": "Gerar chave de criptografia padrão",
"hop_interval": "Intervalo de salto", "hop_interval": "Intervalo de salto",
"hop_ports": "Portas de salto", "hop_ports": "Portas de salto",
"hop_ports_placeholder": "ex. 1-65535", "hop_ports_placeholder": "ex. 1-65535",
"host": "Host", "host": "Host",
"id": "ID", "id": "ID",
"installCommand": "Comando de instalação",
"ipAddresses": "Endereços IP", "ipAddresses": "Endereços IP",
"memory": "Memória", "memory": "Memória",
"migrate": "Migrar Dados", "migrate": "Migrar Dados",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Insira a senha de ofuscação", "obfs_password_placeholder": "Insira a senha de ofuscação",
"obfs_path": "Caminho de Ofuscação", "obfs_path": "Caminho de Ofuscação",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "Instalação com um clique",
"online": "Online", "online": "Online",
"onlineUsers": "Usuários online", "onlineUsers": "Usuários online",
"padding_scheme": "Esquema de Preenchimento", "padding_scheme": "Esquema de Preenchimento",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "String hexadecimal (até 16 caracteres)", "security_short_id_placeholder": "String hexadecimal (até 16 caracteres)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Selecionar método de criptografia", "select_encryption_method": "Selecionar método de criptografia",
"server_config": {
"description": "Gerenciar chaves de comunicação do nó, intervalos de pull/push.",
"dynamic_multiplier": "Multiplicador Dinâmico",
"dynamic_multiplier_desc": "Defina intervalos de tempo e multiplicadores para ajustar a contagem de tráfego.",
"fields": {
"block_rules_placeholder": "Uma regra de domínio por linha, suporta:\nkeyword:google (correspondência de palavra-chave)\nsuffix:google.com (correspondência de sufixo)\nregex:.*\\.example\\.com$ (correspondência regex)\nexample.com (correspondência exata)",
"communication_key": "Chave de Comunicação",
"communication_key_desc": "Usado para autenticação do nó.",
"communication_key_placeholder": "Por favor, insira",
"dns_config": "Configuração DNS",
"dns_domains_placeholder": "Uma regra de domínio por linha, suporta:\nkeyword:google (correspondência de palavra-chave)\nsuffix:google.com (correspondência de sufixo)\nregex:.*\\.example\\.com$ (correspondência regex)\nexample.com (correspondência exata)",
"dns_proto_placeholder": "Selecione o tipo",
"end_time": "Hora de Término",
"ip_strategy": "Estratégia de IP",
"ip_strategy_desc": "Escolha a preferência de versão de IP para conexões de rede",
"ip_strategy_ipv4": "Preferir IPv4",
"ip_strategy_ipv6": "Preferir IPv6",
"ip_strategy_placeholder": "Selecione a estratégia de IP",
"multiplier": "Multiplicador",
"node_pull_interval": "Intervalo de Pull do Nó",
"node_pull_interval_desc": "Com que frequência o nó puxa a configuração (segundos).",
"node_push_interval": "Intervalo de Push do Nó",
"node_push_interval_desc": "Com que frequência o nó envia estatísticas (segundos).",
"outbound_address_placeholder": "Endereço do servidor",
"outbound_name_placeholder": "Nome da configuração",
"outbound_password_placeholder": "Senha (opcional)",
"outbound_port_placeholder": "Número da porta",
"outbound_protocol_placeholder": "Selecione o protocolo",
"outbound_rules_placeholder": "Uma regra por linha, suporta:\nkeyword:google (correspondência de palavra-chave)\nsuffix:google.com (correspondência de sufixo)\nregex:.*\\.example\\.com$ (correspondência regex)\nexample.com (correspondência exata)\nDeixe em branco para roteamento padrão",
"reset": "Redefinir",
"save": "Salvar",
"start_time": "Hora de Início",
"time_slot": "Intervalo de Tempo",
"traffic_report_threshold": "Limite de Relatório de Tráfego",
"traffic_report_threshold_desc": "Defina o limite mínimo para o relatório de tráfego. O tráfego só será relatado quando exceder este valor. Defina como 0 ou deixe em branco para relatar todo o tráfego."
},
"saveSuccess": "Salvo com sucesso",
"tabs": {
"basic": "Configuração Básica",
"block": "Regras de Bloqueio",
"dns": "Configuração DNS",
"outbound": "Regras de Saída"
},
"title": "Configuração do Nó"
},
"server_key": "Chave do servidor", "server_key": "Chave do servidor",
"service_name": "Nome do serviço", "service_name": "Nome do serviço",
"sorted_success": "Ordenado com sucesso", "sorted_success": "Ordenado com sucesso",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Adresă",
"address_placeholder": "Adresă server",
"bandwidth_placeholder": "Introduceți lățimea de bandă, lăsați liber pentru BBR",
"basic": "Configurare de bază",
"cancel": "Anulează",
"cipher": "Algoritm de criptare",
"city": "Oraș",
"config": {
"actions": { "actions": {
"cancel": "Anulează", "cancel": "Anulează",
"save": "Salvează" "save": "Salvează"
}, },
"communicationKey": "Cheie de comunicare", "address": "Adresă",
"communicationKeyDescription": "Utilizată pentru autentificarea nodului.", "address_placeholder": "Adresă server",
"description": "Gestionează cheile de comunicare ale nodului, intervalele de pull/push și multiplicatorii dinamici.", "apiHost": "Gazda API",
"dynamicMultiplier": "Multiplicator dinamic", "apiHostPlaceholder": "http(s)://exemplu.com",
"dynamicMultiplierDescription": "Definirea intervalelor de timp și a multiplicatorilor pentru ajustarea contabilizării traficului.", "bandwidth_placeholder": "Introduceți lățimea de bandă, lăsați liber pentru BBR",
"endTime": "Ora de sfârșit", "basic": "Configurare de bază",
"inputPlaceholder": "Te rog introdu", "cancel": "Anulează",
"multiplier": "Multiplicator", "cert_dns_env": "Variabile de mediu DNS",
"nodePullInterval": "Interval de pull al nodului", "cert_dns_provider": "Furnizor DNS",
"nodePullIntervalDescription": "Cât de des nodul trage configurația (secunde).", "cert_mode": "Mod certificat",
"nodePushInterval": "Interval de push al nodului", "cipher": "Algoritm de criptare",
"nodePushIntervalDescription": "Cât de des nodul trimite statistici (secunde).", "city": "Oraș",
"reset": "Resetare",
"save": "Salvează",
"saveSuccess": "Salvat cu succes",
"startTime": "Ora de început",
"timeSlot": "Interval de timp",
"title": "Configurarea nodului"
},
"confirm": "Confirmă", "confirm": "Confirmă",
"confirmDeleteDesc": "Această acțiune nu poate fi anulată.", "confirmDeleteDesc": "Această acțiune nu poate fi anulată.",
"confirmDeleteTitle": "Șterge acest server?", "confirmDeleteTitle": "Șterge acest server?",
"congestion_controller": "Controler de congestie", "congestion_controller": "Controler de congestie",
"connect": "Conectare",
"copied": "Copiat", "copied": "Copiat",
"copy": "Copiază", "copy": "Copiază",
"country": "Țară", "country": "Țară",
@@ -64,11 +50,14 @@
"expired": "Expirat", "expired": "Expirat",
"extra": "Configurație suplimentară", "extra": "Configurație suplimentară",
"flow": "Flux", "flow": "Flux",
"generate_quantum_resistant_key": "Generează cheie rezistentă la cuantică",
"generate_standard_encryption_key": "Generează cheie de criptare standard",
"hop_interval": "Interval de hop", "hop_interval": "Interval de hop",
"hop_ports": "Porturi hop", "hop_ports": "Porturi hop",
"hop_ports_placeholder": "de ex. 1-65535", "hop_ports_placeholder": "de ex. 1-65535",
"host": "Gazdă", "host": "Gazdă",
"id": "ID", "id": "ID",
"installCommand": "Comandă de instalare",
"ipAddresses": "Adrese IP", "ipAddresses": "Adrese IP",
"memory": "Memorie", "memory": "Memorie",
"migrate": "Migrați datele", "migrate": "Migrați datele",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Introdu parola de obfuscare", "obfs_password_placeholder": "Introdu parola de obfuscare",
"obfs_path": "Cale Obfs", "obfs_path": "Cale Obfs",
"offline": "Offline", "offline": "Offline",
"oneClickInstall": "Instalare cu un singur clic",
"online": "Online", "online": "Online",
"onlineUsers": "Utilizatori online", "onlineUsers": "Utilizatori online",
"padding_scheme": "Schema de umplere", "padding_scheme": "Schema de umplere",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Șir hexazecimal (până la 16 caractere)", "security_short_id_placeholder": "Șir hexazecimal (până la 16 caractere)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Selectează metoda de criptare", "select_encryption_method": "Selectează metoda de criptare",
"server_config": {
"description": "Gestionează cheile de comunicare ale nodului, intervalele de pull/push.",
"dynamic_multiplier": "Înmulțitor dinamic",
"dynamic_multiplier_desc": "Definiți intervalele de timp și înmulțitorii pentru a ajusta contabilizarea traficului.",
"fields": {
"block_rules_placeholder": "O regulă de domeniu pe linie, suportă:\nkeyword:google (potrivire cu cuvântul cheie)\nsuffix:google.com (potrivire cu sufixul)\nregex:.*\\.example\\.com$ (potrivire regex)\nexample.com (potrivire exactă)",
"communication_key": "Cheie de comunicare",
"communication_key_desc": "Utilizată pentru autentificarea nodului.",
"communication_key_placeholder": "Vă rugăm să introduceți",
"dns_config": "Configurare DNS",
"dns_domains_placeholder": "O regulă de domeniu pe linie, suportă:\nkeyword:google (potrivire cu cuvântul cheie)\nsuffix:google.com (potrivire cu sufixul)\nregex:.*\\.example\\.com$ (potrivire regex)\nexample.com (potrivire exactă)",
"dns_proto_placeholder": "Selectați tipul",
"end_time": "Ora de sfârșit",
"ip_strategy": "Strategie IP",
"ip_strategy_desc": "Alegeți preferința versiunii IP pentru conexiunile de rețea",
"ip_strategy_ipv4": "Preferă IPv4",
"ip_strategy_ipv6": "Preferă IPv6",
"ip_strategy_placeholder": "Selectați strategia IP",
"multiplier": "Înmulțitor",
"node_pull_interval": "Interval de pull al nodului",
"node_pull_interval_desc": "Cât de des nodul trage configurația (secunde).",
"node_push_interval": "Interval de push al nodului",
"node_push_interval_desc": "Cât de des nodul trimite statistici (secunde).",
"outbound_address_placeholder": "Adresa serverului",
"outbound_name_placeholder": "Numele configurației",
"outbound_password_placeholder": "Parola (opțional)",
"outbound_port_placeholder": "Numărul portului",
"outbound_protocol_placeholder": "Selectați protocolul",
"outbound_rules_placeholder": "O regulă pe linie, suportă:\nkeyword:google (potrivire cu cuvântul cheie)\nsuffix:google.com (potrivire cu sufixul)\nregex:.*\\.example\\.com$ (potrivire regex)\nexample.com (potrivire exactă)\nLăsați gol pentru rutare implicită",
"reset": "Resetare",
"save": "Salvează",
"start_time": "Ora de început",
"time_slot": "Interval de timp",
"traffic_report_threshold": "Prag raportare trafic",
"traffic_report_threshold_desc": "Stabiliți pragul minim pentru raportarea traficului. Traficul va fi raportat doar când depășește această valoare. Setați la 0 sau lăsați gol pentru a raporta tot traficul."
},
"saveSuccess": "Salvat cu succes",
"tabs": {
"basic": "Configurare de bază",
"block": "Reguli de blocare",
"dns": "Configurare DNS",
"outbound": "Reguli de ieșire"
},
"title": "Configurarea nodului"
},
"server_key": "Cheie server", "server_key": "Cheie server",
"service_name": "Nume serviciu", "service_name": "Nume serviciu",
"sorted_success": "Sortat cu succes", "sorted_success": "Sortat cu succes",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Адрес",
"address_placeholder": "Адрес сервера",
"bandwidth_placeholder": "Введите пропускную способность, оставьте пустым для BBR",
"basic": "Базовая конфигурация",
"cancel": "Отмена",
"cipher": "Алгоритм шифрования",
"city": "Город",
"config": {
"actions": { "actions": {
"cancel": "Отмена", "cancel": "Отмена",
"save": "Сохранить" "save": "Сохранить"
}, },
"communicationKey": "Ключ связи", "address": "Адрес",
"communicationKeyDescription": "Используется для аутентификации узла.", "address_placeholder": "Адрес сервера",
"description": "Управление ключами связи узла, интервалами получения/отправки и динамическими множителями.", "apiHost": "API хост",
"dynamicMultiplier": "Динамический множитель", "apiHostPlaceholder": "http(s)://пример.ком",
"dynamicMultiplierDescription": "Определите временные слоты и множители для корректировки учета трафика.", "bandwidth_placeholder": "Введите пропускную способность, оставьте пустым для BBR",
"endTime": "Время окончания", "basic": "Базовая конфигурация",
"inputPlaceholder": "Пожалуйста, введите", "cancel": "Отмена",
"multiplier": "Множитель", "cert_dns_env": "Переменные окружения DNS",
"nodePullInterval": "Интервал получения узлом", "cert_dns_provider": "Поставщик DNS",
"nodePullIntervalDescription": "Как часто узел получает конфигурацию (в секундах).", "cert_mode": "Режим сертификата",
"nodePushInterval": "Интервал отправки узлом", "cipher": "Алгоритм шифрования",
"nodePushIntervalDescription": "Как часто узел отправляет статистику (в секундах).", "city": "Город",
"reset": "Сброс",
"save": "Сохранить",
"saveSuccess": "Успешно сохранено",
"startTime": "Время начала",
"timeSlot": "Временной слот",
"title": "Конфигурация узла"
},
"confirm": "Подтвердить", "confirm": "Подтвердить",
"confirmDeleteDesc": "Это действие нельзя отменить.", "confirmDeleteDesc": "Это действие нельзя отменить.",
"confirmDeleteTitle": "Удалить этот сервер?", "confirmDeleteTitle": "Удалить этот сервер?",
"congestion_controller": "Контроллер перегрузки", "congestion_controller": "Контроллер перегрузки",
"connect": "Подключить",
"copied": "Скопировано", "copied": "Скопировано",
"copy": "Копировать", "copy": "Копировать",
"country": "Страна", "country": "Страна",
@@ -64,11 +50,14 @@
"expired": "Истекло", "expired": "Истекло",
"extra": "Дополнительная конфигурация", "extra": "Дополнительная конфигурация",
"flow": "Поток", "flow": "Поток",
"generate_quantum_resistant_key": "Генерировать квантово-устойчивый ключ",
"generate_standard_encryption_key": "Генерировать стандартный ключ шифрования",
"hop_interval": "Интервал перехода", "hop_interval": "Интервал перехода",
"hop_ports": "Порты перехода", "hop_ports": "Порты перехода",
"hop_ports_placeholder": "например, 1-65535", "hop_ports_placeholder": "например, 1-65535",
"host": "Хост", "host": "Хост",
"id": "ID", "id": "ID",
"installCommand": "Команда установки",
"ipAddresses": "IP-адреса", "ipAddresses": "IP-адреса",
"memory": "Память", "memory": "Память",
"migrate": "Перенести данные", "migrate": "Перенести данные",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Введите пароль обфускации", "obfs_password_placeholder": "Введите пароль обфускации",
"obfs_path": "Обфусцированный путь", "obfs_path": "Обфусцированный путь",
"offline": "Офлайн", "offline": "Офлайн",
"oneClickInstall": "Установка в один клик",
"online": "Онлайн", "online": "Онлайн",
"onlineUsers": "Онлайн пользователи", "onlineUsers": "Онлайн пользователи",
"padding_scheme": "Схема выравнивания", "padding_scheme": "Схема выравнивания",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Шестнадцатеричная строка (до 16 символов)", "security_short_id_placeholder": "Шестнадцатеричная строка (до 16 символов)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Выберите метод шифрования", "select_encryption_method": "Выберите метод шифрования",
"server_config": {
"description": "Управление ключами связи узла, интервалами получения/отправки.",
"dynamic_multiplier": "Динамический множитель",
"dynamic_multiplier_desc": "Определите временные слоты и множители для корректировки учета трафика.",
"fields": {
"block_rules_placeholder": "Одно правило домена на строку, поддерживает:\nkeyword:google (совпадение по ключевому слову)\nsuffix:google.com (совпадение по суффиксу)\nregex:.*\\.example\\.com$ (совпадение по регулярному выражению)\nexample.com (точное совпадение)",
"communication_key": "Ключ связи",
"communication_key_desc": "Используется для аутентификации узла.",
"communication_key_placeholder": "Пожалуйста, введите",
"dns_config": "Конфигурация DNS",
"dns_domains_placeholder": "Одно правило домена на строку, поддерживает:\nkeyword:google (совпадение по ключевому слову)\nsuffix:google.com (совпадение по суффиксу)\nregex:.*\\.example\\.com$ (совпадение по регулярному выражению)\nexample.com (точное совпадение)",
"dns_proto_placeholder": "Выберите тип",
"end_time": "Время окончания",
"ip_strategy": "Стратегия IP",
"ip_strategy_desc": "Выберите предпочтение версии IP для сетевых подключений",
"ip_strategy_ipv4": "Предпочитать IPv4",
"ip_strategy_ipv6": "Предпочитать IPv6",
"ip_strategy_placeholder": "Выберите стратегию IP",
"multiplier": "Множитель",
"node_pull_interval": "Интервал получения узлом",
"node_pull_interval_desc": "Как часто узел получает конфигурацию (в секундах).",
"node_push_interval": "Интервал отправки узлом",
"node_push_interval_desc": "Как часто узел отправляет статистику (в секундах).",
"outbound_address_placeholder": "Адрес сервера",
"outbound_name_placeholder": "Имя конфигурации",
"outbound_password_placeholder": "Пароль (необязательно)",
"outbound_port_placeholder": "Номер порта",
"outbound_protocol_placeholder": "Выберите протокол",
"outbound_rules_placeholder": "Одно правило на строку, поддерживает:\nkeyword:google (совпадение по ключевому слову)\nsuffix:google.com (совпадение по суффиксу)\nregex:.*\\.example\\.com$ (совпадение по регулярному выражению)\nexample.com (точное совпадение)\nОставьте пустым для маршрутизации по умолчанию",
"reset": "Сброс",
"save": "Сохранить",
"start_time": "Время начала",
"time_slot": "Временной слот",
"traffic_report_threshold": "Порог отчета о трафике",
"traffic_report_threshold_desc": "Установите минимальный порог для отчета о трафике. Трафик будет сообщаться только при превышении этого значения. Установите 0 или оставьте пустым, чтобы сообщать о всем трафике."
},
"saveSuccess": "Успешно сохранено",
"tabs": {
"basic": "Основная конфигурация",
"block": "Правила блокировки",
"dns": "Конфигурация DNS",
"outbound": "Исходящие правила"
},
"title": "Конфигурация узла"
},
"server_key": "Ключ сервера", "server_key": "Ключ сервера",
"service_name": "Имя службы", "service_name": "Имя службы",
"sorted_success": "Успешно отсортировано", "sorted_success": "Успешно отсортировано",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "ที่อยู่",
"address_placeholder": "ที่อยู่เซิร์ฟเวอร์",
"bandwidth_placeholder": "กรุณากรอกแบนด์วิธ ทิ้งว่างไว้สำหรับ BBR",
"basic": "การตั้งค่าพื้นฐาน",
"cancel": "ยกเลิก",
"cipher": "อัลกอริธึมการเข้ารหัส",
"city": "เมือง",
"config": {
"actions": { "actions": {
"cancel": "ยกเลิก", "cancel": "ยกเลิก",
"save": "บันทึก" "save": "บันทึก"
}, },
"communicationKey": "คีย์การสื่อสาร", "address": "ที่อยู่",
"communicationKeyDescription": "ใช้สำหรับการตรวจสอบสิทธิ์โหนด", "address_placeholder": "ที่อยู่เซิร์ฟเวอร์",
"description": "จัดการคีย์การสื่อสารของโหนด, ช่วงเวลาในการดึง/ส่งข้อมูล, และตัวคูณแบบไดนามิก", "apiHost": "โฮสต์ API",
"dynamicMultiplier": "ตัวคูณแบบไดนามิก", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "กำหนดช่วงเวลาและตัวคูณเพื่อปรับการคำนวณการจราจร", "bandwidth_placeholder": "กรุณากรอกแบนด์วิธ ทิ้งว่างไว้สำหรับ BBR",
"endTime": "เวลาสิ้นสุด", "basic": "การตั้งค่าพื้นฐาน",
"inputPlaceholder": "กรุณาใส่", "cancel": "ยกเลิก",
"multiplier": "ตัวคูณ", "cert_dns_env": "ตัวแปรสภาพแวดล้อม DNS",
"nodePullInterval": "ช่วงเวลาการดึงข้อมูลของโหนด", "cert_dns_provider": "ผู้ให้บริการ DNS",
"nodePullIntervalDescription": "ความถี่ที่โหนดดึงการตั้งค่า (วินาที)", "cert_mode": "โหมดใบรับรอง",
"nodePushInterval": "ช่วงเวลาการส่งข้อมูลของโหนด", "cipher": "อัลกอริธึมการเข้ารหัส",
"nodePushIntervalDescription": "ความถี่ที่โหนดส่งสถิติ (วินาที)", "city": "เมือง",
"reset": "รีเซ็ต",
"save": "บันทึก",
"saveSuccess": "บันทึกสำเร็จ",
"startTime": "เวลาเริ่มต้น",
"timeSlot": "ช่วงเวลา",
"title": "การตั้งค่าโหนด"
},
"confirm": "ยืนยัน", "confirm": "ยืนยัน",
"confirmDeleteDesc": "การกระทำนี้ไม่สามารถย้อนกลับได้", "confirmDeleteDesc": "การกระทำนี้ไม่สามารถย้อนกลับได้",
"confirmDeleteTitle": "ลบเซิร์ฟเวอร์นี้หรือไม่?", "confirmDeleteTitle": "ลบเซิร์ฟเวอร์นี้หรือไม่?",
"congestion_controller": "ตัวควบคุมความแออัด", "congestion_controller": "ตัวควบคุมความแออัด",
"connect": "เชื่อมต่อ",
"copied": "คัดลอกแล้ว", "copied": "คัดลอกแล้ว",
"copy": "คัดลอก", "copy": "คัดลอก",
"country": "ประเทศ", "country": "ประเทศ",
@@ -64,11 +50,14 @@
"expired": "หมดอายุ", "expired": "หมดอายุ",
"extra": "การกำหนดค่าพิเศษ", "extra": "การกำหนดค่าพิเศษ",
"flow": "การไหล", "flow": "การไหล",
"generate_quantum_resistant_key": "สร้างคีย์ต้านทานควอนตัม",
"generate_standard_encryption_key": "สร้างคีย์เข้ารหัสมาตรฐาน",
"hop_interval": "ช่วงเวลาการกระโดด", "hop_interval": "ช่วงเวลาการกระโดด",
"hop_ports": "พอร์ตการกระโดด", "hop_ports": "พอร์ตการกระโดด",
"hop_ports_placeholder": "เช่น 1-65535", "hop_ports_placeholder": "เช่น 1-65535",
"host": "โฮสต์", "host": "โฮสต์",
"id": "ID", "id": "ID",
"installCommand": "คำสั่งติดตั้ง",
"ipAddresses": "ที่อยู่ IP", "ipAddresses": "ที่อยู่ IP",
"memory": "หน่วยความจำ", "memory": "หน่วยความจำ",
"migrate": "ย้ายข้อมูล", "migrate": "ย้ายข้อมูล",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "กรอกรหัสผ่านการปกปิด", "obfs_password_placeholder": "กรอกรหัสผ่านการปกปิด",
"obfs_path": "เส้นทางการทำให้ไม่สามารถอ่านได้", "obfs_path": "เส้นทางการทำให้ไม่สามารถอ่านได้",
"offline": "ออฟไลน์", "offline": "ออฟไลน์",
"oneClickInstall": "ติดตั้งด้วยคลิกเดียว",
"online": "ออนไลน์", "online": "ออนไลน์",
"onlineUsers": "ผู้ใช้งานออนไลน์", "onlineUsers": "ผู้ใช้งานออนไลน์",
"padding_scheme": "รูปแบบการเติม", "padding_scheme": "รูปแบบการเติม",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "สตริงฮีซ (สูงสุด 16 ตัวอักษร)", "security_short_id_placeholder": "สตริงฮีซ (สูงสุด 16 ตัวอักษร)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "เลือกวิธีการเข้ารหัส", "select_encryption_method": "เลือกวิธีการเข้ารหัส",
"server_config": {
"description": "จัดการกุญแจการสื่อสารของโหนด, ช่วงเวลาในการดึง/ส่งข้อมูล.",
"dynamic_multiplier": "ตัวคูณแบบไดนามิก",
"dynamic_multiplier_desc": "กำหนดช่วงเวลาและตัวคูณเพื่อปรับการคำนวณการจราจร.",
"fields": {
"block_rules_placeholder": "กฎโดเมนหนึ่งกฎต่อหนึ่งบรรทัด, รองรับ:\nkeyword:google (การจับคู่คำสำคัญ)\nsuffix:google.com (การจับคู่ส่วนท้าย)\nregex:.*\\.example\\.com$ (การจับคู่ regex)\nexample.com (การจับคู่ที่แน่นอน)",
"communication_key": "กุญแจการสื่อสาร",
"communication_key_desc": "ใช้สำหรับการตรวจสอบสิทธิ์ของโหนด.",
"communication_key_placeholder": "กรุณาใส่",
"dns_config": "การกำหนดค่า DNS",
"dns_domains_placeholder": "กฎโดเมนหนึ่งกฎต่อหนึ่งบรรทัด, รองรับ:\nkeyword:google (การจับคู่คำสำคัญ)\nsuffix:google.com (การจับคู่ส่วนท้าย)\nregex:.*\\.example\\.com$ (การจับคู่ regex)\nexample.com (การจับคู่ที่แน่นอน)",
"dns_proto_placeholder": "เลือกประเภท",
"end_time": "เวลาสิ้นสุด",
"ip_strategy": "กลยุทธ์ IP",
"ip_strategy_desc": "เลือกความชอบเวอร์ชัน IP สำหรับการเชื่อมต่อเครือข่าย",
"ip_strategy_ipv4": "ชอบ IPv4",
"ip_strategy_ipv6": "ชอบ IPv6",
"ip_strategy_placeholder": "เลือกกลยุทธ์ IP",
"multiplier": "ตัวคูณ",
"node_pull_interval": "ช่วงเวลาการดึงของโหนด",
"node_pull_interval_desc": "ความถี่ที่โหนดดึงการกำหนดค่า (วินาที).",
"node_push_interval": "ช่วงเวลาการส่งของโหนด",
"node_push_interval_desc": "ความถี่ที่โหนดส่งสถิติ (วินาที).",
"outbound_address_placeholder": "ที่อยู่เซิร์ฟเวอร์",
"outbound_name_placeholder": "ชื่อการกำหนดค่า",
"outbound_password_placeholder": "รหัสผ่าน (ไม่บังคับ)",
"outbound_port_placeholder": "หมายเลขพอร์ต",
"outbound_protocol_placeholder": "เลือกโปรโตคอล",
"outbound_rules_placeholder": "กฎหนึ่งกฎต่อหนึ่งบรรทัด, รองรับ:\nkeyword:google (การจับคู่คำสำคัญ)\nsuffix:google.com (การจับคู่ส่วนท้าย)\nregex:.*\\.example\\.com$ (การจับคู่ regex)\nexample.com (การจับคู่ที่แน่นอน)\nเว้นว่างสำหรับการกำหนดเส้นทางเริ่มต้น",
"reset": "รีเซ็ต",
"save": "บันทึก",
"start_time": "เวลาเริ่มต้น",
"time_slot": "ช่วงเวลา",
"traffic_report_threshold": "เกณฑ์รายงานการจราจร",
"traffic_report_threshold_desc": "ตั้งค่าเกณฑ์ขั้นต่ำสำหรับการรายงานการจราจร. การจราจรจะถูกบันทึกเมื่อเกินค่าที่ตั้งไว้. ตั้งค่าเป็น 0 หรือเว้นว่างเพื่อรายงานการจราจรทั้งหมด."
},
"saveSuccess": "บันทึกสำเร็จ",
"tabs": {
"basic": "การกำหนดค่าพื้นฐาน",
"block": "กฎการบล็อก",
"dns": "การกำหนดค่า DNS",
"outbound": "กฎการส่งออก"
},
"title": "การกำหนดค่าของโหนด"
},
"server_key": "คีย์เซิร์ฟเวอร์", "server_key": "คีย์เซิร์ฟเวอร์",
"service_name": "ชื่อบริการ", "service_name": "ชื่อบริการ",
"sorted_success": "เรียงลำดับเรียบร้อยแล้ว", "sorted_success": "เรียงลำดับเรียบร้อยแล้ว",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Adres",
"address_placeholder": "Sunucu adresi",
"bandwidth_placeholder": "Bant genişliğini girin, BBR için boş bırakın",
"basic": "Temel Yapılandırma",
"cancel": "İptal",
"cipher": "Şifreleme Algoritması",
"city": "Şehir",
"config": {
"actions": { "actions": {
"cancel": "İptal", "cancel": "İptal",
"save": "Kaydet" "save": "Kaydet"
}, },
"communicationKey": "İletişim anahtarı", "address": "Adres",
"communicationKeyDescription": "Düğüm kimlik doğrulaması için kullanılır.", "address_placeholder": "Sunucu adresi",
"description": "Düğüm iletişim anahtarlarını, çekme/itme aralıklarını ve dinamik çarpanları yönetin.", "apiHost": "API Sunucusu",
"dynamicMultiplier": "Dinamik çarpan", "apiHostPlaceholder": "http(s)://ornek.com",
"dynamicMultiplierDescription": "Trafik hesaplamasını ayarlamak için zaman dilimleri ve çarpanlar tanımlayın.", "bandwidth_placeholder": "Bant genişliğini girin, BBR için boş bırakın",
"endTime": "Bitiş zamanı", "basic": "Temel Yapılandırma",
"inputPlaceholder": "Lütfen girin", "cancel": "İptal",
"multiplier": "Çarpan", "cert_dns_env": "DNS Ortam Değişkenleri",
"nodePullInterval": "Düğüm çekme aralığı", "cert_dns_provider": "DNS Sağlayıcısı",
"nodePullIntervalDescription": "Düğümün yapılandırmayı ne sıklıkla çektiği (saniye).", "cert_mode": "Sertifika Modu",
"nodePushInterval": "Düğüm itme aralığı", "cipher": "Şifreleme Algoritması",
"nodePushIntervalDescription": "Düğümün istatistikleri ne sıklıkla ittiği (saniye).", "city": "Şehir",
"reset": "Sıfırla",
"save": "Kaydet",
"saveSuccess": "Başarıyla kaydedildi",
"startTime": "Başlangıç zamanı",
"timeSlot": "Zaman dilimi",
"title": "Düğüm yapılandırması"
},
"confirm": "Onayla", "confirm": "Onayla",
"confirmDeleteDesc": "Bu işlem geri alınamaz.", "confirmDeleteDesc": "Bu işlem geri alınamaz.",
"confirmDeleteTitle": "Bu sunucuyu silmek istiyor musunuz?", "confirmDeleteTitle": "Bu sunucuyu silmek istiyor musunuz?",
"congestion_controller": "Tıkanıklık kontrolörü", "congestion_controller": "Tıkanıklık kontrolörü",
"connect": "Bağlan",
"copied": "Kopyalandı", "copied": "Kopyalandı",
"copy": "Kopyala", "copy": "Kopyala",
"country": "Ülke", "country": "Ülke",
@@ -64,11 +50,14 @@
"expired": "Süresi dolmuş", "expired": "Süresi dolmuş",
"extra": "Ek Yapılandırma", "extra": "Ek Yapılandırma",
"flow": "Akış", "flow": "Akış",
"generate_quantum_resistant_key": "Kuantuma Dayanıklı Anahtar Oluştur",
"generate_standard_encryption_key": "Standart Şifreleme Anahtarı Oluştur",
"hop_interval": "Atlama aralığı", "hop_interval": "Atlama aralığı",
"hop_ports": "Atlama portları", "hop_ports": "Atlama portları",
"hop_ports_placeholder": "örn. 1-65535", "hop_ports_placeholder": "örn. 1-65535",
"host": "Ana bilgisayar", "host": "Ana bilgisayar",
"id": "ID", "id": "ID",
"installCommand": "Kurulum komutu",
"ipAddresses": "IP adresleri", "ipAddresses": "IP adresleri",
"memory": "Bellek", "memory": "Bellek",
"migrate": "Veri Taşı", "migrate": "Veri Taşı",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Gizleme şifresini girin", "obfs_password_placeholder": "Gizleme şifresini girin",
"obfs_path": "Obfs Yolu", "obfs_path": "Obfs Yolu",
"offline": "Çevrimdışı", "offline": "Çevrimdışı",
"oneClickInstall": "Tek Tıkla Kurulum",
"online": "Çevrimiçi", "online": "Çevrimiçi",
"onlineUsers": "Çevrimiçi kullanıcılar", "onlineUsers": "Çevrimiçi kullanıcılar",
"padding_scheme": "Dolgu Şeması", "padding_scheme": "Dolgu Şeması",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Hex dizesi (en fazla 16 karakter)", "security_short_id_placeholder": "Hex dizesi (en fazla 16 karakter)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Şifreleme yöntemini seçin", "select_encryption_method": "Şifreleme yöntemini seçin",
"server_config": {
"description": "Düğüm iletişim anahtarlarını, çekme/itme aralıklarını yönetin.",
"dynamic_multiplier": "Dinamik çarpan",
"dynamic_multiplier_desc": "Trafik hesaplamasını ayarlamak için zaman dilimleri ve çarpanlar tanımlayın.",
"fields": {
"block_rules_placeholder": "Her satıra bir alan kuralı, destekler:\nkeyword:google (anahtar kelime eşleştirme)\nsuffix:google.com (son ek eşleştirme)\nregex:.*\\.example\\.com$ (regex eşleştirme)\nexample.com (tam eşleşme)",
"communication_key": "İletişim anahtarı",
"communication_key_desc": "Düğüm kimlik doğrulaması için kullanılır.",
"communication_key_placeholder": "Lütfen girin",
"dns_config": "DNS Yapılandırması",
"dns_domains_placeholder": "Her satıra bir alan kuralı, destekler:\nkeyword:google (anahtar kelime eşleştirme)\nsuffix:google.com (son ek eşleştirme)\nregex:.*\\.example\\.com$ (regex eşleştirme)\nexample.com (tam eşleşme)",
"dns_proto_placeholder": "Türü seçin",
"end_time": "Bitiş zamanı",
"ip_strategy": "IP Stratejisi",
"ip_strategy_desc": "Ağ bağlantıları için IP versiyon tercihini seçin",
"ip_strategy_ipv4": "IPv4'ü Tercih Et",
"ip_strategy_ipv6": "IPv6'yı Tercih Et",
"ip_strategy_placeholder": "IP stratejisini seçin",
"multiplier": "Çarpan",
"node_pull_interval": "Düğüm çekme aralığı",
"node_pull_interval_desc": "Düğümün yapılandırmayı ne sıklıkla çektiği (saniye).",
"node_push_interval": "Düğüm itme aralığı",
"node_push_interval_desc": "Düğümün istatistikleri ne sıklıkla ittiği (saniye).",
"outbound_address_placeholder": "Sunucu adresi",
"outbound_name_placeholder": "Yapılandırma adı",
"outbound_password_placeholder": "Şifre (isteğe bağlı)",
"outbound_port_placeholder": "Port numarası",
"outbound_protocol_placeholder": "Protokolü seçin",
"outbound_rules_placeholder": "Her satıra bir kural, destekler:\nkeyword:google (anahtar kelime eşleştirme)\nsuffix:google.com (son ek eşleştirme)\nregex:.*\\.example\\.com$ (regex eşleştirme)\nexample.com (tam eşleşme)\nVarsayılan yönlendirme için boş bırakın",
"reset": "Sıfırla",
"save": "Kaydet",
"start_time": "Başlangıç zamanı",
"time_slot": "Zaman dilimi",
"traffic_report_threshold": "Trafik Raporu Eşiği",
"traffic_report_threshold_desc": "Trafik raporlaması için minimum eşiği ayarlayın. Trafik yalnızca bu değeri aştığında raporlanacaktır. Tüm trafiği raporlamak için 0 olarak ayarlayın veya boş bırakın."
},
"saveSuccess": "Başarıyla kaydedildi",
"tabs": {
"basic": "Temel Yapılandırma",
"block": "Engelleme Kuralları",
"dns": "DNS Yapılandırması",
"outbound": "Giden Kurallar"
},
"title": "Düğüm yapılandırması"
},
"server_key": "Sunucu anahtarı", "server_key": "Sunucu anahtarı",
"service_name": "Hizmet adı", "service_name": "Hizmet adı",
"sorted_success": "Başarıyla sıralandı", "sorted_success": "Başarıyla sıralandı",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Адреса",
"address_placeholder": "Адреса сервера",
"bandwidth_placeholder": "Введіть пропускну здатність, залиште порожнім для BBR",
"basic": "Базова конфігурація",
"cancel": "Скасувати",
"cipher": "Алгоритм шифрування",
"city": "Місто",
"config": {
"actions": { "actions": {
"cancel": "Скасувати", "cancel": "Скасувати",
"save": "Зберегти" "save": "Зберегти"
}, },
"communicationKey": "Ключ комунікації", "address": "Адреса",
"communicationKeyDescription": "Використовується для аутентифікації вузла.", "address_placeholder": "Адреса сервера",
"description": "Керуйте ключами комунікації вузла, інтервалами витягування/відправлення та динамічними множниками.", "apiHost": "API хост",
"dynamicMultiplier": "Динамічний множник", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "Визначте часові слоти та множники для коригування обліку трафіку.", "bandwidth_placeholder": "Введіть пропускну здатність, залиште порожнім для BBR",
"endTime": "Час закінчення", "basic": "Базова конфігурація",
"inputPlaceholder": "Будь ласка, введіть", "cancel": "Скасувати",
"multiplier": "Множник", "cert_dns_env": "DNS Змінні середовища",
"nodePullInterval": "Інтервал витягування вузла", "cert_dns_provider": "DNS Провайдер",
"nodePullIntervalDescription": "Як часто вузол витягує конфігурацію (секунди).", "cert_mode": "Режим сертифіката",
"nodePushInterval": "Інтервал відправлення вузла", "cipher": "Алгоритм шифрування",
"nodePushIntervalDescription": "Як часто вузол відправляє статистику (секунди).", "city": "Місто",
"reset": "Скинути",
"save": "Зберегти",
"saveSuccess": "Успішно збережено",
"startTime": "Час початку",
"timeSlot": "Часовий слот",
"title": "Налаштування вузла"
},
"confirm": "Підтвердити", "confirm": "Підтвердити",
"confirmDeleteDesc": "Цю дію не можна скасувати.", "confirmDeleteDesc": "Цю дію не можна скасувати.",
"confirmDeleteTitle": "Видалити цей сервер?", "confirmDeleteTitle": "Видалити цей сервер?",
"congestion_controller": "Контролер перевантаження", "congestion_controller": "Контролер перевантаження",
"connect": "Підключити",
"copied": "Скопійовано", "copied": "Скопійовано",
"copy": "Копіювати", "copy": "Копіювати",
"country": "Країна", "country": "Країна",
@@ -64,11 +50,14 @@
"expired": "Термін дії закінчився", "expired": "Термін дії закінчився",
"extra": "Додаткова конфігурація", "extra": "Додаткова конфігурація",
"flow": "Потік", "flow": "Потік",
"generate_quantum_resistant_key": "Згенерувати квантово-стійкий ключ",
"generate_standard_encryption_key": "Згенерувати стандартний ключ шифрування",
"hop_interval": "Інтервал стрибка", "hop_interval": "Інтервал стрибка",
"hop_ports": "Порти стрибка", "hop_ports": "Порти стрибка",
"hop_ports_placeholder": "наприклад, 1-65535", "hop_ports_placeholder": "наприклад, 1-65535",
"host": "Хост", "host": "Хост",
"id": "ID", "id": "ID",
"installCommand": "Команда встановлення",
"ipAddresses": "IP адреси", "ipAddresses": "IP адреси",
"memory": "Пам'ять", "memory": "Пам'ять",
"migrate": "Міграція даних", "migrate": "Міграція даних",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Введіть пароль обфускації", "obfs_password_placeholder": "Введіть пароль обфускації",
"obfs_path": "Обфускаційний шлях", "obfs_path": "Обфускаційний шлях",
"offline": "Офлайн", "offline": "Офлайн",
"oneClickInstall": "Встановлення в один клік",
"online": "Онлайн", "online": "Онлайн",
"onlineUsers": "Онлайн користувачі", "onlineUsers": "Онлайн користувачі",
"padding_scheme": "Схема заповнення", "padding_scheme": "Схема заповнення",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Шістнадцятковий рядок (до 16 символів)", "security_short_id_placeholder": "Шістнадцятковий рядок (до 16 символів)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Виберіть метод шифрування", "select_encryption_method": "Виберіть метод шифрування",
"server_config": {
"description": "Керування ключами комунікації вузла, інтервалами витягування/надсилання.",
"dynamic_multiplier": "Динамічний множник",
"dynamic_multiplier_desc": "Визначте часові слоти та множники для коригування обліку трафіку.",
"fields": {
"block_rules_placeholder": "Одне правило домену на рядок, підтримує:\nkeyword:google (збіг за ключовим словом)\nsuffix:google.com (збіг за суфіксом)\nregex:.*\\.example\\.com$ (збіг за регулярним виразом)\nexample.com (точний збіг)",
"communication_key": "Ключ комунікації",
"communication_key_desc": "Використовується для аутентифікації вузла.",
"communication_key_placeholder": "Будь ласка, введіть",
"dns_config": "Конфігурація DNS",
"dns_domains_placeholder": "Одне правило домену на рядок, підтримує:\nkeyword:google (збіг за ключовим словом)\nsuffix:google.com (збіг за суфіксом)\nregex:.*\\.example\\.com$ (збіг за регулярним виразом)\nexample.com (точний збіг)",
"dns_proto_placeholder": "Виберіть тип",
"end_time": "Час закінчення",
"ip_strategy": "Стратегія IP",
"ip_strategy_desc": "Виберіть перевагу версії IP для мережевих з'єднань",
"ip_strategy_ipv4": "Віддавати перевагу IPv4",
"ip_strategy_ipv6": "Віддавати перевагу IPv6",
"ip_strategy_placeholder": "Виберіть стратегію IP",
"multiplier": "Множник",
"node_pull_interval": "Інтервал витягування вузла",
"node_pull_interval_desc": "Як часто вузол витягує конфігурацію (в секундах).",
"node_push_interval": "Інтервал надсилання вузла",
"node_push_interval_desc": "Як часто вузол надсилає статистику (в секундах).",
"outbound_address_placeholder": "Адреса сервера",
"outbound_name_placeholder": "Назва конфігурації",
"outbound_password_placeholder": "Пароль (необов'язково)",
"outbound_port_placeholder": "Номер порту",
"outbound_protocol_placeholder": "Виберіть протокол",
"outbound_rules_placeholder": "Одне правило на рядок, підтримує:\nkeyword:google (збіг за ключовим словом)\nsuffix:google.com (збіг за суфіксом)\nregex:.*\\.example\\.com$ (збіг за регулярним виразом)\nexample.com (точний збіг)\nЗалиште порожнім для маршрутизації за замовчуванням",
"reset": "Скинути",
"save": "Зберегти",
"start_time": "Час початку",
"time_slot": "Часовий слот",
"traffic_report_threshold": "Поріг звіту про трафік",
"traffic_report_threshold_desc": "Встановіть мінімальний поріг для звітування про трафік. Трафік буде звітуватися лише тоді, коли перевищить це значення. Встановіть 0 або залиште порожнім, щоб звітувати про весь трафік."
},
"saveSuccess": "Успішно збережено",
"tabs": {
"basic": "Основна конфігурація",
"block": "Правила блокування",
"dns": "Конфігурація DNS",
"outbound": "Вихідні правила"
},
"title": "Конфігурація вузла"
},
"server_key": "Ключ сервера", "server_key": "Ключ сервера",
"service_name": "Назва служби", "service_name": "Назва служби",
"sorted_success": "Успішно відсортовано", "sorted_success": "Успішно відсортовано",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "Địa chỉ",
"address_placeholder": "Địa chỉ máy chủ",
"bandwidth_placeholder": "Nhập băng thông, để trống cho BBR",
"basic": "Cấu Hình Cơ Bản",
"cancel": "Hủy",
"cipher": "Thuật toán Mã hóa",
"city": "Thành phố",
"config": {
"actions": { "actions": {
"cancel": "Hủy", "cancel": "Hủy",
"save": "Lưu" "save": "Lưu"
}, },
"communicationKey": "Khóa giao tiếp", "address": "Địa chỉ",
"communicationKeyDescription": "Dùng để xác thực nút.", "address_placeholder": "Địa chỉ máy chủ",
"description": "Quản lý khóa giao tiếp nút, khoảng thời gian kéo/đẩy, và các hệ số động.", "apiHost": "Máy chủ API",
"dynamicMultiplier": "Hệ số động", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "Định nghĩa khoảng thời gian và hệ số để điều chỉnh tính toán lưu lượng.", "bandwidth_placeholder": "Nhập băng thông, để trống cho BBR",
"endTime": "Thời gian kết thúc", "basic": "Cấu Hình Cơ Bản",
"inputPlaceholder": "Vui lòng nhập", "cancel": "Hủy",
"multiplier": "Hệ số", "cert_dns_env": "Biến môi trường DNS",
"nodePullInterval": "Khoảng thời gian kéo nút", "cert_dns_provider": "Nhà cung cấp DNS",
"nodePullIntervalDescription": "Tần suất nút kéo cấu hình (giây).", "cert_mode": "Chế độ chứng chỉ",
"nodePushInterval": "Khoảng thời gian đẩy nút", "cipher": "Thuật toán Mã hóa",
"nodePushIntervalDescription": "Tần suất nút đẩy thống kê (giây).", "city": "Thành phố",
"reset": "Đặt lại",
"save": "Lưu",
"saveSuccess": "Lưu thành công",
"startTime": "Thời gian bắt đầu",
"timeSlot": "Khung thời gian",
"title": "Cấu hình nút"
},
"confirm": "Xác nhận", "confirm": "Xác nhận",
"confirmDeleteDesc": "Hành động này không thể hoàn tác.", "confirmDeleteDesc": "Hành động này không thể hoàn tác.",
"confirmDeleteTitle": "Xóa máy chủ này?", "confirmDeleteTitle": "Xóa máy chủ này?",
"congestion_controller": "Bộ điều khiển tắc nghẽn", "congestion_controller": "Bộ điều khiển tắc nghẽn",
"connect": "Kết nối",
"copied": "Đã sao chép", "copied": "Đã sao chép",
"copy": "Sao chép", "copy": "Sao chép",
"country": "Quốc gia", "country": "Quốc gia",
@@ -64,11 +50,14 @@
"expired": "Đã hết hạn", "expired": "Đã hết hạn",
"extra": "Cấu hình thêm", "extra": "Cấu hình thêm",
"flow": "Lưu lượng", "flow": "Lưu lượng",
"generate_quantum_resistant_key": "Tạo khóa chống lượng tử",
"generate_standard_encryption_key": "Tạo khóa mã hóa tiêu chuẩn",
"hop_interval": "Khoảng thời gian nhảy", "hop_interval": "Khoảng thời gian nhảy",
"hop_ports": "Cổng nhảy", "hop_ports": "Cổng nhảy",
"hop_ports_placeholder": "vd. 1-65535", "hop_ports_placeholder": "vd. 1-65535",
"host": "Máy chủ", "host": "Máy chủ",
"id": "ID", "id": "ID",
"installCommand": "Lệnh cài đặt",
"ipAddresses": "Địa chỉ IP", "ipAddresses": "Địa chỉ IP",
"memory": "Bộ nhớ", "memory": "Bộ nhớ",
"migrate": "Di chuyển dữ liệu", "migrate": "Di chuyển dữ liệu",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "Nhập mật khẩu làm mờ", "obfs_password_placeholder": "Nhập mật khẩu làm mờ",
"obfs_path": "Đường dẫn Obfs", "obfs_path": "Đường dẫn Obfs",
"offline": "Ngoại tuyến", "offline": "Ngoại tuyến",
"oneClickInstall": "Cài đặt một lần nhấp",
"online": "Trực tuyến", "online": "Trực tuyến",
"onlineUsers": "Người dùng trực tuyến", "onlineUsers": "Người dùng trực tuyến",
"padding_scheme": "Sơ Đồ Đệm", "padding_scheme": "Sơ Đồ Đệm",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "Chuỗi hex (tối đa 16 ký tự)", "security_short_id_placeholder": "Chuỗi hex (tối đa 16 ký tự)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "Chọn phương pháp mã hóa", "select_encryption_method": "Chọn phương pháp mã hóa",
"server_config": {
"description": "Quản lý khóa giao tiếp nút, khoảng thời gian kéo/đẩy.",
"dynamic_multiplier": "Hệ số động",
"dynamic_multiplier_desc": "Định nghĩa các khoảng thời gian và hệ số để điều chỉnh việc tính toán lưu lượng.",
"fields": {
"block_rules_placeholder": "Một quy tắc miền mỗi dòng, hỗ trợ:\nkeyword:google (khớp từ khóa)\nsuffix:google.com (khớp hậu tố)\nregex:.*\\.example\\.com$ (khớp regex)\nexample.com (khớp chính xác)",
"communication_key": "Khóa giao tiếp",
"communication_key_desc": "Dùng để xác thực nút.",
"communication_key_placeholder": "Vui lòng nhập",
"dns_config": "Cấu hình DNS",
"dns_domains_placeholder": "Một quy tắc miền mỗi dòng, hỗ trợ:\nkeyword:google (khớp từ khóa)\nsuffix:google.com (khớp hậu tố)\nregex:.*\\.example\\.com$ (khớp regex)\nexample.com (khớp chính xác)",
"dns_proto_placeholder": "Chọn loại",
"end_time": "Thời gian kết thúc",
"ip_strategy": "Chiến lược IP",
"ip_strategy_desc": "Chọn sở thích phiên bản IP cho các kết nối mạng",
"ip_strategy_ipv4": "Ưu tiên IPv4",
"ip_strategy_ipv6": "Ưu tiên IPv6",
"ip_strategy_placeholder": "Chọn chiến lược IP",
"multiplier": "Hệ số",
"node_pull_interval": "Khoảng thời gian kéo nút",
"node_pull_interval_desc": "Tần suất nút kéo cấu hình (giây).",
"node_push_interval": "Khoảng thời gian đẩy nút",
"node_push_interval_desc": "Tần suất nút đẩy thống kê (giây).",
"outbound_address_placeholder": "Địa chỉ máy chủ",
"outbound_name_placeholder": "Tên cấu hình",
"outbound_password_placeholder": "Mật khẩu (tùy chọn)",
"outbound_port_placeholder": "Số cổng",
"outbound_protocol_placeholder": "Chọn giao thức",
"outbound_rules_placeholder": "Một quy tắc mỗi dòng, hỗ trợ:\nkeyword:google (khớp từ khóa)\nsuffix:google.com (khớp hậu tố)\nregex:.*\\.example\\.com$ (khớp regex)\nexample.com (khớp chính xác)\nĐể trống cho định tuyến mặc định",
"reset": "Đặt lại",
"save": "Lưu",
"start_time": "Thời gian bắt đầu",
"time_slot": "Khoảng thời gian",
"traffic_report_threshold": "Ngưỡng báo cáo lưu lượng",
"traffic_report_threshold_desc": "Đặt ngưỡng tối thiểu cho báo cáo lưu lượng. Lưu lượng chỉ được báo cáo khi vượt quá giá trị này. Đặt thành 0 hoặc để trống để báo cáo tất cả lưu lượng."
},
"saveSuccess": "Lưu thành công",
"tabs": {
"basic": "Cấu hình cơ bản",
"block": "Quy tắc chặn",
"dns": "Cấu hình DNS",
"outbound": "Quy tắc ra"
},
"title": "Cấu hình nút"
},
"server_key": "Khóa máy chủ", "server_key": "Khóa máy chủ",
"service_name": "Tên dịch vụ", "service_name": "Tên dịch vụ",
"sorted_success": "Sắp xếp thành công", "sorted_success": "Sắp xếp thành công",
+65 -27
View File
@@ -1,41 +1,30 @@
{ {
"address": "地址",
"address_placeholder": "服务器地址",
"bandwidth_placeholder": "请输入带宽,留空则使用BBR",
"basic": "基础配置",
"cancel": "取消",
"cipher": "加密算法",
"city": "城市",
"config": {
"actions": { "actions": {
"cancel": "取消", "cancel": "取消",
"save": "保存" "save": "保存"
}, },
"communicationKey": "通信密钥", "address": "地址",
"communicationKeyDescription": "用于节点鉴权。", "address_placeholder": "服务器地址",
"description": "管理节点通信密钥、拉取/推送间隔与动态倍率。", "apiHost": "API Host",
"dynamicMultiplier": "动态倍率", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "按时间段设置倍率,用于调节流量或计费。", "bandwidth_placeholder": "请输入带宽,留空则使用BBR",
"endTime": "结束时间", "basic": "基础配置",
"inputPlaceholder": "请输入", "cancel": "取消",
"multiplier": "倍率", "cert_dns_env": "DNS 环境变量",
"nodePullInterval": "节点拉取间隔", "cert_dns_provider": "DNS 提供商",
"nodePullIntervalDescription": "节点拉取配置的频率(秒)。", "cert_mode": "证书模式",
"nodePushInterval": "节点推送间隔", "cipher": "加密算法",
"nodePushIntervalDescription": "节点上报状态的频率(秒)。", "city": "城市",
"reset": "重置", "close": "关闭",
"save": "保存",
"saveSuccess": "保存成功",
"startTime": "开始时间",
"timeSlot": "时间段",
"title": "节点配置"
},
"confirm": "确认", "confirm": "确认",
"confirmDeleteDesc": "该操作不可撤销。", "confirmDeleteDesc": "该操作不可撤销。",
"confirmDeleteTitle": "确认删除该服务器?", "confirmDeleteTitle": "确认删除该服务器?",
"congestion_controller": "拥塞控制", "congestion_controller": "拥塞控制",
"connect": "对接",
"copied": "已复制", "copied": "已复制",
"copy": "复制", "copy": "复制",
"copyAndClose": "复制并关闭",
"copyFailed": "复制失败",
"country": "国家", "country": "国家",
"cpu": "CPU", "cpu": "CPU",
"create": "新建", "create": "新建",
@@ -64,11 +53,14 @@
"expired": "已过期", "expired": "已过期",
"extra": "额外配置", "extra": "额外配置",
"flow": "流控", "flow": "流控",
"generate_quantum_resistant_key": "生成抗量子密钥",
"generate_standard_encryption_key": "生成标准加密密钥",
"hop_interval": "跳跃端口间隔", "hop_interval": "跳跃端口间隔",
"hop_ports": "跳跃端口", "hop_ports": "跳跃端口",
"hop_ports_placeholder": "例如 1-65535", "hop_ports_placeholder": "例如 1-65535",
"host": "Host", "host": "Host",
"id": "编号", "id": "编号",
"installCommand": "一键安装命令",
"ipAddresses": "IP 地址", "ipAddresses": "IP 地址",
"memory": "内存", "memory": "内存",
"migrate": "迁移数据", "migrate": "迁移数据",
@@ -86,6 +78,7 @@
"obfs_password_placeholder": "输入混淆密码", "obfs_password_placeholder": "输入混淆密码",
"obfs_path": "混淆路径", "obfs_path": "混淆路径",
"offline": "离线", "offline": "离线",
"oneClickInstall": "一键接入",
"online": "在线", "online": "在线",
"onlineUsers": "在线人数", "onlineUsers": "在线人数",
"padding_scheme": "填充方案", "padding_scheme": "填充方案",
@@ -114,6 +107,51 @@
"security_short_id_placeholder": "16 位内十六进制", "security_short_id_placeholder": "16 位内十六进制",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "选择加密方式", "select_encryption_method": "选择加密方式",
"server_config": {
"description": "管理节点通信密钥、拉取/推送间隔。",
"dynamic_multiplier": "动态倍率",
"dynamic_multiplier_desc": "按时间段设置倍率,用于调节流量或计费。",
"fields": {
"block_rules_placeholder": "每行一个域名规则,支持:\nkeyword:google (关键字匹配)\nsuffix:google.com (后缀匹配)\nregex:.*\\.example\\.com$ (正则匹配)\nexample.com (完全匹配)",
"communication_key": "通信密钥",
"communication_key_desc": "用于节点鉴权。",
"communication_key_placeholder": "请输入",
"dns_config": "DNS 配置",
"dns_domains_placeholder": "每行一个域名规则,支持:\nkeyword:google (关键字匹配)\nsuffix:google.com (后缀匹配)\nregex:.*\\.example\\.com$ (正则匹配)\nexample.com (完全匹配)",
"dns_proto_placeholder": "选择类型",
"end_time": "结束时间",
"ip_strategy": "IP 策略",
"ip_strategy_desc": "选择网络连接时的 IP 版本偏好",
"ip_strategy_ipv4": "优先 IPv4",
"ip_strategy_ipv6": "优先 IPv6",
"ip_strategy_placeholder": "选择 IP 策略",
"multiplier": "倍率",
"node_pull_interval": "节点拉取间隔",
"node_pull_interval_desc": "节点拉取配置的频率(秒)。",
"node_push_interval": "节点推送间隔",
"node_push_interval_desc": "节点上报状态的频率(秒)。",
"outbound_address_placeholder": "服务器地址",
"outbound_name_placeholder": "配置名称",
"outbound_password_placeholder": "密码 (可选)",
"outbound_port_placeholder": "端口号",
"outbound_protocol_placeholder": "选择协议",
"outbound_rules_placeholder": "每行一个规则,支持:\nkeyword:google (关键字匹配)\nsuffix:google.com (后缀匹配)\nregex:.*\\.example\\.com$ (正则匹配)\nexample.com (完全匹配)\n留空表示默认路由",
"reset": "重置",
"save": "保存",
"start_time": "开始时间",
"time_slot": "时间段",
"traffic_report_threshold": "流量上报阈值",
"traffic_report_threshold_desc": "设置流量上报的最小阈值,只有当流量超过此值时才会上报。设置为 0 或留空表示上报所有流量。"
},
"saveSuccess": "保存成功",
"tabs": {
"basic": "基础配置",
"block": "禁止规则",
"dns": "DNS 配置",
"outbound": "出站规则"
},
"title": "节点配置"
},
"server_key": "服务器密钥", "server_key": "服务器密钥",
"service_name": "服务名", "service_name": "服务名",
"sorted_success": "排序成功", "sorted_success": "排序成功",
+62 -27
View File
@@ -1,39 +1,25 @@
{ {
"address": "地址",
"address_placeholder": "伺服器地址",
"bandwidth_placeholder": "輸入帶寬,留空以使用BBR",
"basic": "基本配置",
"cancel": "取消",
"cipher": "加密算法",
"city": "城市",
"config": {
"actions": { "actions": {
"cancel": "取消", "cancel": "取消",
"save": "保存" "save": "保存"
}, },
"communicationKey": "通信密鑰", "address": "地址",
"communicationKeyDescription": "用於節點身份驗證。", "address_placeholder": "伺服器地址",
"description": "管理節點通信密鑰、拉取/推送間隔和動態乘數。", "apiHost": "API 主機",
"dynamicMultiplier": "動態乘數", "apiHostPlaceholder": "http(s)://example.com",
"dynamicMultiplierDescription": "定義時間段和乘數以調整流量計算。", "bandwidth_placeholder": "輸入帶寬,留空以使用BBR",
"endTime": "結束時間", "basic": "基本配置",
"inputPlaceholder": "請輸入", "cancel": "取消",
"multiplier": "數", "cert_dns_env": "DNS 環境變數",
"nodePullInterval": "節點拉取間隔", "cert_dns_provider": "DNS 提供者",
"nodePullIntervalDescription": "節點拉取配置的頻率(秒)。", "cert_mode": "證書模式",
"nodePushInterval": "節點推送間隔", "cipher": "加密算法",
"nodePushIntervalDescription": "節點推送統計的頻率(秒)。", "city": "城市",
"reset": "重置",
"save": "保存",
"saveSuccess": "保存成功",
"startTime": "開始時間",
"timeSlot": "時間段",
"title": "節點配置"
},
"confirm": "確認", "confirm": "確認",
"confirmDeleteDesc": "此操作無法撤銷。", "confirmDeleteDesc": "此操作無法撤銷。",
"confirmDeleteTitle": "刪除此伺服器?", "confirmDeleteTitle": "刪除此伺服器?",
"congestion_controller": "擁塞控制器", "congestion_controller": "擁塞控制器",
"connect": "連接",
"copied": "已複製", "copied": "已複製",
"copy": "複製", "copy": "複製",
"country": "國家", "country": "國家",
@@ -64,11 +50,14 @@
"expired": "已過期", "expired": "已過期",
"extra": "額外配置", "extra": "額外配置",
"flow": "流量", "flow": "流量",
"generate_quantum_resistant_key": "生成抗量子密鑰",
"generate_standard_encryption_key": "生成標準加密密鑰",
"hop_interval": "跳躍間隔", "hop_interval": "跳躍間隔",
"hop_ports": "跳躍端口", "hop_ports": "跳躍端口",
"hop_ports_placeholder": "例如 1-65535", "hop_ports_placeholder": "例如 1-65535",
"host": "主機", "host": "主機",
"id": "ID", "id": "ID",
"installCommand": "安裝命令",
"ipAddresses": "IP 地址", "ipAddresses": "IP 地址",
"memory": "內存", "memory": "內存",
"migrate": "遷移數據", "migrate": "遷移數據",
@@ -86,6 +75,7 @@
"obfs_password_placeholder": "輸入混淆密碼", "obfs_password_placeholder": "輸入混淆密碼",
"obfs_path": "混淆路徑", "obfs_path": "混淆路徑",
"offline": "離線", "offline": "離線",
"oneClickInstall": "一鍵安裝",
"online": "在線", "online": "在線",
"onlineUsers": "在線用戶", "onlineUsers": "在線用戶",
"padding_scheme": "填充方案", "padding_scheme": "填充方案",
@@ -114,6 +104,51 @@
"security_short_id_placeholder": "十六進制字符串(最多 16 個字符)", "security_short_id_placeholder": "十六進制字符串(最多 16 個字符)",
"security_sni": "SNI", "security_sni": "SNI",
"select_encryption_method": "選擇加密方法", "select_encryption_method": "選擇加密方法",
"server_config": {
"description": "管理節點通信密鑰、拉取/推送間隔。",
"dynamic_multiplier": "動態倍增器",
"dynamic_multiplier_desc": "定義時間段和倍增器以調整流量計算。",
"fields": {
"block_rules_placeholder": "每行一個域名規則,支持:\nkeyword:google(關鍵字匹配)\nsuffix:google.com(後綴匹配)\nregex:.*\\.example\\.com$(正則表達式匹配)\nexample.com(精確匹配)",
"communication_key": "通信密鑰",
"communication_key_desc": "用於節點身份驗證。",
"communication_key_placeholder": "請輸入",
"dns_config": "DNS 配置",
"dns_domains_placeholder": "每行一個域名規則,支持:\nkeyword:google(關鍵字匹配)\nsuffix:google.com(後綴匹配)\nregex:.*\\.example\\.com$(正則表達式匹配)\nexample.com(精確匹配)",
"dns_proto_placeholder": "選擇類型",
"end_time": "結束時間",
"ip_strategy": "IP 策略",
"ip_strategy_desc": "選擇網絡連接的 IP 版本偏好",
"ip_strategy_ipv4": "優先使用 IPv4",
"ip_strategy_ipv6": "優先使用 IPv6",
"ip_strategy_placeholder": "選擇 IP 策略",
"multiplier": "倍增器",
"node_pull_interval": "節點拉取間隔",
"node_pull_interval_desc": "節點拉取配置的頻率(秒)。",
"node_push_interval": "節點推送間隔",
"node_push_interval_desc": "節點推送統計的頻率(秒)。",
"outbound_address_placeholder": "服務器地址",
"outbound_name_placeholder": "配置名稱",
"outbound_password_placeholder": "密碼(可選)",
"outbound_port_placeholder": "端口號",
"outbound_protocol_placeholder": "選擇協議",
"outbound_rules_placeholder": "每行一個規則,支持:\nkeyword:google(關鍵字匹配)\nsuffix:google.com(後綴匹配)\nregex:.*\\.example\\.com$(正則表達式匹配)\nexample.com(精確匹配)\n留空以使用默認路由",
"reset": "重置",
"save": "保存",
"start_time": "開始時間",
"time_slot": "時間段",
"traffic_report_threshold": "流量報告閾值",
"traffic_report_threshold_desc": "設置流量報告的最小閾值。只有當流量超過此值時才會報告。設置為 0 或留空以報告所有流量。"
},
"saveSuccess": "保存成功",
"tabs": {
"basic": "基本配置",
"block": "阻止規則",
"dns": "DNS 配置",
"outbound": "出站規則"
},
"title": "節點配置"
},
"server_key": "伺服器密鑰", "server_key": "伺服器密鑰",
"service_name": "服務名稱", "service_name": "服務名稱",
"sorted_success": "排序成功", "sorted_success": "排序成功",
+3 -2
View File
@@ -11,7 +11,8 @@
}, },
"dependencies": { "dependencies": {
"@lottiefiles/dotlottie-react": "^0.15.1", "@lottiefiles/dotlottie-react": "^0.15.1",
"@noble/curves": "^2.0.0", "@noble/curves": "^2.0.1",
"@noble/ed25519": "^3.0.0",
"@tanstack/react-query": "^5.85.5", "@tanstack/react-query": "^5.85.5",
"@tanstack/react-query-next-experimental": "^5.85.5", "@tanstack/react-query-next-experimental": "^5.85.5",
"@workspace/ui": "workspace:*", "@workspace/ui": "workspace:*",
@@ -20,7 +21,7 @@
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"mlkem-wasm": "^0.0.6", "mlkem-wasm": "^0.0.6",
"nanoid": "^5.1.5", "nanoid": "^5.1.5",
"next": "^15.5.2", "next": "15.5.7",
"next-intl": "^3.26.3", "next-intl": "^3.26.3",
"next-runtime-env": "^3.3.0", "next-runtime-env": "^3.3.0",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
+11
View File
@@ -76,6 +76,17 @@ export async function updateNodeConfig(body: API.NodeConfig, options?: { [key: s
}); });
} }
/** PreView Node Multiplier GET /v1/admin/system/node_multiplier/preview */
export async function preViewNodeMultiplier(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.PreViewNodeMultiplierResponse }>(
'/v1/admin/system/node_multiplier/preview',
{
method: 'GET',
...(options || {}),
},
);
}
/** get Privacy Policy Config GET /v1/admin/system/privacy */ /** get Privacy Policy Config GET /v1/admin/system/privacy */
export async function getPrivacyPolicyConfig(options?: { [key: string]: any }) { export async function getPrivacyPolicyConfig(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.PrivacyPolicyConfig }>('/v1/admin/system/privacy', { return request<API.Response & { data?: API.PrivacyPolicyConfig }>('/v1/admin/system/privacy', {
+41 -3
View File
@@ -108,6 +108,7 @@ declare namespace API {
type AuthConfig = { type AuthConfig = {
mobile: MobileAuthenticateConfig; mobile: MobileAuthenticateConfig;
email: EmailAuthticateConfig; email: EmailAuthticateConfig;
device: DeviceAuthticateConfig;
register: PubilcRegisterConfig; register: PubilcRegisterConfig;
}; };
@@ -311,7 +312,6 @@ declare namespace API {
name: string; name: string;
country?: string; country?: string;
city?: string; city?: string;
ratio: number;
address: string; address: string;
sort?: number; sort?: number;
protocols: Protocol[]; protocols: Protocol[];
@@ -457,6 +457,13 @@ declare namespace API {
user_subscribe_id: number; user_subscribe_id: number;
}; };
type DeviceAuthticateConfig = {
enable: boolean;
show_ads: boolean;
enable_security: boolean;
only_real_device: boolean;
};
type Document = { type Document = {
id: number; id: number;
title: string; title: string;
@@ -1350,6 +1357,26 @@ declare namespace API {
node_secret: string; node_secret: string;
node_pull_interval: number; node_pull_interval: number;
node_push_interval: number; node_push_interval: number;
traffic_report_threshold: number;
ip_strategy: string;
dns: NodeDNS[];
block: string[];
outbound: NodeOutbound[];
};
type NodeDNS = {
proto: string;
address: string;
domains: string[];
};
type NodeOutbound = {
name: string;
protocol: string;
address: string;
port: number;
password: string;
rules: string[];
}; };
type NodeRelay = { type NodeRelay = {
@@ -1476,6 +1503,11 @@ declare namespace API {
orderNo: string; orderNo: string;
}; };
type PreViewNodeMultiplierResponse = {
current_time: string;
ratio: number;
};
type PreviewSubscribeTemplateParams = { type PreviewSubscribeTemplateParams = {
id: number; id: number;
}; };
@@ -1554,6 +1586,14 @@ declare namespace API {
encryption_client_padding?: string; encryption_client_padding?: string;
/** encryption password */ /** encryption password */
encryption_password?: string; encryption_password?: string;
/** Traffic ratio, default is 1 */
ratio?: number;
/** Certificate mode, `none``http``dns``self` */
cert_mode?: string;
/** DNS provider for certificate */
cert_dns_provider?: string;
/** Environment for DNS provider */
cert_dns_env?: string;
}; };
type PubilcRegisterConfig = { type PubilcRegisterConfig = {
@@ -1801,7 +1841,6 @@ declare namespace API {
name: string; name: string;
country: string; country: string;
city: string; city: string;
ratio: number;
address: string; address: string;
sort: number; sort: number;
protocols: Protocol[]; protocols: Protocol[];
@@ -2224,7 +2263,6 @@ declare namespace API {
name: string; name: string;
country?: string; country?: string;
city?: string; city?: string;
ratio: number;
address: string; address: string;
sort?: number; sort?: number;
protocols: Protocol[]; protocols: Protocol[];
+12
View File
@@ -47,6 +47,18 @@ export async function userLogin(body: API.UserLoginRequest, options?: { [key: st
}); });
} }
/** Device Login POST /v1/auth/login/device */
export async function deviceLogin(body: API.DeviceLoginRequest, options?: { [key: string]: any }) {
return request<API.Response & { data?: API.LoginResponse }>('/v1/auth/login/device', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** User Telephone login POST /v1/auth/login/telephone */ /** User Telephone login POST /v1/auth/login/telephone */
export async function telephoneLogin( export async function telephoneLogin(
body: API.TelephoneLoginRequest, body: API.TelephoneLoginRequest,
+1 -1
View File
@@ -1,5 +1,5 @@
// @ts-ignore // @ts-ignore
/* eslint-disable */
import request from '@/utils/request'; import request from '@/utils/request';
/** Apple Login Callback POST /v1/auth/oauth/callback/apple */ /** Apple Login Callback POST /v1/auth/oauth/callback/apple */
+48
View File
@@ -114,6 +114,7 @@ declare namespace API {
type AuthConfig = { type AuthConfig = {
mobile: MobileAuthenticateConfig; mobile: MobileAuthenticateConfig;
email: EmailAuthticateConfig; email: EmailAuthticateConfig;
device: DeviceAuthticateConfig;
register: PubilcRegisterConfig; register: PubilcRegisterConfig;
}; };
@@ -211,6 +212,19 @@ declare namespace API {
currency_symbol: string; currency_symbol: string;
}; };
type DeviceAuthticateConfig = {
enable: boolean;
show_ads: boolean;
enable_security: boolean;
only_real_device: boolean;
};
type DeviceLoginRequest = {
identifier: string;
user_agent: string;
cf_token?: string;
};
type Document = { type Document = {
id: number; id: number;
title: string; title: string;
@@ -363,6 +377,26 @@ declare namespace API {
node_secret: string; node_secret: string;
node_pull_interval: number; node_pull_interval: number;
node_push_interval: number; node_push_interval: number;
traffic_report_threshold: number;
ip_strategy: string;
dns: NodeDNS[];
block: string[];
outbound: NodeOutbound[];
};
type NodeDNS = {
proto: string;
address: string;
domains: string[];
};
type NodeOutbound = {
name: string;
protocol: string;
address: string;
port: number;
password: string;
rules: string[];
}; };
type NodeRelay = { type NodeRelay = {
@@ -562,6 +596,14 @@ declare namespace API {
encryption_client_padding?: string; encryption_client_padding?: string;
/** encryption password */ /** encryption password */
encryption_password?: string; encryption_password?: string;
/** Traffic ratio, default is 1 */
ratio?: number;
/** Certificate mode, `none``http``dns``self` */
cert_mode?: string;
/** DNS provider for certificate */
cert_dns_provider?: string;
/** Environment for DNS provider */
cert_dns_env?: string;
}; };
type PubilcRegisterConfig = { type PubilcRegisterConfig = {
@@ -678,6 +720,7 @@ declare namespace API {
}; };
type ResetPasswordRequest = { type ResetPasswordRequest = {
identifier: string;
email: string; email: string;
password: string; password: string;
code?: string; code?: string;
@@ -870,6 +913,7 @@ declare namespace API {
}; };
type TelephoneLoginRequest = { type TelephoneLoginRequest = {
identifier: string;
telephone: string; telephone: string;
telephone_code: string; telephone_code: string;
telephone_area_code: string; telephone_area_code: string;
@@ -878,6 +922,7 @@ declare namespace API {
}; };
type TelephoneRegisterRequest = { type TelephoneRegisterRequest = {
identifier: string;
telephone: string; telephone: string;
telephone_area_code: string; telephone_area_code: string;
password: string; password: string;
@@ -887,6 +932,7 @@ declare namespace API {
}; };
type TelephoneResetPasswordRequest = { type TelephoneResetPasswordRequest = {
identifier: string;
telephone: string; telephone: string;
telephone_area_code: string; telephone_area_code: string;
password: string; password: string;
@@ -1007,12 +1053,14 @@ declare namespace API {
}; };
type UserLoginRequest = { type UserLoginRequest = {
identifier: string;
email: string; email: string;
password: string; password: string;
cf_token?: string; cf_token?: string;
}; };
type UserRegisterRequest = { type UserRegisterRequest = {
identifier: string;
email: string; email: string;
password: string; password: string;
invite?: string; invite?: string;
+1 -1
View File
@@ -65,7 +65,7 @@ export const useServerStore = create<ServerState>((set, get) => ({
getServerEnabledProtocols: (serverId: number) => { getServerEnabledProtocols: (serverId: number) => {
const server = get().servers.find((s) => s.id === serverId); const server = get().servers.find((s) => s.id === serverId);
return server?.protocols?.filter((p) => p.enable !== false) || []; return server?.protocols?.filter((p) => p.enable) || [];
}, },
getProtocolPort: (serverId?: number, protocol?: string) => { getProtocolPort: (serverId?: number, protocol?: string) => {
+74
View File
@@ -0,0 +1,74 @@
import { create } from 'zustand';
// Fixed remote stats endpoint and required header
export const REQUIRED_HEADER_NAME = 'stats';
export const REQUIRED_HEADER_VALUE = 'ppanel.dev';
const STATS_URL = 'https://stats.ppanel.dev';
const STATS_LOADED_KEY = 'ppanel:stats:loaded';
interface StatsState {
loading: boolean;
loaded: boolean;
stats: () => Promise<void>;
}
async function hashHostname(hostname: string): Promise<string> {
try {
const encoder = new TextEncoder();
const data = encoder.encode(hostname);
const hashBuffer = await crypto.subtle.digest('SHA-256', data);
const hashArray = Array.from(new Uint8Array(hashBuffer));
return hashArray.map((b) => b.toString(16).padStart(2, '0')).join('');
} catch (e) {
return '';
}
}
export const useStatsStore = create<StatsState>((set) => ({
loading: false,
loaded:
typeof window !== 'undefined' ? Boolean(window.localStorage.getItem(STATS_LOADED_KEY)) : false,
stats: async () => {
// if already recorded, skip
if (typeof window !== 'undefined') {
try {
if (window.localStorage.getItem(STATS_LOADED_KEY)) return;
} catch {}
}
set({ loading: true });
try {
const hostname =
typeof window !== 'undefined' && window.location ? window.location.hostname : '';
const domain = hostname ? await hashHostname(hostname) : '';
await fetch(STATS_URL, {
method: 'POST',
headers: {
[REQUIRED_HEADER_NAME]: REQUIRED_HEADER_VALUE,
'Content-Type': 'application/json',
},
body: JSON.stringify({
domain,
}),
});
set({ loaded: true });
if (typeof window !== 'undefined') {
try {
window.localStorage.setItem(STATS_LOADED_KEY, '1');
} catch {}
}
} catch (error) {
// treat as completed to avoid repeated attempts
set({ loaded: false });
if (typeof window !== 'undefined') {
try {
window.localStorage.setItem(STATS_LOADED_KEY, '0');
} catch {}
}
} finally {
set({ loading: false });
}
},
}));
+1 -1
View File
@@ -44,7 +44,7 @@ export const useSubscribeStore = create<SubscribeState>((set, get) => ({
// Getters // Getters
getSubscribeName: (subscribeId?: number) => { getSubscribeName: (subscribeId?: number) => {
if (!subscribeId) return 'Unknown'; if (!subscribeId) return '--';
const subscribe = get().subscribes.find((s) => s.id === subscribeId); const subscribe = get().subscribes.find((s) => s.id === subscribeId);
return subscribe?.name ?? `Subscribe ${subscribeId}`; return subscribe?.name ?? `Subscribe ${subscribeId}`;
}, },
@@ -29,6 +29,6 @@ export default function Page() {
} }
/> />
) : ( ) : (
<Empty /> <Empty border />
); );
} }
@@ -225,7 +225,6 @@ export default function Content() {
{Array.from({ length: 16 }).map((_, i) => { {Array.from({ length: 16 }).map((_, i) => {
const row = Math.floor(i / 4); const row = Math.floor(i / 4);
const col = i % 4; const col = i % 4;
// 计算位置百分比
const top = 10 + row * 25 + (col % 2 === 0 ? 5 : -5); const top = 10 + row * 25 + (col % 2 === 0 ? 5 : -5);
const left = 5 + col * 30 + (row % 2 === 0 ? 0 : 10); const left = 5 + col * 30 + (row % 2 === 0 ? 0 : 10);
@@ -100,7 +100,7 @@ export function DocumentButton({ items }: { items: API.Document[] }) {
layoutId={`card-${item.id}-${id}`} layoutId={`card-${item.id}-${id}`}
key={`card-${item.id}-${id}`} key={`card-${item.id}-${id}`}
onClick={() => setActive(item)} onClick={() => setActive(item)}
className='bg-background hover:bg-accent flex cursor-pointer items-center justify-between rounded border p-4' className='bg-background hover:bg-accent flex cursor-pointer items-center justify-between rounded-xl border p-4'
> >
<div className='flex flex-row items-center gap-4'> <div className='flex flex-row items-center gap-4'>
<motion.div layoutId={`image-${item.id}-${id}`}> <motion.div layoutId={`image-${item.id}-${id}`}>
@@ -1,5 +1,6 @@
'use client'; 'use client';
import { Empty } from '@/components/empty';
import { NEXT_PUBLIC_HIDDEN_TUTORIAL_DOCUMENT } from '@/config/constants'; import { NEXT_PUBLIC_HIDDEN_TUTORIAL_DOCUMENT } from '@/config/constants';
import { queryDocumentList } from '@/services/user/document'; import { queryDocumentList } from '@/services/user/document';
import { getTutorialList } from '@/utils/tutorial'; import { getTutorialList } from '@/utils/tutorial';
@@ -35,6 +36,13 @@ export default function Page() {
enabled: NEXT_PUBLIC_HIDDEN_TUTORIAL_DOCUMENT !== 'true', enabled: NEXT_PUBLIC_HIDDEN_TUTORIAL_DOCUMENT !== 'true',
}); });
if (
(!DocumentList || DocumentList.length === 0) &&
(!TutorialList || TutorialList.length === 0)
) {
return <Empty border />;
}
return ( return (
<div className='space-y-4'> <div className='space-y-4'>
{DocumentList?.length > 0 && ( {DocumentList?.length > 0 && (
@@ -121,7 +121,7 @@ export function TutorialButton({ items }: { items: Item[] }) {
layoutId={`card-${item.title}-${id}`} layoutId={`card-${item.title}-${id}`}
key={`card-${item.title}-${id}`} key={`card-${item.title}-${id}`}
onClick={() => setActive(item)} onClick={() => setActive(item)}
className='bg-background hover:bg-accent flex cursor-pointer items-center justify-between rounded border p-4' className='bg-background hover:bg-accent flex cursor-pointer items-center justify-between rounded-xl border p-4'
> >
<div className='flex flex-row items-center gap-4'> <div className='flex flex-row items-center gap-4'>
<motion.div layoutId={`image-${item.title}-${id}`}> <motion.div layoutId={`image-${item.title}-${id}`}>
+1
View File
@@ -20,6 +20,7 @@ export default function PhoneAuthForm() {
const [type, setType] = useState<'login' | 'register' | 'reset'>('login'); const [type, setType] = useState<'login' | 'register' | 'reset'>('login');
const [loading, startTransition] = useTransition(); const [loading, startTransition] = useTransition();
const [initialValues, setInitialValues] = useState<API.TelephoneLoginRequest>({ const [initialValues, setInitialValues] = useState<API.TelephoneLoginRequest>({
identifier: '',
telephone: '', telephone: '',
telephone_area_code: '1', telephone_area_code: '1',
password: '', password: '',
@@ -19,6 +19,8 @@ export default function Certification({ platform, children }: CertificationProps
oAuthLoginGetToken({ oAuthLoginGetToken({
method: platform, method: platform,
callback: searchParams, callback: searchParams,
// @ts-ignore
invite: localStorage.getItem('invite') || '',
}) })
.then((res) => { .then((res) => {
const token = res?.data?.data?.token; const token = res?.data?.data?.token;
+5 -2
View File
@@ -4,7 +4,10 @@ import { default as _Empty } from '@workspace/ui/custom-components/empty';
import { useTranslations } from 'next-intl'; import { useTranslations } from 'next-intl';
import { useEffect, useState } from 'react'; import { useEffect, useState } from 'react';
export function Empty() { interface EmptyProps {
border?: boolean;
}
export function Empty({ border }: EmptyProps) {
const t = useTranslations('common'); const t = useTranslations('common');
const [description, setDescription] = useState(''); const [description, setDescription] = useState('');
@@ -14,5 +17,5 @@ export function Empty() {
setDescription(t(`empty.${random}`)); setDescription(t(`empty.${random}`));
}, [t]); }, [t]);
return <_Empty description={description} />; return <_Empty description={description} border={border} />;
} }
@@ -39,7 +39,6 @@ const DurationSelector: React.FC<DurationSelectorProps> = ({
</div> </div>
); );
// 查找当前选中项的折扣信息
const currentDiscount = discounts?.find((item) => item.quantity === quantity)?.discount; const currentDiscount = discounts?.find((item) => item.quantity === quantity)?.discount;
const discountPercentage = currentDiscount ? 100 - currentDiscount : 0; const discountPercentage = currentDiscount ? 100 - currentDiscount : 0;
@@ -52,7 +52,6 @@ export default function Renewal({ id, subscribe }: Readonly<RenewalProps>) {
subscribe_id: subscribe.id, subscribe_id: subscribe.id,
} as API.PurchaseOrderRequest); } as API.PurchaseOrderRequest);
const result = data.data; const result = data.data;
// 请求成功时保存数据
if (result) { if (result) {
lastSuccessOrderRef.current = result; lastSuccessOrderRef.current = result;
} }
+6
View File
@@ -48,6 +48,12 @@ export const useGlobalStore = create<GlobalStore>((set, get) => ({
ip_register_limit: 0, ip_register_limit: 0,
ip_register_limit_duration: 0, ip_register_limit_duration: 0,
}, },
device: {
enable: false,
show_ads: false,
enable_security: false,
only_real_device: false,
},
}, },
invite: { invite: {
forced_invite: false, forced_invite: false,
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Koupit", "3": "Koupit",
"4": "Vrácení peněz", "4": "Vrácení peněz",
"5": "Odměna", "5": "Odměna",
"6": "Provize" "6": "Provize",
"231": "Automatické resetování",
"232": "Předběžný reset",
"233": "Placený reset",
"321": "Dobití",
"322": "Výběr",
"323": "Platba",
"324": "Vrácení peněz",
"325": "Odměna",
"326": "Úprava administrátora",
"331": "Nákup",
"332": "Obnovení",
"333": "Vrácení peněz",
"334": "Výběr",
"335": "Úprava administrátora",
"341": "Navýšení",
"342": "Snížení"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Kaufen", "3": "Kaufen",
"4": "Rückerstattung", "4": "Rückerstattung",
"5": "Belohnung", "5": "Belohnung",
"6": "Provision" "6": "Provision",
"231": "Automatisches Zurücksetzen",
"232": "Vorzeitiges Zurücksetzen",
"233": "Kostenpflichtiges Zurücksetzen",
"321": "Aufladen",
"322": "Abheben",
"323": "Zahlung",
"324": "Rückerstattung",
"325": "Belohnung",
"326": "Admin-Anpassung",
"331": "Kauf",
"332": "Verlängerung",
"333": "Rückerstattung",
"334": "Abheben",
"335": "Admin-Anpassung",
"341": "Erhöhung",
"342": "Reduzierung"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Purchase", "3": "Purchase",
"4": "Refund", "4": "Refund",
"5": "Reward", "5": "Reward",
"6": "Commission" "6": "Commission",
"231": "Auto Reset",
"232": "Advance Reset",
"233": "Paid Reset",
"321": "Recharge",
"322": "Withdraw",
"323": "Payment",
"324": "Refund",
"325": "Reward",
"326": "Admin Adjust",
"331": "Purchase",
"332": "Renewal",
"333": "Refund",
"334": "Withdraw",
"335": "Admin Adjust",
"341": "Increase",
"342": "Reduce"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "compra", "3": "compra",
"4": "reembolso", "4": "reembolso",
"5": "recompensa", "5": "recompensa",
"6": "comisión" "6": "comisión",
"231": "restablecimiento automático",
"232": "restablecimiento anticipado",
"233": "restablecimiento de pago",
"321": "recarga",
"322": "retiro",
"323": "pago",
"324": "reembolso",
"325": "recompensa",
"326": "ajuste de administrador",
"331": "compra",
"332": "renovación",
"333": "reembolso",
"334": "retiro",
"335": "ajuste de administrador",
"341": "incremento",
"342": "reducción"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Compra", "3": "Compra",
"4": "Reembolso", "4": "Reembolso",
"5": "Recompensa", "5": "Recompensa",
"6": "Comisión" "6": "Comisión",
"231": "Restablecimiento automático",
"232": "Restablecimiento anticipado",
"233": "Restablecimiento de pago",
"321": "Recarga",
"322": "Retiro",
"323": "Pago",
"324": "Reembolso",
"325": "Recompensa",
"326": "Ajuste de administrador",
"331": "Compra",
"332": "Renovación",
"333": "Reembolso",
"334": "Retiro",
"335": "Ajuste de administrador",
"341": "Incremento",
"342": "Reducción"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "خرید", "3": "خرید",
"4": "بازپرداخت", "4": "بازپرداخت",
"5": "پاداش", "5": "پاداش",
"6": "کمیسیون" "6": "کمیسیون",
"231": "بازنشانی خودکار",
"232": "بازنشانی پیشاپیش",
"233": "بازنشانی پولی",
"321": "شارژ",
"322": "برداشت",
"323": "پرداخت",
"324": "بازپرداخت",
"325": "پاداش",
"326": "تنظیم مدیر",
"331": "خرید",
"332": "تمدید",
"333": "بازپرداخت",
"334": "برداشت",
"335": "تنظیم مدیر",
"341": "افزایش",
"342": "کاهش"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Osto", "3": "Osto",
"4": "Hyvitys", "4": "Hyvitys",
"5": "Palkinto", "5": "Palkinto",
"6": "Komissio" "6": "Komissio",
"231": "Automaattinen nollaus",
"232": "Ennakkonollaus",
"233": "Maksullinen nollaus",
"321": "Lataus",
"322": "Nosto",
"323": "Maksu",
"324": "Hyvitys",
"325": "Palkinto",
"326": "Ylläpitäjän säätö",
"331": "Osto",
"332": "Uusiminen",
"333": "Hyvitys",
"334": "Nosto",
"335": "Ylläpitäjän säätö",
"341": "Lisäys",
"342": "Vähennys"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Achat", "3": "Achat",
"4": "Remboursement", "4": "Remboursement",
"5": "Récompense", "5": "Récompense",
"6": "Commission" "6": "Commission",
"231": "Réinitialisation automatique",
"232": "Réinitialisation anticipée",
"233": "Réinitialisation payante",
"321": "Recharge",
"322": "Retrait",
"323": "Paiement",
"324": "Remboursement",
"325": "Récompense",
"326": "Ajustement administrateur",
"331": "Achat",
"332": "Renouvellement",
"333": "Remboursement",
"334": "Retrait",
"335": "Ajustement administrateur",
"341": "Augmentation",
"342": "Réduction"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "खरीद", "3": "खरीद",
"4": "वापसी", "4": "वापसी",
"5": "इनाम", "5": "इनाम",
"6": "कमीशन" "6": "कमीशन",
"231": "स्वचालित रीसेट",
"232": "अग्रिम रीसेट",
"233": "सशुल्क रीसेट",
"321": "रिचार्ज",
"322": "निकासी",
"323": "भुगतान",
"324": "वापसी",
"325": "इनाम",
"326": "व्यवस्थापक समायोजन",
"331": "खरीद",
"332": "नवीनीकरण",
"333": "वापसी",
"334": "निकासी",
"335": "व्यवस्थापक समायोजन",
"341": "वृद्धि",
"342": "कमी"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Vásárlás", "3": "Vásárlás",
"4": "Visszatérítés", "4": "Visszatérítés",
"5": "Jutalom", "5": "Jutalom",
"6": "Jutalék" "6": "Jutalék",
"231": "Automatikus visszaállítás",
"232": "Előzetes visszaállítás",
"233": "Fizetős visszaállítás",
"321": "Feltöltés",
"322": "Kivétel",
"323": "Fizetés",
"324": "Visszatérítés",
"325": "Jutalom",
"326": "Admin módosítás",
"331": "Vásárlás",
"332": "Megújítás",
"333": "Visszatérítés",
"334": "Kivétel",
"335": "Admin módosítás",
"341": "Növelés",
"342": "Csökkentés"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "購入", "3": "購入",
"4": "返金", "4": "返金",
"5": "報酬", "5": "報酬",
"6": "手数料" "6": "手数料",
"231": "自動リセット",
"232": "事前リセット",
"233": "有料リセット",
"321": "チャージ",
"322": "引き出し",
"323": "支払い",
"324": "返金",
"325": "報酬",
"326": "管理者調整",
"331": "購入",
"332": "更新",
"333": "返金",
"334": "引き出し",
"335": "管理者調整",
"341": "増加",
"342": "減少"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "구매", "3": "구매",
"4": "환불", "4": "환불",
"5": "보상", "5": "보상",
"6": "커미션" "6": "커미션",
"231": "자동 초기화",
"232": "사전 초기화",
"233": "유료 초기화",
"321": "충전",
"322": "출금",
"323": "결제",
"324": "환불",
"325": "보상",
"326": "관리자 조정",
"331": "구매",
"332": "갱신",
"333": "환불",
"334": "출금",
"335": "관리자 조정",
"341": "증가",
"342": "감소"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Kjøp", "3": "Kjøp",
"4": "Refusjon", "4": "Refusjon",
"5": "Belønning", "5": "Belønning",
"6": "Kommisjon" "6": "Kommisjon",
"231": "Automatisk tilbakestilling",
"232": "Forhåndstilbakestilling",
"233": "Betalt tilbakestilling",
"321": "Innskudd",
"322": "Uttak",
"323": "Betaling",
"324": "Refusjon",
"325": "Belønning",
"326": "Admin-justering",
"331": "Kjøp",
"332": "Fornyelse",
"333": "Refusjon",
"334": "Uttak",
"335": "Admin-justering",
"341": "Økning",
"342": "Reduksjon"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Zakup", "3": "Zakup",
"4": "Zwrot", "4": "Zwrot",
"5": "Nagroda", "5": "Nagroda",
"6": "Prowizja" "6": "Prowizja",
"231": "Automatyczne resetowanie",
"232": "Wcześniejszy reset",
"233": "Płatny reset",
"321": "Doładowanie",
"322": "Wypłata",
"323": "Płatność",
"324": "Zwrot",
"325": "Nagroda",
"326": "Korekta administratora",
"331": "Zakup",
"332": "Odnowienie",
"333": "Zwrot",
"334": "Wypłata",
"335": "Korekta administratora",
"341": "Zwiększenie",
"342": "Zmniejszenie"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "compra", "3": "compra",
"4": "reembolso", "4": "reembolso",
"5": "recompensa", "5": "recompensa",
"6": "comissão" "6": "comissão",
"231": "redefinição automática",
"232": "redefinição antecipada",
"233": "redefinição paga",
"321": "recarga",
"322": "retirada",
"323": "pagamento",
"324": "reembolso",
"325": "recompensa",
"326": "ajuste do administrador",
"331": "compra",
"332": "renovação",
"333": "reembolso",
"334": "retirada",
"335": "ajuste do administrador",
"341": "aumento",
"342": "redução"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Cumpărare", "3": "Cumpărare",
"4": "Rambursare", "4": "Rambursare",
"5": "Recompensă", "5": "Recompensă",
"6": "Comision" "6": "Comision",
"231": "Resetare automată",
"232": "Resetare în avans",
"233": "Resetare plătită",
"321": "Reîncărcare",
"322": "Retragere",
"323": "Plată",
"324": "Rambursare",
"325": "Recompensă",
"326": "Ajustare administrator",
"331": "Cumpărare",
"332": "Reînnoire",
"333": "Rambursare",
"334": "Retragere",
"335": "Ajustare administrator",
"341": "Creștere",
"342": "Reducere"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Покупка", "3": "Покупка",
"4": "Возврат", "4": "Возврат",
"5": "Награда", "5": "Награда",
"6": "Комиссия" "6": "Комиссия",
"231": "Автосброс",
"232": "Предварительный сброс",
"233": "Платный сброс",
"321": "Пополнение",
"322": "Вывод",
"323": "Оплата",
"324": "Возврат",
"325": "Награда",
"326": "Корректировка администратора",
"331": "Покупка",
"332": "Продление",
"333": "Возврат",
"334": "Вывод",
"335": "Корректировка администратора",
"341": "Увеличение",
"342": "Уменьшение"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "ซื้อ", "3": "ซื้อ",
"4": "คืนเงิน", "4": "คืนเงิน",
"5": "รางวัล", "5": "รางวัล",
"6": "ค่าคอมมิชชั่น" "6": "ค่าคอมมิชชั่น",
"231": "รีเซ็ตอัตโนมัติ",
"232": "รีเซ็ตล่วงหน้า",
"233": "รีเซ็ตแบบเสียค่าใช้จ่าย",
"321": "เติมเงิน",
"322": "ถอนเงิน",
"323": "การชำระเงิน",
"324": "คืนเงิน",
"325": "รางวัล",
"326": "ปรับโดยผู้ดูแล",
"331": "ซื้อ",
"332": "ต่ออายุ",
"333": "คืนเงิน",
"334": "ถอนเงิน",
"335": "ปรับโดยผู้ดูแล",
"341": "เพิ่มขึ้น",
"342": "ลดลง"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Satın Alma", "3": "Satın Alma",
"4": "İade", "4": "İade",
"5": "Ödül", "5": "Ödül",
"6": "Komisyon" "6": "Komisyon",
"231": "Otomatik Sıfırlama",
"232": "Önceden Sıfırlama",
"233": "Ücretli Sıfırlama",
"321": "Yükleme",
"322": "Çekme",
"323": "Ödeme",
"324": "İade",
"325": "Ödül",
"326": "Yönetici Ayarı",
"331": "Satın Alma",
"332": "Yenileme",
"333": "İade",
"334": "Çekme",
"335": "Yönetici Ayarı",
"341": "Artış",
"342": "Azaltma"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Покупка", "3": "Покупка",
"4": "Повернення коштів", "4": "Повернення коштів",
"5": "Нагорода", "5": "Нагорода",
"6": "Комісія" "6": "Комісія",
"231": "Автоскидання",
"232": "Попереднє скидання",
"233": "Платне скидання",
"321": "Поповнення",
"322": "Виведення",
"323": "Платіж",
"324": "Повернення коштів",
"325": "Нагорода",
"326": "Коригування адміністратора",
"331": "Покупка",
"332": "Поновлення",
"333": "Повернення коштів",
"334": "Виведення",
"335": "Коригування адміністратора",
"341": "Збільшення",
"342": "Зменшення"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "Mua", "3": "Mua",
"4": "Hoàn tiền", "4": "Hoàn tiền",
"5": "Thưởng", "5": "Thưởng",
"6": "Hoa hồng" "6": "Hoa hồng",
"231": "Tự động đặt lại",
"232": "Đặt lại trước hạn",
"233": "Đặt lại trả phí",
"321": "Nạp tiền",
"322": "Rút tiền",
"323": "Thanh toán",
"324": "Hoàn tiền",
"325": "Thưởng",
"326": "Điều chỉnh quản trị",
"331": "Mua",
"332": "Gia hạn",
"333": "Hoàn tiền",
"334": "Rút tiền",
"335": "Điều chỉnh quản trị",
"341": "Tăng",
"342": "Giảm"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "购买", "3": "购买",
"4": "退款", "4": "退款",
"5": "奖励", "5": "奖励",
"6": "佣金" "6": "佣金",
"231": "自动重置",
"232": "提前重置",
"233": "付费重置",
"321": "充值",
"322": "提取",
"323": "付款",
"324": "退款",
"325": "奖励",
"326": "管理员调整",
"331": "购买",
"332": "续订",
"333": "退款",
"334": "提取",
"335": "管理员调整",
"341": "增加",
"342": "减少"
} }
} }
+17 -1
View File
@@ -13,6 +13,22 @@
"3": "購買", "3": "購買",
"4": "退款", "4": "退款",
"5": "獎勵", "5": "獎勵",
"6": "佣金" "6": "佣金",
"231": "自動重置",
"232": "預先重置",
"233": "付費重置",
"321": "充值",
"322": "提取",
"323": "付款",
"324": "退款",
"325": "獎勵",
"326": "管理員調整",
"331": "購買",
"332": "續訂",
"333": "退款",
"334": "提取",
"335": "管理員調整",
"341": "增加",
"342": "減少"
} }
} }
+2 -2
View File
@@ -20,7 +20,7 @@
"framer-motion": "^12.23.12", "framer-motion": "^12.23.12",
"gray-matter": "^4.0.3", "gray-matter": "^4.0.3",
"lucide-react": "^0.542.0", "lucide-react": "^0.542.0",
"next": "^15.5.2", "next": "15.5.7",
"next-intl": "^3.26.3", "next-intl": "^3.26.3",
"next-runtime-env": "^3.3.0", "next-runtime-env": "^3.3.0",
"next-themes": "^0.4.6", "next-themes": "^0.4.6",
@@ -77,7 +77,7 @@
"zh-CN", "zh-CN",
"zh-HK" "zh-HK"
], ],
"modelName": "gpt-4o-mini", "modelName": "gpt-4o",
"experimental": { "experimental": {
"jsonMode": true "jsonMode": true
}, },
+12
View File
@@ -47,6 +47,18 @@ export async function userLogin(body: API.UserLoginRequest, options?: { [key: st
}); });
} }
/** Device Login POST /v1/auth/login/device */
export async function deviceLogin(body: API.DeviceLoginRequest, options?: { [key: string]: any }) {
return request<API.Response & { data?: API.LoginResponse }>('/v1/auth/login/device', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** User Telephone login POST /v1/auth/login/telephone */ /** User Telephone login POST /v1/auth/login/telephone */
export async function telephoneLogin( export async function telephoneLogin(
body: API.TelephoneLoginRequest, body: API.TelephoneLoginRequest,
+1 -1
View File
@@ -1,5 +1,5 @@
// @ts-ignore // @ts-ignore
/* eslint-disable */
import request from '@/utils/request'; import request from '@/utils/request';
/** Apple Login Callback POST /v1/auth/oauth/callback/apple */ /** Apple Login Callback POST /v1/auth/oauth/callback/apple */
+48
View File
@@ -114,6 +114,7 @@ declare namespace API {
type AuthConfig = { type AuthConfig = {
mobile: MobileAuthenticateConfig; mobile: MobileAuthenticateConfig;
email: EmailAuthticateConfig; email: EmailAuthticateConfig;
device: DeviceAuthticateConfig;
register: PubilcRegisterConfig; register: PubilcRegisterConfig;
}; };
@@ -211,6 +212,19 @@ declare namespace API {
currency_symbol: string; currency_symbol: string;
}; };
type DeviceAuthticateConfig = {
enable: boolean;
show_ads: boolean;
enable_security: boolean;
only_real_device: boolean;
};
type DeviceLoginRequest = {
identifier: string;
user_agent: string;
cf_token?: string;
};
type Document = { type Document = {
id: number; id: number;
title: string; title: string;
@@ -363,6 +377,26 @@ declare namespace API {
node_secret: string; node_secret: string;
node_pull_interval: number; node_pull_interval: number;
node_push_interval: number; node_push_interval: number;
traffic_report_threshold: number;
ip_strategy: string;
dns: NodeDNS[];
block: string[];
outbound: NodeOutbound[];
};
type NodeDNS = {
proto: string;
address: string;
domains: string[];
};
type NodeOutbound = {
name: string;
protocol: string;
address: string;
port: number;
password: string;
rules: string[];
}; };
type NodeRelay = { type NodeRelay = {
@@ -562,6 +596,14 @@ declare namespace API {
encryption_client_padding?: string; encryption_client_padding?: string;
/** encryption password */ /** encryption password */
encryption_password?: string; encryption_password?: string;
/** Traffic ratio, default is 1 */
ratio?: number;
/** Certificate mode, `none``http``dns``self` */
cert_mode?: string;
/** DNS provider for certificate */
cert_dns_provider?: string;
/** Environment for DNS provider */
cert_dns_env?: string;
}; };
type PubilcRegisterConfig = { type PubilcRegisterConfig = {
@@ -678,6 +720,7 @@ declare namespace API {
}; };
type ResetPasswordRequest = { type ResetPasswordRequest = {
identifier: string;
email: string; email: string;
password: string; password: string;
code?: string; code?: string;
@@ -870,6 +913,7 @@ declare namespace API {
}; };
type TelephoneLoginRequest = { type TelephoneLoginRequest = {
identifier: string;
telephone: string; telephone: string;
telephone_code: string; telephone_code: string;
telephone_area_code: string; telephone_area_code: string;
@@ -878,6 +922,7 @@ declare namespace API {
}; };
type TelephoneRegisterRequest = { type TelephoneRegisterRequest = {
identifier: string;
telephone: string; telephone: string;
telephone_area_code: string; telephone_area_code: string;
password: string; password: string;
@@ -887,6 +932,7 @@ declare namespace API {
}; };
type TelephoneResetPasswordRequest = { type TelephoneResetPasswordRequest = {
identifier: string;
telephone: string; telephone: string;
telephone_area_code: string; telephone_area_code: string;
password: string; password: string;
@@ -1007,12 +1053,14 @@ declare namespace API {
}; };
type UserLoginRequest = { type UserLoginRequest = {
identifier: string;
email: string; email: string;
password: string; password: string;
cf_token?: string; cf_token?: string;
}; };
type UserRegisterRequest = { type UserRegisterRequest = {
identifier: string;
email: string; email: string;
password: string; password: string;
invite?: string; invite?: string;
+11
View File
@@ -19,3 +19,14 @@ export async function querySubscribeList(
}, },
); );
} }
/** Get user subscribe node info GET /v1/public/subscribe/node/list */
export async function queryUserSubscribeNodeList(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.QueryUserSubscribeNodeListResponse }>(
'/v1/public/subscribe/node/list',
{
method: 'GET',
...(options || {}),
},
);
}
+82
View File
@@ -108,6 +108,7 @@ declare namespace API {
type AuthConfig = { type AuthConfig = {
mobile: MobileAuthenticateConfig; mobile: MobileAuthenticateConfig;
email: EmailAuthticateConfig; email: EmailAuthticateConfig;
device: DeviceAuthticateConfig;
register: PubilcRegisterConfig; register: PubilcRegisterConfig;
}; };
@@ -204,6 +205,13 @@ declare namespace API {
currency_symbol: string; currency_symbol: string;
}; };
type DeviceAuthticateConfig = {
enable: boolean;
show_ads: boolean;
enable_security: boolean;
only_real_device: boolean;
};
type Document = { type Document = {
id: number; id: number;
title: string; title: string;
@@ -256,6 +264,11 @@ declare namespace API {
list: PaymentMethod[]; list: PaymentMethod[];
}; };
type GetDeviceListResponse = {
list: UserDevice[];
total: number;
};
type GetLoginLogParams = { type GetLoginLogParams = {
page: number; page: number;
size: number; size: number;
@@ -378,6 +391,26 @@ declare namespace API {
node_secret: string; node_secret: string;
node_pull_interval: number; node_pull_interval: number;
node_push_interval: number; node_push_interval: number;
traffic_report_threshold: number;
ip_strategy: string;
dns: NodeDNS[];
block: string[];
outbound: NodeOutbound[];
};
type NodeDNS = {
proto: string;
address: string;
domains: string[];
};
type NodeOutbound = {
name: string;
protocol: string;
address: string;
port: number;
password: string;
rules: string[];
}; };
type NodeRelay = { type NodeRelay = {
@@ -601,6 +634,14 @@ declare namespace API {
encryption_client_padding?: string; encryption_client_padding?: string;
/** encryption password */ /** encryption password */
encryption_password?: string; encryption_password?: string;
/** Traffic ratio, default is 1 */
ratio?: number;
/** Certificate mode, `none``http``dns``self` */
cert_mode?: string;
/** DNS provider for certificate */
cert_dns_provider?: string;
/** Environment for DNS provider */
cert_dns_env?: string;
}; };
type PubilcRegisterConfig = { type PubilcRegisterConfig = {
@@ -771,6 +812,10 @@ declare namespace API {
total: number; total: number;
}; };
type QueryUserSubscribeNodeListResponse = {
list: UserSubscribeInfo[];
};
type RechargeOrderRequest = { type RechargeOrderRequest = {
amount: number; amount: number;
payment: number; payment: number;
@@ -1011,6 +1056,10 @@ declare namespace API {
security_config: SecurityConfig; security_config: SecurityConfig;
}; };
type UnbindDeviceRequest = {
id: number;
};
type UnbindOAuthRequest = { type UnbindOAuthRequest = {
method: string; method: string;
}; };
@@ -1122,6 +1171,26 @@ declare namespace API {
updated_at: number; updated_at: number;
}; };
type UserSubscribeInfo = {
id: number;
user_id: number;
order_id: number;
subscribe_id: number;
start_time: number;
expire_time: number;
finished_at: number;
reset_time: number;
traffic: number;
download: number;
upload: number;
token: string;
status: number;
created_at: number;
updated_at: number;
is_try_out: boolean;
nodes: UserSubscribeNodeInfo[];
};
type UserSubscribeLog = { type UserSubscribeLog = {
id: number; id: number;
user_id: number; user_id: number;
@@ -1132,6 +1201,19 @@ declare namespace API {
timestamp: number; timestamp: number;
}; };
type UserSubscribeNodeInfo = {
id: number;
name: string;
uuid: string;
protocol: string;
port: number;
address: string;
tags: string[];
country: string;
city: string;
created_at: number;
};
type VerifyCodeConfig = { type VerifyCodeConfig = {
verify_code_expire_time: number; verify_code_expire_time: number;
verify_code_limit: number; verify_code_limit: number;
+23
View File
@@ -128,6 +128,14 @@ export async function queryUserCommissionLog(
); );
} }
/** Get Device List GET /v1/public/user/devices */
export async function getDeviceList(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.GetDeviceListResponse }>('/v1/public/user/devices', {
method: 'GET',
...(options || {}),
});
}
/** Query User Info GET /v1/public/user/info */ /** Query User Info GET /v1/public/user/info */
export async function queryUserInfo(options?: { [key: string]: any }) { export async function queryUserInfo(options?: { [key: string]: any }) {
return request<API.Response & { data?: API.User }>('/v1/public/user/info', { return request<API.Response & { data?: API.User }>('/v1/public/user/info', {
@@ -236,6 +244,21 @@ export async function resetUserSubscribeToken(
}); });
} }
/** Unbind Device PUT /v1/public/user/unbind_device */
export async function unbindDevice(
body: API.UnbindDeviceRequest,
options?: { [key: string]: any },
) {
return request<API.Response & { data?: any }>('/v1/public/user/unbind_device', {
method: 'PUT',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}
/** Unbind OAuth POST /v1/public/user/unbind_oauth */ /** Unbind OAuth POST /v1/public/user/unbind_oauth */
export async function unbindOAuth(body: API.UnbindOAuthRequest, options?: { [key: string]: any }) { export async function unbindOAuth(body: API.UnbindOAuthRequest, options?: { [key: string]: any }) {
return request<API.Response & { data?: any }>('/v1/public/user/unbind_oauth', { return request<API.Response & { data?: any }>('/v1/public/user/unbind_oauth', {
+3755
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More