Compare commits
76 Commits
v1.4.0
...
b31c70a5c1
| Author | SHA1 | Date | |
|---|---|---|---|
| b31c70a5c1 | |||
| 75db379624 | |||
| c8401af672 | |||
| ea3964ebe5 | |||
| 5eac6a9f4a | |||
| 2182400adc | |||
| 5318b9cf44 | |||
| 705391f82a | |||
| 4429c9ddc9 | |||
| ad60ea9b18 | |||
| 5025fd1103 | |||
| 88aa9656b2 | |||
| e60e369bbe | |||
| c3d0ef8317 | |||
| 8bd25d651b | |||
| ca892dd359 | |||
| 521a7a97fb | |||
| a46657d5ef | |||
| c2bfee1f31 | |||
| 32fd181b52 | |||
| 5816dd5198 | |||
| 92665293ec | |||
| ec1e402419 | |||
| 4828700776 | |||
| 35e1cef18e | |||
| 55034dc97d | |||
| 6a823b8faa | |||
| 3b6ef177ba | |||
| 3d778e5e36 | |||
| 4abdd367ee | |||
| fc43de16f0 | |||
| bb6671c14f | |||
| 47f66030db | |||
| 70b3484f98 | |||
| 3c036eb09c | |||
| ce9ab89c1c | |||
| bb0a811432 | |||
| 8445e302e6 | |||
| 2bff15fd13 | |||
| 0345b7cced | |||
| 7a4ebdf985 | |||
| 05a61d8bf2 | |||
| 0a07d2578e | |||
| ee05a73834 | |||
| 13dce0c20b | |||
| 41f06bfe54 | |||
| 0cadd83e45 | |||
| d7879a8654 | |||
| 49b3dcc591 | |||
| e94405d1cd | |||
| 1dde7088bc | |||
| bd67ece479 | |||
| a3c5e31094 | |||
| 1b715c5f8b | |||
| 6dfac27bc3 | |||
| c6dd0b63f2 | |||
| bdd53b1551 | |||
| 982d2882e9 | |||
| 2b0cf9a46d | |||
| d6854076fe | |||
| 6991b69d40 | |||
| b8f630f8ab | |||
| 5ce5d62b22 | |||
| 2d5175d70f | |||
| 05d6c8947c | |||
| 8700cf6a91 | |||
| ebcebd7ddf | |||
| 54de16bdd5 | |||
| 597a01885b | |||
| 8a0baf3a61 | |||
| c4c4d5aea3 | |||
| 15540bfe16 | |||
| 634156206a | |||
| e2a357fea7 | |||
| 1d52642cb7 | |||
| 131693b604 |
+235
-63
@@ -1,77 +1,249 @@
|
|||||||
<a name="readme-top"></a>
|
<a name="readme-top"></a>
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
# [1.4.0](https://github.com/perfect-panel/ppanel-web/compare/v1.3.0...v1.4.0) (2025-09-14)
|
## [1.6.1](https://github.com/perfect-panel/ppanel-web/compare/v1.6.0...v1.6.1) (2025-11-05)
|
||||||
|
|
||||||
|
|
||||||
### âŧ Code Refactoring
|
|
||||||
|
|
||||||
* **logs**: Add localization files and update existing translations for multiple languages ([2f20ac9](https://github.com/perfect-panel/ppanel-web/commit/2f20ac9))
|
|
||||||
* **subscribe-form**: Replace server_group and server with node_tags and nodes in default values and form schema ([38dda84](https://github.com/perfect-panel/ppanel-web/commit/38dda84))
|
|
||||||
* Add localization updates for log and server files across multiple languages ([2bcd4cf](https://github.com/perfect-panel/ppanel-web/commit/2bcd4cf))
|
|
||||||
* Clean up NodeForm and ServerForm components by removing unused functions and optimizing state management ([10250d9](https://github.com/perfect-panel/ppanel-web/commit/10250d9))
|
|
||||||
* Enhance log pages with Badge component and update translations ([a4de9df](https://github.com/perfect-panel/ppanel-web/commit/a4de9df))
|
|
||||||
* Make 'scheme' field optional in client form schema ([f4a1237](https://github.com/perfect-panel/ppanel-web/commit/f4a1237))
|
|
||||||
* Refactor server management API endpoints and typings ([4f7cc80](https://github.com/perfect-panel/ppanel-web/commit/4f7cc80))
|
|
||||||
* Remove application management forms and related configurations ([0c43844](https://github.com/perfect-panel/ppanel-web/commit/0c43844))
|
|
||||||
* Remove default options from TagInput component for improved flexibility ([6a3bb70](https://github.com/perfect-panel/ppanel-web/commit/6a3bb70))
|
|
||||||
* Remove unused preview state variables and add sort order to node properties ([e63f823](https://github.com/perfect-panel/ppanel-web/commit/e63f823))
|
|
||||||
* Rename buildScheme to buildSchema and update imports in server form components ([ee98e7e](https://github.com/perfect-panel/ppanel-web/commit/ee98e7e))
|
|
||||||
* Simplify node display in subscribe form and remove unused Badge import ([551135d](https://github.com/perfect-panel/ppanel-web/commit/551135d))
|
|
||||||
* Update bun.lockb to reflect dependency changes ([ba2b50e](https://github.com/perfect-panel/ppanel-web/commit/ba2b50e))
|
|
||||||
* Update component imports and improve code consistency ([59faeab](https://github.com/perfect-panel/ppanel-web/commit/59faeab))
|
|
||||||
* Update dependencies and improve code consistency across multiple files ([e37ae49](https://github.com/perfect-panel/ppanel-web/commit/e37ae49))
|
|
||||||
* Update localization files and service imports ([d4b37e4](https://github.com/perfect-panel/ppanel-web/commit/d4b37e4))
|
|
||||||
|
|
||||||
|
|
||||||
### âĻ Features
|
|
||||||
|
|
||||||
* **config**: Add translations for server configuration in multiple languages ([f9a7ece](https://github.com/perfect-panel/ppanel-web/commit/f9a7ece))
|
|
||||||
* **logs**: Add various log pages for tracking user activities and system events ([d85af49](https://github.com/perfect-panel/ppanel-web/commit/d85af49))
|
|
||||||
* Add bandwidth fields and placeholders for upload and download in server configuration forms; update localization files for multiple languages ([3e5402f](https://github.com/perfect-panel/ppanel-web/commit/3e5402f))
|
|
||||||
* Add batch delete functionality and enhance chart tooltips in statistics cards ([c4f536e](https://github.com/perfect-panel/ppanel-web/commit/c4f536e))
|
|
||||||
* Add language support and descriptions in product localization files ([fd48856](https://github.com/perfect-panel/ppanel-web/commit/fd48856))
|
|
||||||
* Add log cleanup settings and update localization files ([6ccf9b8](https://github.com/perfect-panel/ppanel-web/commit/6ccf9b8))
|
|
||||||
* Add queryNodeTag function and integrate tag retrieval in NodeForm and SubscribeForm components ([4563c57](https://github.com/perfect-panel/ppanel-web/commit/4563c57))
|
|
||||||
* Add quota management features and localization updates ([fce627b](https://github.com/perfect-panel/ppanel-web/commit/fce627b))
|
|
||||||
* Add server form component with protocol configuration and localization support ([217ddce](https://github.com/perfect-panel/ppanel-web/commit/217ddce))
|
|
||||||
* Enhance TagInput component with option handling and improved tag addition logic ([b6e778d](https://github.com/perfect-panel/ppanel-web/commit/b6e778d))
|
|
||||||
* Implement data migration functionality and update localization files ([6d81bfd](https://github.com/perfect-panel/ppanel-web/commit/6d81bfd))
|
|
||||||
* Refactor user detail and subscription management components ([973c06f](https://github.com/perfect-panel/ppanel-web/commit/973c06f))
|
|
||||||
* Update server list fetching logic and adjust query parameters ([5272360](https://github.com/perfect-panel/ppanel-web/commit/5272360))
|
|
||||||
|
|
||||||
|
|
||||||
### ð Bug Fixes
|
### ð Bug Fixes
|
||||||
|
|
||||||
* **page**: Refine version checking logic and remove unnecessary comments for clarity ([26176a7](https://github.com/perfect-panel/ppanel-web/commit/26176a7))
|
* Fixing issues with generating standard and quantum-resistant encryption keys ([5eac6a9](https://github.com/perfect-panel/ppanel-web/commit/5eac6a9))
|
||||||
* Add localization updates and new utility functions ([4da5960](https://github.com/perfect-panel/ppanel-web/commit/4da5960))
|
|
||||||
* Add user_subscribe_id filter to SubscribeLogPage and update typings; disable eslint in service index files ([ab6f6a6](https://github.com/perfect-panel/ppanel-web/commit/ab6f6a6))
|
|
||||||
* Added system version card and system log dialog components; updated statistics page to include total server and user statistics ([fe69980](https://github.com/perfect-panel/ppanel-web/commit/fe69980))
|
|
||||||
* Adjust timestamp calculations to use milliseconds instead of seconds in quota broadcast form submission ([8dffd69](https://github.com/perfect-panel/ppanel-web/commit/8dffd69))
|
|
||||||
* Correct cookie key format for sidebar state retrieval ([9e01f4f](https://github.com/perfect-panel/ppanel-web/commit/9e01f4f))
|
|
||||||
* Improve UI for protocol status display in server form component ([461fdb1](https://github.com/perfect-panel/ppanel-web/commit/461fdb1))
|
|
||||||
* Increase pagination size limit for server and node lists to improve data retrieval ([7c0a312](https://github.com/perfect-panel/ppanel-web/commit/7c0a312))
|
|
||||||
* Optimize Task Manager to use milliseconds to calculate timers, and simplify import statements ([d8fa13b](https://github.com/perfect-panel/ppanel-web/commit/d8fa13b))
|
|
||||||
* Refactor protocol status display for improved readability in server form component ([f700be0](https://github.com/perfect-panel/ppanel-web/commit/f700be0))
|
|
||||||
* Remove GroupTable and related components, simplify SubscribeTable and update language handling in subscription forms ([1ab9b39](https://github.com/perfect-panel/ppanel-web/commit/1ab9b39))
|
|
||||||
* Remove redundant transport label from localization files ([88ce8d7](https://github.com/perfect-panel/ppanel-web/commit/88ce8d7))
|
|
||||||
* Remove unnecessary comments and improve variable handling in GoTemplateEditor; ensure zero value displays as empty in EnhancedInput ([c4a47a4](https://github.com/perfect-panel/ppanel-web/commit/c4a47a4))
|
|
||||||
* Remove unnecessary comments to simplify code readability ([a988cb3](https://github.com/perfect-panel/ppanel-web/commit/a988cb3))
|
|
||||||
* Replace MarkdownEditor with HTMLEditor in EmailBroadcastForm; simplify content rendering in EmailTaskManager; disable eslint in service index files ([e2d83ec](https://github.com/perfect-panel/ppanel-web/commit/e2d83ec))
|
|
||||||
* Replace redundant icon rendering with a single instance in system version card component ([e4429a5](https://github.com/perfect-panel/ppanel-web/commit/e4429a5))
|
|
||||||
* Update billing URL fetching logic and improve version handling in system version card component ([1c8d4af](https://github.com/perfect-panel/ppanel-web/commit/1c8d4af))
|
|
||||||
* Update condition for plugin field in PROTOCOL_FIELDS to include specific plugins ([6376ec1](https://github.com/perfect-panel/ppanel-web/commit/6376ec1))
|
|
||||||
* Update getAppSubLink function to improve URL handling and encoding logic ([351fffc](https://github.com/perfect-panel/ppanel-web/commit/351fffc))
|
|
||||||
* Update order_id to order_no in BalanceLogPage and related typings; enhance timezone switch component with additional features and localization updates ([ac36075](https://github.com/perfect-panel/ppanel-web/commit/ac36075))
|
|
||||||
* Update protocol plugin handling and add new options in typings ([6ca2433](https://github.com/perfect-panel/ppanel-web/commit/6ca2433))
|
|
||||||
* Update release URLs to include 'v' prefix for versioning in system version card component ([1d526b5](https://github.com/perfect-panel/ppanel-web/commit/1d526b5))
|
|
||||||
* Update SidebarLeft component styles to enhance hover effects ([e4fbd5c](https://github.com/perfect-panel/ppanel-web/commit/e4fbd5c))
|
|
||||||
* Update validation for days and gift_value fields in QuotaBroadcastForm; set default values to avoid errors ([39d746f](https://github.com/perfect-panel/ppanel-web/commit/39d746f))
|
|
||||||
|
|
||||||
|
<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
|
||||||
|
|
||||||
|
- Merge branch 'main' into develop ([41f06bf](https://github.com/perfect-panel/ppanel-web/commit/41f06bf))
|
||||||
|
|
||||||
|
### ð 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))
|
||||||
|
- 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)
|
||||||
|
|
||||||
|
### âŧ Code Refactoring
|
||||||
|
|
||||||
|
- 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))
|
||||||
|
|
||||||
|
### ð Bug Fixes
|
||||||
|
|
||||||
|
- 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 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))
|
||||||
|
- 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))
|
||||||
|
|
||||||
|
<a name="readme-top"></a>
|
||||||
|
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
## [1.4.4](https://github.com/perfect-panel/ppanel-web/compare/v1.4.3...v1.4.4) (2025-09-16)
|
||||||
|
|
||||||
|
### ð Bug Fixes
|
||||||
|
|
||||||
|
- Add minimum value constraint for count and user limit inputs in CouponForm ([6991b69](https://github.com/perfect-panel/ppanel-web/commit/6991b69))
|
||||||
|
- Add protocol-related constants, default configurations, field definitions, and validation modes ([d685407](https://github.com/perfect-panel/ppanel-web/commit/d685407))
|
||||||
|
- Added the enabled field in the protocol configuration, updated the related type definition and default configuration ([2b0cf9a](https://github.com/perfect-panel/ppanel-web/commit/2b0cf9a))
|
||||||
|
- Filter available protocols to exclude disabled ones in NodeForm ([982d288](https://github.com/perfect-panel/ppanel-web/commit/982d288))
|
||||||
|
- Refactor key generation logic and update dependencies for ML-KEM-768 integration ([b8f630f](https://github.com/perfect-panel/ppanel-web/commit/b8f630f))
|
||||||
|
|
||||||
|
<a name="readme-top"></a>
|
||||||
|
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
## [1.4.3](https://github.com/perfect-panel/ppanel-web/compare/v1.4.2...v1.4.3) (2025-09-16)
|
||||||
|
|
||||||
|
### ð Bug Fixes
|
||||||
|
|
||||||
|
- Add success toast message for sorting in nodes and servers pages ([2d5175d](https://github.com/perfect-panel/ppanel-web/commit/2d5175d))
|
||||||
|
- Implement encryption and obfuscation features in protocol configuration ([54de16b](https://github.com/perfect-panel/ppanel-web/commit/54de16b))
|
||||||
|
- Refactor toB64 function to toB64Url for URL-safe base64 encoding in VlessX25519Pair generation ([8700cf6](https://github.com/perfect-panel/ppanel-web/commit/8700cf6))
|
||||||
|
- Simplify initialValues assignment and update node submission logic in NodesPage ([05d6c89](https://github.com/perfect-panel/ppanel-web/commit/05d6c89))
|
||||||
|
- Update bun.lockb to reflect dependency changes ([ebcebd7](https://github.com/perfect-panel/ppanel-web/commit/ebcebd7))
|
||||||
|
|
||||||
|
<a name="readme-top"></a>
|
||||||
|
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
## [1.4.2](https://github.com/perfect-panel/ppanel-web/compare/v1.4.1...v1.4.2) (2025-09-15)
|
||||||
|
|
||||||
|
### ð Bug Fixes
|
||||||
|
|
||||||
|
- Add GitHub template repository link to ProtocolForm header for easier access ([8a0baf3](https://github.com/perfect-panel/ppanel-web/commit/8a0baf3))
|
||||||
|
- Add readOnly prop to MonacoEditor and TemplatePreview components for improved content handling ([c4c4d5a](https://github.com/perfect-panel/ppanel-web/commit/c4c4d5a))
|
||||||
|
|
||||||
|
## [1.4.1](https://github.com/perfect-panel/ppanel-web/compare/v1.4.0...v1.4.1) (2025-09-15)
|
||||||
|
|
||||||
|
### ð Bug Fixes
|
||||||
|
|
||||||
|
- Add copy subscription functionality to user subscription dashboard and improve localization for new features ([e2a357f](https://github.com/perfect-panel/ppanel-web/commit/e2a357f))
|
||||||
|
- Simplify handleInputBlur function by removing unnecessary setTimeout ([6341562](https://github.com/perfect-panel/ppanel-web/commit/6341562))
|
||||||
|
- Update TemplatePreview to use MonacoEditor for content display and improve error handling ([1d52642](https://github.com/perfect-panel/ppanel-web/commit/1d52642))
|
||||||
|
- Update user dashboard link to correct path ([131693b](https://github.com/perfect-panel/ppanel-web/commit/131693b))
|
||||||
|
|
||||||
|
<a name="readme-top"></a>
|
||||||
|
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
# [1.4.0](https://github.com/perfect-panel/ppanel-web/compare/v1.3.0...v1.4.0) (2025-09-14)
|
||||||
|
|
||||||
|
### âŧ Code Refactoring
|
||||||
|
|
||||||
|
- **logs**: Add localization files and update existing translations for multiple languages ([2f20ac9](https://github.com/perfect-panel/ppanel-web/commit/2f20ac9))
|
||||||
|
- **subscribe-form**: Replace server_group and server with node_tags and nodes in default values and form schema ([38dda84](https://github.com/perfect-panel/ppanel-web/commit/38dda84))
|
||||||
|
- Add localization updates for log and server files across multiple languages ([2bcd4cf](https://github.com/perfect-panel/ppanel-web/commit/2bcd4cf))
|
||||||
|
- Clean up NodeForm and ServerForm components by removing unused functions and optimizing state management ([10250d9](https://github.com/perfect-panel/ppanel-web/commit/10250d9))
|
||||||
|
- Enhance log pages with Badge component and update translations ([a4de9df](https://github.com/perfect-panel/ppanel-web/commit/a4de9df))
|
||||||
|
- Make 'scheme' field optional in client form schema ([f4a1237](https://github.com/perfect-panel/ppanel-web/commit/f4a1237))
|
||||||
|
- Refactor server management API endpoints and typings ([4f7cc80](https://github.com/perfect-panel/ppanel-web/commit/4f7cc80))
|
||||||
|
- Remove application management forms and related configurations ([0c43844](https://github.com/perfect-panel/ppanel-web/commit/0c43844))
|
||||||
|
- Remove default options from TagInput component for improved flexibility ([6a3bb70](https://github.com/perfect-panel/ppanel-web/commit/6a3bb70))
|
||||||
|
- Remove unused preview state variables and add sort order to node properties ([e63f823](https://github.com/perfect-panel/ppanel-web/commit/e63f823))
|
||||||
|
- Rename buildScheme to buildSchema and update imports in server form components ([ee98e7e](https://github.com/perfect-panel/ppanel-web/commit/ee98e7e))
|
||||||
|
- Simplify node display in subscribe form and remove unused Badge import ([551135d](https://github.com/perfect-panel/ppanel-web/commit/551135d))
|
||||||
|
- Update bun.lockb to reflect dependency changes ([ba2b50e](https://github.com/perfect-panel/ppanel-web/commit/ba2b50e))
|
||||||
|
- Update component imports and improve code consistency ([59faeab](https://github.com/perfect-panel/ppanel-web/commit/59faeab))
|
||||||
|
- Update dependencies and improve code consistency across multiple files ([e37ae49](https://github.com/perfect-panel/ppanel-web/commit/e37ae49))
|
||||||
|
- Update localization files and service imports ([d4b37e4](https://github.com/perfect-panel/ppanel-web/commit/d4b37e4))
|
||||||
|
|
||||||
|
### âĻ Features
|
||||||
|
|
||||||
|
- **config**: Add translations for server configuration in multiple languages ([f9a7ece](https://github.com/perfect-panel/ppanel-web/commit/f9a7ece))
|
||||||
|
- **logs**: Add various log pages for tracking user activities and system events ([d85af49](https://github.com/perfect-panel/ppanel-web/commit/d85af49))
|
||||||
|
- Add bandwidth fields and placeholders for upload and download in server configuration forms; update localization files for multiple languages ([3e5402f](https://github.com/perfect-panel/ppanel-web/commit/3e5402f))
|
||||||
|
- Add batch delete functionality and enhance chart tooltips in statistics cards ([c4f536e](https://github.com/perfect-panel/ppanel-web/commit/c4f536e))
|
||||||
|
- Add language support and descriptions in product localization files ([fd48856](https://github.com/perfect-panel/ppanel-web/commit/fd48856))
|
||||||
|
- Add log cleanup settings and update localization files ([6ccf9b8](https://github.com/perfect-panel/ppanel-web/commit/6ccf9b8))
|
||||||
|
- Add queryNodeTag function and integrate tag retrieval in NodeForm and SubscribeForm components ([4563c57](https://github.com/perfect-panel/ppanel-web/commit/4563c57))
|
||||||
|
- Add quota management features and localization updates ([fce627b](https://github.com/perfect-panel/ppanel-web/commit/fce627b))
|
||||||
|
- Add server form component with protocol configuration and localization support ([217ddce](https://github.com/perfect-panel/ppanel-web/commit/217ddce))
|
||||||
|
- Enhance TagInput component with option handling and improved tag addition logic ([b6e778d](https://github.com/perfect-panel/ppanel-web/commit/b6e778d))
|
||||||
|
- Implement data migration functionality and update localization files ([6d81bfd](https://github.com/perfect-panel/ppanel-web/commit/6d81bfd))
|
||||||
|
- Refactor user detail and subscription management components ([973c06f](https://github.com/perfect-panel/ppanel-web/commit/973c06f))
|
||||||
|
- Update server list fetching logic and adjust query parameters ([5272360](https://github.com/perfect-panel/ppanel-web/commit/5272360))
|
||||||
|
|
||||||
|
### ð Bug Fixes
|
||||||
|
|
||||||
|
- **page**: Refine version checking logic and remove unnecessary comments for clarity ([26176a7](https://github.com/perfect-panel/ppanel-web/commit/26176a7))
|
||||||
|
- Add localization updates and new utility functions ([4da5960](https://github.com/perfect-panel/ppanel-web/commit/4da5960))
|
||||||
|
- Add user_subscribe_id filter to SubscribeLogPage and update typings; disable eslint in service index files ([ab6f6a6](https://github.com/perfect-panel/ppanel-web/commit/ab6f6a6))
|
||||||
|
- Added system version card and system log dialog components; updated statistics page to include total server and user statistics ([fe69980](https://github.com/perfect-panel/ppanel-web/commit/fe69980))
|
||||||
|
- Adjust timestamp calculations to use milliseconds instead of seconds in quota broadcast form submission ([8dffd69](https://github.com/perfect-panel/ppanel-web/commit/8dffd69))
|
||||||
|
- Correct cookie key format for sidebar state retrieval ([9e01f4f](https://github.com/perfect-panel/ppanel-web/commit/9e01f4f))
|
||||||
|
- Improve UI for protocol status display in server form component ([461fdb1](https://github.com/perfect-panel/ppanel-web/commit/461fdb1))
|
||||||
|
- Increase pagination size limit for server and node lists to improve data retrieval ([7c0a312](https://github.com/perfect-panel/ppanel-web/commit/7c0a312))
|
||||||
|
- Optimize Task Manager to use milliseconds to calculate timers, and simplify import statements ([d8fa13b](https://github.com/perfect-panel/ppanel-web/commit/d8fa13b))
|
||||||
|
- Refactor protocol status display for improved readability in server form component ([f700be0](https://github.com/perfect-panel/ppanel-web/commit/f700be0))
|
||||||
|
- Remove GroupTable and related components, simplify SubscribeTable and update language handling in subscription forms ([1ab9b39](https://github.com/perfect-panel/ppanel-web/commit/1ab9b39))
|
||||||
|
- Remove redundant transport label from localization files ([88ce8d7](https://github.com/perfect-panel/ppanel-web/commit/88ce8d7))
|
||||||
|
- Remove unnecessary comments and improve variable handling in GoTemplateEditor; ensure zero value displays as empty in EnhancedInput ([c4a47a4](https://github.com/perfect-panel/ppanel-web/commit/c4a47a4))
|
||||||
|
- Remove unnecessary comments to simplify code readability ([a988cb3](https://github.com/perfect-panel/ppanel-web/commit/a988cb3))
|
||||||
|
- Replace MarkdownEditor with HTMLEditor in EmailBroadcastForm; simplify content rendering in EmailTaskManager; disable eslint in service index files ([e2d83ec](https://github.com/perfect-panel/ppanel-web/commit/e2d83ec))
|
||||||
|
- Replace redundant icon rendering with a single instance in system version card component ([e4429a5](https://github.com/perfect-panel/ppanel-web/commit/e4429a5))
|
||||||
|
- Update billing URL fetching logic and improve version handling in system version card component ([1c8d4af](https://github.com/perfect-panel/ppanel-web/commit/1c8d4af))
|
||||||
|
- Update condition for plugin field in PROTOCOL_FIELDS to include specific plugins ([6376ec1](https://github.com/perfect-panel/ppanel-web/commit/6376ec1))
|
||||||
|
- Update getAppSubLink function to improve URL handling and encoding logic ([351fffc](https://github.com/perfect-panel/ppanel-web/commit/351fffc))
|
||||||
|
- Update order_id to order_no in BalanceLogPage and related typings; enhance timezone switch component with additional features and localization updates ([ac36075](https://github.com/perfect-panel/ppanel-web/commit/ac36075))
|
||||||
|
- Update protocol plugin handling and add new options in typings ([6ca2433](https://github.com/perfect-panel/ppanel-web/commit/6ca2433))
|
||||||
|
- Update release URLs to include 'v' prefix for versioning in system version card component ([1d526b5](https://github.com/perfect-panel/ppanel-web/commit/1d526b5))
|
||||||
|
- Update SidebarLeft component styles to enhance hover effects ([e4fbd5c](https://github.com/perfect-panel/ppanel-web/commit/e4fbd5c))
|
||||||
|
- Update validation for days and gift_value fields in QuotaBroadcastForm; set default values to avoid errors ([39d746f](https://github.com/perfect-panel/ppanel-web/commit/39d746f))
|
||||||
|
|
||||||
### ð Documentation
|
### ð Documentation
|
||||||
|
|
||||||
* Merge branch 'main' into develop ([d7f8b3b](https://github.com/perfect-panel/ppanel-web/commit/d7f8b3b))
|
- Merge branch 'main' into develop ([d7f8b3b](https://github.com/perfect-panel/ppanel-web/commit/d7f8b3b))
|
||||||
|
|
||||||
<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) : ''
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
import { zodResolver } from '@hookform/resolvers/zod';
|
import { zodResolver } from '@hookform/resolvers/zod';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import { Button } from '@workspace/ui/components/button';
|
import { Button } from '@workspace/ui/components/button';
|
||||||
import {
|
import {
|
||||||
Form,
|
Form,
|
||||||
@@ -81,16 +80,7 @@ export default function CouponForm<T extends Record<string, any>>({
|
|||||||
|
|
||||||
const type = form.watch('type');
|
const type = form.watch('type');
|
||||||
|
|
||||||
const { data: subscribe } = useQuery({
|
const { subscribes } = useSubscribe();
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 9999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.Subscribe[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Sheet open={open} onOpenChange={setOpen}>
|
<Sheet open={open} onOpenChange={setOpen}>
|
||||||
@@ -247,9 +237,9 @@ export default function CouponForm<T extends Record<string, any>>({
|
|||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
form.setValue(field.name, value);
|
form.setValue(field.name, value);
|
||||||
}}
|
}}
|
||||||
options={subscribe?.map((item: API.Subscribe) => ({
|
options={subscribes?.map((item) => ({
|
||||||
value: item.id,
|
value: item.id!,
|
||||||
label: item.name,
|
label: item.name!,
|
||||||
}))}
|
}))}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
@@ -307,6 +297,7 @@ export default function CouponForm<T extends Record<string, any>>({
|
|||||||
<EnhancedInput
|
<EnhancedInput
|
||||||
placeholder={t('form.countPlaceholder')}
|
placeholder={t('form.countPlaceholder')}
|
||||||
type='number'
|
type='number'
|
||||||
|
min={0}
|
||||||
step={1}
|
step={1}
|
||||||
{...field}
|
{...field}
|
||||||
onValueChange={(value) => {
|
onValueChange={(value) => {
|
||||||
@@ -328,6 +319,7 @@ export default function CouponForm<T extends Record<string, any>>({
|
|||||||
<EnhancedInput
|
<EnhancedInput
|
||||||
placeholder={t('form.userLimitPlaceholder')}
|
placeholder={t('form.userLimitPlaceholder')}
|
||||||
type='number'
|
type='number'
|
||||||
|
min={0}
|
||||||
step={1}
|
step={1}
|
||||||
{...field}
|
{...field}
|
||||||
onValueChange={(value) => {
|
onValueChange={(value) => {
|
||||||
|
|||||||
@@ -9,9 +9,8 @@ import {
|
|||||||
getCouponList,
|
getCouponList,
|
||||||
updateCoupon,
|
updateCoupon,
|
||||||
} from '@/services/admin/coupon';
|
} from '@/services/admin/coupon';
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
import { formatDate } from '@/utils/common';
|
import { formatDate } from '@/utils/common';
|
||||||
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 { Switch } from '@workspace/ui/components/switch';
|
import { Switch } from '@workspace/ui/components/switch';
|
||||||
@@ -24,16 +23,7 @@ import CouponForm from './coupon-form';
|
|||||||
export default function Page() {
|
export default function Page() {
|
||||||
const t = useTranslations('coupon');
|
const t = useTranslations('coupon');
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const { data } = useQuery({
|
const { subscribes } = useSubscribe();
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 9999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.SubscribeGroup[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
const ref = useRef<ProTableActions>(null);
|
const ref = useRef<ProTableActions>(null);
|
||||||
return (
|
return (
|
||||||
<ProTable<API.Coupon, { group_id: number; query: string }>
|
<ProTable<API.Coupon, { group_id: number; query: string }>
|
||||||
@@ -67,8 +57,8 @@ export default function Page() {
|
|||||||
{
|
{
|
||||||
key: 'subscribe',
|
key: 'subscribe',
|
||||||
placeholder: t('subscribe'),
|
placeholder: t('subscribe'),
|
||||||
options: data?.map((item) => ({
|
options: subscribes?.map((item) => ({
|
||||||
label: item.name,
|
label: item.name!,
|
||||||
value: String(item.id),
|
value: String(item.id),
|
||||||
})),
|
})),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
import { ProTable } from '@/components/pro-table';
|
import { ProTable } from '@/components/pro-table';
|
||||||
import { filterServerTrafficLog } from '@/services/admin/log';
|
import { filterServerTrafficLog } from '@/services/admin/log';
|
||||||
import { filterServerList } from '@/services/admin/server';
|
import { useServer } from '@/store/server';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
import { Badge } from '@workspace/ui/components/badge';
|
||||||
import { Button } from '@workspace/ui/components/button';
|
import { Button } from '@workspace/ui/components/button';
|
||||||
import { formatBytes } from '@workspace/ui/utils';
|
import { formatBytes } from '@workspace/ui/utils';
|
||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
@@ -13,20 +13,10 @@ import { useSearchParams } from 'next/navigation';
|
|||||||
export default function ServerTrafficLogPage() {
|
export default function ServerTrafficLogPage() {
|
||||||
const t = useTranslations('log');
|
const t = useTranslations('log');
|
||||||
const sp = useSearchParams();
|
const sp = useSearchParams();
|
||||||
|
const { getServerName, getServerById } = useServer();
|
||||||
|
|
||||||
const today = new Date().toISOString().split('T')[0];
|
const today = new Date().toISOString().split('T')[0];
|
||||||
|
|
||||||
const { data: servers = [] } = useQuery({
|
|
||||||
queryKey: ['filterServerListAll'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await filterServerList({ page: 1, size: 999999999 });
|
|
||||||
return data?.data?.list || [];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const getServerName = (id?: number) =>
|
|
||||||
id ? (servers.find((s) => s.id === id)?.name ?? `Server ${id}`) : 'Unknown';
|
|
||||||
|
|
||||||
const initialFilters = {
|
const initialFilters = {
|
||||||
date: sp.get('date') || today,
|
date: sp.get('date') || today,
|
||||||
server_id: sp.get('server_id') ? Number(sp.get('server_id')) : undefined,
|
server_id: sp.get('server_id') ? Number(sp.get('server_id')) : undefined,
|
||||||
@@ -50,11 +40,14 @@ export default function ServerTrafficLogPage() {
|
|||||||
{
|
{
|
||||||
accessorKey: 'server_id',
|
accessorKey: 'server_id',
|
||||||
header: t('column.server'),
|
header: t('column.server'),
|
||||||
cell: ({ row }) => (
|
cell: ({ row }) => {
|
||||||
<span>
|
return (
|
||||||
{getServerName(row.original.server_id)} ({row.original.server_id})
|
<div className='flex items-center gap-2'>
|
||||||
</span>
|
<Badge>{row.original.server_id}</Badge>
|
||||||
),
|
<span>{getServerName(row.original.server_id)}</span>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
accessorKey: 'upload',
|
accessorKey: 'upload',
|
||||||
|
|||||||
@@ -3,9 +3,8 @@
|
|||||||
import { UserDetail, UserSubscribeDetail } from '@/app/dashboard/user/user-detail';
|
import { UserDetail, UserSubscribeDetail } from '@/app/dashboard/user/user-detail';
|
||||||
import { ProTable } from '@/components/pro-table';
|
import { ProTable } from '@/components/pro-table';
|
||||||
import { filterTrafficLogDetails } from '@/services/admin/log';
|
import { filterTrafficLogDetails } from '@/services/admin/log';
|
||||||
import { filterServerList } from '@/services/admin/server';
|
import { useServer } from '@/store/server';
|
||||||
import { formatDate } from '@/utils/common';
|
import { formatDate } from '@/utils/common';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import { formatBytes } from '@workspace/ui/utils';
|
import { formatBytes } from '@workspace/ui/utils';
|
||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
import { useSearchParams } from 'next/navigation';
|
import { useSearchParams } from 'next/navigation';
|
||||||
@@ -13,20 +12,10 @@ import { useSearchParams } from 'next/navigation';
|
|||||||
export default function TrafficDetailsPage() {
|
export default function TrafficDetailsPage() {
|
||||||
const t = useTranslations('log');
|
const t = useTranslations('log');
|
||||||
const sp = useSearchParams();
|
const sp = useSearchParams();
|
||||||
|
const { getServerName } = useServer();
|
||||||
|
|
||||||
const today = new Date().toISOString().split('T')[0];
|
const today = new Date().toISOString().split('T')[0];
|
||||||
|
|
||||||
const { data: servers = [] } = useQuery({
|
|
||||||
queryKey: ['filterServerListAll'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await filterServerList({ page: 1, size: 999999999 });
|
|
||||||
return data?.data?.list || [];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const getServerName = (id?: number) =>
|
|
||||||
id ? (servers.find((s) => s.id === id)?.name ?? `Server ${id}`) : 'Unknown';
|
|
||||||
|
|
||||||
const initialFilters = {
|
const initialFilters = {
|
||||||
date: sp.get('date') || today,
|
date: sp.get('date') || today,
|
||||||
server_id: sp.get('server_id') ? Number(sp.get('server_id')) : undefined,
|
server_id: sp.get('server_id') ? Number(sp.get('server_id')) : undefined,
|
||||||
|
|||||||
@@ -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}
|
||||||
|
|||||||
@@ -2,9 +2,8 @@
|
|||||||
|
|
||||||
import { Display } from '@/components/display';
|
import { Display } from '@/components/display';
|
||||||
import { createQuotaTask, queryQuotaTaskPreCount } from '@/services/admin/marketing';
|
import { createQuotaTask, queryQuotaTaskPreCount } from '@/services/admin/marketing';
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
import { zodResolver } from '@hookform/resolvers/zod';
|
import { zodResolver } from '@hookform/resolvers/zod';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import { Button } from '@workspace/ui/components/button';
|
import { Button } from '@workspace/ui/components/button';
|
||||||
import {
|
import {
|
||||||
Form,
|
Form,
|
||||||
@@ -73,17 +72,7 @@ export default function QuotaBroadcastForm() {
|
|||||||
const [isSubmitting, setIsSubmitting] = useState(false);
|
const [isSubmitting, setIsSubmitting] = useState(false);
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
|
|
||||||
// Get subscribe list
|
const { subscribes } = useSubscribe();
|
||||||
const { data: subscribeList } = useQuery({
|
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 999999999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.SubscribeItem[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
// Calculate recipient count
|
// Calculate recipient count
|
||||||
const calculateRecipients = async () => {
|
const calculateRecipients = async () => {
|
||||||
@@ -217,8 +206,7 @@ export default function QuotaBroadcastForm() {
|
|||||||
value={field.value || []}
|
value={field.value || []}
|
||||||
onChange={field.onChange}
|
onChange={field.onChange}
|
||||||
placeholder={t('pleaseSelectSubscribers')}
|
placeholder={t('pleaseSelectSubscribers')}
|
||||||
options={
|
options={subscribes?.map((subscribe) => ({
|
||||||
subscribeList?.map((subscribe) => ({
|
|
||||||
value: subscribe.id!,
|
value: subscribe.id!,
|
||||||
label: subscribe.name!,
|
label: subscribe.name!,
|
||||||
children: (
|
children: (
|
||||||
@@ -230,8 +218,7 @@ export default function QuotaBroadcastForm() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
})) || []
|
}))}
|
||||||
}
|
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
@@ -282,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}
|
||||||
/>
|
/>
|
||||||
@@ -299,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}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -3,9 +3,8 @@
|
|||||||
import { Display } from '@/components/display';
|
import { Display } from '@/components/display';
|
||||||
import { ProTable } from '@/components/pro-table';
|
import { ProTable } from '@/components/pro-table';
|
||||||
import { queryQuotaTaskList } from '@/services/admin/marketing';
|
import { queryQuotaTaskList } from '@/services/admin/marketing';
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
import { formatDate } from '@/utils/common';
|
import { formatDate } from '@/utils/common';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import { Badge } from '@workspace/ui/components/badge';
|
import { Badge } from '@workspace/ui/components/badge';
|
||||||
import { ScrollArea } from '@workspace/ui/components/scroll-area';
|
import { ScrollArea } from '@workspace/ui/components/scroll-area';
|
||||||
import {
|
import {
|
||||||
@@ -23,21 +22,9 @@ export default function QuotaTaskManager() {
|
|||||||
const t = useTranslations('marketing');
|
const t = useTranslations('marketing');
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
|
|
||||||
// Get subscribe list to show subscription names
|
const { subscribes } = useSubscribe();
|
||||||
const { data: subscribeList } = useQuery({
|
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 999999999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.SubscribeItem[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
// Create a map for quick lookup of subscription names
|
|
||||||
const subscribeMap =
|
const subscribeMap =
|
||||||
subscribeList?.reduce(
|
subscribes?.reduce(
|
||||||
(acc, subscribe) => {
|
(acc, subscribe) => {
|
||||||
acc[subscribe.id!] = subscribe.name!;
|
acc[subscribe.id!] = subscribe.name!;
|
||||||
return acc;
|
return acc;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { filterServerList, queryNodeTag } from '@/services/admin/server';
|
import { useNode } from '@/store/node';
|
||||||
|
import { useServer } from '@/store/server';
|
||||||
import { zodResolver } from '@hookform/resolvers/zod';
|
import { zodResolver } from '@hookform/resolvers/zod';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import { Button } from '@workspace/ui/components/button';
|
import { Button } from '@workspace/ui/components/button';
|
||||||
import {
|
import {
|
||||||
Form,
|
Form,
|
||||||
@@ -36,11 +36,13 @@ export type ProtocolName =
|
|||||||
| 'vmess'
|
| 'vmess'
|
||||||
| 'vless'
|
| 'vless'
|
||||||
| 'trojan'
|
| 'trojan'
|
||||||
| 'hysteria2'
|
| 'hysteria'
|
||||||
| 'tuic'
|
| 'tuic'
|
||||||
| 'anytls';
|
| 'anytls'
|
||||||
|
| 'naive'
|
||||||
type ServerRow = API.Server;
|
| 'http'
|
||||||
|
| 'socks'
|
||||||
|
| 'mieru';
|
||||||
|
|
||||||
const buildSchema = (t: ReturnType<typeof useTranslations>) =>
|
const buildSchema = (t: ReturnType<typeof useTranslations>) =>
|
||||||
z.object({
|
z.object({
|
||||||
@@ -74,6 +76,20 @@ export default function NodeForm(props: {
|
|||||||
const Scheme = useMemo(() => buildSchema(t), [t]);
|
const Scheme = useMemo(() => buildSchema(t), [t]);
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
|
|
||||||
|
const [autoFilledFields, setAutoFilledFields] = useState<Set<string>>(new Set());
|
||||||
|
|
||||||
|
const addAutoFilledField = (fieldName: string) => {
|
||||||
|
setAutoFilledFields((prev) => new Set(prev).add(fieldName));
|
||||||
|
};
|
||||||
|
|
||||||
|
const removeAutoFilledField = (fieldName: string) => {
|
||||||
|
setAutoFilledFields((prev) => {
|
||||||
|
const newSet = new Set(prev);
|
||||||
|
newSet.delete(fieldName);
|
||||||
|
return newSet;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
const form = useForm<NodeFormValues>({
|
const form = useForm<NodeFormValues>({
|
||||||
resolver: zodResolver(Scheme),
|
resolver: zodResolver(Scheme),
|
||||||
defaultValues: {
|
defaultValues: {
|
||||||
@@ -89,36 +105,12 @@ export default function NodeForm(props: {
|
|||||||
|
|
||||||
const serverId = form.watch('server_id');
|
const serverId = form.watch('server_id');
|
||||||
|
|
||||||
const { data } = useQuery({
|
const { servers, getAvailableProtocols } = useServer();
|
||||||
enabled: open,
|
const { tags } = useNode();
|
||||||
queryKey: ['filterServerListAll'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await filterServerList({ page: 1, size: 999999999 });
|
|
||||||
return data?.data?.list || [];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
const servers: ServerRow[] = data as ServerRow[];
|
|
||||||
|
|
||||||
const { data: tagsData } = useQuery({
|
const existingTags: string[] = tags || [];
|
||||||
enabled: open,
|
|
||||||
queryKey: ['queryNodeTag'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await queryNodeTag();
|
|
||||||
return data?.data?.tags || [];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
const existingTags: string[] = tagsData as string[];
|
|
||||||
|
|
||||||
const currentServer = useMemo(() => servers?.find((s) => s.id === serverId), [servers, serverId]);
|
const availableProtocols = getAvailableProtocols(serverId);
|
||||||
|
|
||||||
const availableProtocols = useMemo(() => {
|
|
||||||
return (currentServer?.protocols || [])
|
|
||||||
.map((p) => ({
|
|
||||||
protocol: (p as any).type as ProtocolName,
|
|
||||||
port: (p as any).port as number | undefined,
|
|
||||||
}))
|
|
||||||
.filter((p) => !!p.protocol);
|
|
||||||
}, [currentServer]);
|
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (initialValues) {
|
if (initialValues) {
|
||||||
@@ -139,60 +131,93 @@ export default function NodeForm(props: {
|
|||||||
const id = nextId ?? undefined;
|
const id = nextId ?? undefined;
|
||||||
form.setValue('server_id', id);
|
form.setValue('server_id', id);
|
||||||
|
|
||||||
const sel = servers.find((s) => s.id === id);
|
if (!id) {
|
||||||
const dirty = form.formState.dirtyFields as Record<string, any>;
|
setAutoFilledFields(new Set());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const selectedServer = servers.find((s) => s.id === id);
|
||||||
|
if (!selectedServer) return;
|
||||||
|
|
||||||
const currentValues = form.getValues();
|
const currentValues = form.getValues();
|
||||||
|
const fieldsToFill: string[] = [];
|
||||||
|
|
||||||
if (!dirty.name) {
|
if (!currentValues.name || autoFilledFields.has('name')) {
|
||||||
form.setValue('name', (sel?.name as string) || '', { shouldDirty: false });
|
form.setValue('name', selectedServer.name as string, { shouldDirty: false });
|
||||||
|
fieldsToFill.push('name');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (!currentValues.address || autoFilledFields.has('address')) {
|
||||||
!dirty.address &&
|
form.setValue('address', selectedServer.address as string, { shouldDirty: false });
|
||||||
(!currentValues.address || currentValues.address === (sel?.address as string))
|
fieldsToFill.push('address');
|
||||||
) {
|
|
||||||
form.setValue('address', (sel?.address as string) || '', { shouldDirty: false });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const allowed = (sel?.protocols || [])
|
const protocols = getAvailableProtocols(id);
|
||||||
.map((p) => (p as any).type as ProtocolName)
|
const firstProtocol = protocols[0];
|
||||||
.filter(Boolean);
|
|
||||||
|
|
||||||
const currentProtocol = form.getValues('protocol') as ProtocolName;
|
if (firstProtocol && (!currentValues.protocol || autoFilledFields.has('protocol'))) {
|
||||||
|
form.setValue('protocol', firstProtocol.protocol, { shouldDirty: false });
|
||||||
|
fieldsToFill.push('protocol');
|
||||||
|
|
||||||
if (!allowed.includes(currentProtocol)) {
|
if (!currentValues.port || currentValues.port === 0 || autoFilledFields.has('port')) {
|
||||||
const firstProtocol = allowed[0] || '';
|
const port = firstProtocol.port || 0;
|
||||||
form.setValue('protocol', firstProtocol as any);
|
form.setValue('port', port, { shouldDirty: false });
|
||||||
|
fieldsToFill.push('port');
|
||||||
if (firstProtocol) {
|
|
||||||
handleProtocolChange(firstProtocol);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setAutoFilledFields(new Set(fieldsToFill));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const handleManualFieldChange = (fieldName: keyof NodeFormValues, value: any) => {
|
||||||
|
form.setValue(fieldName, value);
|
||||||
|
removeAutoFilledField(fieldName);
|
||||||
|
};
|
||||||
|
|
||||||
function handleProtocolChange(nextProto?: ProtocolName | null) {
|
function handleProtocolChange(nextProto?: ProtocolName | null) {
|
||||||
const p = (nextProto || '') as ProtocolName | '';
|
const protocol = (nextProto || '') as ProtocolName | '';
|
||||||
form.setValue('protocol', p);
|
form.setValue('protocol', protocol);
|
||||||
if (!p || !currentServer) return;
|
|
||||||
|
|
||||||
const dirty = form.formState.dirtyFields as Record<string, any>;
|
if (!protocol || !serverId) {
|
||||||
const currentValues = form.getValues();
|
removeAutoFilledField('protocol');
|
||||||
|
return;
|
||||||
if (!dirty.port) {
|
|
||||||
const hit = (currentServer.protocols as any[]).find((x) => (x as any).type === p);
|
|
||||||
const port = (hit as any)?.port as number | undefined;
|
|
||||||
const newPort = typeof port === 'number' && port > 0 ? port : 0;
|
|
||||||
|
|
||||||
if (!currentValues.port || currentValues.port === 0 || currentValues.port === newPort) {
|
|
||||||
form.setValue('port', newPort, { shouldDirty: false });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const currentValues = form.getValues();
|
||||||
|
const isPortAutoFilled = autoFilledFields.has('port');
|
||||||
|
|
||||||
|
removeAutoFilledField('protocol');
|
||||||
|
|
||||||
|
if (!currentValues.port || currentValues.port === 0 || isPortAutoFilled) {
|
||||||
|
const protocolData = availableProtocols.find((p) => p.protocol === protocol);
|
||||||
|
|
||||||
|
if (protocolData) {
|
||||||
|
const port = protocolData.port || 0;
|
||||||
|
form.setValue('port', port, { shouldDirty: false });
|
||||||
|
addAutoFilledField('port');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async function handleSubmit(values: NodeFormValues) {
|
||||||
|
const result = await onSubmit(values);
|
||||||
|
if (result) {
|
||||||
|
setOpen(false);
|
||||||
|
setAutoFilledFields(new Set());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Sheet open={open} onOpenChange={setOpen}>
|
<Sheet open={open} onOpenChange={setOpen}>
|
||||||
<SheetTrigger asChild>
|
<SheetTrigger asChild>
|
||||||
<Button onClick={() => form.reset()}>{trigger}</Button>
|
<Button
|
||||||
|
onClick={() => {
|
||||||
|
form.reset();
|
||||||
|
setAutoFilledFields(new Set());
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{trigger}
|
||||||
|
</Button>
|
||||||
</SheetTrigger>
|
</SheetTrigger>
|
||||||
|
|
||||||
<SheetContent className='w-[560px] max-w-full'>
|
<SheetContent className='w-[560px] max-w-full'>
|
||||||
@@ -253,7 +278,7 @@ export default function NodeForm(props: {
|
|||||||
<FormControl>
|
<FormControl>
|
||||||
<EnhancedInput
|
<EnhancedInput
|
||||||
{...field}
|
{...field}
|
||||||
onValueChange={(v) => form.setValue(field.name, v as string)}
|
onValueChange={(v) => handleManualFieldChange('name', v as string)}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
@@ -270,7 +295,7 @@ export default function NodeForm(props: {
|
|||||||
<FormControl>
|
<FormControl>
|
||||||
<EnhancedInput
|
<EnhancedInput
|
||||||
{...field}
|
{...field}
|
||||||
onValueChange={(v) => form.setValue(field.name, v as string)}
|
onValueChange={(v) => handleManualFieldChange('address', v as string)}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
@@ -291,7 +316,7 @@ export default function NodeForm(props: {
|
|||||||
min={1}
|
min={1}
|
||||||
max={65535}
|
max={65535}
|
||||||
placeholder='1-65535'
|
placeholder='1-65535'
|
||||||
onValueChange={(v) => form.setValue(field.name, Number(v))}
|
onValueChange={(v) => handleManualFieldChange('port', Number(v))}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormMessage />
|
<FormMessage />
|
||||||
@@ -327,7 +352,7 @@ export default function NodeForm(props: {
|
|||||||
</Button>
|
</Button>
|
||||||
<Button
|
<Button
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
onClick={form.handleSubmit(onSubmit, (errors) => {
|
onClick={form.handleSubmit(handleSubmit, (errors) => {
|
||||||
const key = Object.keys(errors)[0] as keyof typeof errors;
|
const key = Object.keys(errors)[0] as keyof typeof errors;
|
||||||
if (key) toast.error(String(errors[key]?.message));
|
if (key) toast.error(String(errors[key]?.message));
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -5,12 +5,12 @@ import {
|
|||||||
createNode,
|
createNode,
|
||||||
deleteNode,
|
deleteNode,
|
||||||
filterNodeList,
|
filterNodeList,
|
||||||
filterServerList,
|
|
||||||
resetSortWithNode,
|
resetSortWithNode,
|
||||||
toggleNodeStatus,
|
toggleNodeStatus,
|
||||||
updateNode,
|
updateNode,
|
||||||
} from '@/services/admin/server';
|
} from '@/services/admin/server';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
import { useNode } from '@/store/node';
|
||||||
|
import { useServer } from '@/store/server';
|
||||||
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 { Switch } from '@workspace/ui/components/switch';
|
import { Switch } from '@workspace/ui/components/switch';
|
||||||
@@ -25,24 +25,9 @@ export default function NodesPage() {
|
|||||||
const ref = useRef<ProTableActions>(null);
|
const ref = useRef<ProTableActions>(null);
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
|
|
||||||
const { data: servers = [] } = useQuery({
|
// Use our zustand store for server data
|
||||||
queryKey: ['filterServerListAll'],
|
const { getServerName, getServerAddress, getProtocolPort } = useServer();
|
||||||
queryFn: async () => {
|
const { fetchNodes, fetchTags } = useNode();
|
||||||
const { data } = await filterServerList({ page: 1, size: 999999999 });
|
|
||||||
return data?.data?.list || [];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const getServerName = (id?: number) =>
|
|
||||||
id ? (servers.find((s) => s.id === id)?.name ?? `#${id}`) : 'â';
|
|
||||||
const getServerOriginAddr = (id?: number) =>
|
|
||||||
id ? (servers.find((s) => s.id === id)?.address ?? 'â') : 'â';
|
|
||||||
const getProtocolOriginPort = (id?: number, proto?: string) => {
|
|
||||||
if (!id || !proto) return 'â';
|
|
||||||
const hit = servers.find((s) => s.id === id)?.protocols?.find((p) => (p as any).type === proto);
|
|
||||||
const p = (hit as any)?.port as number | undefined;
|
|
||||||
return typeof p === 'number' ? String(p) : 'â';
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ProTable<API.Node, { search: string }>
|
<ProTable<API.Node, { search: string }>
|
||||||
@@ -69,6 +54,8 @@ export default function NodesPage() {
|
|||||||
await createNode(body);
|
await createNode(body);
|
||||||
toast.success(t('created'));
|
toast.success(t('created'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchNodes();
|
||||||
|
fetchTags();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -90,6 +77,8 @@ export default function NodesPage() {
|
|||||||
await toggleNodeStatus({ id: row.original.id, enable: v });
|
await toggleNodeStatus({ id: row.original.id, enable: v });
|
||||||
toast.success(v ? t('enabled_on') : t('enabled_off'));
|
toast.success(v ? t('enabled_on') : t('enabled_off'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchNodes();
|
||||||
|
fetchTags();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
@@ -99,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='flex flex-wrap gap-2'>
|
`${getServerName(row.original.server_id)}:${getServerAddress(row.original.server_id)}`,
|
||||||
<Badge variant='outline'>
|
},
|
||||||
{getServerName(row.original.server_id)} ·{' '}
|
{
|
||||||
{getServerOriginAddr(row.original.server_id)}
|
id: 'protocol',
|
||||||
</Badge>
|
header: ` ${t('protocol')}:${t('port')}`,
|
||||||
<Badge variant='outline'>
|
cell: ({ row }) =>
|
||||||
{row.original.protocol || 'â'} ·{' '}
|
`${row.original.protocol}:${getProtocolPort(row.original.server_id, row.original.protocol)}`,
|
||||||
{getProtocolOriginPort(row.original.server_id, row.original.protocol)}
|
|
||||||
</Badge>
|
|
||||||
</div>
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
accessorKey: 'tags',
|
accessorKey: 'tags',
|
||||||
@@ -152,30 +137,19 @@ export default function NodesPage() {
|
|||||||
trigger={t('edit')}
|
trigger={t('edit')}
|
||||||
title={t('drawerEditTitle')}
|
title={t('drawerEditTitle')}
|
||||||
loading={loading}
|
loading={loading}
|
||||||
initialValues={{
|
initialValues={row}
|
||||||
name: row.name,
|
|
||||||
server_id: row.server_id,
|
|
||||||
protocol: row.protocol as any,
|
|
||||||
address: row.address as any,
|
|
||||||
port: row.port as any,
|
|
||||||
tags: (row.tags as any) || [],
|
|
||||||
}}
|
|
||||||
onSubmit={async (values) => {
|
onSubmit={async (values) => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
try {
|
try {
|
||||||
const body: API.UpdateNodeRequest = {
|
const body: API.UpdateNodeRequest = {
|
||||||
id: row.id,
|
...row,
|
||||||
name: values.name,
|
...values,
|
||||||
server_id: Number(values.server_id!),
|
|
||||||
protocol: values.protocol,
|
|
||||||
address: values.address,
|
|
||||||
port: Number(values.port!),
|
|
||||||
tags: values.tags || [],
|
|
||||||
enabled: row.enabled,
|
|
||||||
} as any;
|
} as any;
|
||||||
await updateNode(body);
|
await updateNode(body);
|
||||||
toast.success(t('updated'));
|
toast.success(t('updated'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchNodes();
|
||||||
|
fetchTags();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -193,6 +167,8 @@ export default function NodesPage() {
|
|||||||
await deleteNode({ id: row.id } as any);
|
await deleteNode({ id: row.id } as any);
|
||||||
toast.success(t('deleted'));
|
toast.success(t('deleted'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchNodes();
|
||||||
|
fetchTags();
|
||||||
}}
|
}}
|
||||||
cancelText={t('cancel')}
|
cancelText={t('cancel')}
|
||||||
confirmText={t('confirm')}
|
confirmText={t('confirm')}
|
||||||
@@ -201,18 +177,15 @@ export default function NodesPage() {
|
|||||||
key='copy'
|
key='copy'
|
||||||
variant='outline'
|
variant='outline'
|
||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
const { id, enabled, created_at, updated_at, ...rest } = row as any;
|
const { id, enabled, created_at, updated_at, sort, ...rest } = row as any;
|
||||||
await createNode({
|
await createNode({
|
||||||
name: rest.name,
|
...rest,
|
||||||
server_id: rest.server_id,
|
|
||||||
protocol: rest.protocol,
|
|
||||||
address: rest.address,
|
|
||||||
port: rest.port,
|
|
||||||
tags: rest.tags || [],
|
|
||||||
enabled: false,
|
enabled: false,
|
||||||
} as any);
|
});
|
||||||
toast.success(t('copied'));
|
toast.success(t('copied'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchNodes();
|
||||||
|
fetchTags();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t('copy')}
|
{t('copy')}
|
||||||
@@ -229,6 +202,8 @@ export default function NodesPage() {
|
|||||||
await Promise.all(rows.map((r) => deleteNode({ id: r.id } as any)));
|
await Promise.all(rows.map((r) => deleteNode({ id: r.id } as any)));
|
||||||
toast.success(t('deleted'));
|
toast.success(t('deleted'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchNodes();
|
||||||
|
fetchTags();
|
||||||
}}
|
}}
|
||||||
cancelText={t('cancel')}
|
cancelText={t('cancel')}
|
||||||
confirmText={t('confirm')}
|
confirmText={t('confirm')}
|
||||||
@@ -262,6 +237,7 @@ export default function NodesPage() {
|
|||||||
sort: item.sort,
|
sort: item.sort,
|
||||||
})) as API.SortItem[],
|
})) as API.SortItem[],
|
||||||
});
|
});
|
||||||
|
toast.success(t('sorted_success'));
|
||||||
}
|
}
|
||||||
return updatedItems;
|
return updatedItems;
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
import { useSearchParams } from 'next/navigation';
|
import { useSearchParams } from 'next/navigation';
|
||||||
import { useRef } from 'react';
|
import { useRef } from 'react';
|
||||||
@@ -8,7 +7,7 @@ import { useRef } from 'react';
|
|||||||
import { Display } from '@/components/display';
|
import { Display } from '@/components/display';
|
||||||
import { ProTable, ProTableActions } from '@/components/pro-table';
|
import { ProTable, ProTableActions } from '@/components/pro-table';
|
||||||
import { getOrderList, updateOrderStatus } from '@/services/admin/order';
|
import { getOrderList, updateOrderStatus } from '@/services/admin/order';
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
import { formatDate } from '@/utils/common';
|
import { formatDate } from '@/utils/common';
|
||||||
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';
|
||||||
@@ -32,16 +31,7 @@ export default function Page() {
|
|||||||
|
|
||||||
const ref = useRef<ProTableActions>(null);
|
const ref = useRef<ProTableActions>(null);
|
||||||
|
|
||||||
const { data: subscribeList } = useQuery({
|
const { subscribes, getSubscribeName } = useSubscribe();
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 999999999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.SubscribeGroup[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const initialFilters = {
|
const initialFilters = {
|
||||||
search: sp.get('search') || undefined,
|
search: sp.get('search') || undefined,
|
||||||
@@ -68,9 +58,10 @@ export default function Page() {
|
|||||||
accessorKey: 'subscribe_id',
|
accessorKey: 'subscribe_id',
|
||||||
header: t('subscribe'),
|
header: t('subscribe'),
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const name = subscribeList?.find(
|
if (row.original.type === 4) {
|
||||||
(item) => item.id === row.getValue('subscribe_id'),
|
return t(`type.${row.getValue('type')}`);
|
||||||
)?.name;
|
}
|
||||||
|
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}` : '';
|
||||||
},
|
},
|
||||||
@@ -186,8 +177,8 @@ export default function Page() {
|
|||||||
{
|
{
|
||||||
key: 'subscribe_id',
|
key: 'subscribe_id',
|
||||||
placeholder: `${t('subscribe')}`,
|
placeholder: `${t('subscribe')}`,
|
||||||
options: subscribeList?.map((item) => ({
|
options: subscribes?.map((item) => ({
|
||||||
label: item.name,
|
label: item.name!,
|
||||||
value: String(item.id),
|
value: String(item.id),
|
||||||
})),
|
})),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,9 +1,5 @@
|
|||||||
import { getTranslations } from 'next-intl/server';
|
|
||||||
|
|
||||||
import SubscribeTable from './subscribe-table';
|
import SubscribeTable from './subscribe-table';
|
||||||
|
|
||||||
export default async function Page() {
|
export default async function Page() {
|
||||||
const t = await getTranslations('product');
|
|
||||||
|
|
||||||
return <SubscribeTable />;
|
return <SubscribeTable />;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { filterNodeList, queryNodeTag } from '@/services/admin/server';
|
import useGlobalStore from '@/config/use-global';
|
||||||
|
import { useNode } from '@/store/node';
|
||||||
import { zodResolver } from '@hookform/resolvers/zod';
|
import { zodResolver } from '@hookform/resolvers/zod';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import {
|
import {
|
||||||
Accordion,
|
Accordion,
|
||||||
AccordionContent,
|
AccordionContent,
|
||||||
@@ -79,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);
|
||||||
@@ -214,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 () => {
|
||||||
@@ -229,35 +236,9 @@ export default function SubscribeForm<T extends Record<string, any>>({
|
|||||||
if (bool) setOpen(false);
|
if (bool) setOpen(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
const { data: nodes } = useQuery({
|
const { getAllAvailableTags, getNodesByTag, getNodesWithoutTags } = useNode();
|
||||||
queryKey: ['filterNodeListAll'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await filterNodeList({ page: 1, size: 999999999 });
|
|
||||||
return (data.data?.list || []) as API.Node[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const { data: allTagsData } = useQuery({
|
const tagGroups = getAllAvailableTags();
|
||||||
queryKey: ['queryNodeTag'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await queryNodeTag();
|
|
||||||
return data?.data?.tags || [];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const nodeExtractedTags = Array.from(
|
|
||||||
new Set(
|
|
||||||
((nodes as API.Node[]) || [])
|
|
||||||
.flatMap((n) => (Array.isArray(n.tags) ? n.tags : []))
|
|
||||||
.filter(Boolean),
|
|
||||||
),
|
|
||||||
) as string[];
|
|
||||||
|
|
||||||
const allAvailableTags = (allTagsData as string[]) || [];
|
|
||||||
|
|
||||||
const tagGroups = Array.from(new Set([...allAvailableTags, ...nodeExtractedTags])).filter(
|
|
||||||
Boolean,
|
|
||||||
);
|
|
||||||
|
|
||||||
const unit_time = form.watch('unit_time');
|
const unit_time = form.watch('unit_time');
|
||||||
|
|
||||||
@@ -657,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: '%',
|
||||||
},
|
},
|
||||||
@@ -669,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(),
|
||||||
@@ -806,10 +788,7 @@ export default function SubscribeForm<T extends Record<string, any>>({
|
|||||||
{tagGroups.map((tag) => {
|
{tagGroups.map((tag) => {
|
||||||
const value = field.value || [];
|
const value = field.value || [];
|
||||||
const tagId = tag;
|
const tagId = tag;
|
||||||
const nodesWithTag =
|
const nodesWithTag = getNodesByTag(tag);
|
||||||
(nodes as API.Node[])?.filter((n) =>
|
|
||||||
(n.tags || []).includes(tag),
|
|
||||||
) || [];
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AccordionItem key={tag} value={String(tag)}>
|
<AccordionItem key={tag} value={String(tag)}>
|
||||||
@@ -836,9 +815,7 @@ export default function SubscribeForm<T extends Record<string, any>>({
|
|||||||
</AccordionTrigger>
|
</AccordionTrigger>
|
||||||
<AccordionContent>
|
<AccordionContent>
|
||||||
<ul className='space-y-1'>
|
<ul className='space-y-1'>
|
||||||
{(nodes as API.Node[])
|
{getNodesByTag(tag).map((node) => (
|
||||||
?.filter((n) => (n.tags || []).includes(tag))
|
|
||||||
?.map((node) => (
|
|
||||||
<li
|
<li
|
||||||
key={node.id}
|
key={node.id}
|
||||||
className='flex items-center justify-between gap-3'
|
className='flex items-center justify-between gap-3'
|
||||||
@@ -872,9 +849,7 @@ export default function SubscribeForm<T extends Record<string, any>>({
|
|||||||
<FormLabel>{t('form.node')}</FormLabel>
|
<FormLabel>{t('form.node')}</FormLabel>
|
||||||
<FormControl>
|
<FormControl>
|
||||||
<div className='flex flex-col gap-2'>
|
<div className='flex flex-col gap-2'>
|
||||||
{(nodes as API.Node[])
|
{getNodesWithoutTags().map((item) => {
|
||||||
?.filter((item) => (item.tags || []).length === 0)
|
|
||||||
?.map((item) => {
|
|
||||||
const value = field.value || [];
|
const value = field.value || [];
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import {
|
|||||||
subscribeSort,
|
subscribeSort,
|
||||||
updateSubscribe,
|
updateSubscribe,
|
||||||
} from '@/services/admin/subscribe';
|
} from '@/services/admin/subscribe';
|
||||||
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
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 { Switch } from '@workspace/ui/components/switch';
|
import { Switch } from '@workspace/ui/components/switch';
|
||||||
@@ -23,6 +24,7 @@ export default function SubscribeTable() {
|
|||||||
const t = useTranslations('product');
|
const t = useTranslations('product');
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const ref = useRef<ProTableActions>(null);
|
const ref = useRef<ProTableActions>(null);
|
||||||
|
const { fetchSubscribes } = useSubscribe();
|
||||||
return (
|
return (
|
||||||
<ProTable<API.SubscribeItem, { group_id: number; query: string }>
|
<ProTable<API.SubscribeItem, { group_id: number; query: string }>
|
||||||
action={ref}
|
action={ref}
|
||||||
@@ -42,6 +44,7 @@ export default function SubscribeTable() {
|
|||||||
});
|
});
|
||||||
toast.success(t('createSuccess'));
|
toast.success(t('createSuccess'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchSubscribes();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
@@ -83,6 +86,7 @@ export default function SubscribeTable() {
|
|||||||
show: checked,
|
show: checked,
|
||||||
} as API.UpdateSubscribeRequest);
|
} as API.UpdateSubscribeRequest);
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchSubscribes();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@@ -101,6 +105,7 @@ export default function SubscribeTable() {
|
|||||||
sell: checked,
|
sell: checked,
|
||||||
} as API.UpdateSubscribeRequest);
|
} as API.UpdateSubscribeRequest);
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchSubscribes();
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
@@ -186,6 +191,7 @@ export default function SubscribeTable() {
|
|||||||
} as API.UpdateSubscribeRequest);
|
} as API.UpdateSubscribeRequest);
|
||||||
toast.success(t('updateSuccess'));
|
toast.success(t('updateSuccess'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchSubscribes();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -206,6 +212,7 @@ export default function SubscribeTable() {
|
|||||||
});
|
});
|
||||||
toast.success(t('deleteSuccess'));
|
toast.success(t('deleteSuccess'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchSubscribes();
|
||||||
}}
|
}}
|
||||||
cancelText={t('cancel')}
|
cancelText={t('cancel')}
|
||||||
confirmText={t('confirm')}
|
confirmText={t('confirm')}
|
||||||
@@ -224,6 +231,7 @@ export default function SubscribeTable() {
|
|||||||
} as API.CreateSubscribeRequest);
|
} as API.CreateSubscribeRequest);
|
||||||
toast.success(t('copySuccess'));
|
toast.success(t('copySuccess'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchSubscribes();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
@@ -248,6 +256,7 @@ export default function SubscribeTable() {
|
|||||||
|
|
||||||
toast.success(t('deleteSuccess'));
|
toast.success(t('deleteSuccess'));
|
||||||
ref.current?.reset();
|
ref.current?.reset();
|
||||||
|
fetchSubscribes();
|
||||||
}}
|
}}
|
||||||
cancelText={t('cancel')}
|
cancelText={t('cancel')}
|
||||||
confirmText={t('confirm')}
|
confirmText={t('confirm')}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -1,928 +0,0 @@
|
|||||||
import { z } from 'zod';
|
|
||||||
|
|
||||||
export const protocols = [
|
|
||||||
'shadowsocks',
|
|
||||||
'vmess',
|
|
||||||
'vless',
|
|
||||||
'trojan',
|
|
||||||
'hysteria2',
|
|
||||||
'tuic',
|
|
||||||
'anytls',
|
|
||||||
'socks',
|
|
||||||
'naive',
|
|
||||||
'http',
|
|
||||||
'meru',
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
export type FieldConfig = {
|
|
||||||
name: string;
|
|
||||||
type: 'input' | 'select' | 'switch' | 'number' | 'textarea';
|
|
||||||
label: string;
|
|
||||||
placeholder?: string | ((t: (key: string) => string, protocol: any) => string);
|
|
||||||
options?: readonly string[];
|
|
||||||
defaultValue?: any;
|
|
||||||
min?: number;
|
|
||||||
max?: number;
|
|
||||||
step?: number;
|
|
||||||
suffix?: string;
|
|
||||||
password?: number;
|
|
||||||
condition?: (protocol: any, values: any) => boolean;
|
|
||||||
group?: 'basic' | 'transport' | 'security' | 'reality' | 'plugin';
|
|
||||||
gridSpan?: 1 | 2;
|
|
||||||
};
|
|
||||||
|
|
||||||
// Global label map for display; fallback to raw value if missing
|
|
||||||
export const LABELS = {
|
|
||||||
// transport
|
|
||||||
'tcp': 'TCP',
|
|
||||||
'udp': 'UDP',
|
|
||||||
'websocket': 'WebSocket',
|
|
||||||
'grpc': 'gRPC',
|
|
||||||
'mkcp': 'mKCP',
|
|
||||||
'httpupgrade': 'HTTP Upgrade',
|
|
||||||
'xhttp': 'XHTTP',
|
|
||||||
// security
|
|
||||||
'none': 'NONE',
|
|
||||||
'tls': 'TLS',
|
|
||||||
'reality': 'Reality',
|
|
||||||
// fingerprint
|
|
||||||
'chrome': 'Chrome',
|
|
||||||
'firefox': 'Firefox',
|
|
||||||
'safari': 'Safari',
|
|
||||||
'ios': 'IOS',
|
|
||||||
'android': 'Android',
|
|
||||||
'edge': 'edge',
|
|
||||||
'360': '360',
|
|
||||||
'qq': 'QQ',
|
|
||||||
// multiplex
|
|
||||||
'off': 'Off',
|
|
||||||
'low': 'Low',
|
|
||||||
'middle': 'Middle',
|
|
||||||
'high': 'High',
|
|
||||||
// ss plugins
|
|
||||||
'v2ray-plugin': 'V2Ray Plugin',
|
|
||||||
'simple-obfs': 'Simple Obfs',
|
|
||||||
} as const;
|
|
||||||
|
|
||||||
// Flat arrays for enum-like sets
|
|
||||||
export const SS_CIPHERS = [
|
|
||||||
'aes-128-gcm',
|
|
||||||
'aes-192-gcm',
|
|
||||||
'aes-256-gcm',
|
|
||||||
'chacha20-ietf-poly1305',
|
|
||||||
'2022-blake3-aes-128-gcm',
|
|
||||||
'2022-blake3-aes-256-gcm',
|
|
||||||
'2022-blake3-chacha20-poly1305',
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
export const SS_PLUGINS = ['none', 'simple-obfs', 'v2ray-plugin'] as const;
|
|
||||||
|
|
||||||
export const TRANSPORTS = {
|
|
||||||
vmess: ['tcp', 'websocket', 'grpc'] as const,
|
|
||||||
vless: ['tcp', 'websocket', 'grpc', 'mkcp', 'httpupgrade', 'xhttp'] as const,
|
|
||||||
trojan: ['tcp', 'websocket', 'grpc'] as const,
|
|
||||||
meru: ['tcp', 'udp'] as const,
|
|
||||||
} as const;
|
|
||||||
|
|
||||||
export const SECURITY = {
|
|
||||||
vmess: ['none', 'tls'] as const,
|
|
||||||
vless: ['none', 'tls', 'reality'] as const,
|
|
||||||
trojan: ['tls'] as const,
|
|
||||||
hysteria2: ['tls'] as const,
|
|
||||||
tuic: ['tls'] as const,
|
|
||||||
anytls: ['tls'] as const,
|
|
||||||
naive: ['none', 'tls'] as const,
|
|
||||||
http: ['none', 'tls'] as const,
|
|
||||||
} as const;
|
|
||||||
|
|
||||||
export const FLOWS = {
|
|
||||||
vless: ['none', 'xtls-rprx-direct', 'xtls-rprx-splice', 'xtls-rprx-vision'] as const,
|
|
||||||
} as const;
|
|
||||||
|
|
||||||
export const TUIC_UDP_RELAY_MODES = ['native', 'quic'] as const;
|
|
||||||
export const TUIC_CONGESTION = ['bbr', 'cubic', 'new_reno'] as const;
|
|
||||||
export const FINGERPRINTS = [
|
|
||||||
'chrome',
|
|
||||||
'firefox',
|
|
||||||
'safari',
|
|
||||||
'ios',
|
|
||||||
'android',
|
|
||||||
'edge',
|
|
||||||
'360',
|
|
||||||
'qq',
|
|
||||||
] as const;
|
|
||||||
|
|
||||||
export const multiplexLevels = ['off', 'low', 'middle', 'high'] as const;
|
|
||||||
|
|
||||||
export function getLabel(value: string): string {
|
|
||||||
const label = (LABELS as Record<string, string>)[value];
|
|
||||||
return label ?? value.toUpperCase();
|
|
||||||
}
|
|
||||||
|
|
||||||
const nullableString = z.string().nullish();
|
|
||||||
const nullableBool = z.boolean().nullish();
|
|
||||||
const nullablePort = z.number().int().min(0).max(65535).nullish();
|
|
||||||
|
|
||||||
const ss = z.object({
|
|
||||||
type: z.literal('shadowsocks'),
|
|
||||||
host: nullableString,
|
|
||||||
port: nullablePort,
|
|
||||||
cipher: z.enum(SS_CIPHERS as any).nullish(),
|
|
||||||
server_key: nullableString,
|
|
||||||
plugin: z.enum(SS_PLUGINS as any).nullish(),
|
|
||||||
plugin_options: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const vmess = z.object({
|
|
||||||
type: z.literal('vmess'),
|
|
||||||
host: nullableString,
|
|
||||||
port: nullablePort,
|
|
||||||
transport: z.enum(TRANSPORTS.vmess as any).nullish(),
|
|
||||||
security: z.enum(SECURITY.vmess as any).nullish(),
|
|
||||||
path: nullableString,
|
|
||||||
service_name: nullableString,
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const vless = z.object({
|
|
||||||
type: z.literal('vless'),
|
|
||||||
host: nullableString,
|
|
||||||
port: nullablePort,
|
|
||||||
transport: z.enum(TRANSPORTS.vless as any).nullish(),
|
|
||||||
security: z.enum(SECURITY.vless as any).nullish(),
|
|
||||||
path: nullableString,
|
|
||||||
service_name: nullableString,
|
|
||||||
flow: z.enum(FLOWS.vless as any).nullish(),
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
reality_server_addr: nullableString,
|
|
||||||
reality_server_port: nullablePort,
|
|
||||||
reality_private_key: nullableString,
|
|
||||||
reality_public_key: nullableString,
|
|
||||||
reality_short_id: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const trojan = z.object({
|
|
||||||
type: z.literal('trojan'),
|
|
||||||
host: nullableString,
|
|
||||||
port: nullablePort,
|
|
||||||
transport: z.enum(TRANSPORTS.trojan as any).nullish(),
|
|
||||||
security: z.enum(SECURITY.trojan as any).nullish(),
|
|
||||||
path: nullableString,
|
|
||||||
service_name: nullableString,
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const hysteria2 = z.object({
|
|
||||||
type: z.literal('hysteria2'),
|
|
||||||
hop_ports: nullableString,
|
|
||||||
hop_interval: z.number().nullish(),
|
|
||||||
obfs_password: nullableString,
|
|
||||||
port: nullablePort,
|
|
||||||
security: z.enum(SECURITY.hysteria2 as any).nullish(),
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
up_mbps: z.number().nullish(),
|
|
||||||
down_mbps: z.number().nullish(),
|
|
||||||
});
|
|
||||||
|
|
||||||
const tuic = z.object({
|
|
||||||
type: z.literal('tuic'),
|
|
||||||
host: nullableString,
|
|
||||||
port: nullablePort,
|
|
||||||
disable_sni: z.boolean().nullish(),
|
|
||||||
reduce_rtt: z.boolean().nullish(),
|
|
||||||
udp_relay_mode: z.enum(TUIC_UDP_RELAY_MODES as any).nullish(),
|
|
||||||
congestion_controller: z.enum(TUIC_CONGESTION as any).nullish(),
|
|
||||||
security: z.enum(SECURITY.tuic as any).nullish(),
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const anytls = z.object({
|
|
||||||
type: z.literal('anytls'),
|
|
||||||
port: nullablePort,
|
|
||||||
security: z.enum(SECURITY.anytls as any).nullish(),
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
padding_scheme: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const socks = z.object({
|
|
||||||
type: z.literal('socks'),
|
|
||||||
port: nullablePort,
|
|
||||||
});
|
|
||||||
|
|
||||||
const naive = z.object({
|
|
||||||
type: z.literal('naive'),
|
|
||||||
port: nullablePort,
|
|
||||||
security: z.enum(SECURITY.naive as any).nullish(),
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const http = z.object({
|
|
||||||
type: z.literal('http'),
|
|
||||||
port: nullablePort,
|
|
||||||
security: z.enum(SECURITY.http as any).nullish(),
|
|
||||||
sni: nullableString,
|
|
||||||
allow_insecure: nullableBool,
|
|
||||||
fingerprint: nullableString,
|
|
||||||
});
|
|
||||||
|
|
||||||
const meru = z.object({
|
|
||||||
type: z.literal('meru'),
|
|
||||||
port: nullablePort,
|
|
||||||
multiplex: z.enum(multiplexLevels).nullish(),
|
|
||||||
transport: z.enum(TRANSPORTS.meru as any).nullish(),
|
|
||||||
});
|
|
||||||
|
|
||||||
export const protocolApiScheme = z.discriminatedUnion('type', [
|
|
||||||
ss,
|
|
||||||
vmess,
|
|
||||||
vless,
|
|
||||||
trojan,
|
|
||||||
hysteria2,
|
|
||||||
tuic,
|
|
||||||
anytls,
|
|
||||||
socks,
|
|
||||||
naive,
|
|
||||||
http,
|
|
||||||
meru,
|
|
||||||
]);
|
|
||||||
|
|
||||||
export const formSchema = z.object({
|
|
||||||
name: z.string().min(1),
|
|
||||||
address: z.string().min(1),
|
|
||||||
country: z.string().optional(),
|
|
||||||
city: z.string().optional(),
|
|
||||||
ratio: z.number().default(1),
|
|
||||||
protocols: z.array(protocolApiScheme),
|
|
||||||
});
|
|
||||||
|
|
||||||
export type ServerFormValues = z.infer<typeof formSchema>;
|
|
||||||
|
|
||||||
export type ProtocolType = (typeof protocols)[number];
|
|
||||||
|
|
||||||
export function getProtocolDefaultConfig(proto: ProtocolType) {
|
|
||||||
switch (proto) {
|
|
||||||
case 'shadowsocks':
|
|
||||||
return {
|
|
||||||
type: 'shadowsocks',
|
|
||||||
port: null,
|
|
||||||
cipher: 'chacha20-ietf-poly1305',
|
|
||||||
server_key: null,
|
|
||||||
plugin: 'none',
|
|
||||||
plugin_opts: null,
|
|
||||||
} as any;
|
|
||||||
case 'vmess':
|
|
||||||
return { type: 'vmess', port: null, transport: 'tcp', security: 'none' } as any;
|
|
||||||
case 'vless':
|
|
||||||
return { type: 'vless', port: null, transport: 'tcp', security: 'none', flow: 'none' } as any;
|
|
||||||
case 'trojan':
|
|
||||||
return { type: 'trojan', port: null, transport: 'tcp', security: 'tls' } as any;
|
|
||||||
case 'hysteria2':
|
|
||||||
return {
|
|
||||||
type: 'hysteria2',
|
|
||||||
port: null,
|
|
||||||
hop_ports: null,
|
|
||||||
hop_interval: null,
|
|
||||||
obfs_password: null,
|
|
||||||
security: 'tls',
|
|
||||||
up_mbps: null,
|
|
||||||
down_mbps: null,
|
|
||||||
} as any;
|
|
||||||
case 'tuic':
|
|
||||||
return {
|
|
||||||
type: 'tuic',
|
|
||||||
port: null,
|
|
||||||
disable_sni: false,
|
|
||||||
reduce_rtt: false,
|
|
||||||
udp_relay_mode: 'native',
|
|
||||||
congestion_controller: 'bbr',
|
|
||||||
security: 'tls',
|
|
||||||
sni: null,
|
|
||||||
allow_insecure: false,
|
|
||||||
fingerprint: 'chrome',
|
|
||||||
} as any;
|
|
||||||
case 'socks':
|
|
||||||
return {
|
|
||||||
type: 'socks',
|
|
||||||
port: null,
|
|
||||||
} as any;
|
|
||||||
case 'naive':
|
|
||||||
return {
|
|
||||||
type: 'naive',
|
|
||||||
port: null,
|
|
||||||
security: 'none',
|
|
||||||
} as any;
|
|
||||||
case 'http':
|
|
||||||
return {
|
|
||||||
type: 'http',
|
|
||||||
port: null,
|
|
||||||
security: 'none',
|
|
||||||
} as any;
|
|
||||||
case 'meru':
|
|
||||||
return {
|
|
||||||
type: 'meru',
|
|
||||||
port: null,
|
|
||||||
multiplex: 'off',
|
|
||||||
transport: 'tcp',
|
|
||||||
} as any;
|
|
||||||
case 'anytls':
|
|
||||||
return {
|
|
||||||
type: 'anytls',
|
|
||||||
port: null,
|
|
||||||
security: 'tls',
|
|
||||||
padding_scheme: null,
|
|
||||||
sni: null,
|
|
||||||
allow_insecure: false,
|
|
||||||
fingerprint: 'chrome',
|
|
||||||
} as any;
|
|
||||||
default:
|
|
||||||
return {} as any;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export const PROTOCOL_FIELDS: Record<string, FieldConfig[]> = {
|
|
||||||
shadowsocks: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'cipher',
|
|
||||||
type: 'select',
|
|
||||||
label: 'encryption_method',
|
|
||||||
options: SS_CIPHERS,
|
|
||||||
defaultValue: 'chacha20-ietf-poly1305',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'server_key',
|
|
||||||
type: 'input',
|
|
||||||
label: 'server_key',
|
|
||||||
password: 32,
|
|
||||||
group: 'basic',
|
|
||||||
condition: (p) =>
|
|
||||||
[
|
|
||||||
'2022-blake3-aes-128-gcm',
|
|
||||||
'2022-blake3-aes-256-gcm',
|
|
||||||
'2022-blake3-chacha20-poly1305',
|
|
||||||
].includes(p.cipher),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'plugin',
|
|
||||||
type: 'select',
|
|
||||||
label: 'plugin',
|
|
||||||
options: SS_PLUGINS,
|
|
||||||
defaultValue: 'none',
|
|
||||||
group: 'plugin',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'plugin_opts',
|
|
||||||
type: 'textarea',
|
|
||||||
label: 'plugin_opts',
|
|
||||||
placeholder: (t: (key: string) => string, p: any) => {
|
|
||||||
switch (p.plugin) {
|
|
||||||
case 'simple-obfs':
|
|
||||||
return 'obfs=http;obfs-host=www.bing.com;path=/';
|
|
||||||
case 'v2ray-plugin':
|
|
||||||
return 'WebSocket: mode=websocket;host=mydomain.me;path=/;tls=true\n\nQUIC: mode=quic;host=mydomain.me';
|
|
||||||
default:
|
|
||||||
return 'key=value;key2=value2';
|
|
||||||
}
|
|
||||||
},
|
|
||||||
group: 'plugin',
|
|
||||||
condition: (p) => ['simple-obfs', 'v2ray-plugin'].includes(p.plugin),
|
|
||||||
},
|
|
||||||
],
|
|
||||||
vmess: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'transport',
|
|
||||||
type: 'select',
|
|
||||||
label: 'transport',
|
|
||||||
options: TRANSPORTS.vmess,
|
|
||||||
defaultValue: 'tcp',
|
|
||||||
group: 'transport',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'security',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security',
|
|
||||||
options: SECURITY.vmess,
|
|
||||||
defaultValue: 'none',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'host',
|
|
||||||
type: 'input',
|
|
||||||
label: 'host',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => ['websocket', 'xhttp', 'httpupgrade'].includes(p.transport),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'path',
|
|
||||||
type: 'input',
|
|
||||||
label: 'path',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => ['websocket', 'xhttp', 'httpupgrade'].includes(p.transport),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'service_name',
|
|
||||||
type: 'input',
|
|
||||||
label: 'service_name',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => p.transport === 'grpc',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'sni',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_sni',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'allow_insecure',
|
|
||||||
type: 'switch',
|
|
||||||
label: 'security_allow_insecure',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
vless: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'flow',
|
|
||||||
type: 'select',
|
|
||||||
label: 'flow',
|
|
||||||
options: FLOWS.vless,
|
|
||||||
defaultValue: 'none',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'transport',
|
|
||||||
type: 'select',
|
|
||||||
label: 'transport',
|
|
||||||
options: TRANSPORTS.vless,
|
|
||||||
defaultValue: 'tcp',
|
|
||||||
group: 'transport',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'security',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security',
|
|
||||||
options: SECURITY.vless,
|
|
||||||
defaultValue: 'none',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'host',
|
|
||||||
type: 'input',
|
|
||||||
label: 'host',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => ['websocket', 'mkcp', 'httpupgrade', 'xhttp'].includes(p.transport),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'path',
|
|
||||||
type: 'input',
|
|
||||||
label: 'path',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => ['websocket', 'mkcp', 'httpupgrade', 'xhttp'].includes(p.transport),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'service_name',
|
|
||||||
type: 'input',
|
|
||||||
label: 'service_name',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => p.transport === 'grpc',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'sni',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_sni',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'allow_insecure',
|
|
||||||
type: 'switch',
|
|
||||||
label: 'security_allow_insecure',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'reality_server_addr',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_server_address',
|
|
||||||
placeholder: (t) => t('security_server_address_placeholder'),
|
|
||||||
group: 'reality',
|
|
||||||
condition: (p) => p.security === 'reality',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'reality_server_port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'security_server_port',
|
|
||||||
min: 1,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'reality',
|
|
||||||
condition: (p) => p.security === 'reality',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'reality_private_key',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_private_key',
|
|
||||||
placeholder: (t) => t('security_private_key_placeholder'),
|
|
||||||
group: 'reality',
|
|
||||||
condition: (p) => p.security === 'reality',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'reality_public_key',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_public_key',
|
|
||||||
placeholder: (t) => t('security_public_key_placeholder'),
|
|
||||||
group: 'reality',
|
|
||||||
condition: (p) => p.security === 'reality',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'reality_short_id',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_short_id',
|
|
||||||
group: 'reality',
|
|
||||||
condition: (p) => p.security === 'reality',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
trojan: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'transport',
|
|
||||||
type: 'select',
|
|
||||||
label: 'transport',
|
|
||||||
options: TRANSPORTS.trojan,
|
|
||||||
defaultValue: 'tcp',
|
|
||||||
group: 'transport',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'security',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security',
|
|
||||||
options: SECURITY.trojan,
|
|
||||||
defaultValue: 'tls',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'host',
|
|
||||||
type: 'input',
|
|
||||||
label: 'host',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => ['websocket', 'xhttp', 'httpupgrade'].includes(p.transport),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'path',
|
|
||||||
type: 'input',
|
|
||||||
label: 'path',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => ['websocket', 'xhttp', 'httpupgrade'].includes(p.transport),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'service_name',
|
|
||||||
type: 'input',
|
|
||||||
label: 'service_name',
|
|
||||||
group: 'transport',
|
|
||||||
condition: (p) => p.transport === 'grpc',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'sni',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_sni',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'allow_insecure',
|
|
||||||
type: 'switch',
|
|
||||||
label: 'security_allow_insecure',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
hysteria2: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'hop_ports',
|
|
||||||
type: 'input',
|
|
||||||
label: 'hop_ports',
|
|
||||||
placeholder: (t) => t('hop_ports_placeholder'),
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'hop_interval',
|
|
||||||
type: 'number',
|
|
||||||
label: 'hop_interval',
|
|
||||||
placeholder: 'e.g. 300',
|
|
||||||
min: 0,
|
|
||||||
suffix: 'S',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'obfs_password',
|
|
||||||
type: 'input',
|
|
||||||
label: 'obfs_password',
|
|
||||||
placeholder: (t) => t('obfs_password_placeholder'),
|
|
||||||
password: 16,
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'up_mbps',
|
|
||||||
type: 'number',
|
|
||||||
label: 'up_mbps',
|
|
||||||
min: 0,
|
|
||||||
placeholder: (t) => t('bandwidth_placeholder'),
|
|
||||||
suffix: 'Mbps',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'down_mbps',
|
|
||||||
type: 'number',
|
|
||||||
label: 'down_mbps',
|
|
||||||
min: 0,
|
|
||||||
placeholder: (t) => t('bandwidth_placeholder'),
|
|
||||||
suffix: 'Mbps',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{ name: 'sni', type: 'input', label: 'security_sni', group: 'security' },
|
|
||||||
{ name: 'allow_insecure', type: 'switch', label: 'security_allow_insecure', group: 'security' },
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
tuic: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'udp_relay_mode',
|
|
||||||
type: 'select',
|
|
||||||
label: 'udp_relay_mode',
|
|
||||||
options: TUIC_UDP_RELAY_MODES,
|
|
||||||
defaultValue: 'native',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'congestion_controller',
|
|
||||||
type: 'select',
|
|
||||||
label: 'congestion_controller',
|
|
||||||
options: TUIC_CONGESTION,
|
|
||||||
defaultValue: 'bbr',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{ name: 'disable_sni', type: 'switch', label: 'disable_sni', group: 'basic' },
|
|
||||||
{ name: 'reduce_rtt', type: 'switch', label: 'reduce_rtt', group: 'basic' },
|
|
||||||
{ name: 'sni', type: 'input', label: 'security_sni', group: 'security' },
|
|
||||||
{ name: 'allow_insecure', type: 'switch', label: 'security_allow_insecure', group: 'security' },
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
socks: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
naive: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'security',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security',
|
|
||||||
options: SECURITY.naive,
|
|
||||||
defaultValue: 'none',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'sni',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_sni',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'allow_insecure',
|
|
||||||
type: 'switch',
|
|
||||||
label: 'security_allow_insecure',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
http: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'security',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security',
|
|
||||||
options: SECURITY.http,
|
|
||||||
defaultValue: 'none',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'sni',
|
|
||||||
type: 'input',
|
|
||||||
label: 'security_sni',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'allow_insecure',
|
|
||||||
type: 'switch',
|
|
||||||
label: 'security_allow_insecure',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
condition: (p) => p.security !== 'none',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
meru: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'multiplex',
|
|
||||||
type: 'select',
|
|
||||||
label: 'multiplex',
|
|
||||||
options: multiplexLevels,
|
|
||||||
defaultValue: 'off',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'transport',
|
|
||||||
type: 'select',
|
|
||||||
label: 'transport',
|
|
||||||
options: TRANSPORTS.meru,
|
|
||||||
defaultValue: 'tcp',
|
|
||||||
group: 'transport',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
anytls: [
|
|
||||||
{
|
|
||||||
name: 'port',
|
|
||||||
type: 'number',
|
|
||||||
label: 'port',
|
|
||||||
min: 0,
|
|
||||||
max: 65535,
|
|
||||||
placeholder: '1-65535',
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'padding_scheme',
|
|
||||||
type: 'textarea',
|
|
||||||
label: 'padding_scheme',
|
|
||||||
placeholder: (t: (key: string) => string) => t('padding_scheme_placeholder'),
|
|
||||||
group: 'basic',
|
|
||||||
},
|
|
||||||
{ name: 'sni', type: 'input', label: 'security_sni', group: 'security' },
|
|
||||||
{ name: 'allow_insecure', type: 'switch', label: 'security_allow_insecure', group: 'security' },
|
|
||||||
{
|
|
||||||
name: 'fingerprint',
|
|
||||||
type: 'select',
|
|
||||||
label: 'security_fingerprint',
|
|
||||||
options: FINGERPRINTS,
|
|
||||||
defaultValue: 'chrome',
|
|
||||||
group: 'security',
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
||||||
@@ -0,0 +1,102 @@
|
|||||||
|
export const protocols = [
|
||||||
|
'shadowsocks',
|
||||||
|
'vmess',
|
||||||
|
'vless',
|
||||||
|
'trojan',
|
||||||
|
'hysteria',
|
||||||
|
'tuic',
|
||||||
|
'anytls',
|
||||||
|
'socks',
|
||||||
|
'naive',
|
||||||
|
'http',
|
||||||
|
'mieru',
|
||||||
|
] as const;
|
||||||
|
|
||||||
|
// Global label map for display; fallback to raw value if missing
|
||||||
|
export const LABELS = {
|
||||||
|
// transport
|
||||||
|
'tcp': 'TCP',
|
||||||
|
'udp': 'UDP',
|
||||||
|
'websocket': 'WebSocket',
|
||||||
|
'grpc': 'gRPC',
|
||||||
|
'mkcp': 'mKCP',
|
||||||
|
'httpupgrade': 'HTTP Upgrade',
|
||||||
|
'xhttp': 'XHTTP',
|
||||||
|
// security
|
||||||
|
'none': 'NONE',
|
||||||
|
'tls': 'TLS',
|
||||||
|
'reality': 'Reality',
|
||||||
|
// fingerprint
|
||||||
|
'chrome': 'Chrome',
|
||||||
|
'firefox': 'Firefox',
|
||||||
|
'safari': 'Safari',
|
||||||
|
'ios': 'IOS',
|
||||||
|
'android': 'Android',
|
||||||
|
'edge': 'edge',
|
||||||
|
'360': '360',
|
||||||
|
'qq': 'QQ',
|
||||||
|
// multiplex
|
||||||
|
'low': 'Low',
|
||||||
|
'middle': 'Middle',
|
||||||
|
'high': 'High',
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
// Flat arrays for enum-like sets
|
||||||
|
export const SS_CIPHERS = [
|
||||||
|
'aes-128-gcm',
|
||||||
|
'aes-192-gcm',
|
||||||
|
'aes-256-gcm',
|
||||||
|
'chacha20-ietf-poly1305',
|
||||||
|
'2022-blake3-aes-128-gcm',
|
||||||
|
'2022-blake3-aes-256-gcm',
|
||||||
|
'2022-blake3-chacha20-poly1305',
|
||||||
|
] as const;
|
||||||
|
|
||||||
|
export const TRANSPORTS = {
|
||||||
|
vmess: ['tcp', 'websocket', 'grpc'] as const,
|
||||||
|
vless: ['tcp', 'websocket', 'grpc', 'mkcp', 'httpupgrade', 'xhttp'] as const,
|
||||||
|
trojan: ['tcp', 'websocket', 'grpc'] as const,
|
||||||
|
mieru: ['tcp', 'udp'] as const,
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export const SECURITY = {
|
||||||
|
shadowsocks: ['none', 'http', 'tls'] as const,
|
||||||
|
vmess: ['none', 'tls'] as const,
|
||||||
|
vless: ['none', 'tls', 'reality'] as const,
|
||||||
|
trojan: ['tls'] as const,
|
||||||
|
hysteria: ['tls'] as const,
|
||||||
|
tuic: ['tls'] as const,
|
||||||
|
anytls: ['tls'] as const,
|
||||||
|
naive: ['none', 'tls'] as const,
|
||||||
|
http: ['none', 'tls'] as const,
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export const FLOWS = {
|
||||||
|
vless: ['none', 'xtls-rprx-direct', 'xtls-rprx-splice', 'xtls-rprx-vision'] as const,
|
||||||
|
} as const;
|
||||||
|
|
||||||
|
export const TUIC_UDP_RELAY_MODES = ['native', 'quic'] as const;
|
||||||
|
export const TUIC_CONGESTION = ['bbr', 'cubic', 'new_reno'] as const;
|
||||||
|
export const XHTTP_MODES = ['auto', 'packet-up', 'stream-up', 'stream-one'] as const;
|
||||||
|
export const ENCRYPTION_TYPES = ['none', 'mlkem768x25519plus'] as const;
|
||||||
|
export const ENCRYPTION_MODES = ['native', 'xorpub', 'random'] as const;
|
||||||
|
export const ENCRYPTION_RTT = ['0rtt', '1rtt'] as const;
|
||||||
|
export const FINGERPRINTS = [
|
||||||
|
'chrome',
|
||||||
|
'firefox',
|
||||||
|
'safari',
|
||||||
|
'ios',
|
||||||
|
'android',
|
||||||
|
'edge',
|
||||||
|
'360',
|
||||||
|
'qq',
|
||||||
|
] as const;
|
||||||
|
|
||||||
|
export const CERT_MODES = ['none', 'http', 'dns', 'self'] as const;
|
||||||
|
|
||||||
|
export const multiplexLevels = ['none', 'low', 'middle', 'high'] as const;
|
||||||
|
|
||||||
|
export function getLabel(value: string): string {
|
||||||
|
const label = (LABELS as Record<string, string>)[value];
|
||||||
|
return label ?? value.toUpperCase();
|
||||||
|
}
|
||||||
@@ -0,0 +1,192 @@
|
|||||||
|
import { XHTTP_MODES } from './constants';
|
||||||
|
import type { ProtocolType } from './types';
|
||||||
|
|
||||||
|
export function getProtocolDefaultConfig(proto: ProtocolType) {
|
||||||
|
switch (proto) {
|
||||||
|
case 'shadowsocks':
|
||||||
|
return {
|
||||||
|
type: 'shadowsocks',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
cipher: 'chacha20-ietf-poly1305',
|
||||||
|
server_key: null,
|
||||||
|
obfs: 'none',
|
||||||
|
obfs_host: null,
|
||||||
|
obfs_path: null,
|
||||||
|
sni: null,
|
||||||
|
allow_insecure: null,
|
||||||
|
cert_mode: 'none',
|
||||||
|
cert_dns_provider: null,
|
||||||
|
cert_dns_env: null,
|
||||||
|
ratio: 1,
|
||||||
|
} as any;
|
||||||
|
case 'vmess':
|
||||||
|
return {
|
||||||
|
type: 'vmess',
|
||||||
|
enable: false,
|
||||||
|
host: null,
|
||||||
|
port: null,
|
||||||
|
transport: 'tcp',
|
||||||
|
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;
|
||||||
|
case 'vless':
|
||||||
|
return {
|
||||||
|
type: 'vless',
|
||||||
|
enable: false,
|
||||||
|
host: null,
|
||||||
|
port: null,
|
||||||
|
transport: 'tcp',
|
||||||
|
security: '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_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;
|
||||||
|
case 'trojan':
|
||||||
|
return {
|
||||||
|
type: 'trojan',
|
||||||
|
enable: false,
|
||||||
|
host: null,
|
||||||
|
port: null,
|
||||||
|
transport: 'tcp',
|
||||||
|
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;
|
||||||
|
case 'hysteria':
|
||||||
|
return {
|
||||||
|
type: 'hysteria',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
hop_ports: null,
|
||||||
|
hop_interval: null,
|
||||||
|
obfs: 'none',
|
||||||
|
obfs_password: null,
|
||||||
|
security: 'tls',
|
||||||
|
up_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;
|
||||||
|
case 'tuic':
|
||||||
|
return {
|
||||||
|
type: 'tuic',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
disable_sni: false,
|
||||||
|
reduce_rtt: false,
|
||||||
|
udp_relay_mode: 'native',
|
||||||
|
congestion_controller: 'bbr',
|
||||||
|
security: 'tls',
|
||||||
|
sni: null,
|
||||||
|
allow_insecure: false,
|
||||||
|
fingerprint: 'chrome',
|
||||||
|
cert_mode: 'none',
|
||||||
|
cert_dns_provider: null,
|
||||||
|
cert_dns_env: null,
|
||||||
|
ratio: 1,
|
||||||
|
} as any;
|
||||||
|
case 'socks':
|
||||||
|
return {
|
||||||
|
type: 'socks',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
ratio: 1,
|
||||||
|
} as any;
|
||||||
|
case 'naive':
|
||||||
|
return {
|
||||||
|
type: 'naive',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
security: 'none',
|
||||||
|
sni: null,
|
||||||
|
allow_insecure: null,
|
||||||
|
fingerprint: 'chrome',
|
||||||
|
cert_mode: 'none',
|
||||||
|
cert_dns_provider: null,
|
||||||
|
cert_dns_env: null,
|
||||||
|
ratio: 1,
|
||||||
|
} as any;
|
||||||
|
case 'http':
|
||||||
|
return {
|
||||||
|
type: 'http',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
security: 'none',
|
||||||
|
sni: null,
|
||||||
|
allow_insecure: null,
|
||||||
|
fingerprint: 'chrome',
|
||||||
|
cert_mode: 'none',
|
||||||
|
cert_dns_provider: null,
|
||||||
|
cert_dns_env: null,
|
||||||
|
ratio: 1,
|
||||||
|
} as any;
|
||||||
|
case 'mieru':
|
||||||
|
return {
|
||||||
|
type: 'mieru',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
multiplex: 'none',
|
||||||
|
transport: 'tcp',
|
||||||
|
} as any;
|
||||||
|
case 'anytls':
|
||||||
|
return {
|
||||||
|
type: 'anytls',
|
||||||
|
enable: false,
|
||||||
|
port: null,
|
||||||
|
security: 'tls',
|
||||||
|
padding_scheme: null,
|
||||||
|
sni: null,
|
||||||
|
allow_insecure: false,
|
||||||
|
fingerprint: 'chrome',
|
||||||
|
cert_mode: 'none',
|
||||||
|
cert_dns_provider: null,
|
||||||
|
cert_dns_env: null,
|
||||||
|
ratio: 1,
|
||||||
|
} as any;
|
||||||
|
default:
|
||||||
|
return {} as any;
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,30 @@
|
|||||||
|
// Re-export all constants
|
||||||
|
export {
|
||||||
|
ENCRYPTION_MODES,
|
||||||
|
ENCRYPTION_RTT,
|
||||||
|
ENCRYPTION_TYPES,
|
||||||
|
FINGERPRINTS,
|
||||||
|
FLOWS,
|
||||||
|
LABELS,
|
||||||
|
SECURITY,
|
||||||
|
SS_CIPHERS,
|
||||||
|
TRANSPORTS,
|
||||||
|
TUIC_CONGESTION,
|
||||||
|
TUIC_UDP_RELAY_MODES,
|
||||||
|
XHTTP_MODES,
|
||||||
|
getLabel,
|
||||||
|
multiplexLevels,
|
||||||
|
protocols,
|
||||||
|
} from './constants';
|
||||||
|
|
||||||
|
// Re-export all types
|
||||||
|
export type { FieldConfig, ProtocolType } from './types';
|
||||||
|
|
||||||
|
// Re-export all schemas
|
||||||
|
export { formSchema, protocolApiScheme } from './schemas';
|
||||||
|
|
||||||
|
// Re-export defaults
|
||||||
|
export { getProtocolDefaultConfig } from './defaults';
|
||||||
|
|
||||||
|
// Re-export fields
|
||||||
|
export { PROTOCOL_FIELDS } from './fields';
|
||||||
@@ -0,0 +1,225 @@
|
|||||||
|
import { z } from 'zod';
|
||||||
|
import {
|
||||||
|
CERT_MODES,
|
||||||
|
ENCRYPTION_MODES,
|
||||||
|
ENCRYPTION_RTT,
|
||||||
|
ENCRYPTION_TYPES,
|
||||||
|
FLOWS,
|
||||||
|
multiplexLevels,
|
||||||
|
SECURITY,
|
||||||
|
SS_CIPHERS,
|
||||||
|
TRANSPORTS,
|
||||||
|
TUIC_CONGESTION,
|
||||||
|
TUIC_UDP_RELAY_MODES,
|
||||||
|
XHTTP_MODES,
|
||||||
|
} from './constants';
|
||||||
|
|
||||||
|
const nullableString = z.string().nullish();
|
||||||
|
const nullableBool = z.boolean().nullish();
|
||||||
|
const nullablePort = z.number().int().min(0).max(65535).nullish();
|
||||||
|
const nullableRatio = z.number().min(0).nullish();
|
||||||
|
|
||||||
|
const ss = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('shadowsocks'),
|
||||||
|
enable: nullableBool,
|
||||||
|
port: nullablePort,
|
||||||
|
cipher: z.enum(SS_CIPHERS).nullish(),
|
||||||
|
server_key: nullableString,
|
||||||
|
obfs: z.enum(['none', 'http', 'tls'] as const).nullish(),
|
||||||
|
obfs_host: nullableString,
|
||||||
|
obfs_path: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const vmess = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('vmess'),
|
||||||
|
enable: nullableBool,
|
||||||
|
host: nullableString,
|
||||||
|
port: nullablePort,
|
||||||
|
transport: z.enum(TRANSPORTS.vmess).nullish(),
|
||||||
|
security: z.enum(SECURITY.vmess).nullish(),
|
||||||
|
path: nullableString,
|
||||||
|
service_name: nullableString,
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const vless = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('vless'),
|
||||||
|
enable: nullableBool,
|
||||||
|
host: nullableString,
|
||||||
|
port: nullablePort,
|
||||||
|
transport: z.enum(TRANSPORTS.vless).nullish(),
|
||||||
|
security: z.enum(SECURITY.vless).nullish(),
|
||||||
|
path: nullableString,
|
||||||
|
service_name: nullableString,
|
||||||
|
flow: z.enum(FLOWS.vless).nullish(),
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
reality_server_addr: nullableString,
|
||||||
|
reality_server_port: nullablePort,
|
||||||
|
reality_private_key: nullableString,
|
||||||
|
reality_public_key: nullableString,
|
||||||
|
reality_short_id: nullableString,
|
||||||
|
xhttp_mode: z.enum(XHTTP_MODES).nullish(),
|
||||||
|
xhttp_extra: nullableString,
|
||||||
|
encryption: z.enum(ENCRYPTION_TYPES).nullish(),
|
||||||
|
encryption_mode: z.enum(ENCRYPTION_MODES).nullish(),
|
||||||
|
encryption_rtt: z.enum(ENCRYPTION_RTT).nullish(),
|
||||||
|
encryption_ticket: nullableString,
|
||||||
|
encryption_server_padding: nullableString,
|
||||||
|
encryption_private_key: nullableString,
|
||||||
|
encryption_client_padding: nullableString,
|
||||||
|
encryption_password: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const trojan = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('trojan'),
|
||||||
|
enable: nullableBool,
|
||||||
|
host: nullableString,
|
||||||
|
port: nullablePort,
|
||||||
|
transport: z.enum(TRANSPORTS.trojan).nullish(),
|
||||||
|
security: z.enum(SECURITY.trojan).nullish(),
|
||||||
|
path: nullableString,
|
||||||
|
service_name: nullableString,
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const hysteria = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('hysteria'),
|
||||||
|
enable: nullableBool,
|
||||||
|
hop_ports: nullableString,
|
||||||
|
hop_interval: z.number().nullish(),
|
||||||
|
obfs_password: nullableString,
|
||||||
|
obfs: z.enum(['none', 'salamander'] as const).nullish(),
|
||||||
|
port: nullablePort,
|
||||||
|
security: z.enum(SECURITY.hysteria).nullish(),
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
up_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({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('tuic'),
|
||||||
|
enable: nullableBool,
|
||||||
|
host: nullableString,
|
||||||
|
port: nullablePort,
|
||||||
|
disable_sni: z.boolean().nullish(),
|
||||||
|
reduce_rtt: z.boolean().nullish(),
|
||||||
|
udp_relay_mode: z.enum(TUIC_UDP_RELAY_MODES).nullish(),
|
||||||
|
congestion_controller: z.enum(TUIC_CONGESTION).nullish(),
|
||||||
|
security: z.enum(SECURITY.tuic).nullish(),
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const anytls = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('anytls'),
|
||||||
|
enable: nullableBool,
|
||||||
|
port: nullablePort,
|
||||||
|
security: z.enum(SECURITY.anytls).nullish(),
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
padding_scheme: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const socks = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('socks'),
|
||||||
|
enable: nullableBool,
|
||||||
|
port: nullablePort,
|
||||||
|
});
|
||||||
|
|
||||||
|
const naive = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('naive'),
|
||||||
|
enable: nullableBool,
|
||||||
|
port: nullablePort,
|
||||||
|
security: z.enum(SECURITY.naive).nullish(),
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const http = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('http'),
|
||||||
|
enable: nullableBool,
|
||||||
|
port: nullablePort,
|
||||||
|
security: z.enum(SECURITY.http).nullish(),
|
||||||
|
sni: nullableString,
|
||||||
|
allow_insecure: nullableBool,
|
||||||
|
fingerprint: nullableString,
|
||||||
|
cert_mode: z.enum(CERT_MODES).nullish(),
|
||||||
|
cert_dns_provider: nullableString,
|
||||||
|
cert_dns_env: nullableString,
|
||||||
|
});
|
||||||
|
|
||||||
|
const mieru = z.object({
|
||||||
|
ratio: nullableRatio,
|
||||||
|
type: z.literal('mieru'),
|
||||||
|
enable: nullableBool,
|
||||||
|
port: nullablePort,
|
||||||
|
multiplex: z.enum(multiplexLevels).nullish(),
|
||||||
|
transport: z.enum(TRANSPORTS.mieru).nullish(),
|
||||||
|
});
|
||||||
|
|
||||||
|
export const protocolApiScheme = z.discriminatedUnion('type', [
|
||||||
|
ss,
|
||||||
|
vmess,
|
||||||
|
vless,
|
||||||
|
trojan,
|
||||||
|
hysteria,
|
||||||
|
tuic,
|
||||||
|
anytls,
|
||||||
|
socks,
|
||||||
|
naive,
|
||||||
|
http,
|
||||||
|
mieru,
|
||||||
|
]);
|
||||||
|
|
||||||
|
export const formSchema = z.object({
|
||||||
|
name: z.string().min(1),
|
||||||
|
address: z.string().min(1),
|
||||||
|
country: z.string().optional(),
|
||||||
|
city: z.string().optional(),
|
||||||
|
protocols: z.array(protocolApiScheme),
|
||||||
|
});
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
import { protocols } from './constants';
|
||||||
|
|
||||||
|
export type FieldConfig = {
|
||||||
|
name: string;
|
||||||
|
type: 'input' | 'select' | 'switch' | 'number' | 'textarea';
|
||||||
|
label: string;
|
||||||
|
placeholder?: string | ((t: (key: string) => string, protocol: any) => string);
|
||||||
|
options?: readonly string[];
|
||||||
|
defaultValue?: any;
|
||||||
|
min?: number;
|
||||||
|
max?: number;
|
||||||
|
step?: number;
|
||||||
|
suffix?: string;
|
||||||
|
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>;
|
||||||
|
}[];
|
||||||
|
updateFields?: Record<string, string>;
|
||||||
|
};
|
||||||
|
condition?: (protocol: any, values: any) => boolean;
|
||||||
|
group?: 'basic' | 'transport' | 'security' | 'reality' | 'obfs' | 'encryption';
|
||||||
|
gridSpan?: 1 | 2;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type ProtocolType = (typeof protocols)[number];
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
export { generateMLKEM768KeyPair } from './mlkem768';
|
||||||
|
export { generateRealityShortId } from './short-id';
|
||||||
|
export { generatePassword } from './uid';
|
||||||
|
export { generateRealityKeyPair } from './x25519';
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
import mlkem from 'mlkem-wasm';
|
||||||
|
import { toB64Url } from './util';
|
||||||
|
|
||||||
|
export async function generateMLKEM768KeyPair() {
|
||||||
|
const mlkemKeyPair = await mlkem.generateKey({ name: 'ML-KEM-768' }, true, [
|
||||||
|
'encapsulateBits',
|
||||||
|
'decapsulateBits',
|
||||||
|
]);
|
||||||
|
const mlkemPublicKeyRaw = await mlkem.exportKey('raw-public', mlkemKeyPair.publicKey);
|
||||||
|
const mlkemPrivateKeyRaw = await mlkem.exportKey('raw-seed', mlkemKeyPair.privateKey);
|
||||||
|
|
||||||
|
return {
|
||||||
|
publicKey: toB64Url(new Uint8Array(mlkemPublicKeyRaw)),
|
||||||
|
privateKey: toB64Url(new Uint8Array(mlkemPrivateKeyRaw)),
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
/**
|
||||||
|
* Generate a short ID for Reality
|
||||||
|
* @returns A random hexadecimal string of length 2, 4, 6, 8, 10, 12, 14, or 16
|
||||||
|
*/
|
||||||
|
export function generateRealityShortId() {
|
||||||
|
const hex = '0123456789abcdef';
|
||||||
|
const lengths = [2, 4, 6, 8, 10, 12, 14, 16];
|
||||||
|
const idx = Math.floor(Math.random() * lengths.length);
|
||||||
|
const len = lengths[idx] ?? 16;
|
||||||
|
let out = '';
|
||||||
|
for (let i = 0; i < len; i++) {
|
||||||
|
out += hex.charAt(Math.floor(Math.random() * hex.length));
|
||||||
|
}
|
||||||
|
return out;
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
import { uid } from 'radash';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generate a random password
|
||||||
|
* @param length Length of the password
|
||||||
|
* @param charset Character set to use (defaults to alphanumeric)
|
||||||
|
* @returns Randomly generated password
|
||||||
|
*/
|
||||||
|
export function generatePassword(length = 16, charset?: string) {
|
||||||
|
return uid(length, charset).toLowerCase();
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
export function toB64Url(bytes: Uint8Array) {
|
||||||
|
return btoa(String.fromCharCode(...bytes))
|
||||||
|
.replace(/\+/g, '-')
|
||||||
|
.replace(/\//g, '_')
|
||||||
|
.replace(/=+$/g, '');
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
import { x25519 } from '@noble/curves/ed25519.js';
|
||||||
|
import { toB64Url } from './util';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generate a Reality key pair
|
||||||
|
* @returns An object containing the private and public keys in base64url format
|
||||||
|
*/
|
||||||
|
export function generateRealityKeyPair() {
|
||||||
|
const { secretKey, publicKey } = x25519.keygen();
|
||||||
|
return { privateKey: toB64Url(secretKey), publicKey: toB64Url(publicKey) };
|
||||||
|
}
|
||||||
@@ -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]'>
|
||||||
|
|||||||
@@ -1,39 +1,27 @@
|
|||||||
'use client';
|
'use client';
|
||||||
// Online users detail moved to separate component
|
|
||||||
import { ProTable, ProTableActions } from '@/components/pro-table';
|
import { ProTable, ProTableActions } from '@/components/pro-table';
|
||||||
import {
|
import {
|
||||||
createServer,
|
createServer,
|
||||||
deleteServer,
|
deleteServer,
|
||||||
filterServerList,
|
filterServerList,
|
||||||
hasMigrateSeverNode,
|
|
||||||
migrateServerNode,
|
|
||||||
resetSortWithServer,
|
resetSortWithServer,
|
||||||
updateServer,
|
updateServer,
|
||||||
} from '@/services/admin/server';
|
} from '@/services/admin/server';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
import { useNode } from '@/store/node';
|
||||||
|
import { useServer } from '@/store/server';
|
||||||
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';
|
||||||
type ProtocolName = 'shadowsocks' | 'vmess' | 'vless' | 'trojan' | 'hysteria2' | 'tuic' | 'anytls';
|
|
||||||
|
|
||||||
const PROTOCOL_COLORS: Record<ProtocolName, string> = {
|
|
||||||
shadowsocks: 'bg-green-500',
|
|
||||||
vmess: 'bg-rose-500',
|
|
||||||
vless: 'bg-blue-500',
|
|
||||||
trojan: 'bg-yellow-500',
|
|
||||||
hysteria2: 'bg-purple-500',
|
|
||||||
tuic: 'bg-cyan-500',
|
|
||||||
anytls: 'bg-gray-500',
|
|
||||||
};
|
|
||||||
|
|
||||||
function PctBar({ value }: { value: number }) {
|
function PctBar({ value }: { value: number }) {
|
||||||
const v = value.toFixed(2);
|
const v = value.toFixed(2);
|
||||||
@@ -62,63 +50,31 @@ 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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function ServersPage() {
|
export default function ServersPage() {
|
||||||
const t = useTranslations('servers');
|
const t = useTranslations('servers');
|
||||||
|
const { isServerReferencedByNodes } = useNode();
|
||||||
|
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')}
|
||||||
@@ -129,6 +85,7 @@ export default function ServersPage() {
|
|||||||
await createServer(values as unknown as API.CreateServerRequest);
|
await createServer(values as unknown as API.CreateServerRequest);
|
||||||
toast.success(t('created'));
|
toast.success(t('created'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchServers();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -163,24 +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 || []) as API.Protocol[];
|
const list = row.original.protocols.filter((p) => p.enable) as API.Protocol[];
|
||||||
if (!list.length) return t('noData');
|
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 proto = ((p as any)?.type || '') as ProtocolName | '';
|
const ratio = Number(p.ratio ?? 1) || 1;
|
||||||
if (!proto) return null;
|
|
||||||
const color = PROTOCOL_COLORS[proto as ProtocolName];
|
|
||||||
const port = (p as any)?.port as number | undefined;
|
|
||||||
const label = `${proto}${port ? ` (${port})` : ''}`;
|
|
||||||
return (
|
return (
|
||||||
<Badge
|
<div key={idx} className='flex items-center gap-2'>
|
||||||
key={idx}
|
<Badge variant='outline'>{ratio.toFixed(2)}x</Badge>
|
||||||
variant='outline'
|
<Badge variant='secondary'>{p.type}</Badge>
|
||||||
className={cn('text-primary-foreground', color)}
|
<Badge variant='secondary'>{p.port}</Badge>
|
||||||
>
|
</div>
|
||||||
{label}
|
|
||||||
</Badge>
|
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
@@ -233,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) => {
|
||||||
@@ -260,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);
|
||||||
@@ -272,6 +215,7 @@ export default function ServersPage() {
|
|||||||
});
|
});
|
||||||
toast.success(t('updated'));
|
toast.success(t('updated'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchServers();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return true;
|
return true;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
@@ -280,15 +224,21 @@ export default function ServersPage() {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
|
<ServerInstall key='install' server={row} />,
|
||||||
<ConfirmButton
|
<ConfirmButton
|
||||||
key='delete'
|
key='delete'
|
||||||
trigger={<Button variant='destructive'>{t('delete')}</Button>}
|
trigger={
|
||||||
|
<Button variant='destructive' disabled={isServerReferencedByNodes(row.id)}>
|
||||||
|
{t('delete')}
|
||||||
|
</Button>
|
||||||
|
}
|
||||||
title={t('confirmDeleteTitle')}
|
title={t('confirmDeleteTitle')}
|
||||||
description={t('confirmDeleteDesc')}
|
description={t('confirmDeleteDesc')}
|
||||||
onConfirm={async () => {
|
onConfirm={async () => {
|
||||||
await deleteServer({ id: row.id } as any);
|
await deleteServer({ id: row.id } as any);
|
||||||
toast.success(t('deleted'));
|
toast.success(t('deleted'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchServers();
|
||||||
}}
|
}}
|
||||||
cancelText={t('cancel')}
|
cancelText={t('cancel')}
|
||||||
confirmText={t('confirm')}
|
confirmText={t('confirm')}
|
||||||
@@ -304,13 +254,13 @@ 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 || [],
|
||||||
};
|
};
|
||||||
await createServer(body);
|
await createServer(body);
|
||||||
toast.success(t('copied'));
|
toast.success(t('copied'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchServers();
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
@@ -318,16 +268,22 @@ export default function ServersPage() {
|
|||||||
</Button>,
|
</Button>,
|
||||||
],
|
],
|
||||||
batchRender(rows) {
|
batchRender(rows) {
|
||||||
|
const hasReferencedServers = rows.some((row) => isServerReferencedByNodes(row.id));
|
||||||
return [
|
return [
|
||||||
<ConfirmButton
|
<ConfirmButton
|
||||||
key='delete'
|
key='delete'
|
||||||
trigger={<Button variant='destructive'>{t('delete')}</Button>}
|
trigger={
|
||||||
|
<Button variant='destructive' disabled={hasReferencedServers}>
|
||||||
|
{t('delete')}
|
||||||
|
</Button>
|
||||||
|
}
|
||||||
title={t('confirmDeleteTitle')}
|
title={t('confirmDeleteTitle')}
|
||||||
description={t('confirmDeleteDesc')}
|
description={t('confirmDeleteDesc')}
|
||||||
onConfirm={async () => {
|
onConfirm={async () => {
|
||||||
await Promise.all(rows.map((r) => deleteServer({ id: r.id })));
|
await Promise.all(rows.map((r) => deleteServer({ id: r.id })));
|
||||||
toast.success(t('deleted'));
|
toast.success(t('deleted'));
|
||||||
ref.current?.refresh();
|
ref.current?.refresh();
|
||||||
|
fetchServers();
|
||||||
}}
|
}}
|
||||||
cancelText={t('cancel')}
|
cancelText={t('cancel')}
|
||||||
confirmText={t('confirm')}
|
confirmText={t('confirm')}
|
||||||
@@ -361,6 +317,7 @@ export default function ServersPage() {
|
|||||||
sort: item.sort,
|
sort: item.sort,
|
||||||
})) as API.SortItem[],
|
})) as API.SortItem[],
|
||||||
});
|
});
|
||||||
|
toast.success(t('sorted_success'));
|
||||||
}
|
}
|
||||||
return updatedItems;
|
return updatedItems;
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
|
import { useNode } from '@/store/node';
|
||||||
import { zodResolver } from '@hookform/resolvers/zod';
|
import { zodResolver } from '@hookform/resolvers/zod';
|
||||||
import {
|
import {
|
||||||
Accordion,
|
Accordion,
|
||||||
@@ -9,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,
|
||||||
@@ -38,7 +45,6 @@ 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 { cn } from '@workspace/ui/lib/utils';
|
import { cn } from '@workspace/ui/lib/utils';
|
||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
import { uid } from 'radash';
|
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { useForm, useWatch } from 'react-hook-form';
|
import { useForm, useWatch } from 'react-hook-form';
|
||||||
import { toast } from 'sonner';
|
import { toast } from 'sonner';
|
||||||
@@ -49,18 +55,19 @@ import {
|
|||||||
getProtocolDefaultConfig,
|
getProtocolDefaultConfig,
|
||||||
PROTOCOL_FIELDS,
|
PROTOCOL_FIELDS,
|
||||||
protocols as PROTOCOLS,
|
protocols as PROTOCOLS,
|
||||||
ServerFormValues,
|
|
||||||
} from './form-schema';
|
} from './form-schema';
|
||||||
|
|
||||||
function DynamicField({
|
function DynamicField({
|
||||||
field,
|
field,
|
||||||
control,
|
control,
|
||||||
|
form,
|
||||||
protocolIndex,
|
protocolIndex,
|
||||||
protocolData,
|
protocolData,
|
||||||
t,
|
t,
|
||||||
}: {
|
}: {
|
||||||
field: FieldConfig;
|
field: FieldConfig;
|
||||||
control: any;
|
control: any;
|
||||||
|
form: any;
|
||||||
protocolIndex: number;
|
protocolIndex: number;
|
||||||
protocolData: any;
|
protocolData: any;
|
||||||
t: (key: string) => string;
|
t: (key: string) => string;
|
||||||
@@ -97,18 +104,69 @@ function DynamicField({
|
|||||||
}
|
}
|
||||||
onValueChange={(v) => fieldProps.onChange(v)}
|
onValueChange={(v) => fieldProps.onChange(v)}
|
||||||
suffix={
|
suffix={
|
||||||
field.password ? (
|
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'
|
||||||
onClick={() => {
|
size='sm'
|
||||||
const length = field.password || 16;
|
onClick={async () => {
|
||||||
const result = uid(length).toLowerCase();
|
const result = await field.generate!.function!();
|
||||||
|
if (typeof result === 'string') {
|
||||||
fieldProps.onChange(result);
|
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);
|
||||||
|
}
|
||||||
|
}
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon icon='mdi:refresh' className='h-4 w-4' />
|
<Icon icon='mdi:key' className='h-4 w-4' />
|
||||||
</Button>
|
</Button>
|
||||||
|
) : null
|
||||||
) : (
|
) : (
|
||||||
field.suffix
|
field.suffix
|
||||||
)
|
)
|
||||||
@@ -225,7 +283,7 @@ function DynamicField({
|
|||||||
field.placeholder
|
field.placeholder
|
||||||
? typeof field.placeholder === 'function'
|
? typeof field.placeholder === 'function'
|
||||||
? field.placeholder(t, protocolData)
|
? field.placeholder(t, protocolData)
|
||||||
: t(field.placeholder)
|
: field.placeholder
|
||||||
: undefined
|
: undefined
|
||||||
}
|
}
|
||||||
onChange={(e) => fieldProps.onChange(e.target.value)}
|
onChange={(e) => fieldProps.onChange(e.target.value)}
|
||||||
@@ -246,6 +304,7 @@ function renderFieldsByGroup(
|
|||||||
fields: FieldConfig[],
|
fields: FieldConfig[],
|
||||||
group: string,
|
group: string,
|
||||||
control: any,
|
control: any,
|
||||||
|
form: any,
|
||||||
protocolIndex: number,
|
protocolIndex: number,
|
||||||
protocolData: any,
|
protocolData: any,
|
||||||
t: (key: string) => string,
|
t: (key: string) => string,
|
||||||
@@ -260,6 +319,7 @@ function renderFieldsByGroup(
|
|||||||
key={field.name}
|
key={field.name}
|
||||||
field={field}
|
field={field}
|
||||||
control={control}
|
control={control}
|
||||||
|
form={form}
|
||||||
protocolIndex={protocolIndex}
|
protocolIndex={protocolIndex}
|
||||||
protocolData={protocolData}
|
protocolData={protocolData}
|
||||||
t={t}
|
t={t}
|
||||||
@@ -274,6 +334,7 @@ function renderGroupCard(
|
|||||||
fields: FieldConfig[],
|
fields: FieldConfig[],
|
||||||
group: string,
|
group: string,
|
||||||
control: any,
|
control: any,
|
||||||
|
form: any,
|
||||||
protocolIndex: number,
|
protocolIndex: number,
|
||||||
protocolData: any,
|
protocolData: any,
|
||||||
t: (key: string) => string,
|
t: (key: string) => string,
|
||||||
@@ -294,7 +355,7 @@ function renderGroupCard(
|
|||||||
{t(title)}
|
{t(title)}
|
||||||
</legend>
|
</legend>
|
||||||
<div className='p-4 pt-2'>
|
<div className='p-4 pt-2'>
|
||||||
{renderFieldsByGroup(fields, group, control, protocolIndex, protocolData, t)}
|
{renderFieldsByGroup(fields, group, control, form, protocolIndex, protocolData, t)}
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
@@ -305,14 +366,16 @@ export default function ServerForm(props: {
|
|||||||
trigger: string;
|
trigger: string;
|
||||||
title: string;
|
title: string;
|
||||||
loading?: boolean;
|
loading?: boolean;
|
||||||
initialValues?: Partial<ServerFormValues>;
|
initialValues?: Partial<API.Server>;
|
||||||
onSubmit: (values: ServerFormValues) => Promise<boolean> | boolean;
|
onSubmit: (values: Partial<API.Server>) => Promise<boolean> | boolean;
|
||||||
}) {
|
}) {
|
||||||
const { trigger, title, loading, initialValues, onSubmit } = props;
|
const { trigger, title, loading, initialValues, onSubmit } = props;
|
||||||
const t = useTranslations('servers');
|
const t = useTranslations('servers');
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
const [accordionValue, setAccordionValue] = useState<string>();
|
const [accordionValue, setAccordionValue] = useState<string>();
|
||||||
|
|
||||||
|
const { isProtocolUsedInNodes } = useNode();
|
||||||
|
|
||||||
const form = useForm({
|
const form = useForm({
|
||||||
resolver: zodResolver(formSchema),
|
resolver: zodResolver(formSchema),
|
||||||
defaultValues: {
|
defaultValues: {
|
||||||
@@ -320,8 +383,7 @@ export default function ServerForm(props: {
|
|||||||
address: '',
|
address: '',
|
||||||
country: '',
|
country: '',
|
||||||
city: '',
|
city: '',
|
||||||
ratio: 1,
|
protocols: [] as any[],
|
||||||
protocols: [],
|
|
||||||
...initialValues,
|
...initialValues,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@@ -336,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;
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -348,24 +410,17 @@ export default function ServerForm(props: {
|
|||||||
}, [initialValues]);
|
}, [initialValues]);
|
||||||
|
|
||||||
async function handleSubmit(values: Record<string, any>) {
|
async function handleSubmit(values: Record<string, any>) {
|
||||||
const filtered = (values?.protocols || []).filter((p: any, index: number) => {
|
const filteredProtocols = (values?.protocols || []).filter((protocol: any) => {
|
||||||
const port = Number(p?.port);
|
const port = Number(protocol?.port);
|
||||||
const protocolType = PROTOCOLS[index];
|
return protocol && Number.isFinite(port) && port > 0 && port <= 65535;
|
||||||
return protocolType && p && Number.isFinite(port) && port > 0 && port <= 65535;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (filtered.length === 0) {
|
|
||||||
toast.error(t('validation_failed'));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const result = {
|
const result = {
|
||||||
name: values.name,
|
name: values.name,
|
||||||
country: values.country,
|
country: values.country,
|
||||||
city: values.city,
|
city: values.city,
|
||||||
ratio: Number(values.ratio || 1),
|
|
||||||
address: values.address,
|
address: values.address,
|
||||||
protocols: filtered,
|
protocols: filteredProtocols,
|
||||||
};
|
};
|
||||||
|
|
||||||
const ok = await onSubmit(result);
|
const ok = await onSubmit(result);
|
||||||
@@ -387,7 +442,6 @@ export default function ServerForm(props: {
|
|||||||
address: '',
|
address: '',
|
||||||
country: '',
|
country: '',
|
||||||
city: '',
|
city: '',
|
||||||
ratio: 1,
|
|
||||||
protocols: full,
|
protocols: full,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -404,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'
|
||||||
@@ -418,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'
|
||||||
@@ -445,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')}
|
||||||
@@ -491,6 +524,7 @@ export default function ServerForm(props: {
|
|||||||
{t('protocol_configurations_desc')}
|
{t('protocol_configurations_desc')}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Accordion
|
<Accordion
|
||||||
type='single'
|
type='single'
|
||||||
collapsible
|
collapsible
|
||||||
@@ -504,26 +538,15 @@ 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.port && Number(current.port) > 0;
|
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'>
|
||||||
<AccordionTrigger className='px-4 py-3 hover:no-underline'>
|
<AccordionTrigger className='px-4 py-3 hover:no-underline'>
|
||||||
<div className='flex w-full items-center justify-between'>
|
<div className='flex w-full items-center justify-between'>
|
||||||
<div className='flex flex-col items-start'>
|
<div className='flex flex-col items-start gap-1'>
|
||||||
<div className='flex items-center gap-2'>
|
<div className='flex items-center gap-1'>
|
||||||
<span className='font-medium capitalize'>{type}</span>
|
<span className='font-medium capitalize'>{type}</span>
|
||||||
</div>
|
|
||||||
<span
|
|
||||||
className={cn(
|
|
||||||
'text-muted-foreground text-xs',
|
|
||||||
isEnabled && 'text-green-500',
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
{isEnabled ? t('enabled') : t('disabled')}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div className='mr-2 flex items-center gap-1'>
|
|
||||||
{current.transport && (
|
{current.transport && (
|
||||||
<Badge variant='secondary' className='text-xs'>
|
<Badge variant='secondary' className='text-xs'>
|
||||||
{current.transport.toUpperCase()}
|
{current.transport.toUpperCase()}
|
||||||
@@ -534,26 +557,78 @@ export default function ServerForm(props: {
|
|||||||
{current.security.toUpperCase()}
|
{current.security.toUpperCase()}
|
||||||
</Badge>
|
</Badge>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{current.port && <Badge className='text-xs'>{current.port}</Badge>}
|
{current.port && <Badge className='text-xs'>{current.port}</Badge>}
|
||||||
</div>
|
</div>
|
||||||
|
<div className='flex items-center gap-1'>
|
||||||
|
<span
|
||||||
|
className={cn(
|
||||||
|
'text-xs',
|
||||||
|
isEnabled ? 'text-green-500' : 'text-muted-foreground',
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
{isEnabled ? t('enabled') : t('disabled')}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<Switch
|
||||||
|
className='mr-2'
|
||||||
|
checked={!!isEnabled}
|
||||||
|
disabled={Boolean(
|
||||||
|
initialValues?.id &&
|
||||||
|
isProtocolUsedInNodes(initialValues?.id || 0, type) &&
|
||||||
|
isEnabled,
|
||||||
|
)}
|
||||||
|
onCheckedChange={(checked) => {
|
||||||
|
form.setValue(`protocols.${i}.enable`, checked);
|
||||||
|
}}
|
||||||
|
onClick={(e) => e.stopPropagation()}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</AccordionTrigger>
|
</AccordionTrigger>
|
||||||
<AccordionContent className='px-4 pb-4 pt-0'>
|
<AccordionContent className='px-4 pb-4 pt-0'>
|
||||||
<div className='-mx-4 space-y-4 rounded-b-lg border-t px-4 pt-4'>
|
<div className='-mx-4 space-y-4 rounded-b-lg border-t px-4 pt-4'>
|
||||||
{renderGroupCard('basic', fields, 'basic', control, i, current, t)}
|
{renderGroupCard('basic', fields, 'basic', control, form, i, current, t)}
|
||||||
{renderGroupCard('plugin', fields, 'plugin', control, i, current, t)}
|
{renderGroupCard('obfs', fields, 'obfs', control, form, i, current, t)}
|
||||||
{renderGroupCard(
|
{renderGroupCard(
|
||||||
'transport',
|
'transport',
|
||||||
fields,
|
fields,
|
||||||
'transport',
|
'transport',
|
||||||
control,
|
control,
|
||||||
|
form,
|
||||||
|
i,
|
||||||
|
current,
|
||||||
|
t,
|
||||||
|
)}
|
||||||
|
{renderGroupCard(
|
||||||
|
'security',
|
||||||
|
fields,
|
||||||
|
'security',
|
||||||
|
control,
|
||||||
|
form,
|
||||||
|
i,
|
||||||
|
current,
|
||||||
|
t,
|
||||||
|
)}
|
||||||
|
{renderGroupCard(
|
||||||
|
'reality',
|
||||||
|
fields,
|
||||||
|
'reality',
|
||||||
|
control,
|
||||||
|
form,
|
||||||
|
i,
|
||||||
|
current,
|
||||||
|
t,
|
||||||
|
)}
|
||||||
|
{renderGroupCard(
|
||||||
|
'encryption',
|
||||||
|
fields,
|
||||||
|
'encryption',
|
||||||
|
control,
|
||||||
|
form,
|
||||||
i,
|
i,
|
||||||
current,
|
current,
|
||||||
t,
|
t,
|
||||||
)}
|
)}
|
||||||
{renderGroupCard('security', fields, 'security', control, i, current, t)}
|
|
||||||
{renderGroupCard('reality', fields, 'reality', control, i, current, t)}
|
|
||||||
</div>
|
</div>
|
||||||
</AccordionContent>
|
</AccordionContent>
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
@@ -576,7 +651,8 @@ export default function ServerForm(props: {
|
|||||||
return false;
|
return false;
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
{loading && <Icon icon='mdi:loading' className='mr-2 animate-spin' />} {t('confirm')}
|
{loading && <Icon icon='mdi:loading' className='mr-2 animate-spin' />}
|
||||||
|
{t('confirm')}
|
||||||
</Button>
|
</Button>
|
||||||
</SheetFooter>
|
</SheetFooter>
|
||||||
</SheetContent>
|
</SheetContent>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -56,6 +56,7 @@ import { useRef, useState } from 'react';
|
|||||||
import { useForm } from 'react-hook-form';
|
import { useForm } from 'react-hook-form';
|
||||||
import { toast } from 'sonner';
|
import { toast } from 'sonner';
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
|
import { subscribeSchema } from './schema';
|
||||||
import { TemplatePreview } from './template-preview';
|
import { TemplatePreview } from './template-preview';
|
||||||
|
|
||||||
const createClientFormSchema = (t: any) =>
|
const createClientFormSchema = (t: any) =>
|
||||||
@@ -313,7 +314,21 @@ export function ProtocolForm() {
|
|||||||
columns={columns}
|
columns={columns}
|
||||||
request={request}
|
request={request}
|
||||||
header={{
|
header={{
|
||||||
title: <h2 className='text-lg font-semibold'>{t('protocol.title')}</h2>,
|
title: (
|
||||||
|
<div className='flex items-center justify-between'>
|
||||||
|
<h2 className='text-lg font-semibold'>{t('protocol.title')}</h2>
|
||||||
|
<a
|
||||||
|
href='https://github.com/perfect-panel/subscription-template'
|
||||||
|
target='_blank'
|
||||||
|
rel='noreferrer'
|
||||||
|
className='text-primary inline-flex items-center gap-2 rounded-md px-3 py-1 text-sm font-medium hover:underline'
|
||||||
|
>
|
||||||
|
<Icon icon='mdi:github' className='h-4 w-4' />
|
||||||
|
<span>Template Repo</span>
|
||||||
|
<Icon icon='mdi:open-in-new' className='text-muted-foreground h-4 w-4' />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
),
|
||||||
toolbar: <Button onClick={handleAdd}>{t('actions.add')}</Button>,
|
toolbar: <Button onClick={handleAdd}>{t('actions.add')}</Button>,
|
||||||
}}
|
}}
|
||||||
actions={{
|
actions={{
|
||||||
@@ -648,137 +663,7 @@ export function ProtocolForm() {
|
|||||||
<FormControl>
|
<FormControl>
|
||||||
<GoTemplateEditor
|
<GoTemplateEditor
|
||||||
showLineNumbers
|
showLineNumbers
|
||||||
schema={{
|
schema={subscribeSchema}
|
||||||
SiteName: { type: 'string', description: 'Site name' },
|
|
||||||
SubscribeName: { type: 'string', description: 'Subscribe name' },
|
|
||||||
Proxies: {
|
|
||||||
type: 'array',
|
|
||||||
description: 'Array of proxy nodes',
|
|
||||||
items: {
|
|
||||||
type: 'object',
|
|
||||||
properties: {
|
|
||||||
Name: { type: 'string', description: 'Node name' },
|
|
||||||
Server: { type: 'string', description: 'Server host' },
|
|
||||||
Port: { type: 'number', description: 'Server port' },
|
|
||||||
Type: { type: 'string', description: 'Proxy type' },
|
|
||||||
Tags: {
|
|
||||||
type: 'array',
|
|
||||||
description: 'Node tags',
|
|
||||||
items: { type: 'string' },
|
|
||||||
},
|
|
||||||
Sort: { type: 'number', description: 'Node sort order' },
|
|
||||||
// Security Options
|
|
||||||
Security: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Security protocol',
|
|
||||||
},
|
|
||||||
SNI: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Server Name Indication for TLS',
|
|
||||||
},
|
|
||||||
AllowInsecure: {
|
|
||||||
type: 'boolean',
|
|
||||||
description:
|
|
||||||
'Allow insecure connections (skip certificate verification)',
|
|
||||||
},
|
|
||||||
Fingerprint: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Client fingerprint for TLS connections',
|
|
||||||
},
|
|
||||||
RealityServerAddr: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Reality server address',
|
|
||||||
},
|
|
||||||
RealityServerPort: {
|
|
||||||
type: 'number',
|
|
||||||
description: 'Reality server port',
|
|
||||||
},
|
|
||||||
RealityPrivateKey: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Reality private key for authentication',
|
|
||||||
},
|
|
||||||
RealityPublicKey: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Reality public key for authentication',
|
|
||||||
},
|
|
||||||
RealityShortId: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Reality short ID for authentication',
|
|
||||||
},
|
|
||||||
// Transport Options
|
|
||||||
Transport: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Transport protocol (e.g., ws, http, grpc)',
|
|
||||||
},
|
|
||||||
Host: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'For WebSocket/HTTP/HTTPS',
|
|
||||||
},
|
|
||||||
Path: { type: 'string', description: 'For HTTP/HTTPS' },
|
|
||||||
ServiceName: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'For gRPC',
|
|
||||||
},
|
|
||||||
// Shadowsocks Options
|
|
||||||
Method: { type: 'string', description: 'Encryption method' },
|
|
||||||
ServerKey: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'For Shadowsocks 2022',
|
|
||||||
},
|
|
||||||
// Vmess/Vless/Trojan Options
|
|
||||||
Flow: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Flow for Vmess/Vless/Trojan',
|
|
||||||
},
|
|
||||||
// Hysteria2 Options
|
|
||||||
HopPorts: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Comma-separated list of hop ports',
|
|
||||||
},
|
|
||||||
HopInterval: {
|
|
||||||
type: 'number',
|
|
||||||
description: 'Interval for hop ports in seconds',
|
|
||||||
},
|
|
||||||
ObfsPassword: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Obfuscation password for Hysteria2',
|
|
||||||
},
|
|
||||||
// Tuic Options
|
|
||||||
DisableSNI: {
|
|
||||||
type: 'boolean',
|
|
||||||
description: 'Disable SNI',
|
|
||||||
},
|
|
||||||
ReduceRtt: {
|
|
||||||
type: 'boolean',
|
|
||||||
description: 'Reduce RTT',
|
|
||||||
},
|
|
||||||
UDPRelayMode: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'UDP relay mode (e.g., "full", "partial")',
|
|
||||||
},
|
|
||||||
CongestionController: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Congestion controller (e.g., "cubic", "bbr")',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
UserInfo: {
|
|
||||||
type: 'object',
|
|
||||||
description: 'User information',
|
|
||||||
properties: {
|
|
||||||
Password: { type: 'string', description: 'User password' },
|
|
||||||
ExpiredAt: { type: 'string', description: 'Expiration date' },
|
|
||||||
Download: { type: 'number', description: 'Downloaded bytes' },
|
|
||||||
Upload: { type: 'number', description: 'Uploaded bytes' },
|
|
||||||
Traffic: { type: 'number', description: 'Total traffic bytes' },
|
|
||||||
SubscribeURL: {
|
|
||||||
type: 'string',
|
|
||||||
description: 'Subscription URL',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}}
|
|
||||||
enableSprig
|
enableSprig
|
||||||
value={field.value || ''}
|
value={field.value || ''}
|
||||||
onChange={(value) => field.onChange(value)}
|
onChange={(value) => field.onChange(value)}
|
||||||
|
|||||||
@@ -0,0 +1,225 @@
|
|||||||
|
export const subscribeSchema = {
|
||||||
|
SiteName: { type: 'string', description: 'Site name' },
|
||||||
|
SubscribeName: { type: 'string', description: 'Subscribe name' },
|
||||||
|
Proxies: {
|
||||||
|
type: 'array',
|
||||||
|
description: 'Array of proxy nodes',
|
||||||
|
items: {
|
||||||
|
type: 'object',
|
||||||
|
properties: {
|
||||||
|
Name: { type: 'string', description: 'Node name' },
|
||||||
|
Server: { type: 'string', description: 'Server host' },
|
||||||
|
Port: { type: 'number', description: 'Server port' },
|
||||||
|
Type: { type: 'string', description: 'Proxy type' },
|
||||||
|
Tags: {
|
||||||
|
type: 'array',
|
||||||
|
description: 'Node tags',
|
||||||
|
items: { type: 'string' },
|
||||||
|
},
|
||||||
|
Sort: { type: 'number', description: 'Node sort order' },
|
||||||
|
// Security Options
|
||||||
|
Security: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Security protocol',
|
||||||
|
},
|
||||||
|
SNI: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Server Name Indication for TLS',
|
||||||
|
},
|
||||||
|
AllowInsecure: {
|
||||||
|
type: 'boolean',
|
||||||
|
description: 'Allow insecure connections (skip certificate verification)',
|
||||||
|
},
|
||||||
|
Fingerprint: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Client fingerprint for TLS connections',
|
||||||
|
},
|
||||||
|
RealityServerAddr: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Reality server address',
|
||||||
|
},
|
||||||
|
RealityServerPort: {
|
||||||
|
type: 'number',
|
||||||
|
description: 'Reality server port',
|
||||||
|
},
|
||||||
|
RealityPrivateKey: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Reality private key for authentication',
|
||||||
|
},
|
||||||
|
RealityPublicKey: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Reality public key for authentication',
|
||||||
|
},
|
||||||
|
RealityShortId: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Reality short ID for authentication',
|
||||||
|
},
|
||||||
|
// Transport Options
|
||||||
|
Transport: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Transport protocol (e.g., ws, http, grpc)',
|
||||||
|
},
|
||||||
|
Host: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'For WebSocket/HTTP/HTTPS',
|
||||||
|
},
|
||||||
|
Path: { type: 'string', description: 'For HTTP/HTTPS' },
|
||||||
|
ServiceName: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'For gRPC',
|
||||||
|
},
|
||||||
|
// Shadowsocks Options
|
||||||
|
Method: { type: 'string', description: 'Encryption method' },
|
||||||
|
ServerKey: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'For Shadowsocks 2022',
|
||||||
|
},
|
||||||
|
// Vmess/Vless/Trojan Options
|
||||||
|
Flow: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Flow for Vmess/Vless/Trojan',
|
||||||
|
},
|
||||||
|
// Hysteria2 Options
|
||||||
|
HopPorts: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Comma-separated list of hop ports',
|
||||||
|
},
|
||||||
|
HopInterval: {
|
||||||
|
type: 'number',
|
||||||
|
description: 'Interval for hop ports in seconds',
|
||||||
|
},
|
||||||
|
ObfsPassword: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Obfuscation password for Hysteria2',
|
||||||
|
},
|
||||||
|
// Tuic Options
|
||||||
|
DisableSNI: {
|
||||||
|
type: 'boolean',
|
||||||
|
description: 'Disable SNI',
|
||||||
|
},
|
||||||
|
ReduceRtt: {
|
||||||
|
type: 'boolean',
|
||||||
|
description: 'Reduce RTT',
|
||||||
|
},
|
||||||
|
UDPRelayMode: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'UDP relay mode (e.g., "full", "partial")',
|
||||||
|
},
|
||||||
|
CongestionController: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Congestion controller (e.g., "cubic", "bbr")',
|
||||||
|
},
|
||||||
|
// Hysteria2 additional options
|
||||||
|
UpMbps: {
|
||||||
|
type: 'number',
|
||||||
|
description: 'Upload bandwidth in Mbps',
|
||||||
|
},
|
||||||
|
DownMbps: {
|
||||||
|
type: 'number',
|
||||||
|
description: 'Download bandwidth in Mbps',
|
||||||
|
},
|
||||||
|
// VLESS encryption options
|
||||||
|
Encryption: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Encryption type for VLESS',
|
||||||
|
},
|
||||||
|
EncryptionMode: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Encryption mode (e.g., "native", "xorpub", "random")',
|
||||||
|
},
|
||||||
|
EncryptionRtt: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Encryption RTT (e.g., "0rtt", "1rtt")',
|
||||||
|
},
|
||||||
|
EncryptionTicket: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Encryption ticket',
|
||||||
|
},
|
||||||
|
EncryptionServerPadding: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Server padding for encryption',
|
||||||
|
},
|
||||||
|
EncryptionClientPadding: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Client padding for encryption',
|
||||||
|
},
|
||||||
|
EncryptionPassword: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Encryption password',
|
||||||
|
},
|
||||||
|
EncryptionPrivateKey: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Private key for encryption',
|
||||||
|
},
|
||||||
|
// XHTTP options
|
||||||
|
XhttpMode: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'XHTTP mode (e.g., "auto", "packet-up", "stream-up", "stream-one")',
|
||||||
|
},
|
||||||
|
XhttpExtra: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'XHTTP extra parameters',
|
||||||
|
},
|
||||||
|
// Shadowsocks obfs options (combined with Hysteria2 obfs)
|
||||||
|
ObfsHost: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Obfuscation host',
|
||||||
|
},
|
||||||
|
ObfsPath: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Obfuscation path',
|
||||||
|
},
|
||||||
|
// Shadowsocks cipher
|
||||||
|
Cipher: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Shadowsocks cipher method',
|
||||||
|
},
|
||||||
|
// AnyTLS options
|
||||||
|
PaddingScheme: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Padding scheme for AnyTLS',
|
||||||
|
},
|
||||||
|
// Mieru options
|
||||||
|
Multiplex: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Multiplex level (e.g., "none", "low", "middle", "high")',
|
||||||
|
},
|
||||||
|
// General protocol field
|
||||||
|
Enable: {
|
||||||
|
type: 'boolean',
|
||||||
|
description: 'Whether this protocol is enabled',
|
||||||
|
},
|
||||||
|
// UUID for vmess/vless
|
||||||
|
UUID: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'User UUID for vmess/vless protocols',
|
||||||
|
},
|
||||||
|
// Alternative ID for vmess
|
||||||
|
AlterId: {
|
||||||
|
type: 'number',
|
||||||
|
description: 'Alternative ID for vmess (deprecated)',
|
||||||
|
},
|
||||||
|
// Password for trojan/tuic
|
||||||
|
Password: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Password for authentication',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
UserInfo: {
|
||||||
|
type: 'object',
|
||||||
|
description: 'User information',
|
||||||
|
properties: {
|
||||||
|
Password: { type: 'string', description: 'User password' },
|
||||||
|
ExpiredAt: { type: 'string', description: 'Expiration date' },
|
||||||
|
Download: { type: 'number', description: 'Downloaded bytes' },
|
||||||
|
Upload: { type: 'number', description: 'Uploaded bytes' },
|
||||||
|
Traffic: { type: 'number', description: 'Total traffic bytes' },
|
||||||
|
SubscribeURL: {
|
||||||
|
type: 'string',
|
||||||
|
description: 'Subscription URL',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
@@ -3,9 +3,15 @@
|
|||||||
import { previewSubscribeTemplate } from '@/services/admin/application';
|
import { previewSubscribeTemplate } from '@/services/admin/application';
|
||||||
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 { Sheet, SheetContent, SheetHeader, SheetTitle } from '@workspace/ui/components/sheet';
|
import {
|
||||||
|
Sheet,
|
||||||
|
SheetContent,
|
||||||
|
SheetHeader,
|
||||||
|
SheetTitle,
|
||||||
|
SheetTrigger,
|
||||||
|
} from '@workspace/ui/components/sheet';
|
||||||
|
import { MonacoEditor } from '@workspace/ui/custom-components/editor/monaco-editor';
|
||||||
import { Icon } from '@workspace/ui/custom-components/icon';
|
import { Icon } from '@workspace/ui/custom-components/icon';
|
||||||
import { Markdown } from '@workspace/ui/custom-components/markdown';
|
|
||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
|
||||||
@@ -27,7 +33,6 @@ export function TemplatePreview({ applicationId, output_format }: TemplatePrevie
|
|||||||
|
|
||||||
const originalContent = data?.data?.data?.template || '';
|
const originalContent = data?.data?.data?.template || '';
|
||||||
const errorMessage = (error as any)?.data?.msg || error?.message || t('failed');
|
const errorMessage = (error as any)?.data?.msg || error?.message || t('failed');
|
||||||
const displayContent = originalContent || (error ? errorMessage : '');
|
|
||||||
|
|
||||||
const getDecodedContent = () => {
|
const getDecodedContent = () => {
|
||||||
if (output_format === 'base64' && originalContent) {
|
if (output_format === 'base64' && originalContent) {
|
||||||
@@ -41,49 +46,61 @@ export function TemplatePreview({ applicationId, output_format }: TemplatePrevie
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getDisplayContent = () => {
|
const getDisplayContent = () => {
|
||||||
|
if (error) return errorMessage;
|
||||||
|
if (!originalContent) return '';
|
||||||
switch (output_format) {
|
switch (output_format) {
|
||||||
case 'base64':
|
case 'base64': {
|
||||||
return `\`\`\`base64\n# ${t('base64.originalContent')}\n${displayContent}\n\n# ${t('base64.decodedContent')}\n${getDecodedContent()}\n\`\`\``;
|
const decoded = getDecodedContent();
|
||||||
case 'yaml':
|
return `${t('base64.originalContent')}:\n${originalContent}\n\n${t('base64.decodedContent')}:\n${decoded}`;
|
||||||
return `\`\`\`yaml\n${displayContent}\n\`\`\``;
|
}
|
||||||
case 'json':
|
|
||||||
return `\`\`\`json\n${displayContent}\n\`\`\``;
|
|
||||||
case 'conf':
|
|
||||||
return `\`\`\`ini\n${displayContent}\n\`\`\``;
|
|
||||||
case 'plain':
|
|
||||||
return `\`\`\`text\n${displayContent}\n\`\`\``;
|
|
||||||
default:
|
default:
|
||||||
return displayContent;
|
return originalContent;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const mapLanguage = (fmt?: string) => {
|
||||||
|
switch (fmt) {
|
||||||
|
case 'json':
|
||||||
|
return 'json';
|
||||||
|
case 'yaml':
|
||||||
|
return 'yaml';
|
||||||
|
case 'base64':
|
||||||
|
return 'ini';
|
||||||
|
case 'plain':
|
||||||
|
return 'ini';
|
||||||
|
case 'conf':
|
||||||
|
return 'ini';
|
||||||
|
default:
|
||||||
|
return 'ini';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleOpenChange = (newOpen: boolean) => {
|
|
||||||
setIsOpen(newOpen);
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<Sheet open={isOpen} onOpenChange={setIsOpen}>
|
||||||
<Button variant='ghost' size='sm' onClick={() => setIsOpen(true)}>
|
<SheetTrigger asChild>
|
||||||
<Icon icon='mdi:eye' className='mr-2 h-4 w-4' />
|
<Button variant='ghost'>
|
||||||
|
<Icon icon='mdi:eye' className='h-4 w-4' />
|
||||||
{t('preview')}
|
{t('preview')}
|
||||||
</Button>
|
</Button>
|
||||||
<Sheet open={isOpen} onOpenChange={handleOpenChange}>
|
</SheetTrigger>
|
||||||
<SheetContent className='w-[800px] max-w-[90vw] md:max-w-screen-md'>
|
|
||||||
<SheetHeader>
|
<SheetHeader>
|
||||||
<SheetTitle>{t('title')}</SheetTitle>
|
<SheetTitle></SheetTitle>
|
||||||
</SheetHeader>
|
</SheetHeader>
|
||||||
|
<SheetContent className='w-[800px] max-w-[90vw] pt-10 md:max-w-screen-md'>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<div className='flex items-center justify-center'>
|
<div className='flex items-center justify-center'>
|
||||||
<Icon icon='mdi:loading' className='h-6 w-6 animate-spin' />
|
<Icon icon='mdi:loading' className='h-6 w-6 animate-spin' />
|
||||||
<span className='ml-2'>{t('loading')}</span>
|
<span className='ml-2'>{t('loading')}</span>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<div className='*:text-sm [&_pre>div>div+div]:max-h-[calc(100dvh-48px-36px-36px)] [&_pre>div>div+div]:overflow-auto'>
|
<MonacoEditor
|
||||||
<Markdown>{getDisplayContent()}</Markdown>
|
title={t('title')}
|
||||||
</div>
|
value={getDisplayContent()}
|
||||||
|
language={mapLanguage(output_format)}
|
||||||
|
showLineNumbers
|
||||||
|
readOnly
|
||||||
|
/>
|
||||||
)}
|
)}
|
||||||
</SheetContent>
|
</SheetContent>
|
||||||
</Sheet>
|
</Sheet>
|
||||||
</>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
|
||||||
import { getRegisterConfig, updateRegisterConfig } from '@/services/admin/system';
|
import { getRegisterConfig, updateRegisterConfig } from '@/services/admin/system';
|
||||||
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
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';
|
||||||
@@ -61,17 +61,7 @@ export default function RegisterConfig() {
|
|||||||
enabled: open,
|
enabled: open,
|
||||||
});
|
});
|
||||||
|
|
||||||
const { data: subscribe } = useQuery({
|
const { subscribes } = useSubscribe();
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 9999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.Subscribe[];
|
|
||||||
},
|
|
||||||
enabled: open,
|
|
||||||
});
|
|
||||||
|
|
||||||
const form = useForm<RegisterFormData>({
|
const form = useForm<RegisterFormData>({
|
||||||
resolver: zodResolver(registerSchema),
|
resolver: zodResolver(registerSchema),
|
||||||
@@ -268,12 +258,10 @@ export default function RegisterConfig() {
|
|||||||
field.onChange(value);
|
field.onChange(value);
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
options={
|
options={subscribes?.map((item) => ({
|
||||||
subscribe?.map((item) => ({
|
label: item.name!,
|
||||||
label: item.name,
|
value: item.id!,
|
||||||
value: item.id,
|
}))}
|
||||||
})) || []
|
|
||||||
}
|
|
||||||
className='bg-secondary w-32 rounded-r-none'
|
className='bg-secondary w-32 rounded-r-none'
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { Display } from '@/components/display';
|
|
||||||
import { ProTable, ProTableActions } from '@/components/pro-table';
|
import { ProTable, ProTableActions } from '@/components/pro-table';
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
|
||||||
import {
|
import {
|
||||||
createUser,
|
createUser,
|
||||||
deleteUser,
|
deleteUser,
|
||||||
@@ -10,9 +8,9 @@ import {
|
|||||||
getUserList,
|
getUserList,
|
||||||
updateUserBasicInfo,
|
updateUserBasicInfo,
|
||||||
} from '@/services/admin/user';
|
} from '@/services/admin/user';
|
||||||
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
import { formatDate } from '@/utils/common';
|
import { formatDate } from '@/utils/common';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
import { useQuery } from '@tanstack/react-query';
|
||||||
import { Badge } from '@workspace/ui/components/badge';
|
|
||||||
import { Button } from '@workspace/ui/components/button';
|
import { Button } from '@workspace/ui/components/button';
|
||||||
import {
|
import {
|
||||||
DropdownMenu,
|
DropdownMenu,
|
||||||
@@ -20,6 +18,13 @@ import {
|
|||||||
DropdownMenuItem,
|
DropdownMenuItem,
|
||||||
DropdownMenuTrigger,
|
DropdownMenuTrigger,
|
||||||
} from '@workspace/ui/components/dropdown-menu';
|
} from '@workspace/ui/components/dropdown-menu';
|
||||||
|
import { Input } from '@workspace/ui/components/input';
|
||||||
|
import {
|
||||||
|
Popover,
|
||||||
|
PopoverClose,
|
||||||
|
PopoverContent,
|
||||||
|
PopoverTrigger,
|
||||||
|
} from '@workspace/ui/components/popover';
|
||||||
import { ScrollArea } from '@workspace/ui/components/scroll-area';
|
import { ScrollArea } from '@workspace/ui/components/scroll-area';
|
||||||
import {
|
import {
|
||||||
Sheet,
|
Sheet,
|
||||||
@@ -31,6 +36,7 @@ import {
|
|||||||
import { Switch } from '@workspace/ui/components/switch';
|
import { Switch } from '@workspace/ui/components/switch';
|
||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@workspace/ui/components/tabs';
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@workspace/ui/components/tabs';
|
||||||
import { ConfirmButton } from '@workspace/ui/custom-components/confirm-button';
|
import { ConfirmButton } from '@workspace/ui/custom-components/confirm-button';
|
||||||
|
import { FilePenLine } from 'lucide-react';
|
||||||
import { useTranslations } from 'next-intl';
|
import { useTranslations } from 'next-intl';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
import { useSearchParams } from 'next/navigation';
|
import { useSearchParams } from 'next/navigation';
|
||||||
@@ -38,37 +44,88 @@ import { useRef, useState } from 'react';
|
|||||||
import { toast } from 'sonner';
|
import { toast } from 'sonner';
|
||||||
import { UserDetail } from './user-detail';
|
import { UserDetail } from './user-detail';
|
||||||
import UserForm from './user-form';
|
import UserForm from './user-form';
|
||||||
import { AuthMethodsForm } from './user-profile/auth-methods-form';
|
|
||||||
import { BasicInfoForm } from './user-profile/basic-info-form';
|
import { BasicInfoForm } from './user-profile/basic-info-form';
|
||||||
import { NotifySettingsForm } from './user-profile/notify-settings-form';
|
import { NotifySettingsForm } from './user-profile/notify-settings-form';
|
||||||
import UserSubscription from './user-subscription';
|
import UserSubscription from './user-subscription';
|
||||||
|
|
||||||
|
function getDeviceTypeInfo(userAgent = '') {
|
||||||
|
let deviceType = 'Unknown';
|
||||||
|
const ua = userAgent.toLowerCase();
|
||||||
|
|
||||||
|
if (ua.includes('android')) {
|
||||||
|
deviceType = 'Android';
|
||||||
|
} else if (ua.includes('iphone') || ua.includes('ios')) {
|
||||||
|
deviceType = 'iPhone';
|
||||||
|
} else if (ua.includes('ipad')) {
|
||||||
|
deviceType = 'iPad';
|
||||||
|
} else if (ua.includes('mac os') || ua.includes('mac')) {
|
||||||
|
deviceType = 'Mac';
|
||||||
|
} else if (ua.includes('windows')) {
|
||||||
|
deviceType = 'Windows';
|
||||||
|
} else if (ua.includes('linux')) {
|
||||||
|
deviceType = 'Linux';
|
||||||
|
}
|
||||||
|
|
||||||
|
return { deviceType };
|
||||||
|
}
|
||||||
|
|
||||||
|
// äļš RemarkForm įŧäŧķåŪäđ props įąŧå
|
||||||
|
interface RemarkFormProps {
|
||||||
|
initialRemark?: string | null;
|
||||||
|
onSave: (remark: string) => void;
|
||||||
|
CloseComponent: React.ComponentType<{ asChild?: boolean; children: React.ReactNode }>;
|
||||||
|
}
|
||||||
|
|
||||||
|
// æ°įåįŧäŧķïžåĻįŪĄįåŪčŠå·ąįåĪæģĻįķæ
|
||||||
|
const RemarkForm: React.FC<RemarkFormProps> = ({ onSave, initialRemark, CloseComponent }) => {
|
||||||
|
const [remark, setRemark] = useState<string>(initialRemark ?? '');
|
||||||
|
|
||||||
|
const handleInputChange = (event: React.ChangeEvent<HTMLInputElement>) => {
|
||||||
|
setRemark(event.target.value);
|
||||||
|
};
|
||||||
|
|
||||||
|
const handleSaveClick = () => {
|
||||||
|
onSave(remark);
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<div className='mb-2 text-sm font-semibold'>åĪæģĻ</div>
|
||||||
|
<Input
|
||||||
|
type='text'
|
||||||
|
value={remark}
|
||||||
|
onChange={handleInputChange}
|
||||||
|
placeholder='åĻæĪčūå
ĨåĪæģĻ...'
|
||||||
|
className='w-full'
|
||||||
|
/>
|
||||||
|
<CloseComponent asChild>
|
||||||
|
<Button onClick={handleSaveClick} variant='default' size={'sm'} className={'mt-2'}>
|
||||||
|
äŋå
|
||||||
|
</Button>
|
||||||
|
</CloseComponent>
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
const t = useTranslations('user');
|
const t = useTranslations('user');
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const ref = useRef<ProTableActions>(null);
|
const ref = useRef<ProTableActions>(null);
|
||||||
const sp = useSearchParams();
|
const sp = useSearchParams();
|
||||||
|
|
||||||
const { data: subscribeList } = useQuery({
|
const { subscribes } = useSubscribe();
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 9999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.SubscribeGroup[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
const initialFilters = {
|
const initialFilters = {
|
||||||
search: sp.get('search') || undefined,
|
search: sp.get('search') || undefined,
|
||||||
user_id: sp.get('user_id') || undefined,
|
user_id: sp.get('user_id') || undefined,
|
||||||
subscribe_id: sp.get('subscribe_id') || undefined,
|
subscribe_id: sp.get('subscribe_id') || undefined,
|
||||||
user_subscribe_id: sp.get('user_subscribe_id') || undefined,
|
user_subscribe_id: sp.get('user_subscribe_id') || undefined,
|
||||||
|
device_id: sp.get('device_id') || undefined,
|
||||||
};
|
};
|
||||||
|
|
||||||
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={{
|
||||||
@@ -136,20 +193,96 @@ export default function Page() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
accessorKey: 'auth_methods',
|
accessorKey: 'auth_methods',
|
||||||
header: t('userName'),
|
header: 'įŧåŪéŪįŪą',
|
||||||
cell: ({ row }) => {
|
cell: ({ row }) => {
|
||||||
const method = row.original.auth_methods?.[0];
|
const method = row.original.auth_methods;
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Badge className='mr-1 uppercase' title={method?.verified ? t('verified') : ''}>
|
<Popover>
|
||||||
{method?.auth_type}
|
<PopoverTrigger>
|
||||||
</Badge>
|
<div className={'flex items-center'}>
|
||||||
{method?.auth_identifier}
|
{method?.find((v) => v.auth_type === 'email')?.auth_identifier || 'åū
įŧåŪ'}
|
||||||
|
{row.original?.remark ? `ïž${row.original.remark}ïž` : ''}
|
||||||
|
<FilePenLine size={14} className={'text-primary ml-2'} />
|
||||||
|
</div>
|
||||||
|
</PopoverTrigger>
|
||||||
|
<PopoverContent className={'w-64'}>
|
||||||
|
<RemarkForm
|
||||||
|
initialRemark={row.original.remark}
|
||||||
|
CloseComponent={PopoverClose}
|
||||||
|
onSave={async (remark) => {
|
||||||
|
const {
|
||||||
|
auth_methods,
|
||||||
|
user_devices,
|
||||||
|
enable_balance_notify,
|
||||||
|
enable_login_notify,
|
||||||
|
enable_subscribe_notify,
|
||||||
|
enable_trade_notify,
|
||||||
|
updated_at,
|
||||||
|
created_at,
|
||||||
|
id,
|
||||||
|
...rest
|
||||||
|
} = row.original;
|
||||||
|
await updateUserBasicInfo({
|
||||||
|
user_id: id,
|
||||||
|
...rest,
|
||||||
|
remark,
|
||||||
|
} as unknown as API.UpdateUserBasiceInfoRequest);
|
||||||
|
toast.success(t('updateSuccess'));
|
||||||
|
ref.current?.refresh();
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</PopoverContent>
|
||||||
|
</Popover>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
accessorKey: 'user_devices',
|
||||||
|
header: 'įŧåŪčŪūåĪ',
|
||||||
|
cell: ({ row }) => {
|
||||||
|
const devices = row?.original.user_devices ?? [];
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div style={{ display: 'flex', flexDirection: 'column', gap: '4px' }}>
|
||||||
|
{devices.map((v, index) => {
|
||||||
|
const { deviceType } = getDeviceTypeInfo(v.user_agent);
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div key={v.id + '_wrapper'}>
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
padding: '4px 6px',
|
||||||
|
background: '#f8f8f8',
|
||||||
|
borderRadius: '4px',
|
||||||
|
border: '1px solid #e0e0e0',
|
||||||
|
fontSize: '12px',
|
||||||
|
lineHeight: '16px',
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
<div style={{ fontWeight: 500 }}>
|
||||||
|
IDïž{v.id}ïž{deviceType}ïž
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{index !== devices.length - 1 && (
|
||||||
|
<div
|
||||||
|
style={{
|
||||||
|
height: '1px',
|
||||||
|
background: '#eee',
|
||||||
|
margin: '4px 0',
|
||||||
|
}}
|
||||||
|
></div>
|
||||||
|
)}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
})}
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
},
|
||||||
|
},
|
||||||
|
/*{
|
||||||
accessorKey: 'balance',
|
accessorKey: 'balance',
|
||||||
header: t('balance'),
|
header: t('balance'),
|
||||||
cell: ({ row }) => <Display type='currency' value={row.getValue('balance')} />,
|
cell: ({ row }) => <Display type='currency' value={row.getValue('balance')} />,
|
||||||
@@ -163,7 +296,7 @@ export default function Page() {
|
|||||||
accessorKey: 'commission',
|
accessorKey: 'commission',
|
||||||
header: t('commission'),
|
header: t('commission'),
|
||||||
cell: ({ row }) => <Display type='currency' value={row.getValue('commission')} />,
|
cell: ({ row }) => <Display type='currency' value={row.getValue('commission')} />,
|
||||||
},
|
},*/
|
||||||
{
|
{
|
||||||
accessorKey: 'refer_code',
|
accessorKey: 'refer_code',
|
||||||
header: t('inviteCode'),
|
header: t('inviteCode'),
|
||||||
@@ -194,9 +327,9 @@ export default function Page() {
|
|||||||
{
|
{
|
||||||
key: 'subscribe_id',
|
key: 'subscribe_id',
|
||||||
placeholder: t('subscription'),
|
placeholder: t('subscription'),
|
||||||
options: subscribeList?.map((item) => ({
|
options: subscribes?.map((item) => ({
|
||||||
label: item.name,
|
label: item.name!,
|
||||||
value: String(item.id),
|
value: String(item.id!),
|
||||||
})),
|
})),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -211,6 +344,10 @@ export default function Page() {
|
|||||||
key: 'user_subscribe_id',
|
key: 'user_subscribe_id',
|
||||||
placeholder: t('subscriptionId'),
|
placeholder: t('subscriptionId'),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 'device_id',
|
||||||
|
placeholder: 'čŪūåĪid',
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
actions={{
|
actions={{
|
||||||
render: (row) => {
|
render: (row) => {
|
||||||
@@ -289,7 +426,7 @@ function ProfileSheet({ userId }: { userId: number }) {
|
|||||||
<TabsList className='mb-3'>
|
<TabsList className='mb-3'>
|
||||||
<TabsTrigger value='basic'>{t('basicInfoTitle')}</TabsTrigger>
|
<TabsTrigger value='basic'>{t('basicInfoTitle')}</TabsTrigger>
|
||||||
<TabsTrigger value='notify'>{t('notifySettingsTitle')}</TabsTrigger>
|
<TabsTrigger value='notify'>{t('notifySettingsTitle')}</TabsTrigger>
|
||||||
<TabsTrigger value='auth'>{t('authMethodsTitle')}</TabsTrigger>
|
{/*<TabsTrigger value='auth'>{t('authMethodsTitle')}</TabsTrigger>*/}
|
||||||
</TabsList>
|
</TabsList>
|
||||||
<TabsContent value='basic' className='mt-0'>
|
<TabsContent value='basic' className='mt-0'>
|
||||||
<BasicInfoForm user={user} refetch={refetch as any} />
|
<BasicInfoForm user={user} refetch={refetch as any} />
|
||||||
@@ -297,9 +434,9 @@ function ProfileSheet({ userId }: { userId: number }) {
|
|||||||
<TabsContent value='notify' className='mt-0'>
|
<TabsContent value='notify' className='mt-0'>
|
||||||
<NotifySettingsForm user={user} refetch={refetch as any} />
|
<NotifySettingsForm user={user} refetch={refetch as any} />
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
<TabsContent value='auth' className='mt-0'>
|
{/*<TabsContent value='auth' className='mt-0'>
|
||||||
<AuthMethodsForm user={user} refetch={refetch as any} />
|
<AuthMethodsForm user={user} refetch={refetch as any} />
|
||||||
</TabsContent>
|
</TabsContent>*/}
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</ScrollArea>
|
</ScrollArea>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -148,7 +148,8 @@ export function UserDetail({ id }: { id: number }) {
|
|||||||
|
|
||||||
const identifier =
|
const identifier =
|
||||||
data?.auth_methods.find((m) => m.auth_type === 'email')?.auth_identifier ||
|
data?.auth_methods.find((m) => m.auth_type === 'email')?.auth_identifier ||
|
||||||
data?.auth_methods[0]?.auth_identifier;
|
`čŪūåĪIdïž${data?.user_devices[0]?.id}` ||
|
||||||
|
'čīĶå·äļååĻ';
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<HoverCard>
|
<HoverCard>
|
||||||
|
|||||||
@@ -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) => {
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
import { Display } from '@/components/display';
|
import { Display } from '@/components/display';
|
||||||
import { ProTable, ProTableActions } from '@/components/pro-table';
|
import { ProTable, ProTableActions } from '@/components/pro-table';
|
||||||
|
import useGlobalStore from '@/config/use-global';
|
||||||
import {
|
import {
|
||||||
createUserSubscribe,
|
createUserSubscribe,
|
||||||
deleteUserSubscribe,
|
deleteUserSubscribe,
|
||||||
@@ -28,6 +29,7 @@ export default function UserSubscription({ userId }: { userId: number }) {
|
|||||||
const t = useTranslations('user');
|
const t = useTranslations('user');
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const ref = useRef<ProTableActions>(null);
|
const ref = useRef<ProTableActions>(null);
|
||||||
|
const { getUserSubscribeUrls } = useGlobalStore();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ProTable<API.UserSubscribe, Record<string, unknown>>
|
<ProTable<API.UserSubscribe, Record<string, unknown>>
|
||||||
@@ -146,6 +148,16 @@ export default function UserSubscription({ userId }: { userId: number }) {
|
|||||||
return true;
|
return true;
|
||||||
}}
|
}}
|
||||||
/>,
|
/>,
|
||||||
|
<Button
|
||||||
|
key='copy'
|
||||||
|
variant='secondary'
|
||||||
|
onClick={async () => {
|
||||||
|
await navigator.clipboard.writeText(getUserSubscribeUrls(row.token)[0] || '');
|
||||||
|
toast.success(t('copySuccess'));
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{t('copySubscription')}
|
||||||
|
</Button>,
|
||||||
<ConfirmButton
|
<ConfirmButton
|
||||||
key='delete'
|
key='delete'
|
||||||
trigger={<Button variant='destructive'>{t('delete')}</Button>}
|
trigger={<Button variant='destructive'>{t('delete')}</Button>}
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import { getSubscribeList } from '@/services/admin/subscribe';
|
import { useSubscribe } from '@/store/subscribe';
|
||||||
import { zodResolver } from '@hookform/resolvers/zod';
|
import { zodResolver } from '@hookform/resolvers/zod';
|
||||||
import { useQuery } from '@tanstack/react-query';
|
|
||||||
import { Button } from '@workspace/ui/components/button';
|
import { Button } from '@workspace/ui/components/button';
|
||||||
import {
|
import {
|
||||||
Form,
|
Form,
|
||||||
@@ -74,16 +73,7 @@ export function SubscriptionForm({ trigger, title, loading, initialData, onSubmi
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const { data: subscribe } = useQuery({
|
const { subscribes } = useSubscribe();
|
||||||
queryKey: ['getSubscribeList', 'all'],
|
|
||||||
queryFn: async () => {
|
|
||||||
const { data } = await getSubscribeList({
|
|
||||||
page: 1,
|
|
||||||
size: 9999,
|
|
||||||
});
|
|
||||||
return data.data?.list as API.Subscribe[];
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Sheet open={open} onOpenChange={setOpen}>
|
<Sheet open={open} onOpenChange={setOpen}>
|
||||||
@@ -117,9 +107,9 @@ export function SubscriptionForm({ trigger, title, loading, initialData, onSubmi
|
|||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
form.setValue(field.name, value);
|
form.setValue(field.name, value);
|
||||||
}}
|
}}
|
||||||
options={subscribe?.map((item: API.Subscribe) => ({
|
options={subscribes?.map((item) => ({
|
||||||
value: item.id,
|
value: item.id!,
|
||||||
label: item.name,
|
label: item.name!,
|
||||||
}))}
|
}))}
|
||||||
/>
|
/>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ export default function Statistics() {
|
|||||||
value: ServerTotal?.online_users || 0,
|
value: ServerTotal?.online_users || 0,
|
||||||
subtitle: t('currentlyOnline'),
|
subtitle: t('currentlyOnline'),
|
||||||
icon: 'uil:users-alt',
|
icon: 'uil:users-alt',
|
||||||
href: '/dashboard/users',
|
href: '/dashboard/user',
|
||||||
color: 'text-blue-600 dark:text-blue-400',
|
color: 'text-blue-600 dark:text-blue-400',
|
||||||
iconBg: 'bg-blue-100 dark:bg-blue-900/30',
|
iconBg: 'bg-blue-100 dark:bg-blue-900/30',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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}>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import { NEXT_PUBLIC_API_URL, NEXT_PUBLIC_SITE_URL } from '@/config/constants';
|
||||||
|
import { extractDomain } from '@workspace/ui/utils';
|
||||||
import { create } from 'zustand';
|
import { create } from 'zustand';
|
||||||
|
|
||||||
export interface GlobalStore {
|
export interface GlobalStore {
|
||||||
@@ -5,9 +7,10 @@ export interface GlobalStore {
|
|||||||
user?: API.User;
|
user?: API.User;
|
||||||
setCommon: (common: Partial<API.GetGlobalConfigResponse>) => void;
|
setCommon: (common: Partial<API.GetGlobalConfigResponse>) => void;
|
||||||
setUser: (user?: API.User) => void;
|
setUser: (user?: API.User) => void;
|
||||||
|
getUserSubscribeUrls: (uuid: string, type?: string) => string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export const useGlobalStore = create<GlobalStore>((set) => ({
|
export const useGlobalStore = create<GlobalStore>((set, get) => ({
|
||||||
common: {
|
common: {
|
||||||
site: {
|
site: {
|
||||||
host: '',
|
host: '',
|
||||||
@@ -42,6 +45,12 @@ export const useGlobalStore = create<GlobalStore>((set) => ({
|
|||||||
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,
|
||||||
@@ -77,6 +86,22 @@ export const useGlobalStore = create<GlobalStore>((set) => ({
|
|||||||
},
|
},
|
||||||
})),
|
})),
|
||||||
setUser: (user) => set({ user }),
|
setUser: (user) => set({ user }),
|
||||||
|
getUserSubscribeUrls: (uuid: string, type?: string) => {
|
||||||
|
const { pan_domain, subscribe_domain, subscribe_path } = get().common.subscribe || {};
|
||||||
|
const domains = subscribe_domain
|
||||||
|
? subscribe_domain.split('\n')
|
||||||
|
: [extractDomain(NEXT_PUBLIC_API_URL || NEXT_PUBLIC_SITE_URL || '', pan_domain)];
|
||||||
|
|
||||||
|
return domains.map((domain) => {
|
||||||
|
if (pan_domain) {
|
||||||
|
if (type) return `https://${uuid}.${type}.${domain}`;
|
||||||
|
return `https://${uuid}.${domain}`;
|
||||||
|
} else {
|
||||||
|
if (type) return `https://${domain}${subscribe_path}?token=${uuid}&type=${type}`;
|
||||||
|
return `https://${domain}${subscribe_path}?token=${uuid}`;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export default useGlobalStore;
|
export default useGlobalStore;
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Vyberte protokolâĶ",
|
"select_protocol": "Vyberte protokolâĶ",
|
||||||
"select_server": "Vyberte serverâĶ",
|
"select_server": "Vyberte serverâĶ",
|
||||||
"server": "Server",
|
"server": "Server",
|
||||||
|
"sorted_success": "ÃspÄÅĄnÄ seÅazeno",
|
||||||
"tags": "Å tÃtky",
|
"tags": "Å tÃtky",
|
||||||
"tags_description": "Å tÃtek pro skupinovÃĄnà oprÃĄvnÄnà (vÄetnÄ vazby na plÃĄn a dodacà politiky).",
|
"tags_description": "Å tÃtek pro skupinovÃĄnà oprÃĄvnÄnà (vÄetnÄ vazby na plÃĄn a dodacà politiky).",
|
||||||
"tags_placeholder": "PouÅūijte Enter nebo ÄÃĄrku (,) pro pÅidÃĄnà vÃce ÅĄtÃtkÅŊ",
|
"tags_placeholder": "PouÅūijte Enter nebo ÄÃĄrku (,) pro pÅidÃĄnà vÃce ÅĄtÃtkÅŊ",
|
||||||
|
|||||||
@@ -1,38 +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",
|
|
||||||
"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Ä",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Upravit server",
|
"drawerEditTitle": "Upravit server",
|
||||||
"edit": "Upravit",
|
"edit": "Upravit",
|
||||||
"enabled": "Povoleno",
|
"enabled": "Povoleno",
|
||||||
"encryption_method": "Metoda ÅĄifrovÃĄnÃ",
|
"encryption": "Metoda ÅĄifrovÃĄnÃ",
|
||||||
|
"encryption_client_padding": "Padding klienta",
|
||||||
|
"encryption_mode": "ReÅūim",
|
||||||
|
"encryption_password": "Heslo",
|
||||||
|
"encryption_password_placeholder": "Nechte prÃĄzdnÃĐ pro automatickou generaci, nahraÄte ruÄnÄ pro postkvantovÃĐ ÅĄifrovÃĄnÃ",
|
||||||
|
"encryption_private_key": "SoukromÃ― klÃÄ",
|
||||||
|
"encryption_private_key_placeholder": "Nechte prÃĄzdnÃĐ pro automatickou generaci, nahraÄte ruÄnÄ pro postkvantovÃĐ ÅĄifrovÃĄnÃ",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Padding serveru",
|
||||||
|
"encryption_ticket": "Äas lÃstku",
|
||||||
"expireTime": "Äas vyprÅĄenÃ",
|
"expireTime": "Äas vyprÅĄenÃ",
|
||||||
"expired": "VyprÅĄelo",
|
"expired": "VyprÅĄelo",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Migrace dat se nezdaÅila",
|
"migrateFailed": "Migrace dat se nezdaÅila",
|
||||||
"migrated": "Data byla ÚspÄÅĄnÄ migrovÃĄna",
|
"migrated": "Data byla ÚspÄÅĄnÄ migrovÃĄna",
|
||||||
"migrating": "ProbÃhÃĄ migrace...",
|
"migrating": "ProbÃhÃĄ migrace...",
|
||||||
|
"mode": "ReÅūim",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "NÃĄzev",
|
"name": "NÃĄzev",
|
||||||
"noData": "Å―ÃĄdnÃĄ data",
|
"noData": "Å―ÃĄdnÃĄ data",
|
||||||
"notAvailable": "Nenà k dispozici",
|
"notAvailable": "Nenà k dispozici",
|
||||||
|
"obfs": "ObfuskovÃĄnÃ",
|
||||||
|
"obfs_host": "Obfs hostitel",
|
||||||
"obfs_password": "Heslo pro obfuskaci",
|
"obfs_password": "Heslo pro obfuskaci",
|
||||||
"obfs_password_placeholder": "Zadejte heslo pro obfuskaci",
|
"obfs_password_placeholder": "Zadejte heslo pro obfuskaci",
|
||||||
|
"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Ã",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Servery",
|
"pageTitle": "Servery",
|
||||||
"path": "Cesta",
|
"path": "Cesta",
|
||||||
"please_select": "ProsÃm vyberte",
|
"please_select": "ProsÃm vyberte",
|
||||||
"plugin": "Konfigurace pluginu",
|
|
||||||
"plugin_opts": "MoÅūnosti pluginu",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "Konfigurace protokolu",
|
"protocol_configurations": "Konfigurace protokolu",
|
||||||
"protocol_configurations_desc": "Povolit a nakonfigurovat poÅūadovanÃĐ typy protokolÅŊ",
|
"protocol_configurations_desc": "Povolit a nakonfigurovat poÅūadovanÃĐ typy protokolÅŊ",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Stav",
|
"status": "Stav",
|
||||||
"subscribeId": "ID pÅedplatnÃĐho",
|
"subscribeId": "ID pÅedplatnÃĐho",
|
||||||
"subscription": "PÅedplatnÃĐ",
|
"subscription": "PÅedplatnÃĐ",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "Potvrdit",
|
"confirm": "Potvrdit",
|
||||||
"confirmDelete": "Opravdu chcete smazat?",
|
"confirmDelete": "Opravdu chcete smazat?",
|
||||||
"confirmOffline": "Potvrdit offline",
|
"confirmOffline": "Potvrdit offline",
|
||||||
|
"copySubscription": "KopÃrovat pÅedplatnÃĐ",
|
||||||
|
"copySuccess": "KopÃrovÃĄnà bylo ÚspÄÅĄnÃĐ",
|
||||||
"create": "VytvoÅit",
|
"create": "VytvoÅit",
|
||||||
"createSubscription": "VytvoÅit pÅedplatnÃĐ",
|
"createSubscription": "VytvoÅit pÅedplatnÃĐ",
|
||||||
"createSuccess": "VytvoÅenà ÚspÄÅĄnÃĐ",
|
"createSuccess": "VytvoÅenà ÚspÄÅĄnÃĐ",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Protokoll auswÃĪhlenâĶ",
|
"select_protocol": "Protokoll auswÃĪhlenâĶ",
|
||||||
"select_server": "Server auswÃĪhlenâĶ",
|
"select_server": "Server auswÃĪhlenâĶ",
|
||||||
"server": "Server",
|
"server": "Server",
|
||||||
|
"sorted_success": "Erfolgreich sortiert",
|
||||||
"tags": "Tags",
|
"tags": "Tags",
|
||||||
"tags_description": "Berechtigungsgruppierungs-Tag (einschlieÃlich Planbindung und Lieferrichtlinien).",
|
"tags_description": "Berechtigungsgruppierungs-Tag (einschlieÃlich Planbindung und Lieferrichtlinien).",
|
||||||
"tags_placeholder": "Verwenden Sie Enter oder Komma (,) um mehrere Tags hinzuzufÞgen",
|
"tags_placeholder": "Verwenden Sie Enter oder Komma (,) um mehrere Tags hinzuzufÞgen",
|
||||||
|
|||||||
@@ -1,38 +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",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Server bearbeiten",
|
"drawerEditTitle": "Server bearbeiten",
|
||||||
"edit": "Bearbeiten",
|
"edit": "Bearbeiten",
|
||||||
"enabled": "Aktiviert",
|
"enabled": "Aktiviert",
|
||||||
"encryption_method": "VerschlÞsselungsmethode",
|
"encryption": "VerschlÞsselungsmethode",
|
||||||
|
"encryption_client_padding": "Client-Padding",
|
||||||
|
"encryption_mode": "Modus",
|
||||||
|
"encryption_password": "Passwort",
|
||||||
|
"encryption_password_placeholder": "Leer lassen fÞr automatische Generierung, manuell ersetzen fÞr post-quanten VerschlÞsselung",
|
||||||
|
"encryption_private_key": "Privater SchlÞssel",
|
||||||
|
"encryption_private_key_placeholder": "Leer lassen fÞr automatische Generierung, manuell ersetzen fÞr post-quanten VerschlÞsselung",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Server-Padding",
|
||||||
|
"encryption_ticket": "Ticketzeit",
|
||||||
"expireTime": "Ablaufzeit",
|
"expireTime": "Ablaufzeit",
|
||||||
"expired": "Abgelaufen",
|
"expired": "Abgelaufen",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Datenmigration fehlgeschlagen",
|
"migrateFailed": "Datenmigration fehlgeschlagen",
|
||||||
"migrated": "Daten erfolgreich migriert",
|
"migrated": "Daten erfolgreich migriert",
|
||||||
"migrating": "Wird migriert...",
|
"migrating": "Wird migriert...",
|
||||||
|
"mode": "Modus",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"noData": "Keine Daten",
|
"noData": "Keine Daten",
|
||||||
"notAvailable": "Nicht verfÞgbar",
|
"notAvailable": "Nicht verfÞgbar",
|
||||||
|
"obfs": "Obfuskation",
|
||||||
|
"obfs_host": "Obfs-Host",
|
||||||
"obfs_password": "Obfuskationspasswort",
|
"obfs_password": "Obfuskationspasswort",
|
||||||
"obfs_password_placeholder": "Obfuskationspasswort eingeben",
|
"obfs_password_placeholder": "Obfuskationspasswort eingeben",
|
||||||
|
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Server",
|
"pageTitle": "Server",
|
||||||
"path": "Pfad",
|
"path": "Pfad",
|
||||||
"please_select": "Bitte auswÃĪhlen",
|
"please_select": "Bitte auswÃĪhlen",
|
||||||
"plugin": "Plugin-Konfiguration",
|
|
||||||
"plugin_opts": "Plugin-Optionen",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "Protokollkonfigurationen",
|
"protocol_configurations": "Protokollkonfigurationen",
|
||||||
"protocol_configurations_desc": "Aktivieren und konfigurieren Sie die erforderlichen Protokolltypen",
|
"protocol_configurations_desc": "Aktivieren und konfigurieren Sie die erforderlichen Protokolltypen",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"subscribeId": "Abonnement-ID",
|
"subscribeId": "Abonnement-ID",
|
||||||
"subscription": "Abonnement",
|
"subscription": "Abonnement",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "BestÃĪtigen",
|
"confirm": "BestÃĪtigen",
|
||||||
"confirmDelete": "Sind Sie sicher, dass Sie lÃķschen mÃķchten?",
|
"confirmDelete": "Sind Sie sicher, dass Sie lÃķschen mÃķchten?",
|
||||||
"confirmOffline": "Offline bestÃĪtigen",
|
"confirmOffline": "Offline bestÃĪtigen",
|
||||||
|
"copySubscription": "Abonnement kopieren",
|
||||||
|
"copySuccess": "Kopie erfolgreich",
|
||||||
"create": "Erstellen",
|
"create": "Erstellen",
|
||||||
"createSubscription": "Abonnement erstellen",
|
"createSubscription": "Abonnement erstellen",
|
||||||
"createSuccess": "Erstellung erfolgreich",
|
"createSuccess": "Erstellung erfolgreich",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Select protocolâĶ",
|
"select_protocol": "Select protocolâĶ",
|
||||||
"select_server": "Select serverâĶ",
|
"select_server": "Select serverâĶ",
|
||||||
"server": "Server",
|
"server": "Server",
|
||||||
|
"sorted_success": "Sorted successfully",
|
||||||
"tags": "Tags",
|
"tags": "Tags",
|
||||||
"tags_description": "Permission grouping tag (incl. plan binding and delivery policies).",
|
"tags_description": "Permission grouping tag (incl. plan binding and delivery policies).",
|
||||||
"tags_placeholder": "Use Enter or comma (,) to add multiple tags",
|
"tags_placeholder": "Use Enter or comma (,) to add multiple tags",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "Address",
|
|
||||||
"address_placeholder": "Server address",
|
|
||||||
"bandwidth_placeholder": "Enter bandwidth, leave empty for BBR",
|
|
||||||
"basic": "Basic Configuration",
|
|
||||||
"cancel": "Cancel",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Edit Server",
|
"drawerEditTitle": "Edit Server",
|
||||||
"edit": "Edit",
|
"edit": "Edit",
|
||||||
"enabled": "Enabled",
|
"enabled": "Enabled",
|
||||||
"encryption_method": "Encryption method",
|
"encryption": "Encryption Method",
|
||||||
|
"encryption_client_padding": "Client Padding",
|
||||||
|
"encryption_mode": "Mode",
|
||||||
|
"encryption_password": "Password",
|
||||||
|
"encryption_password_placeholder": "Leave empty for auto-generation, replace manually for post-quantum encryption",
|
||||||
|
"encryption_private_key": "Private Key",
|
||||||
|
"encryption_private_key_placeholder": "Leave empty for auto-generation, replace manually for post-quantum encryption",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Server Padding",
|
||||||
|
"encryption_ticket": "Ticket time",
|
||||||
"expireTime": "Expire time",
|
"expireTime": "Expire time",
|
||||||
"expired": "Expired",
|
"expired": "Expired",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Data migration failed",
|
"migrateFailed": "Data migration failed",
|
||||||
"migrated": "Data migrated successfully",
|
"migrated": "Data migrated successfully",
|
||||||
"migrating": "Migrating...",
|
"migrating": "Migrating...",
|
||||||
|
"mode": "Mode",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"noData": "No data",
|
"noData": "No data",
|
||||||
"notAvailable": "N/A",
|
"notAvailable": "N/A",
|
||||||
|
"obfs": "Obfuscation",
|
||||||
|
"obfs_host": "Obfs Host",
|
||||||
"obfs_password": "Obfuscation password",
|
"obfs_password": "Obfuscation password",
|
||||||
"obfs_password_placeholder": "Enter obfuscation password",
|
"obfs_password_placeholder": "Enter obfuscation password",
|
||||||
|
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Servers",
|
"pageTitle": "Servers",
|
||||||
"path": "Path",
|
"path": "Path",
|
||||||
"please_select": "Please select",
|
"please_select": "Please select",
|
||||||
"plugin": "Plugin Configuration",
|
|
||||||
"plugin_opts": "Plugin Options",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "Protocol Configurations",
|
"protocol_configurations": "Protocol Configurations",
|
||||||
"protocol_configurations_desc": "Enable and configure the required protocol types",
|
"protocol_configurations_desc": "Enable and configure the required protocol types",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"subscribeId": "Subscription ID",
|
"subscribeId": "Subscription ID",
|
||||||
"subscription": "Subscription",
|
"subscription": "Subscription",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "Confirm",
|
"confirm": "Confirm",
|
||||||
"confirmDelete": "Confirm Delete",
|
"confirmDelete": "Confirm Delete",
|
||||||
"confirmOffline": "Confirm Offline",
|
"confirmOffline": "Confirm Offline",
|
||||||
|
"copySubscription": "Copy Subscription",
|
||||||
|
"copySuccess": "Copy successful",
|
||||||
"create": "Create",
|
"create": "Create",
|
||||||
"createSubscription": "Create Subscription",
|
"createSubscription": "Create Subscription",
|
||||||
"createSuccess": "Create successful",
|
"createSuccess": "Create successful",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Seleccionar protocoloâĶ",
|
"select_protocol": "Seleccionar protocoloâĶ",
|
||||||
"select_server": "Seleccionar servidorâĶ",
|
"select_server": "Seleccionar servidorâĶ",
|
||||||
"server": "Servidor",
|
"server": "Servidor",
|
||||||
|
"sorted_success": "Ordenado con ÃĐxito",
|
||||||
"tags": "Etiquetas",
|
"tags": "Etiquetas",
|
||||||
"tags_description": "Etiqueta de agrupaciÃģn de permisos (incl. vinculaciÃģn de planes y polÃticas de entrega).",
|
"tags_description": "Etiqueta de agrupaciÃģn de permisos (incl. vinculaciÃģn de planes y polÃticas de entrega).",
|
||||||
"tags_placeholder": "Usa Enter o coma (,) para aÃąadir mÚltiples etiquetas",
|
"tags_placeholder": "Usa Enter o coma (,) para aÃąadir mÚltiples etiquetas",
|
||||||
|
|||||||
@@ -1,38 +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",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Editar Servidor",
|
"drawerEditTitle": "Editar Servidor",
|
||||||
"edit": "Editar",
|
"edit": "Editar",
|
||||||
"enabled": "Habilitado",
|
"enabled": "Habilitado",
|
||||||
"encryption_method": "MÃĐtodo de cifrado",
|
"encryption": "MÃĐtodo de Cifrado",
|
||||||
|
"encryption_client_padding": "Relleno del Cliente",
|
||||||
|
"encryption_mode": "Modo",
|
||||||
|
"encryption_password": "ContraseÃąa",
|
||||||
|
"encryption_password_placeholder": "Dejar vacÃo para auto-generaciÃģn, reemplazar manualmente para cifrado post-cuÃĄntico",
|
||||||
|
"encryption_private_key": "Clave Privada",
|
||||||
|
"encryption_private_key_placeholder": "Dejar vacÃo para auto-generaciÃģn, reemplazar manualmente para cifrado post-cuÃĄntico",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Relleno del Servidor",
|
||||||
|
"encryption_ticket": "Tiempo de Ticket",
|
||||||
"expireTime": "Tiempo de expiraciÃģn",
|
"expireTime": "Tiempo de expiraciÃģn",
|
||||||
"expired": "Expirado",
|
"expired": "Expirado",
|
||||||
|
"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",
|
||||||
"migrateFailed": "La migraciÃģn de datos fallÃģ",
|
"migrateFailed": "La migraciÃģn de datos fallÃģ",
|
||||||
"migrated": "Datos migrados con ÃĐxito",
|
"migrated": "Datos migrados con ÃĐxito",
|
||||||
"migrating": "Migrando...",
|
"migrating": "Migrando...",
|
||||||
|
"mode": "Modo",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Nombre",
|
"name": "Nombre",
|
||||||
"noData": "Sin datos",
|
"noData": "Sin datos",
|
||||||
"notAvailable": "N/A",
|
"notAvailable": "N/A",
|
||||||
|
"obfs": "OfuscaciÃģn",
|
||||||
|
"obfs_host": "Host de OfuscaciÃģn",
|
||||||
"obfs_password": "ContraseÃąa de ofuscaciÃģn",
|
"obfs_password": "ContraseÃąa de ofuscaciÃģn",
|
||||||
"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",
|
||||||
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Servidores",
|
"pageTitle": "Servidores",
|
||||||
"path": "Ruta",
|
"path": "Ruta",
|
||||||
"please_select": "Por favor seleccione",
|
"please_select": "Por favor seleccione",
|
||||||
"plugin": "ConfiguraciÃģn del Plugin",
|
|
||||||
"plugin_opts": "Opciones del Plugin",
|
|
||||||
"port": "Puerto",
|
"port": "Puerto",
|
||||||
"protocol_configurations": "Configuraciones de Protocolo",
|
"protocol_configurations": "Configuraciones de Protocolo",
|
||||||
"protocol_configurations_desc": "Habilitar y configurar los tipos de protocolo requeridos",
|
"protocol_configurations_desc": "Habilitar y configurar los tipos de protocolo requeridos",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Estado",
|
"status": "Estado",
|
||||||
"subscribeId": "ID de suscripciÃģn",
|
"subscribeId": "ID de suscripciÃģn",
|
||||||
"subscription": "SuscripciÃģn",
|
"subscription": "SuscripciÃģn",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "Confirmar",
|
"confirm": "Confirmar",
|
||||||
"confirmDelete": "ÂŋEstÃĄ seguro de que desea eliminar?",
|
"confirmDelete": "ÂŋEstÃĄ seguro de que desea eliminar?",
|
||||||
"confirmOffline": "Confirmar sin conexiÃģn",
|
"confirmOffline": "Confirmar sin conexiÃģn",
|
||||||
|
"copySubscription": "Copiar SuscripciÃģn",
|
||||||
|
"copySuccess": "Copia exitosa",
|
||||||
"create": "Crear",
|
"create": "Crear",
|
||||||
"createSubscription": "Crear suscripciÃģn",
|
"createSubscription": "Crear suscripciÃģn",
|
||||||
"createSuccess": "CreaciÃģn exitosa",
|
"createSuccess": "CreaciÃģn exitosa",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Seleccionar protocoloâĶ",
|
"select_protocol": "Seleccionar protocoloâĶ",
|
||||||
"select_server": "Seleccionar servidorâĶ",
|
"select_server": "Seleccionar servidorâĶ",
|
||||||
"server": "Servidor",
|
"server": "Servidor",
|
||||||
|
"sorted_success": "Ordenado con ÃĐxito",
|
||||||
"tags": "Etiquetas",
|
"tags": "Etiquetas",
|
||||||
"tags_description": "Etiqueta de agrupaciÃģn de permisos (incl. vinculaciÃģn de planes y polÃticas de entrega).",
|
"tags_description": "Etiqueta de agrupaciÃģn de permisos (incl. vinculaciÃģn de planes y polÃticas de entrega).",
|
||||||
"tags_placeholder": "Usa Enter o coma (,) para agregar mÚltiples etiquetas",
|
"tags_placeholder": "Usa Enter o coma (,) para agregar mÚltiples etiquetas",
|
||||||
|
|||||||
@@ -1,38 +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",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Editar Servidor",
|
"drawerEditTitle": "Editar Servidor",
|
||||||
"edit": "Editar",
|
"edit": "Editar",
|
||||||
"enabled": "Habilitado",
|
"enabled": "Habilitado",
|
||||||
"encryption_method": "MÃĐtodo de encriptaciÃģn",
|
"encryption": "MÃĐtodo de Cifrado",
|
||||||
|
"encryption_client_padding": "Relleno del Cliente",
|
||||||
|
"encryption_mode": "Modo",
|
||||||
|
"encryption_password": "ContraseÃąa",
|
||||||
|
"encryption_password_placeholder": "Dejar vacÃo para auto-generaciÃģn, reemplazar manualmente para cifrado post-cuÃĄntico",
|
||||||
|
"encryption_private_key": "Clave Privada",
|
||||||
|
"encryption_private_key_placeholder": "Dejar vacÃo para auto-generaciÃģn, reemplazar manualmente para cifrado post-cuÃĄntico",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Relleno del Servidor",
|
||||||
|
"encryption_ticket": "Tiempo de Ticket",
|
||||||
"expireTime": "Tiempo de expiraciÃģn",
|
"expireTime": "Tiempo de expiraciÃģn",
|
||||||
"expired": "Expirado",
|
"expired": "Expirado",
|
||||||
|
"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",
|
||||||
"migrateFailed": "La migraciÃģn de datos fallÃģ",
|
"migrateFailed": "La migraciÃģn de datos fallÃģ",
|
||||||
"migrated": "Datos migrados con ÃĐxito",
|
"migrated": "Datos migrados con ÃĐxito",
|
||||||
"migrating": "Migrando...",
|
"migrating": "Migrando...",
|
||||||
|
"mode": "Modo",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Nombre",
|
"name": "Nombre",
|
||||||
"noData": "Sin datos",
|
"noData": "Sin datos",
|
||||||
"notAvailable": "N/A",
|
"notAvailable": "N/A",
|
||||||
|
"obfs": "OfuscaciÃģn",
|
||||||
|
"obfs_host": "Host de OfuscaciÃģn",
|
||||||
"obfs_password": "ContraseÃąa de ofuscaciÃģn",
|
"obfs_password": "ContraseÃąa de ofuscaciÃģn",
|
||||||
"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",
|
||||||
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Servidores",
|
"pageTitle": "Servidores",
|
||||||
"path": "Ruta",
|
"path": "Ruta",
|
||||||
"please_select": "Por favor selecciona",
|
"please_select": "Por favor selecciona",
|
||||||
"plugin": "ConfiguraciÃģn del Plugin",
|
|
||||||
"plugin_opts": "Opciones del Plugin",
|
|
||||||
"port": "Puerto",
|
"port": "Puerto",
|
||||||
"protocol_configurations": "Configuraciones de Protocolo",
|
"protocol_configurations": "Configuraciones de Protocolo",
|
||||||
"protocol_configurations_desc": "Habilitar y configurar los tipos de protocolo requeridos",
|
"protocol_configurations_desc": "Habilitar y configurar los tipos de protocolo requeridos",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Estado",
|
"status": "Estado",
|
||||||
"subscribeId": "ID de suscripciÃģn",
|
"subscribeId": "ID de suscripciÃģn",
|
||||||
"subscription": "SuscripciÃģn",
|
"subscription": "SuscripciÃģn",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "Confirmar",
|
"confirm": "Confirmar",
|
||||||
"confirmDelete": "ÂŋEstÃĄ seguro de que desea eliminar?",
|
"confirmDelete": "ÂŋEstÃĄ seguro de que desea eliminar?",
|
||||||
"confirmOffline": "Confirmar sin conexiÃģn",
|
"confirmOffline": "Confirmar sin conexiÃģn",
|
||||||
|
"copySubscription": "Copiar SuscripciÃģn",
|
||||||
|
"copySuccess": "Copia exitosa",
|
||||||
"create": "Crear",
|
"create": "Crear",
|
||||||
"createSubscription": "Crear SuscripciÃģn",
|
"createSubscription": "Crear SuscripciÃģn",
|
||||||
"createSuccess": "CreaciÃģn exitosa",
|
"createSuccess": "CreaciÃģn exitosa",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "ŲūØąŲØŠÚĐŲ ØąØ§ Ø§ŲØŠØŪØ§ØĻ ÚĐŲÛØŊâĶ",
|
"select_protocol": "ŲūØąŲØŠÚĐŲ ØąØ§ Ø§ŲØŠØŪØ§ØĻ ÚĐŲÛØŊâĶ",
|
||||||
"select_server": "ØģØąŲØą ØąØ§ Ø§ŲØŠØŪØ§ØĻ ÚĐŲÛØŊâĶ",
|
"select_server": "ØģØąŲØą ØąØ§ Ø§ŲØŠØŪØ§ØĻ ÚĐŲÛØŊâĶ",
|
||||||
"server": "ØģØąŲØą",
|
"server": "ØģØąŲØą",
|
||||||
|
"sorted_success": "ØĻا Ų
ŲŲŲÛØŠ Ų
ØąØŠØĻ ØīØŊ",
|
||||||
"tags": "ØĻØąÚØģØĻâŲØ§",
|
"tags": "ØĻØąÚØģØĻâŲØ§",
|
||||||
"tags_description": "ØĻØąÚØģØĻ ÚŊØąŲŲâØĻŲØŊÛ Ų
ØŽŲØē (ØīاŲ
Ų ŲūÛŲŲØŊ ØĻØąŲØ§Ų
Ų Ų ØģÛØ§ØģØŠâŲØ§Û ØŠØŲÛŲ).",
|
"tags_description": "ØĻØąÚØģØĻ ÚŊØąŲŲâØĻŲØŊÛ Ų
ØŽŲØē (ØīاŲ
Ų ŲūÛŲŲØŊ ØĻØąŲØ§Ų
Ų Ų ØģÛØ§ØģØŠâŲØ§Û ØŠØŲÛŲ).",
|
||||||
"tags_placeholder": "ØĻØąØ§Û Ø§ŲØēŲØŊŲ ÚŲØŊÛŲ ØĻØąÚØģØĻ اØē Enter ÛØ§ ŲÛØąÚŊŲŲ (,) اØģØŠŲØ§ØŊŲ ÚĐŲÛØŊ",
|
"tags_placeholder": "ØĻØąØ§Û Ø§ŲØēŲØŊŲ ÚŲØŊÛŲ ØĻØąÚØģØĻ اØē Enter ÛØ§ ŲÛØąÚŊŲŲ (,) اØģØŠŲØ§ØŊŲ ÚĐŲÛØŊ",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "ØĒØŊØąØģ",
|
|
||||||
"address_placeholder": "ØĒØŊØąØģ ØģØąŲØą",
|
|
||||||
"bandwidth_placeholder": "ØđØąØķ ŲūŲŲØ§Û ØĻØ§ŲØŊØ ØĻØąØ§Û BBR ØŪاŲÛ ØĻÚŊØ°Ø§ØąÛØŊ",
|
|
||||||
"basic": "ŲūÛÚĐØąØĻŲØŊÛ ŲūاÛŲ",
|
|
||||||
"cancel": "ŲØšŲ",
|
|
||||||
"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": "ÚĐØīŲØą",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "ŲÛØąØ§ÛØī ØģØąŲØą",
|
"drawerEditTitle": "ŲÛØąØ§ÛØī ØģØąŲØą",
|
||||||
"edit": "ŲÛØąØ§ÛØī",
|
"edit": "ŲÛØąØ§ÛØī",
|
||||||
"enabled": "ŲØđاŲ",
|
"enabled": "ŲØđاŲ",
|
||||||
"encryption_method": "ØąŲØī ØąŲ
ØēŲÚŊØ§ØąÛ",
|
"encryption": "ØąŲØī ØąŲ
ØēŲÚŊØ§ØąÛ",
|
||||||
|
"encryption_client_padding": "ŲūØŊÛŲÚŊ ÚĐŲØ§ÛŲØŠ",
|
||||||
|
"encryption_mode": "ØØ§ŲØŠ",
|
||||||
|
"encryption_password": "ÚŊØ°ØąŲØ§ÚŲ",
|
||||||
|
"encryption_password_placeholder": "ØĻØąØ§Û ØŠŲŲÛØŊ ØŪŲØŊÚĐØ§Øą ØŪاŲÛ ØĻÚŊØ°Ø§ØąÛØŊØ ØĻŲ ØĩŲØąØŠ ØŊØģØŠÛ ØĻØąØ§Û ØąŲ
ØēŲÚŊØ§ØąÛ ŲūØģاÚĐŲØ§ŲØŠŲŲ
Û ØŽØ§ÛÚŊØēÛŲ ÚĐŲÛØŊ",
|
||||||
|
"encryption_private_key": "ÚĐŲÛØŊ ØŪØĩŲØĩÛ",
|
||||||
|
"encryption_private_key_placeholder": "ØĻØąØ§Û ØŠŲŲÛØŊ ØŪŲØŊÚĐØ§Øą ØŪاŲÛ ØĻÚŊØ°Ø§ØąÛØŊØ ØĻŲ ØĩŲØąØŠ ØŊØģØŠÛ ØĻØąØ§Û ØąŲ
ØēŲÚŊØ§ØąÛ ŲūØģاÚĐŲØ§ŲØŠŲŲ
Û ØŽØ§ÛÚŊØēÛŲ ÚĐŲÛØŊ",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "ŲūØŊÛŲÚŊ ØģØąŲØą",
|
||||||
|
"encryption_ticket": "ØēŲ
Ø§Ų ØĻŲÛØ·",
|
||||||
"expireTime": "ØēŲ
Ø§Ų Ø§ŲŲØķØ§",
|
"expireTime": "ØēŲ
Ø§Ų Ø§ŲŲØķØ§",
|
||||||
"expired": "Ų
ŲŲØķÛ ØīØŊŲ",
|
"expired": "Ų
ŲŲØķÛ ØīØŊŲ",
|
||||||
|
"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": "Ø§ŲØŠŲØ§Ų ØŊاØŊŲ",
|
||||||
"migrateFailed": "Ø§ŲØŠŲØ§Ų ØŊاØŊŲ ŲØ§Ų
ŲŲŲ ØĻŲØŊ",
|
"migrateFailed": "Ø§ŲØŠŲØ§Ų ØŊاØŊŲ ŲØ§Ų
ŲŲŲ ØĻŲØŊ",
|
||||||
"migrated": "ØŊاØŊŲ ØĻا Ų
ŲŲŲÛØŠ Ų
ŲØŠŲŲ ØīØŊ",
|
"migrated": "ØŊاØŊŲ ØĻا Ų
ŲŲŲÛØŠ Ų
ŲØŠŲŲ ØīØŊ",
|
||||||
"migrating": "ØŊØą ØØ§Ų Ø§ŲØŠŲاŲ...",
|
"migrating": "ØŊØą ØØ§Ų Ø§ŲØŠŲاŲ...",
|
||||||
|
"mode": "ØØ§ŲØŠ",
|
||||||
"multiplex": "ÚŲØŊŲ
ŲØļŲØąŲ",
|
"multiplex": "ÚŲØŊŲ
ŲØļŲØąŲ",
|
||||||
"name": "ŲØ§Ų
",
|
"name": "ŲØ§Ų
",
|
||||||
"noData": "ŲÛÚ ØŊاØŊŲâØ§Û",
|
"noData": "ŲÛÚ ØŊاØŊŲâØ§Û",
|
||||||
"notAvailable": "ØšÛØąŲاØĻŲ ØŊØģØŠØąØģÛ",
|
"notAvailable": "ØšÛØąŲاØĻŲ ØŊØģØŠØąØģÛ",
|
||||||
|
"obfs": "ŲūŲŲØ§ŲâØģاØēÛ",
|
||||||
|
"obfs_host": "Ų
ÛØēØĻØ§Ų ŲūŲŲØ§ŲâØģاØēÛ",
|
||||||
"obfs_password": "ØąŲ
Øē ØđØĻŲØą Ø§ØŪØŠŲØ§",
|
"obfs_password": "ØąŲ
Øē ØđØĻŲØą Ø§ØŪØŠŲØ§",
|
||||||
"obfs_password_placeholder": "ØąŲ
Øē ØđØĻŲØą Ø§ØŪØŠŲØ§ ØąØ§ ŲØ§ØąØŊ ÚĐŲÛØŊ",
|
"obfs_password_placeholder": "ØąŲ
Øē ØđØĻŲØą Ø§ØŪØŠŲØ§ ØąØ§ ŲØ§ØąØŊ ÚĐŲÛØŊ",
|
||||||
|
"obfs_path": "Ų
ØģÛØą ŲūŲŲØ§ŲâØģاØēÛ",
|
||||||
"offline": "ØĒŲŲØ§ÛŲ",
|
"offline": "ØĒŲŲØ§ÛŲ",
|
||||||
|
"oneClickInstall": "ŲØĩØĻ ØĻا ÛÚĐ ÚĐŲÛÚĐ",
|
||||||
"online": "ØĒŲŲØ§ÛŲ",
|
"online": "ØĒŲŲØ§ÛŲ",
|
||||||
"onlineUsers": "ÚĐØ§ØąØĻØąØ§Ų ØĒŲŲØ§ÛŲ",
|
"onlineUsers": "ÚĐØ§ØąØĻØąØ§Ų ØĒŲŲØ§ÛŲ",
|
||||||
"padding_scheme": "Ø·ØąØ ŲūØŊÛŲÚŊ",
|
"padding_scheme": "Ø·ØąØ ŲūØŊÛŲÚŊ",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "ØģØąŲØąŲا",
|
"pageTitle": "ØģØąŲØąŲا",
|
||||||
"path": "Ų
ØģÛØą",
|
"path": "Ų
ØģÛØą",
|
||||||
"please_select": "ŲØ·ŲØ§Ų Ø§ŲØŠØŪØ§ØĻ ÚĐŲÛØŊ",
|
"please_select": "ŲØ·ŲØ§Ų Ø§ŲØŠØŪØ§ØĻ ÚĐŲÛØŊ",
|
||||||
"plugin": "ŲūÛÚĐØąØĻŲØŊÛ ŲūŲØ§ÚŊÛŲ",
|
|
||||||
"plugin_opts": "ÚŊØēÛŲŲâŲØ§Û ŲūŲØ§ÚŊÛŲ",
|
|
||||||
"port": "ŲūŲØąØŠ",
|
"port": "ŲūŲØąØŠ",
|
||||||
"protocol_configurations": "ŲūÛÚĐØąØĻŲØŊÛâŲØ§Û ŲūØąŲØŠÚĐŲ",
|
"protocol_configurations": "ŲūÛÚĐØąØĻŲØŊÛâŲØ§Û ŲūØąŲØŠÚĐŲ",
|
||||||
"protocol_configurations_desc": "ŲūØąŲØŠÚĐŲâŲØ§Û Ų
ŲØąØŊ ŲÛØ§Øē ØąØ§ ŲØđØ§Ų Ų ŲūÛÚĐØąØĻŲØŊÛ ÚĐŲÛØŊ",
|
"protocol_configurations_desc": "ŲūØąŲØŠÚĐŲâŲØ§Û Ų
ŲØąØŊ ŲÛØ§Øē ØąØ§ ŲØđØ§Ų Ų ŲūÛÚĐØąØĻŲØŊÛ ÚĐŲÛØŊ",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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": "ØĻا Ų
ŲŲŲÛØŠ Ų
ØąØŠØĻ ØīØŊ",
|
||||||
"status": "ŲØķØđÛØŠ",
|
"status": "ŲØķØđÛØŠ",
|
||||||
"subscribeId": "ØīŲØ§ØģŲ Ø§ØīØŠØąØ§ÚĐ",
|
"subscribeId": "ØīŲØ§ØģŲ Ø§ØīØŠØąØ§ÚĐ",
|
||||||
"subscription": "اØīØŠØąØ§ÚĐ",
|
"subscription": "اØīØŠØąØ§ÚĐ",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "ØŠØĢÛÛØŊ",
|
"confirm": "ØŠØĢÛÛØŊ",
|
||||||
"confirmDelete": "ØĒÛØ§ Ų
Ø·Ų
ØĶŲ ŲØģØŠÛØŊ ÚĐŲ Ų
ÛâØŪŲØ§ŲÛØŊ ØØ°Ų ÚĐŲÛØŊØ",
|
"confirmDelete": "ØĒÛØ§ Ų
Ø·Ų
ØĶŲ ŲØģØŠÛØŊ ÚĐŲ Ų
ÛâØŪŲØ§ŲÛØŊ ØØ°Ų ÚĐŲÛØŊØ",
|
||||||
"confirmOffline": "ØŠØĢÛÛØŊ ØĒŲŲØ§ÛŲ",
|
"confirmOffline": "ØŠØĢÛÛØŊ ØĒŲŲØ§ÛŲ",
|
||||||
|
"copySubscription": "ÚĐŲūÛ Ø§ØīØŠØąØ§ÚĐ",
|
||||||
|
"copySuccess": "ÚĐŲūÛ ØĻا Ų
ŲŲŲÛØŠ Ø§ŲØŽØ§Ų
ØīØŊ",
|
||||||
"create": "Ø§ÛØŽØ§ØŊ",
|
"create": "Ø§ÛØŽØ§ØŊ",
|
||||||
"createSubscription": "Ø§ÛØŽØ§ØŊ اØīØŠØąØ§ÚĐ",
|
"createSubscription": "Ø§ÛØŽØ§ØŊ اØīØŠØąØ§ÚĐ",
|
||||||
"createSuccess": "Ø§ÛØŽØ§ØŊ ØĻا Ų
ŲŲŲÛØŠ Ø§ŲØŽØ§Ų
ØīØŊ",
|
"createSuccess": "Ø§ÛØŽØ§ØŊ ØĻا Ų
ŲŲŲÛØŠ Ø§ŲØŽØ§Ų
ØīØŊ",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Valitse protokollaâĶ",
|
"select_protocol": "Valitse protokollaâĶ",
|
||||||
"select_server": "Valitse palvelinâĶ",
|
"select_server": "Valitse palvelinâĶ",
|
||||||
"server": "Palvelin",
|
"server": "Palvelin",
|
||||||
|
"sorted_success": "Lajiteltu onnistuneesti",
|
||||||
"tags": "Tunnisteet",
|
"tags": "Tunnisteet",
|
||||||
"tags_description": "Oikeuksien ryhmittelytunniste (mukaan lukien suunnitelman sitominen ja toimituskÃĪytÃĪnnÃķt).",
|
"tags_description": "Oikeuksien ryhmittelytunniste (mukaan lukien suunnitelman sitominen ja toimituskÃĪytÃĪnnÃķt).",
|
||||||
"tags_placeholder": "KÃĪytÃĪ EnteriÃĪ tai pilkkua (,) lisÃĪtÃĪksesi useita tunnisteita",
|
"tags_placeholder": "KÃĪytÃĪ EnteriÃĪ tai pilkkua (,) lisÃĪtÃĪksesi useita tunnisteita",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "Osoite",
|
|
||||||
"address_placeholder": "Palvelimen osoite",
|
|
||||||
"bandwidth_placeholder": "SyÃķtÃĪ kaistanleveys, jÃĪtÃĪ tyhjÃĪksi BBR:lle",
|
|
||||||
"basic": "Perusasetukset",
|
|
||||||
"cancel": "Peruuta",
|
|
||||||
"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ÃķtÃĪ 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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Muokkaa palvelinta",
|
"drawerEditTitle": "Muokkaa palvelinta",
|
||||||
"edit": "Muokkaa",
|
"edit": "Muokkaa",
|
||||||
"enabled": "KÃĪytÃķssÃĪ",
|
"enabled": "KÃĪytÃķssÃĪ",
|
||||||
"encryption_method": "SalausmenetelmÃĪ",
|
"encryption": "SalausmenetelmÃĪ",
|
||||||
|
"encryption_client_padding": "Asiakkaan tÃĪyte",
|
||||||
|
"encryption_mode": "Tila",
|
||||||
|
"encryption_password": "Salasana",
|
||||||
|
"encryption_password_placeholder": "JÃĪtÃĪ tyhjÃĪksi automaattista generointia varten, vaihda manuaalisesti post-kvanttisalausta varten",
|
||||||
|
"encryption_private_key": "Yksityinen avain",
|
||||||
|
"encryption_private_key_placeholder": "JÃĪtÃĪ tyhjÃĪksi automaattista generointia varten, vaihda manuaalisesti post-kvanttisalausta varten",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Palvelimen tÃĪyte",
|
||||||
|
"encryption_ticket": "Lippuaika",
|
||||||
"expireTime": "Voimassaoloaika",
|
"expireTime": "Voimassaoloaika",
|
||||||
"expired": "Vanhentunut",
|
"expired": "Vanhentunut",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Tietojen siirto epÃĪonnistui",
|
"migrateFailed": "Tietojen siirto epÃĪonnistui",
|
||||||
"migrated": "Tiedot siirretty onnistuneesti",
|
"migrated": "Tiedot siirretty onnistuneesti",
|
||||||
"migrating": "SiirretÃĪÃĪn...",
|
"migrating": "SiirretÃĪÃĪn...",
|
||||||
|
"mode": "Tila",
|
||||||
"multiplex": "Monistamo",
|
"multiplex": "Monistamo",
|
||||||
"name": "Nimi",
|
"name": "Nimi",
|
||||||
"noData": "Ei tietoja",
|
"noData": "Ei tietoja",
|
||||||
"notAvailable": "Ei saatavilla",
|
"notAvailable": "Ei saatavilla",
|
||||||
|
"obfs": "HÃĪilytys",
|
||||||
|
"obfs_host": "HÃĪilytys isÃĪntÃĪ",
|
||||||
"obfs_password": "HÃĪilytyssalasana",
|
"obfs_password": "HÃĪilytyssalasana",
|
||||||
"obfs_password_placeholder": "SyÃķtÃĪ hÃĪilytyssalasana",
|
"obfs_password_placeholder": "SyÃķtÃĪ hÃĪilytyssalasana",
|
||||||
|
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Palvelimet",
|
"pageTitle": "Palvelimet",
|
||||||
"path": "Polku",
|
"path": "Polku",
|
||||||
"please_select": "Ole hyvÃĪ ja valitse",
|
"please_select": "Ole hyvÃĪ ja valitse",
|
||||||
"plugin": "Laajennuksen asetukset",
|
|
||||||
"plugin_opts": "Laajennusvaihtoehdot",
|
|
||||||
"port": "Portti",
|
"port": "Portti",
|
||||||
"protocol_configurations": "Protokolla-asetukset",
|
"protocol_configurations": "Protokolla-asetukset",
|
||||||
"protocol_configurations_desc": "Ota kÃĪyttÃķÃķn ja mÃĪÃĪritÃĪ tarvittavat protokollatyypit",
|
"protocol_configurations_desc": "Ota kÃĪyttÃķÃķn ja mÃĪÃĪritÃĪ tarvittavat protokollatyypit",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Tila",
|
"status": "Tila",
|
||||||
"subscribeId": "Tilauksen ID",
|
"subscribeId": "Tilauksen ID",
|
||||||
"subscription": "Tilauksen",
|
"subscription": "Tilauksen",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "Vahvista",
|
"confirm": "Vahvista",
|
||||||
"confirmDelete": "Oletko varma, ettÃĪ haluat poistaa?",
|
"confirmDelete": "Oletko varma, ettÃĪ haluat poistaa?",
|
||||||
"confirmOffline": "Vahvista offline-tila",
|
"confirmOffline": "Vahvista offline-tila",
|
||||||
|
"copySubscription": "Kopioi tilaus",
|
||||||
|
"copySuccess": "Kopiointi onnistui",
|
||||||
"create": "Luo",
|
"create": "Luo",
|
||||||
"createSubscription": "Luo tilaus",
|
"createSubscription": "Luo tilaus",
|
||||||
"createSuccess": "Luonti onnistui",
|
"createSuccess": "Luonti onnistui",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "SÃĐlectionner un protocoleâĶ",
|
"select_protocol": "SÃĐlectionner un protocoleâĶ",
|
||||||
"select_server": "SÃĐlectionner un serveurâĶ",
|
"select_server": "SÃĐlectionner un serveurâĶ",
|
||||||
"server": "Serveur",
|
"server": "Serveur",
|
||||||
|
"sorted_success": "TriÃĐ avec succÃĻs",
|
||||||
"tags": "Ãtiquettes",
|
"tags": "Ãtiquettes",
|
||||||
"tags_description": "Ãtiquette de regroupement de permissions (y compris l'association de plan et les politiques de livraison).",
|
"tags_description": "Ãtiquette de regroupement de permissions (y compris l'association de plan et les politiques de livraison).",
|
||||||
"tags_placeholder": "Utilisez EntrÃĐe ou une virgule (,) pour ajouter plusieurs ÃĐtiquettes",
|
"tags_placeholder": "Utilisez EntrÃĐe ou une virgule (,) pour ajouter plusieurs ÃĐtiquettes",
|
||||||
|
|||||||
@@ -1,38 +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",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Modifier le serveur",
|
"drawerEditTitle": "Modifier le serveur",
|
||||||
"edit": "Modifier",
|
"edit": "Modifier",
|
||||||
"enabled": "ActivÃĐ",
|
"enabled": "ActivÃĐ",
|
||||||
"encryption_method": "MÃĐthode de chiffrement",
|
"encryption": "MÃĐthode de chiffrement",
|
||||||
|
"encryption_client_padding": "Remplissage client",
|
||||||
|
"encryption_mode": "Mode",
|
||||||
|
"encryption_password": "Mot de passe",
|
||||||
|
"encryption_password_placeholder": "Laissez vide pour une gÃĐnÃĐration automatique, remplacez manuellement pour un chiffrement post-quantique",
|
||||||
|
"encryption_private_key": "ClÃĐ privÃĐe",
|
||||||
|
"encryption_private_key_placeholder": "Laissez vide pour une gÃĐnÃĐration automatique, remplacez manuellement pour un chiffrement post-quantique",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Remplissage serveur",
|
||||||
|
"encryption_ticket": "Temps de ticket",
|
||||||
"expireTime": "Temps d'expiration",
|
"expireTime": "Temps d'expiration",
|
||||||
"expired": "ExpirÃĐ",
|
"expired": "ExpirÃĐ",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Ãchec de la migration des donnÃĐes",
|
"migrateFailed": "Ãchec de la migration des donnÃĐes",
|
||||||
"migrated": "DonnÃĐes migrÃĐes avec succÃĻs",
|
"migrated": "DonnÃĐes migrÃĐes avec succÃĻs",
|
||||||
"migrating": "Migration en cours...",
|
"migrating": "Migration en cours...",
|
||||||
|
"mode": "Mode",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Nom",
|
"name": "Nom",
|
||||||
"noData": "Aucune donnÃĐe",
|
"noData": "Aucune donnÃĐe",
|
||||||
"notAvailable": "N/A",
|
"notAvailable": "N/A",
|
||||||
|
"obfs": "Obfuscation",
|
||||||
|
"obfs_host": "HÃīte Obfs",
|
||||||
"obfs_password": "Mot de passe d'obfuscation",
|
"obfs_password": "Mot de passe d'obfuscation",
|
||||||
"obfs_password_placeholder": "Entrez le mot de passe d'obfuscation",
|
"obfs_password_placeholder": "Entrez le mot de passe d'obfuscation",
|
||||||
|
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Serveurs",
|
"pageTitle": "Serveurs",
|
||||||
"path": "Chemin",
|
"path": "Chemin",
|
||||||
"please_select": "Veuillez sÃĐlectionner",
|
"please_select": "Veuillez sÃĐlectionner",
|
||||||
"plugin": "Configuration du plugin",
|
|
||||||
"plugin_opts": "Options du plugin",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "Configurations de protocole",
|
"protocol_configurations": "Configurations de protocole",
|
||||||
"protocol_configurations_desc": "Activer et configurer les types de protocole requis",
|
"protocol_configurations_desc": "Activer et configurer les types de protocole requis",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Statut",
|
"status": "Statut",
|
||||||
"subscribeId": "ID d'abonnement",
|
"subscribeId": "ID d'abonnement",
|
||||||
"subscription": "Abonnement",
|
"subscription": "Abonnement",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "Confirmer",
|
"confirm": "Confirmer",
|
||||||
"confirmDelete": "Ãtes-vous sÃŧr de vouloir supprimer ?",
|
"confirmDelete": "Ãtes-vous sÃŧr de vouloir supprimer ?",
|
||||||
"confirmOffline": "Confirmer hors ligne",
|
"confirmOffline": "Confirmer hors ligne",
|
||||||
|
"copySubscription": "Copier l'abonnement",
|
||||||
|
"copySuccess": "Copie rÃĐussie",
|
||||||
"create": "CrÃĐer",
|
"create": "CrÃĐer",
|
||||||
"createSubscription": "CrÃĐer un abonnement",
|
"createSubscription": "CrÃĐer un abonnement",
|
||||||
"createSuccess": "CrÃĐation rÃĐussie",
|
"createSuccess": "CrÃĐation rÃĐussie",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "āĪŠāĨāΰāĨāĪāĨāĪāĨāĪē āĪāĨāĪĻāĨāĪâĶ",
|
"select_protocol": "āĪŠāĨāΰāĨāĪāĨāĪāĨāĪē āĪāĨāĪĻāĨāĪâĶ",
|
||||||
"select_server": "āĪļāΰāĨāĪĩāΰ āĪāĨāĪĻāĨāĪâĶ",
|
"select_server": "āĪļāΰāĨāĪĩāΰ āĪāĨāĪĻāĨāĪâĶ",
|
||||||
"server": "āĪļāΰāĨāĪĩāΰ",
|
"server": "āĪļāΰāĨāĪĩāΰ",
|
||||||
|
"sorted_success": "āĪļāĪŦāĪēāĪĪāĪūāĪŠāĨāΰāĨāĪĩāĪ āĪāĨāΰāĪŪāĪŽāĪĶāĨāΧ āĪāĪŋāĪŊāĪū āĪāĪŊāĪū",
|
||||||
"tags": "āĪāĨāĪ",
|
"tags": "āĪāĨāĪ",
|
||||||
"tags_description": "āĪ
āĪĻāĨāĪŪāĪĪāĪŋ āĪļāĪŪāĨāĪđ āĪāĨāĪ (āĪŊāĨāĪāĪĻāĪū āĪŽāĪūāĪāĪāĪĄāĪŋāĪāĪ āĪāΰ āĪĩāĪŋāĪĪāΰāĪĢ āĪĻāĨāĪĪāĪŋāĪŊāĨāĪ āĪļāĪđāĪŋāĪĪ)āĨĪ",
|
"tags_description": "āĪ
āĪĻāĨāĪŪāĪĪāĪŋ āĪļāĪŪāĨāĪđ āĪāĨāĪ (āĪŊāĨāĪāĪĻāĪū āĪŽāĪūāĪāĪāĪĄāĪŋāĪāĪ āĪāΰ āĪĩāĪŋāĪĪāΰāĪĢ āĪĻāĨāĪĪāĪŋāĪŊāĨāĪ āĪļāĪđāĪŋāĪĪ)āĨĪ",
|
||||||
"tags_placeholder": "āĪāĪāĪūāΧāĪŋāĪ āĪāĨāĪ āĪāĨāĪĄāĪžāĪĻāĨ āĪāĨ āĪēāĪŋāĪ Enter āĪŊāĪū āĪāĨāĪŪāĪū (,) āĪāĪū āĪāĪŠāĪŊāĨāĪ āĪāΰāĨāĪ",
|
"tags_placeholder": "āĪāĪāĪūāΧāĪŋāĪ āĪāĨāĪ āĪāĨāĪĄāĪžāĪĻāĨ āĪāĨ āĪēāĪŋāĪ Enter āĪŊāĪū āĪāĨāĪŪāĪū (,) āĪāĪū āĪāĪŠāĪŊāĨāĪ āĪāΰāĨāĪ",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "āĪŠāĪĪāĪū",
|
|
||||||
"address_placeholder": "āĪļāΰāĨāĪĩāΰ āĪāĪū āĪŠāĪĪāĪū",
|
|
||||||
"bandwidth_placeholder": "āĪŽāĨāĪāĪĄāĪĩāĪŋāĪĄāĨāĪĨ āĪĶāΰāĨāĪ āĪāΰāĨāĪ, BBR āĪāĨ āĪēāĪŋāĪ āĪāĪūāĪēāĨ āĪāĨāĪĄāĪžāĨāĪ",
|
|
||||||
"basic": "āĪŽāĨāĪĻāĪŋāĪŊāĪūāĪĶāĨ āĪāĨāĪĻāĨāĪŦāĪžāĪŋāĪāΰāĨāĪķāĪĻ",
|
|
||||||
"cancel": "āΰāĪĶāĨāĪĶ āĪāΰāĨāĪ",
|
|
||||||
"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": "āĪĶāĨāĪķ",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "āĪļāΰāĨāĪĩāΰ āĪļāĪāĪŠāĪūāĪĶāĪŋāĪĪ āĪāΰāĨāĪ",
|
"drawerEditTitle": "āĪļāΰāĨāĪĩāΰ āĪļāĪāĪŠāĪūāĪĶāĪŋāĪĪ āĪāΰāĨāĪ",
|
||||||
"edit": "āĪļāĪāĪŠāĪūāĪĶāĪŋāĪĪ āĪāΰāĨāĪ",
|
"edit": "āĪļāĪāĪŠāĪūāĪĶāĪŋāĪĪ āĪāΰāĨāĪ",
|
||||||
"enabled": "āĪļāĪāĨāĪ·āĪŪ",
|
"enabled": "āĪļāĪāĨāĪ·āĪŪ",
|
||||||
"encryption_method": "āĪāĪĻāĨāĪāĨāΰāĪŋāĪŠāĨāĪķāĪĻ āĪĩāĪŋāΧāĪŋ",
|
"encryption": "āĪāĪĻāĨāĪāĨāΰāĪŋāĪŠāĨāĪķāĪĻ āĪĩāĪŋāΧāĪŋ",
|
||||||
|
"encryption_client_padding": "āĪāĨāĪēāĪūāĪāĪāĪ āĪŠāĨāĪĄāĪŋāĪāĪ",
|
||||||
|
"encryption_mode": "āĪŪāĨāĪĄ",
|
||||||
|
"encryption_password": "āĪŠāĪūāĪļāĪĩāΰāĨāĪĄ",
|
||||||
|
"encryption_password_placeholder": "āĪļāĨāĪĩāĪĪāĪ āĪāĪĪāĨāĪŠāĪĻāĨāĪĻ āĪāΰāĪĻāĨ āĪāĨ āĪēāĪŋāĪ āĪāĪūāĪēāĨ āĪāĨāĪĄāĪžāĨāĪ, āĪŠāĨāĪļāĨāĪ-āĪāĨāĪĩāĪūāĪāĪāĪŪ āĪāĪĻāĨāĪāĨāΰāĪŋāĪŠāĨāĪķāĪĻ āĪāĨ āĪēāĪŋāĪ āĪŪāĨāĪĻāĨāĪŊāĨāĪ
āĪē āΰāĨāĪŠ āĪļāĨ āĪŽāĪĶāĪēāĨāĪ",
|
||||||
|
"encryption_private_key": "āĪĻāĪŋāĪāĨ āĪāĨāĪāĪāĨ",
|
||||||
|
"encryption_private_key_placeholder": "āĪļāĨāĪĩāĪĪāĪ āĪāĪĪāĨāĪŠāĪĻāĨāĪĻ āĪāΰāĪĻāĨ āĪāĨ āĪēāĪŋāĪ āĪāĪūāĪēāĨ āĪāĨāĪĄāĪžāĨāĪ, āĪŠāĨāĪļāĨāĪ-āĪāĨāĪĩāĪūāĪāĪāĪŪ āĪāĪĻāĨāĪāĨāΰāĪŋāĪŠāĨāĪķāĪĻ āĪāĨ āĪēāĪŋāĪ āĪŪāĨāĪĻāĨāĪŊāĨāĪ
āĪē āΰāĨāĪŠ āĪļāĨ āĪŽāĪĶāĪēāĨāĪ",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "āĪļāΰāĨāĪĩāΰ āĪŠāĨāĪĄāĪŋāĪāĪ",
|
||||||
|
"encryption_ticket": "āĪāĪŋāĪāĪ āĪļāĪŪāĪŊ",
|
||||||
"expireTime": "āĪļāĪŪāĪūāĪŠāĨāĪĪāĪŋ āĪļāĪŪāĪŊ",
|
"expireTime": "āĪļāĪŪāĪūāĪŠāĨāĪĪāĪŋ āĪļāĪŪāĪŊ",
|
||||||
"expired": "āĪļāĪŪāĪŊ āĪļāĪŪāĪūāĪŠāĨāĪĪ",
|
"expired": "āĪļāĪŪāĪŊ āĪļāĪŪāĪūāĪŠāĨāĪĪ",
|
||||||
|
"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": "āĪĄāĨāĪāĪū āĪŪāĪūāĪāĪāĨāΰāĨāĪ āĪāΰāĨāĪ",
|
||||||
"migrateFailed": "āĪĄāĨāĪāĪū āĪŪāĪūāĪāĪāĨāΰāĨāĪķāĪĻ āĪĩāĪŋāĪŦāĪē",
|
"migrateFailed": "āĪĄāĨāĪāĪū āĪŪāĪūāĪāĪāĨāΰāĨāĪķāĪĻ āĪĩāĪŋāĪŦāĪē",
|
||||||
"migrated": "āĪĄāĨāĪāĪū āĪļāĪŦāĪēāĪĪāĪūāĪŠāĨāΰāĨāĪĩāĪ āĪŪāĪūāĪāĪāĨāΰāĨāĪ āĪāĪŋāĪŊāĪū āĪāĪŊāĪū",
|
"migrated": "āĪĄāĨāĪāĪū āĪļāĪŦāĪēāĪĪāĪūāĪŠāĨāΰāĨāĪĩāĪ āĪŪāĪūāĪāĪāĨāΰāĨāĪ āĪāĪŋāĪŊāĪū āĪāĪŊāĪū",
|
||||||
"migrating": "āĪŪāĪūāĪāĪāĨāΰāĨāĪ āĪāĪŋāĪŊāĪū āĪāĪū āΰāĪđāĪū āĪđāĨ...",
|
"migrating": "āĪŪāĪūāĪāĪāĨāΰāĨāĪ āĪāĪŋāĪŊāĪū āĪāĪū āΰāĪđāĪū āĪđāĨ...",
|
||||||
|
"mode": "āĪŪāĨāĪĄ",
|
||||||
"multiplex": "āĪŪāĪēāĨāĪāĨāĪŠāĨāĪēāĨāĪāĨāĪļ",
|
"multiplex": "āĪŪāĪēāĨāĪāĨāĪŠāĨāĪēāĨāĪāĨāĪļ",
|
||||||
"name": "āĪĻāĪūāĪŪ",
|
"name": "āĪĻāĪūāĪŪ",
|
||||||
"noData": "āĪāĨāĪ āĪĄāĨāĪāĪū āĪĻāĪđāĨāĪ",
|
"noData": "āĪāĨāĪ āĪĄāĨāĪāĪū āĪĻāĪđāĨāĪ",
|
||||||
"notAvailable": "āĪāĪŠāĪēāĪŽāĨāΧ āĪĻāĪđāĨāĪ",
|
"notAvailable": "āĪāĪŠāĪēāĪŽāĨāΧ āĪĻāĪđāĨāĪ",
|
||||||
|
"obfs": "āĪāĪŽāĪŦāĪļāĨāĪāĨāĪķāĪĻ",
|
||||||
|
"obfs_host": "āĪāĪŽāĪŦāĨāĪļ āĪđāĨāĪļāĨāĪ",
|
||||||
"obfs_password": "āĪ
āĪĩāĪķāĨāĪ·āĪĢ āĪŠāĪūāĪļāĪĩāΰāĨāĪĄ",
|
"obfs_password": "āĪ
āĪĩāĪķāĨāĪ·āĪĢ āĪŠāĪūāĪļāĪĩāΰāĨāĪĄ",
|
||||||
"obfs_password_placeholder": "āĪ
āĪĩāĪķāĨāĪ·āĪĢ āĪŠāĪūāĪļāĪĩāΰāĨāĪĄ āĪĶāΰāĨāĪ āĪāΰāĨāĪ",
|
"obfs_password_placeholder": "āĪ
āĪĩāĪķāĨāĪ·āĪĢ āĪŠāĪūāĪļāĪĩāΰāĨāĪĄ āĪĶāΰāĨāĪ āĪāΰāĨāĪ",
|
||||||
|
"obfs_path": "āĪāĪŽāĪŦāĨāĪļ āĪŠāĪĨ",
|
||||||
"offline": "āĪāĪŦāĪēāĪūāĪāĪĻ",
|
"offline": "āĪāĪŦāĪēāĪūāĪāĪĻ",
|
||||||
|
"oneClickInstall": "āĪāĪ-āĪāĨāĪēāĪŋāĪ āĪāĪāĪļāĨāĪāĨāĪēāĨāĪķāĪĻ",
|
||||||
"online": "āĪāĪĻāĪēāĪūāĪāĪĻ",
|
"online": "āĪāĪĻāĪēāĪūāĪāĪĻ",
|
||||||
"onlineUsers": "āĪāĪĻāĪēāĪūāĪāĪĻ āĪāĪŠāĪŊāĨāĪāĪāΰāĨāĪĪāĪū",
|
"onlineUsers": "āĪāĪĻāĪēāĪūāĪāĪĻ āĪāĪŠāĪŊāĨāĪāĪāΰāĨāĪĪāĪū",
|
||||||
"padding_scheme": "āĪŠāĨāĪĄāĪŋāĪāĪ āĪŊāĨāĪāĪĻāĪū",
|
"padding_scheme": "āĪŠāĨāĪĄāĪŋāĪāĪ āĪŊāĨāĪāĪĻāĪū",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "āĪļāΰāĨāĪĩāΰ",
|
"pageTitle": "āĪļāΰāĨāĪĩāΰ",
|
||||||
"path": "āĪŠāĪĨ",
|
"path": "āĪŠāĪĨ",
|
||||||
"please_select": "āĪāĨāĪŠāĪŊāĪū āĪāĨāĪĻāĨāĪ",
|
"please_select": "āĪāĨāĪŠāĪŊāĪū āĪāĨāĪĻāĨāĪ",
|
||||||
"plugin": "āĪŠāĨāĪēāĪāĪāĪĻ āĪāĨāĪĻāĨāĪŦāĪžāĪŋāĪāΰāĨāĪķāĪĻ",
|
|
||||||
"plugin_opts": "āĪŠāĨāĪēāĪāĪāĪĻ āĪĩāĪŋāĪāĪēāĨāĪŠ",
|
|
||||||
"port": "āĪŠāĨāΰāĨāĪ",
|
"port": "āĪŠāĨāΰāĨāĪ",
|
||||||
"protocol_configurations": "āĪŠāĨāΰāĨāĪāĨāĪāĨāĪē āĪāĨāĪĻāĨāĪŦāĪžāĪŋāĪāΰāĨāĪķāĪĻ",
|
"protocol_configurations": "āĪŠāĨāΰāĨāĪāĨāĪāĨāĪē āĪāĨāĪĻāĨāĪŦāĪžāĪŋāĪāΰāĨāĪķāĪĻ",
|
||||||
"protocol_configurations_desc": "āĪāĪĩāĪķāĨāĪŊāĪ āĪŠāĨāΰāĨāĪāĨāĪāĨāĪē āĪŠāĨāΰāĪāĪūāΰāĨāĪ āĪāĨ āĪļāĪāĨāĪ·āĪŪ āĪāΰ āĪāĨāĪĻāĨāĪŦāĪžāĪŋāĪāΰ āĪāΰāĨāĪ",
|
"protocol_configurations_desc": "āĪāĪĩāĪķāĨāĪŊāĪ āĪŠāĨāΰāĨāĪāĨāĪāĨāĪē āĪŠāĨāΰāĪāĪūāΰāĨāĪ āĪāĨ āĪļāĪāĨāĪ·āĪŪ āĪāΰ āĪāĨāĪĻāĨāĪŦāĪžāĪŋāĪāΰ āĪāΰāĨāĪ",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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": "āĪļāĪŦāĪēāĪĪāĪū āĪļāĨ āĪāĨāΰāĪŪāĪŽāĪĶāĨāΧ āĪāĪŋāĪŊāĪū āĪāĪŊāĪū",
|
||||||
"status": "āĪļāĨāĪĨāĪŋāĪĪāĪŋ",
|
"status": "āĪļāĨāĪĨāĪŋāĪĪāĪŋ",
|
||||||
"subscribeId": "āĪļāĪĶāĪļāĨāĪŊāĪĪāĪū āĪāĪāĪĄāĨ",
|
"subscribeId": "āĪļāĪĶāĪļāĨāĪŊāĪĪāĪū āĪāĪāĪĄāĨ",
|
||||||
"subscription": "āĪļāĪĶāĪļāĨāĪŊāĪĪāĪū",
|
"subscription": "āĪļāĪĶāĪļāĨāĪŊāĪĪāĪū",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "āĪŠāĨāĪ·āĨāĪāĪŋ āĪāΰāĨāĪ",
|
"confirm": "āĪŠāĨāĪ·āĨāĪāĪŋ āĪāΰāĨāĪ",
|
||||||
"confirmDelete": "āĪāĨāĪŊāĪū āĪāĪŠ āĪĩāĪūāĪāĪ āĪđāĪāĪūāĪĻāĪū āĪāĪūāĪđāĪĪāĨ āĪđāĨāĪ?",
|
"confirmDelete": "āĪāĨāĪŊāĪū āĪāĪŠ āĪĩāĪūāĪāĪ āĪđāĪāĪūāĪĻāĪū āĪāĪūāĪđāĪĪāĨ āĪđāĨāĪ?",
|
||||||
"confirmOffline": "āĪāĪŦāĪžāĪēāĪūāĪāĪĻ āĪāĨ āĪŠāĨāĪ·āĨāĪāĪŋ āĪāΰāĨāĪ",
|
"confirmOffline": "āĪāĪŦāĪžāĪēāĪūāĪāĪĻ āĪāĨ āĪŠāĨāĪ·āĨāĪāĪŋ āĪāΰāĨāĪ",
|
||||||
|
"copySubscription": "āĪļāĪĶāĪļāĨāĪŊāĪĪāĪū āĪāĨāĪŠāĨ āĪāΰāĨāĪ",
|
||||||
|
"copySuccess": "āĪāĨāĪŠāĨ āĪļāĪŦāĪē",
|
||||||
"create": "āĪļāĨāĪāĪĻ",
|
"create": "āĪļāĨāĪāĪĻ",
|
||||||
"createSubscription": "āĪļāĪĶāĪļāĨāĪŊāĪĪāĪū āĪŽāĪĻāĪūāĪāĪ",
|
"createSubscription": "āĪļāĪĶāĪļāĨāĪŊāĪĪāĪū āĪŽāĪĻāĪūāĪāĪ",
|
||||||
"createSuccess": "āĪļāĨāĪāĪĻ āĪļāĪŦāĪē",
|
"createSuccess": "āĪļāĨāĪāĪĻ āĪļāĪŦāĪē",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "VÃĄlassza ki a protokolltâĶ",
|
"select_protocol": "VÃĄlassza ki a protokolltâĶ",
|
||||||
"select_server": "VÃĄlassza ki a szervertâĶ",
|
"select_server": "VÃĄlassza ki a szervertâĶ",
|
||||||
"server": "Szerver",
|
"server": "Szerver",
|
||||||
|
"sorted_success": "Sikeresen rendezve",
|
||||||
"tags": "CÃmkÃĐk",
|
"tags": "CÃmkÃĐk",
|
||||||
"tags_description": "EngedÃĐlyezÃĐsi csoportosÃtÃģ cÃmke (beleÃĐrtve a tervkÃķtÃĐst ÃĐs a szÃĄllÃtÃĄsi irÃĄnyelveket).",
|
"tags_description": "EngedÃĐlyezÃĐsi csoportosÃtÃģ cÃmke (beleÃĐrtve a tervkÃķtÃĐst ÃĐs a szÃĄllÃtÃĄsi irÃĄnyelveket).",
|
||||||
"tags_placeholder": "TÃķbb cÃmke hozzÃĄadÃĄsÃĄhoz hasznÃĄlja az Entert vagy a vesszÅt (,)",
|
"tags_placeholder": "TÃķbb cÃmke hozzÃĄadÃĄsÃĄhoz hasznÃĄlja az Entert vagy a vesszÅt (,)",
|
||||||
|
|||||||
@@ -1,38 +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",
|
|
||||||
"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ÃĄltozÃģk",
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Szerver szerkesztÃĐse",
|
"drawerEditTitle": "Szerver szerkesztÃĐse",
|
||||||
"edit": "SzerkesztÃĐs",
|
"edit": "SzerkesztÃĐs",
|
||||||
"enabled": "EngedÃĐlyezve",
|
"enabled": "EngedÃĐlyezve",
|
||||||
"encryption_method": "TitkosÃtÃĄsi mÃģdszer",
|
"encryption": "TitkosÃtÃĄsi mÃģdszer",
|
||||||
|
"encryption_client_padding": "Kliens kitÃķltÃĐs",
|
||||||
|
"encryption_mode": "MÃģd",
|
||||||
|
"encryption_password": "JelszÃģ",
|
||||||
|
"encryption_password_placeholder": "Hagyja Þresen az automatikus generÃĄlÃĄshoz, cserÃĐlje ki kÃĐzzel a poszt-kvantum titkosÃtÃĄshoz",
|
||||||
|
"encryption_private_key": "PrivÃĄt kulcs",
|
||||||
|
"encryption_private_key_placeholder": "Hagyja Þresen az automatikus generÃĄlÃĄshoz, cserÃĐlje ki kÃĐzzel a poszt-kvantum titkosÃtÃĄshoz",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Szerver kitÃķltÃĐs",
|
||||||
|
"encryption_ticket": "Jegy idÅ",
|
||||||
"expireTime": "LejÃĄrati idÅ",
|
"expireTime": "LejÃĄrati idÅ",
|
||||||
"expired": "LejÃĄrt",
|
"expired": "LejÃĄrt",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Az adatok migrÃĄlÃĄsa sikertelen",
|
"migrateFailed": "Az adatok migrÃĄlÃĄsa sikertelen",
|
||||||
"migrated": "Az adatok sikeresen migrÃĄlva",
|
"migrated": "Az adatok sikeresen migrÃĄlva",
|
||||||
"migrating": "MigrÃĄlÃĄs...",
|
"migrating": "MigrÃĄlÃĄs...",
|
||||||
|
"mode": "MÃģd",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "NÃĐv",
|
"name": "NÃĐv",
|
||||||
"noData": "Nincs adat",
|
"noData": "Nincs adat",
|
||||||
"notAvailable": "N/A",
|
"notAvailable": "N/A",
|
||||||
|
"obfs": "ObfuszkÃĄlÃĄs",
|
||||||
|
"obfs_host": "Obfs gazda",
|
||||||
"obfs_password": "ObfuszkÃĄlÃĄs jelszÃģ",
|
"obfs_password": "ObfuszkÃĄlÃĄs jelszÃģ",
|
||||||
"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",
|
||||||
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Szerverek",
|
"pageTitle": "Szerverek",
|
||||||
"path": "Ãtvonal",
|
"path": "Ãtvonal",
|
||||||
"please_select": "KÃĐrjÞk, vÃĄlasszon",
|
"please_select": "KÃĐrjÞk, vÃĄlasszon",
|
||||||
"plugin": "BÅvÃtmÃĐny BeÃĄllÃtÃĄsok",
|
|
||||||
"plugin_opts": "BÅvÃtmÃĐny OpciÃģk",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "Protokoll BeÃĄllÃtÃĄsok",
|
"protocol_configurations": "Protokoll BeÃĄllÃtÃĄsok",
|
||||||
"protocol_configurations_desc": "EngedÃĐlyezze ÃĐs konfigurÃĄlja a szÞksÃĐges protokolltÃpusokat",
|
"protocol_configurations_desc": "EngedÃĐlyezze ÃĐs konfigurÃĄlja a szÞksÃĐges protokolltÃpusokat",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Ãllapot",
|
"status": "Ãllapot",
|
||||||
"subscribeId": "ElÅfizetÃĐsi ID",
|
"subscribeId": "ElÅfizetÃĐsi ID",
|
||||||
"subscription": "ElÅfizetÃĐs",
|
"subscription": "ElÅfizetÃĐs",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "MegerÅsÃtÃĐs",
|
"confirm": "MegerÅsÃtÃĐs",
|
||||||
"confirmDelete": "Biztosan tÃķrÃķlni szeretnÃĐ?",
|
"confirmDelete": "Biztosan tÃķrÃķlni szeretnÃĐ?",
|
||||||
"confirmOffline": "MegerÅsÃtÃĐs offline",
|
"confirmOffline": "MegerÅsÃtÃĐs offline",
|
||||||
|
"copySubscription": "ElÅfizetÃĐs mÃĄsolÃĄsa",
|
||||||
|
"copySuccess": "MÃĄsolÃĄs sikeres",
|
||||||
"create": "LÃĐtrehozÃĄs",
|
"create": "LÃĐtrehozÃĄs",
|
||||||
"createSubscription": "ElÅfizetÃĐs lÃĐtrehozÃĄsa",
|
"createSubscription": "ElÅfizetÃĐs lÃĐtrehozÃĄsa",
|
||||||
"createSuccess": "Sikeres lÃĐtrehozÃĄs",
|
"createSuccess": "Sikeres lÃĐtrehozÃĄs",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "ããããģãŦãéļæâĶ",
|
"select_protocol": "ããããģãŦãéļæâĶ",
|
||||||
"select_server": "ãĩãžããžãéļæâĶ",
|
"select_server": "ãĩãžããžãéļæâĶ",
|
||||||
"server": "ãĩãžããž",
|
"server": "ãĩãžããž",
|
||||||
|
"sorted_success": "æĢåļļãŦã―ãžããããūãã",
|
||||||
"tags": "ãŋã°",
|
"tags": "ãŋã°",
|
||||||
"tags_description": "æĻĐéã°ãŦãžãåãŋã°ïžããĐãģããĪãģããĢãģã°ãããģé
äŋĄããŠã·ãžãåŦãïžã",
|
"tags_description": "æĻĐéã°ãŦãžãåãŋã°ïžããĐãģããĪãģããĢãģã°ãããģé
äŋĄããŠã·ãžãåŦãïžã",
|
||||||
"tags_placeholder": "čĪæ°ãŪãŋã°ãčŋ―å ãããŦãŊEnterãūããŊãŦãģã(,)ãä―ŋįĻããĶãã ãã",
|
"tags_placeholder": "čĪæ°ãŪãŋã°ãčŋ―å ãããŦãŊEnterãūããŊãŦãģã(,)ãä―ŋįĻããĶãã ãã",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "ãĒããŽãđ",
|
|
||||||
"address_placeholder": "ãĩãžããžãĒããŽãđ",
|
|
||||||
"bandwidth_placeholder": "åļŊååđ
ãå
ĨåããĶãã ãããBBRãŪå īåãŊįĐšį―ãŪãūãūãŦããĶãã ããã",
|
|
||||||
"basic": "åšæŽčĻåŪ",
|
|
||||||
"cancel": "ããĢãģãŧãŦ",
|
|
||||||
"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": "å―",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "ãĩãžããžãį·Ļé",
|
"drawerEditTitle": "ãĩãžããžãį·Ļé",
|
||||||
"edit": "į·Ļé",
|
"edit": "į·Ļé",
|
||||||
"enabled": "æåđ",
|
"enabled": "æåđ",
|
||||||
"encryption_method": "æå·åæđåž",
|
"encryption": "æå·åæđåž",
|
||||||
|
"encryption_client_padding": "ãŊãĐãĪãĒãģããããĢãģã°",
|
||||||
|
"encryption_mode": "ãĒãžã",
|
||||||
|
"encryption_password": "ããđãŊãžã",
|
||||||
|
"encryption_password_placeholder": "čŠåįæãŪãããŦįĐšį―ãŪãūãūãŦããããđãéåæå·åãŪãããŦæåã§į―ŪãæããĶãã ãã",
|
||||||
|
"encryption_private_key": "į§åŊéĩ",
|
||||||
|
"encryption_private_key_placeholder": "čŠåįæãŪãããŦįĐšį―ãŪãūãūãŦããããđãéåæå·åãŪãããŦæåã§į―ŪãæããĶãã ãã",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "ãĩãžããžãããĢãģã°",
|
||||||
|
"encryption_ticket": "ããąããæé",
|
||||||
"expireTime": "æåđæé",
|
"expireTime": "æåđæé",
|
||||||
"expired": "æéåã",
|
"expired": "æéåã",
|
||||||
|
"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": "ããžãŋãį§ŧčĄãã",
|
||||||
"migrateFailed": "ããžãŋãŪį§ŧčĄãŦåĪąæããūãã",
|
"migrateFailed": "ããžãŋãŪį§ŧčĄãŦåĪąæããūãã",
|
||||||
"migrated": "ããžãŋãæĢåļļãŦį§ŧčĄãããūãã",
|
"migrated": "ããžãŋãæĢåļļãŦį§ŧčĄãããūãã",
|
||||||
"migrating": "į§ŧčĄäļ...",
|
"migrating": "į§ŧčĄäļ...",
|
||||||
|
"mode": "ãĒãžã",
|
||||||
"multiplex": "ããŦãããŽããŊãđ",
|
"multiplex": "ããŦãããŽããŊãđ",
|
||||||
"name": "åå",
|
"name": "åå",
|
||||||
"noData": "ããžãŋãŠã",
|
"noData": "ããžãŋãŠã",
|
||||||
"notAvailable": "åĐįĻäļåŊ",
|
"notAvailable": "åĐįĻäļåŊ",
|
||||||
|
"obfs": "éĢčŠå",
|
||||||
|
"obfs_host": "éĢčŠåããđã",
|
||||||
"obfs_password": "éĢčŠåããđãŊãžã",
|
"obfs_password": "éĢčŠåããđãŊãžã",
|
||||||
"obfs_password_placeholder": "éĢčŠåããđãŊãžããå
ĨåããĶãã ãã",
|
"obfs_password_placeholder": "éĢčŠåããđãŊãžããå
ĨåããĶãã ãã",
|
||||||
|
"obfs_path": "éĢčŠåããđ",
|
||||||
"offline": "ãŠããĐãĪãģ",
|
"offline": "ãŠããĐãĪãģ",
|
||||||
|
"oneClickInstall": "ãŊãģãŊãŠããŊãĪãģãđããžãŦ",
|
||||||
"online": "ãŠãģãĐãĪãģ",
|
"online": "ãŠãģãĐãĪãģ",
|
||||||
"onlineUsers": "ãŠãģãĐãĪãģãĶãžãķãž",
|
"onlineUsers": "ãŠãģãĐãĪãģãĶãžãķãž",
|
||||||
"padding_scheme": "ãããĢãģã°ãđããžã ",
|
"padding_scheme": "ãããĢãģã°ãđããžã ",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "ãĩãžããž",
|
"pageTitle": "ãĩãžããž",
|
||||||
"path": "ããđ",
|
"path": "ããđ",
|
||||||
"please_select": "éļæããĶãã ãã",
|
"please_select": "éļæããĶãã ãã",
|
||||||
"plugin": "ããĐã°ãĪãģčĻåŪ",
|
|
||||||
"plugin_opts": "ããĐã°ãĪãģãŠãã·ã§ãģ",
|
|
||||||
"port": "ããžã",
|
"port": "ããžã",
|
||||||
"protocol_configurations": "ããããģãŦčĻåŪ",
|
"protocol_configurations": "ããããģãŦčĻåŪ",
|
||||||
"protocol_configurations_desc": "åŋ
čĶãŠããããģãŦãŋãĪããæåđãŦããĶčĻåŪããūã",
|
"protocol_configurations_desc": "åŋ
čĶãŠããããģãŦãŋãĪããæåđãŦããĶčĻåŪããūã",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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": "æĢåļļãŦã―ãžããããūãã",
|
||||||
"status": "ãđããžãŋãđ",
|
"status": "ãđããžãŋãđ",
|
||||||
"subscribeId": "ãĩããđãŊãŠãã·ã§ãģID",
|
"subscribeId": "ãĩããđãŊãŠãã·ã§ãģID",
|
||||||
"subscription": "ãĩããđãŊãŠãã·ã§ãģ",
|
"subscription": "ãĩããđãŊãŠãã·ã§ãģ",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "įĒščŠ",
|
"confirm": "įĒščŠ",
|
||||||
"confirmDelete": "åéĪããĶãããããã§ããïž",
|
"confirmDelete": "åéĪããĶãããããã§ããïž",
|
||||||
"confirmOffline": "ãŠããĐãĪãģãįĒščŠ",
|
"confirmOffline": "ãŠããĐãĪãģãįĒščŠ",
|
||||||
|
"copySubscription": "ãĩããđãŊãŠãã·ã§ãģããģããž",
|
||||||
|
"copySuccess": "ãģããžãæåããūãã",
|
||||||
"create": "ä―æ",
|
"create": "ä―æ",
|
||||||
"createSubscription": "ãĩããđãŊãŠãã·ã§ãģãä―æ",
|
"createSubscription": "ãĩããđãŊãŠãã·ã§ãģãä―æ",
|
||||||
"createSuccess": "ä―ææå",
|
"createSuccess": "ä―ææå",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "íëĄí ė― ė íâĶ",
|
"select_protocol": "íëĄí ė― ė íâĶ",
|
||||||
"select_server": "ėëē ė íâĶ",
|
"select_server": "ėëē ė íâĶ",
|
||||||
"server": "ėëē",
|
"server": "ėëē",
|
||||||
|
"sorted_success": "ė ë Žėī ėëĢëėėĩëëĪ.",
|
||||||
"tags": "íę·ļ",
|
"tags": "íę·ļ",
|
||||||
"tags_description": "ęķí ę·ļëĢđí íę·ļ(ęģí ë°ėļëĐ ë° ë°°íŽ ė ėą
íŽíĻ).",
|
"tags_description": "ęķí ę·ļëĢđí íę·ļ(ęģí ë°ėļëĐ ë° ë°°íŽ ė ėą
íŽíĻ).",
|
||||||
"tags_placeholder": "ėŽëŽ íę·ļëĨž ėķę°íë ĪëĐī Enter ëë ėží(,)ëĨž ėŽėĐíėļė",
|
"tags_placeholder": "ėŽëŽ íę·ļëĨž ėķę°íë ĪëĐī Enter ëë ėží(,)ëĨž ėŽėĐíėļė",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "ėĢžė",
|
|
||||||
"address_placeholder": "ėëē ėĢžė",
|
|
||||||
"bandwidth_placeholder": "ëėíė ė
ë Ĩíėļė. BBRė ėŽėĐíë ĪëĐī ëđė ëėļė.",
|
|
||||||
"basic": "ęļ°ëģļ ėĪė ",
|
|
||||||
"cancel": "ė·Ļė",
|
|
||||||
"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": "ęĩę°",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "ėëē íļė§",
|
"drawerEditTitle": "ėëē íļė§",
|
||||||
"edit": "íļė§",
|
"edit": "íļė§",
|
||||||
"enabled": "íėąíëĻ",
|
"enabled": "íėąíëĻ",
|
||||||
"encryption_method": "ėíļí ë°Đëē",
|
"encryption": "ėíļí ë°Đëē",
|
||||||
|
"encryption_client_padding": "íīëžėīėļíļ íĻëĐ",
|
||||||
|
"encryption_mode": "ëŠĻë",
|
||||||
|
"encryption_password": "ëđë°ëēíļ",
|
||||||
|
"encryption_password_placeholder": "ėë ėėąíë ĪëĐī ëđė ëęģ , íŽėĪíļ ėė ėíļíëĨž ėíī ėëėžëĄ ęĩėēīíėļė",
|
||||||
|
"encryption_private_key": "ę°ėļ íĪ",
|
||||||
|
"encryption_private_key_placeholder": "ėë ėėąíë ĪëĐī ëđė ëęģ , íŽėĪíļ ėė ėíļíëĨž ėíī ėëėžëĄ ęĩėēīíėļė",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "ėëē íĻëĐ",
|
||||||
|
"encryption_ticket": "í°ėž ėę°",
|
||||||
"expireTime": "ë§ëĢ ėę°",
|
"expireTime": "ë§ëĢ ėę°",
|
||||||
"expired": "ë§ëĢëĻ",
|
"expired": "ë§ëĢëĻ",
|
||||||
|
"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": "ë°ėīí° ë§ėīę·ļë ėīė
",
|
||||||
"migrateFailed": "ë°ėīí° ë§ėīę·ļë ėīė
ėĪíĻ",
|
"migrateFailed": "ë°ėīí° ë§ėīę·ļë ėīė
ėĪíĻ",
|
||||||
"migrated": "ë°ėīí°ę° ėąęģĩė ėžëĄ ë§ėīę·ļë ėīė
ëėėĩëëĪ",
|
"migrated": "ë°ėīí°ę° ėąęģĩė ėžëĄ ë§ėīę·ļë ėīė
ëėėĩëëĪ",
|
||||||
"migrating": "ë§ėīę·ļë ėīė
ėĪ...",
|
"migrating": "ë§ėīę·ļë ėīė
ėĪ...",
|
||||||
|
"mode": "ëŠĻë",
|
||||||
"multiplex": "ëĐí°íë ėĪ",
|
"multiplex": "ëĐí°íë ėĪ",
|
||||||
"name": "ėīëĶ",
|
"name": "ėīëĶ",
|
||||||
"noData": "ë°ėīí° ėė",
|
"noData": "ë°ėīí° ėė",
|
||||||
"notAvailable": "ėŽėĐ ëķę°",
|
"notAvailable": "ėŽėĐ ëķę°",
|
||||||
|
"obfs": "ëë
í",
|
||||||
|
"obfs_host": "ëë
í íļėĪíļ",
|
||||||
"obfs_password": "ëë
í ëđë°ëēíļ",
|
"obfs_password": "ëë
í ëđë°ëēíļ",
|
||||||
"obfs_password_placeholder": "ëë
í ëđë°ëēíļëĨž ė
ë Ĩíėļė",
|
"obfs_password_placeholder": "ëë
í ëđë°ëēíļëĨž ė
ë Ĩíėļė",
|
||||||
|
"obfs_path": "ëë
í ęē―ëĄ",
|
||||||
"offline": "ėĪíëžėļ",
|
"offline": "ėĪíëžėļ",
|
||||||
|
"oneClickInstall": "ėíīëĶ ėĪėđ",
|
||||||
"online": "ėĻëžėļ",
|
"online": "ėĻëžėļ",
|
||||||
"onlineUsers": "ėĻëžėļ ėŽėĐė",
|
"onlineUsers": "ėĻëžėļ ėŽėĐė",
|
||||||
"padding_scheme": "íĻëĐ ę·ėđ",
|
"padding_scheme": "íĻëĐ ę·ėđ",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "ėëē",
|
"pageTitle": "ėëē",
|
||||||
"path": "ęē―ëĄ",
|
"path": "ęē―ëĄ",
|
||||||
"please_select": "ė ííī ėĢžėļė",
|
"please_select": "ė ííī ėĢžėļė",
|
||||||
"plugin": "íëŽę·ļėļ ėĪė ",
|
|
||||||
"plugin_opts": "íëŽę·ļėļ ėĩė
",
|
|
||||||
"port": "íŽíļ",
|
"port": "íŽíļ",
|
||||||
"protocol_configurations": "íëĄí ė― ėĪė ",
|
"protocol_configurations": "íëĄí ė― ėĪė ",
|
||||||
"protocol_configurations_desc": "íėí íëĄí ė― ė íė íėąííęģ ęĩŽėąíĐëëĪ",
|
"protocol_configurations_desc": "íėí íëĄí ė― ė íė íėąííęģ ęĩŽėąíĐëëĪ",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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": "ė ë Žėī ėëĢëėėĩëëĪ.",
|
||||||
"status": "ėí",
|
"status": "ėí",
|
||||||
"subscribeId": "ęĩŽë
ID",
|
"subscribeId": "ęĩŽë
ID",
|
||||||
"subscription": "ęĩŽë
",
|
"subscription": "ęĩŽë
",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "íėļ",
|
"confirm": "íėļ",
|
||||||
"confirmDelete": "ėė íėęē ėĩëęđ?",
|
"confirmDelete": "ėė íėęē ėĩëęđ?",
|
||||||
"confirmOffline": "ėĪíëžėļ íėļ",
|
"confirmOffline": "ėĪíëžėļ íėļ",
|
||||||
|
"copySubscription": "ęĩŽë
ëģĩėŽ",
|
||||||
|
"copySuccess": "ëģĩėŽ ėąęģĩ",
|
||||||
"create": "ėėą",
|
"create": "ėėą",
|
||||||
"createSubscription": "ęĩŽë
ėėą",
|
"createSubscription": "ęĩŽë
ėėą",
|
||||||
"createSuccess": "ėėą ėąęģĩ",
|
"createSuccess": "ėėą ėąęģĩ",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Velg protokollâĶ",
|
"select_protocol": "Velg protokollâĶ",
|
||||||
"select_server": "Velg serverâĶ",
|
"select_server": "Velg serverâĶ",
|
||||||
"server": "Server",
|
"server": "Server",
|
||||||
|
"sorted_success": "Sortert med suksess",
|
||||||
"tags": "Tagger",
|
"tags": "Tagger",
|
||||||
"tags_description": "Tillatelsesgrupperingstagg (inkl. planbinding og leveringspolicyer).",
|
"tags_description": "Tillatelsesgrupperingstagg (inkl. planbinding og leveringspolicyer).",
|
||||||
"tags_placeholder": "Bruk Enter eller komma (,) for ÃĨ legge til flere tagger",
|
"tags_placeholder": "Bruk Enter eller komma (,) for ÃĨ legge til flere tagger",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "Adresse",
|
|
||||||
"address_placeholder": "Serveradresse",
|
|
||||||
"bandwidth_placeholder": "Skriv inn bÃĨndbredde, la stÃĨ tomt for BBR",
|
|
||||||
"basic": "Grunnleggende Konfigurasjon",
|
|
||||||
"cancel": "Avbryt",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Rediger server",
|
"drawerEditTitle": "Rediger server",
|
||||||
"edit": "Rediger",
|
"edit": "Rediger",
|
||||||
"enabled": "Aktivert",
|
"enabled": "Aktivert",
|
||||||
"encryption_method": "Krypteringsmetode",
|
"encryption": "Krypteringsmetode",
|
||||||
|
"encryption_client_padding": "Klient Padding",
|
||||||
|
"encryption_mode": "Modus",
|
||||||
|
"encryption_password": "Passord",
|
||||||
|
"encryption_password_placeholder": "La stÃĨ tom for automatisk generering, erstatt manuelt for post-kvantum kryptering",
|
||||||
|
"encryption_private_key": "Privat nÃļkkel",
|
||||||
|
"encryption_private_key_placeholder": "La stÃĨ tom for automatisk generering, erstatt manuelt for post-kvantum kryptering",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Server Padding",
|
||||||
|
"encryption_ticket": "Billettid",
|
||||||
"expireTime": "UtlÃļpstid",
|
"expireTime": "UtlÃļpstid",
|
||||||
"expired": "UtlÃļpt",
|
"expired": "UtlÃļpt",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Datamigrering mislyktes",
|
"migrateFailed": "Datamigrering mislyktes",
|
||||||
"migrated": "Data migrert med suksess",
|
"migrated": "Data migrert med suksess",
|
||||||
"migrating": "Migrerer...",
|
"migrating": "Migrerer...",
|
||||||
|
"mode": "Modus",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Navn",
|
"name": "Navn",
|
||||||
"noData": "Ingen data",
|
"noData": "Ingen data",
|
||||||
"notAvailable": "Ikke tilgjengelig",
|
"notAvailable": "Ikke tilgjengelig",
|
||||||
|
"obfs": "Obfuskering",
|
||||||
|
"obfs_host": "Obfs Vert",
|
||||||
"obfs_password": "Obfuskasjonspassord",
|
"obfs_password": "Obfuskasjonspassord",
|
||||||
"obfs_password_placeholder": "Skriv inn obfuskasjonspassord",
|
"obfs_password_placeholder": "Skriv inn obfuskasjonspassord",
|
||||||
|
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Servere",
|
"pageTitle": "Servere",
|
||||||
"path": "Sti",
|
"path": "Sti",
|
||||||
"please_select": "Vennligst velg",
|
"please_select": "Vennligst velg",
|
||||||
"plugin": "Plugin Konfigurasjon",
|
|
||||||
"plugin_opts": "Plugin Alternativer",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "Protokoll Konfigurasjoner",
|
"protocol_configurations": "Protokoll Konfigurasjoner",
|
||||||
"protocol_configurations_desc": "Aktiver og konfigurer de nÃļdvendige protokolltypene",
|
"protocol_configurations_desc": "Aktiver og konfigurer de nÃļdvendige protokolltypene",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"subscribeId": "Abonnements-ID",
|
"subscribeId": "Abonnements-ID",
|
||||||
"subscription": "Abonnement",
|
"subscription": "Abonnement",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "bekreft",
|
"confirm": "bekreft",
|
||||||
"confirmDelete": "Er du sikker pÃĨ at du vil slette?",
|
"confirmDelete": "Er du sikker pÃĨ at du vil slette?",
|
||||||
"confirmOffline": "Bekreft frakoblet",
|
"confirmOffline": "Bekreft frakoblet",
|
||||||
|
"copySubscription": "Kopier abonnement",
|
||||||
|
"copySuccess": "Kopiering vellykket",
|
||||||
"create": "opprett",
|
"create": "opprett",
|
||||||
"createSubscription": "Opprett abonnement",
|
"createSubscription": "Opprett abonnement",
|
||||||
"createSuccess": "Opprettelse vellykket",
|
"createSuccess": "Opprettelse vellykket",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Wybierz protokÃģÅâĶ",
|
"select_protocol": "Wybierz protokÃģÅâĶ",
|
||||||
"select_server": "Wybierz serwerâĶ",
|
"select_server": "Wybierz serwerâĶ",
|
||||||
"server": "Serwer",
|
"server": "Serwer",
|
||||||
|
"sorted_success": "Posortowano pomyÅlnie",
|
||||||
"tags": "Tagi",
|
"tags": "Tagi",
|
||||||
"tags_description": "Tag grupujÄ
cy uprawnienia (w tym powiÄ
zania planu i polityki dostarczania).",
|
"tags_description": "Tag grupujÄ
cy uprawnienia (w tym powiÄ
zania planu i polityki dostarczania).",
|
||||||
"tags_placeholder": "UÅžyj Enter lub przecinka (,) aby dodaÄ wiele tagÃģw",
|
"tags_placeholder": "UÅžyj Enter lub przecinka (,) aby dodaÄ wiele tagÃģw",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "Adres",
|
|
||||||
"address_placeholder": "Adres serwera",
|
|
||||||
"bandwidth_placeholder": "WprowadÅš przepustowoÅÄ, pozostaw puste dla BBR",
|
|
||||||
"basic": "Podstawowa konfiguracja",
|
|
||||||
"cancel": "Anuluj",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Edytuj serwer",
|
"drawerEditTitle": "Edytuj serwer",
|
||||||
"edit": "Edytuj",
|
"edit": "Edytuj",
|
||||||
"enabled": "WÅÄ
czony",
|
"enabled": "WÅÄ
czony",
|
||||||
"encryption_method": "Metoda szyfrowania",
|
"encryption": "Metoda szyfrowania",
|
||||||
|
"encryption_client_padding": "Padding klienta",
|
||||||
|
"encryption_mode": "Tryb",
|
||||||
|
"encryption_password": "HasÅo",
|
||||||
|
"encryption_password_placeholder": "Pozostaw puste dla automatycznego generowania, zastÄ
p rÄcznie dla szyfrowania post-kwantowego",
|
||||||
|
"encryption_private_key": "Klucz prywatny",
|
||||||
|
"encryption_private_key_placeholder": "Pozostaw puste dla automatycznego generowania, zastÄ
p rÄcznie dla szyfrowania post-kwantowego",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Padding serwera",
|
||||||
|
"encryption_ticket": "Czas biletu",
|
||||||
"expireTime": "Czas wygaÅniÄcia",
|
"expireTime": "Czas wygaÅniÄcia",
|
||||||
"expired": "WygasÅ",
|
"expired": "WygasÅ",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Migracja danych nie powiodÅa siÄ",
|
"migrateFailed": "Migracja danych nie powiodÅa siÄ",
|
||||||
"migrated": "Dane zostaÅy pomyÅlnie zmigrowane",
|
"migrated": "Dane zostaÅy pomyÅlnie zmigrowane",
|
||||||
"migrating": "Migracja...",
|
"migrating": "Migracja...",
|
||||||
|
"mode": "Tryb",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Nazwa",
|
"name": "Nazwa",
|
||||||
"noData": "Brak danych",
|
"noData": "Brak danych",
|
||||||
"notAvailable": "N/D",
|
"notAvailable": "N/D",
|
||||||
|
"obfs": "Obfuskacja",
|
||||||
|
"obfs_host": "Host obfuskacji",
|
||||||
"obfs_password": "HasÅo obfuskacji",
|
"obfs_password": "HasÅo obfuskacji",
|
||||||
"obfs_password_placeholder": "WprowadÅš hasÅo obfuskacji",
|
"obfs_password_placeholder": "WprowadÅš hasÅo 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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Serwery",
|
"pageTitle": "Serwery",
|
||||||
"path": "ÅcieÅžka",
|
"path": "ÅcieÅžka",
|
||||||
"please_select": "ProszÄ wybraÄ",
|
"please_select": "ProszÄ wybraÄ",
|
||||||
"plugin": "Konfiguracja wtyczki",
|
|
||||||
"plugin_opts": "Opcje wtyczki",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "Konfiguracje protokoÅÃģw",
|
"protocol_configurations": "Konfiguracje protokoÅÃģw",
|
||||||
"protocol_configurations_desc": "WÅÄ
cz i skonfiguruj wymagane typy protokoÅÃģw",
|
"protocol_configurations_desc": "WÅÄ
cz i skonfiguruj wymagane typy protokoÅÃģw",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"subscribeId": "ID subskrypcji",
|
"subscribeId": "ID subskrypcji",
|
||||||
"subscription": "Subskrypcja",
|
"subscription": "Subskrypcja",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "PotwierdÅš",
|
"confirm": "PotwierdÅš",
|
||||||
"confirmDelete": "Czy na pewno chcesz usunÄ
Ä?",
|
"confirmDelete": "Czy na pewno chcesz usunÄ
Ä?",
|
||||||
"confirmOffline": "PotwierdÅš tryb offline",
|
"confirmOffline": "PotwierdÅš tryb offline",
|
||||||
|
"copySubscription": "Kopiuj subskrypcjÄ",
|
||||||
|
"copySuccess": "Kopiowanie zakoÅczone sukcesem",
|
||||||
"create": "UtwÃģrz",
|
"create": "UtwÃģrz",
|
||||||
"createSubscription": "UtwÃģrz subskrypcjÄ",
|
"createSubscription": "UtwÃģrz subskrypcjÄ",
|
||||||
"createSuccess": "Utworzono pomyÅlnie",
|
"createSuccess": "Utworzono pomyÅlnie",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "Selecionar protocoloâĶ",
|
"select_protocol": "Selecionar protocoloâĶ",
|
||||||
"select_server": "Selecionar servidorâĶ",
|
"select_server": "Selecionar servidorâĶ",
|
||||||
"server": "Servidor",
|
"server": "Servidor",
|
||||||
|
"sorted_success": "Ordenado com sucesso",
|
||||||
"tags": "Tags",
|
"tags": "Tags",
|
||||||
"tags_description": "Tag de agrupamento de permissÃĩes (incl. vinculaçÃĢo de plano e polÃticas de entrega).",
|
"tags_description": "Tag de agrupamento de permissÃĩes (incl. vinculaçÃĢo de plano e polÃticas de entrega).",
|
||||||
"tags_placeholder": "Use Enter ou vÃrgula (,) para adicionar vÃĄrias tags",
|
"tags_placeholder": "Use Enter ou vÃrgula (,) para adicionar vÃĄrias tags",
|
||||||
|
|||||||
@@ -1,38 +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",
|
|
||||||
"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",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Editar Servidor",
|
"drawerEditTitle": "Editar Servidor",
|
||||||
"edit": "Editar",
|
"edit": "Editar",
|
||||||
"enabled": "Ativado",
|
"enabled": "Ativado",
|
||||||
"encryption_method": "MÃĐtodo de criptografia",
|
"encryption": "MÃĐtodo de Criptografia",
|
||||||
|
"encryption_client_padding": "Preenchimento do Cliente",
|
||||||
|
"encryption_mode": "Modo",
|
||||||
|
"encryption_password": "Senha",
|
||||||
|
"encryption_password_placeholder": "Deixe em branco para auto-geraçÃĢo, substitua manualmente para criptografia pÃģs-quÃĒntica",
|
||||||
|
"encryption_private_key": "Chave Privada",
|
||||||
|
"encryption_private_key_placeholder": "Deixe em branco para auto-geraçÃĢo, substitua manualmente para criptografia pÃģs-quÃĒntica",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Preenchimento do Servidor",
|
||||||
|
"encryption_ticket": "Tempo do Ticket",
|
||||||
"expireTime": "Tempo de expiraçÃĢo",
|
"expireTime": "Tempo de expiraçÃĢo",
|
||||||
"expired": "Expirado",
|
"expired": "Expirado",
|
||||||
|
"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",
|
||||||
"migrateFailed": "A migraçÃĢo de dados falhou",
|
"migrateFailed": "A migraçÃĢo de dados falhou",
|
||||||
"migrated": "Dados migrados com sucesso",
|
"migrated": "Dados migrados com sucesso",
|
||||||
"migrating": "Migrando...",
|
"migrating": "Migrando...",
|
||||||
|
"mode": "Modo",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Nome",
|
"name": "Nome",
|
||||||
"noData": "Sem dados",
|
"noData": "Sem dados",
|
||||||
"notAvailable": "N/D",
|
"notAvailable": "N/D",
|
||||||
|
"obfs": "OfuscaçÃĢo",
|
||||||
|
"obfs_host": "Host de OfuscaçÃĢo",
|
||||||
"obfs_password": "Senha de ofuscaçÃĢo",
|
"obfs_password": "Senha de ofuscaçÃĢo",
|
||||||
"obfs_password_placeholder": "Insira a senha de ofuscaçÃĢo",
|
"obfs_password_placeholder": "Insira a senha 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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Servidores",
|
"pageTitle": "Servidores",
|
||||||
"path": "Caminho",
|
"path": "Caminho",
|
||||||
"please_select": "Por favor, selecione",
|
"please_select": "Por favor, selecione",
|
||||||
"plugin": "ConfiguraçÃĢo do Plugin",
|
|
||||||
"plugin_opts": "OpçÃĩes do Plugin",
|
|
||||||
"port": "Porta",
|
"port": "Porta",
|
||||||
"protocol_configurations": "ConfiguraçÃĩes de Protocolo",
|
"protocol_configurations": "ConfiguraçÃĩes de Protocolo",
|
||||||
"protocol_configurations_desc": "Ative e configure os tipos de protocolo necessÃĄrios",
|
"protocol_configurations_desc": "Ative e configure os tipos de protocolo necessÃĄrios",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Status",
|
"status": "Status",
|
||||||
"subscribeId": "ID de assinatura",
|
"subscribeId": "ID de assinatura",
|
||||||
"subscription": "Assinatura",
|
"subscription": "Assinatura",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "confirmar",
|
"confirm": "confirmar",
|
||||||
"confirmDelete": "VocÊ tem certeza de que deseja excluir?",
|
"confirmDelete": "VocÊ tem certeza de que deseja excluir?",
|
||||||
"confirmOffline": "Confirmar Offline",
|
"confirmOffline": "Confirmar Offline",
|
||||||
|
"copySubscription": "Copiar Assinatura",
|
||||||
|
"copySuccess": "CÃģpia bem-sucedida",
|
||||||
"create": "Criar",
|
"create": "Criar",
|
||||||
"createSubscription": "Criar Assinatura",
|
"createSubscription": "Criar Assinatura",
|
||||||
"createSuccess": "CriaçÃĢo bem-sucedida",
|
"createSuccess": "CriaçÃĢo bem-sucedida",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "SelecteazÄ protocolulâĶ",
|
"select_protocol": "SelecteazÄ protocolulâĶ",
|
||||||
"select_server": "SelecteazÄ serverulâĶ",
|
"select_server": "SelecteazÄ serverulâĶ",
|
||||||
"server": "Server",
|
"server": "Server",
|
||||||
|
"sorted_success": "Sortat cu succes",
|
||||||
"tags": "Etichete",
|
"tags": "Etichete",
|
||||||
"tags_description": "EtichetÄ de grupare a permisiunilor (incluzÃĒnd legarea planului Či politicile de livrare).",
|
"tags_description": "EtichetÄ de grupare a permisiunilor (incluzÃĒnd legarea planului Či politicile de livrare).",
|
||||||
"tags_placeholder": "FoloseČte Enter sau virgulÄ (,) pentru a adÄuga mai multe etichete",
|
"tags_placeholder": "FoloseČte Enter sau virgulÄ (,) pentru a adÄuga mai multe etichete",
|
||||||
|
|||||||
@@ -1,38 +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Ä",
|
|
||||||
"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Ä",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "EditeazÄ Server",
|
"drawerEditTitle": "EditeazÄ Server",
|
||||||
"edit": "EditeazÄ",
|
"edit": "EditeazÄ",
|
||||||
"enabled": "Activat",
|
"enabled": "Activat",
|
||||||
"encryption_method": "MetodÄ de criptare",
|
"encryption": "MetodÄ de criptare",
|
||||||
|
"encryption_client_padding": "Padding client",
|
||||||
|
"encryption_mode": "Mod",
|
||||||
|
"encryption_password": "ParolÄ",
|
||||||
|
"encryption_password_placeholder": "LÄsaČi gol pentru generare automatÄ, ÃŪnlocuiČi manual pentru criptare post-cuanticÄ",
|
||||||
|
"encryption_private_key": "Cheie privatÄ",
|
||||||
|
"encryption_private_key_placeholder": "LÄsaČi gol pentru generare automatÄ, ÃŪnlocuiČi manual pentru criptare post-cuanticÄ",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "Padding server",
|
||||||
|
"encryption_ticket": "Timp bilet",
|
||||||
"expireTime": "Timp de expirare",
|
"expireTime": "Timp de expirare",
|
||||||
"expired": "Expirat",
|
"expired": "Expirat",
|
||||||
|
"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",
|
||||||
"migrateFailed": "Migrarea datelor a eČuat",
|
"migrateFailed": "Migrarea datelor a eČuat",
|
||||||
"migrated": "Datele au fost migrate cu succes",
|
"migrated": "Datele au fost migrate cu succes",
|
||||||
"migrating": "Se migreazÄ...",
|
"migrating": "Se migreazÄ...",
|
||||||
|
"mode": "Mod",
|
||||||
"multiplex": "Multiplex",
|
"multiplex": "Multiplex",
|
||||||
"name": "Nume",
|
"name": "Nume",
|
||||||
"noData": "FÄrÄ date",
|
"noData": "FÄrÄ date",
|
||||||
"notAvailable": "N/A",
|
"notAvailable": "N/A",
|
||||||
|
"obfs": "Obfuscare",
|
||||||
|
"obfs_host": "Host Obfs",
|
||||||
"obfs_password": "Parola de obfuscare",
|
"obfs_password": "Parola de obfuscare",
|
||||||
"obfs_password_placeholder": "Introdu parola de obfuscare",
|
"obfs_password_placeholder": "Introdu parola de obfuscare",
|
||||||
|
"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",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "Servere",
|
"pageTitle": "Servere",
|
||||||
"path": "Cale",
|
"path": "Cale",
|
||||||
"please_select": "Te rog selecteazÄ",
|
"please_select": "Te rog selecteazÄ",
|
||||||
"plugin": "Configurare plugin",
|
|
||||||
"plugin_opts": "OpČiuni plugin",
|
|
||||||
"port": "Port",
|
"port": "Port",
|
||||||
"protocol_configurations": "ConfigurÄri protocol",
|
"protocol_configurations": "ConfigurÄri protocol",
|
||||||
"protocol_configurations_desc": "ActiveazÄ Či configureazÄ tipurile de protocol necesare",
|
"protocol_configurations_desc": "ActiveazÄ Či configureazÄ tipurile de protocol necesare",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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",
|
||||||
"status": "Stare",
|
"status": "Stare",
|
||||||
"subscribeId": "ID abonament",
|
"subscribeId": "ID abonament",
|
||||||
"subscription": "Abonament",
|
"subscription": "Abonament",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "Confirmare",
|
"confirm": "Confirmare",
|
||||||
"confirmDelete": "SunteČi sigur cÄ doriČi sÄ ČtergeČi?",
|
"confirmDelete": "SunteČi sigur cÄ doriČi sÄ ČtergeČi?",
|
||||||
"confirmOffline": "Confirmare Offline",
|
"confirmOffline": "Confirmare Offline",
|
||||||
|
"copySubscription": "CopiazÄ Abonamentul",
|
||||||
|
"copySuccess": "CopiazÄ cu succes",
|
||||||
"create": "crea",
|
"create": "crea",
|
||||||
"createSubscription": "CreeazÄ Abonament",
|
"createSubscription": "CreeazÄ Abonament",
|
||||||
"createSuccess": "Creat cu succes",
|
"createSuccess": "Creat cu succes",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "ÐŅÐąÐĩŅÐļŅÐĩ ÐŋŅÐūŅÐūКÐūÐŧâĶ",
|
"select_protocol": "ÐŅÐąÐĩŅÐļŅÐĩ ÐŋŅÐūŅÐūКÐūÐŧâĶ",
|
||||||
"select_server": "ÐŅÐąÐĩŅÐļŅÐĩ ŅÐĩŅÐēÐĩŅâĶ",
|
"select_server": "ÐŅÐąÐĩŅÐļŅÐĩ ŅÐĩŅÐēÐĩŅâĶ",
|
||||||
"server": "ÐĄÐĩŅÐēÐĩŅ",
|
"server": "ÐĄÐĩŅÐēÐĩŅ",
|
||||||
|
"sorted_success": "ÐĢŅÐŋÐĩŅÐ―Ðū ÐūŅŅÐūŅŅÐļŅÐūÐēÐ°Ð―Ðū",
|
||||||
"tags": "ÐĒÐĩÐģÐļ",
|
"tags": "ÐĒÐĩÐģÐļ",
|
||||||
"tags_description": "ÐĒÐĩÐģ ÐīÐŧŅ ÐģŅŅÐŋÐŋÐļŅÐūÐēКÐļ ŅазŅÐĩŅÐĩÐ―ÐļÐđ (ÐēКÐŧŅŅÐ°Ņ ÐŋŅÐļÐēŅÐ·ÐšŅ ÐŋÐŧÐ°Ð―Ð° Ðļ ÐŋÐūÐŧÐļŅÐļКÐļ ÐīÐūŅŅаÐēКÐļ).",
|
"tags_description": "ÐĒÐĩÐģ ÐīÐŧŅ ÐģŅŅÐŋÐŋÐļŅÐūÐēКÐļ ŅазŅÐĩŅÐĩÐ―ÐļÐđ (ÐēКÐŧŅŅÐ°Ņ ÐŋŅÐļÐēŅÐ·ÐšŅ ÐŋÐŧÐ°Ð―Ð° Ðļ ÐŋÐūÐŧÐļŅÐļКÐļ ÐīÐūŅŅаÐēКÐļ).",
|
||||||
"tags_placeholder": "ÐŅÐŋÐūÐŧŅзŅÐđŅÐĩ Enter ÐļÐŧÐļ заÐŋŅŅŅŅ (,) ÐīÐŧŅ ÐīÐūÐąÐ°ÐēÐŧÐĩÐ―ÐļŅ Ð―ÐĩŅКÐūÐŧŅКÐļŅ
ŅÐĩÐģÐūÐē",
|
"tags_placeholder": "ÐŅÐŋÐūÐŧŅзŅÐđŅÐĩ Enter ÐļÐŧÐļ заÐŋŅŅŅŅ (,) ÐīÐŧŅ ÐīÐūÐąÐ°ÐēÐŧÐĩÐ―ÐļŅ Ð―ÐĩŅКÐūÐŧŅКÐļŅ
ŅÐĩÐģÐūÐē",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "ÐÐīŅÐĩŅ",
|
|
||||||
"address_placeholder": "ÐÐīŅÐĩŅ ŅÐĩŅÐēÐĩŅа",
|
|
||||||
"bandwidth_placeholder": "ÐÐēÐĩÐīÐļŅÐĩ ÐŋŅÐūÐŋŅŅÐšÐ―ŅŅ ŅÐŋÐūŅÐūÐąÐ―ÐūŅŅŅ, ÐūŅŅаÐēŅŅÐĩ ÐŋŅŅŅŅО ÐīÐŧŅ BBR",
|
|
||||||
"basic": "ÐазÐūÐēÐ°Ņ ÐšÐūÐ―ŅÐļÐģŅŅаŅÐļŅ",
|
|
||||||
"cancel": "ÐŅОÐĩÐ―Ð°",
|
|
||||||
"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": "ÐĄŅŅÐ°Ð―Ð°",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "Ð ÐĩÐīаКŅÐļŅÐūÐēаŅŅ ŅÐĩŅÐēÐĩŅ",
|
"drawerEditTitle": "Ð ÐĩÐīаКŅÐļŅÐūÐēаŅŅ ŅÐĩŅÐēÐĩŅ",
|
||||||
"edit": "Ð ÐĩÐīаКŅÐļŅÐūÐēаŅŅ",
|
"edit": "Ð ÐĩÐīаКŅÐļŅÐūÐēаŅŅ",
|
||||||
"enabled": "ÐКÐŧŅŅÐĩÐ―Ðū",
|
"enabled": "ÐКÐŧŅŅÐĩÐ―Ðū",
|
||||||
"encryption_method": "ÐÐĩŅÐūÐī ŅÐļŅŅÐūÐēÐ°Ð―ÐļŅ",
|
"encryption": "ÐÐĩŅÐūÐī ŅÐļŅŅÐūÐēÐ°Ð―ÐļŅ",
|
||||||
|
"encryption_client_padding": "ÐÐūÐŋÐūÐŧÐ―ÐĩÐ―ÐļÐĩ КÐŧÐļÐĩÐ―Ņа",
|
||||||
|
"encryption_mode": "Ð ÐĩÐķÐļО",
|
||||||
|
"encryption_password": "ÐаŅÐūÐŧŅ",
|
||||||
|
"encryption_password_placeholder": "ÐŅŅаÐēŅŅÐĩ ÐŋŅŅŅŅО ÐīÐŧŅ Ð°ÐēŅÐū-ÐģÐĩÐ―ÐĩŅаŅÐļÐļ, заОÐĩÐ―ÐļŅÐĩ ÐēŅŅŅÐ―ŅŅ ÐīÐŧŅ ÐŋÐūŅŅ-КÐēÐ°Ð―ŅÐūÐēÐūÐģÐū ŅÐļŅŅÐūÐēÐ°Ð―ÐļŅ",
|
||||||
|
"encryption_private_key": "ÐаКŅŅŅŅÐđ КÐŧŅŅ",
|
||||||
|
"encryption_private_key_placeholder": "ÐŅŅаÐēŅŅÐĩ ÐŋŅŅŅŅО ÐīÐŧŅ Ð°ÐēŅÐū-ÐģÐĩÐ―ÐĩŅаŅÐļÐļ, заОÐĩÐ―ÐļŅÐĩ ÐēŅŅŅÐ―ŅŅ ÐīÐŧŅ ÐŋÐūŅŅ-КÐēÐ°Ð―ŅÐūÐēÐūÐģÐū ŅÐļŅŅÐūÐēÐ°Ð―ÐļŅ",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "ÐÐūÐŋÐūÐŧÐ―ÐĩÐ―ÐļÐĩ ŅÐĩŅÐēÐĩŅа",
|
||||||
|
"encryption_ticket": "ÐŅÐĩÐžŅ ÐąÐļÐŧÐĩŅа",
|
||||||
"expireTime": "ÐŅÐĩÐžŅ ÐļŅŅÐĩŅÐĩÐ―ÐļŅ",
|
"expireTime": "ÐŅÐĩÐžŅ ÐļŅŅÐĩŅÐĩÐ―ÐļŅ",
|
||||||
"expired": "ÐŅŅÐĩКÐŧÐū",
|
"expired": "ÐŅŅÐĩКÐŧÐū",
|
||||||
|
"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": "ÐÐĩŅÐĩÐ―ÐĩŅŅÐļ ÐīÐ°Ð―Ð―ŅÐĩ",
|
||||||
"migrateFailed": "ÐŅÐļÐąÐšÐ° ÐŋŅÐļ ÐŋÐĩŅÐĩÐ―ÐūŅÐĩ ÐīÐ°Ð―Ð―ŅŅ
",
|
"migrateFailed": "ÐŅÐļÐąÐšÐ° ÐŋŅÐļ ÐŋÐĩŅÐĩÐ―ÐūŅÐĩ ÐīÐ°Ð―Ð―ŅŅ
",
|
||||||
"migrated": "ÐÐ°Ð―Ð―ŅÐĩ ŅŅÐŋÐĩŅÐ―Ðū ÐŋÐĩŅÐĩÐ―ÐĩŅÐĩÐ―Ņ",
|
"migrated": "ÐÐ°Ð―Ð―ŅÐĩ ŅŅÐŋÐĩŅÐ―Ðū ÐŋÐĩŅÐĩÐ―ÐĩŅÐĩÐ―Ņ",
|
||||||
"migrating": "ÐÐĩŅÐĩÐ―ÐūŅ ÐīÐ°Ð―Ð―ŅŅ
...",
|
"migrating": "ÐÐĩŅÐĩÐ―ÐūŅ ÐīÐ°Ð―Ð―ŅŅ
...",
|
||||||
|
"mode": "Ð ÐĩÐķÐļО",
|
||||||
"multiplex": "ÐŅÐŧŅŅÐļÐŋÐŧÐĩКŅ",
|
"multiplex": "ÐŅÐŧŅŅÐļÐŋÐŧÐĩКŅ",
|
||||||
"name": "ÐОŅ",
|
"name": "ÐОŅ",
|
||||||
"noData": "ÐÐĩŅ ÐīÐ°Ð―Ð―ŅŅ
",
|
"noData": "ÐÐĩŅ ÐīÐ°Ð―Ð―ŅŅ
",
|
||||||
"notAvailable": "ÐÐĩÐīÐūŅŅŅÐŋÐ―Ðū",
|
"notAvailable": "ÐÐĩÐīÐūŅŅŅÐŋÐ―Ðū",
|
||||||
|
"obfs": "ÐÐąŅŅŅКаŅÐļŅ",
|
||||||
|
"obfs_host": "ÐÐąŅŅŅŅÐļŅÐūÐēÐ°Ð―Ð―ŅÐđ Ņ
ÐūŅŅ",
|
||||||
"obfs_password": "ÐаŅÐūÐŧŅ ÐūÐąŅŅŅКаŅÐļÐļ",
|
"obfs_password": "ÐаŅÐūÐŧŅ ÐūÐąŅŅŅКаŅÐļÐļ",
|
||||||
"obfs_password_placeholder": "ÐÐēÐĩÐīÐļŅÐĩ ÐŋаŅÐūÐŧŅ ÐūÐąŅŅŅКаŅÐļÐļ",
|
"obfs_password_placeholder": "ÐÐēÐĩÐīÐļŅÐĩ ÐŋаŅÐūÐŧŅ ÐūÐąŅŅŅКаŅÐļÐļ",
|
||||||
|
"obfs_path": "ÐÐąŅŅŅŅÐļŅÐūÐēÐ°Ð―Ð―ŅÐđ ÐŋŅŅŅ",
|
||||||
"offline": "ÐŅÐŧаÐđÐ―",
|
"offline": "ÐŅÐŧаÐđÐ―",
|
||||||
|
"oneClickInstall": "ÐĢŅŅÐ°Ð―ÐūÐēКа Ðē ÐūÐīÐļÐ― КÐŧÐļК",
|
||||||
"online": "ÐÐ―ÐŧаÐđÐ―",
|
"online": "ÐÐ―ÐŧаÐđÐ―",
|
||||||
"onlineUsers": "ÐÐ―ÐŧаÐđÐ― ÐŋÐūÐŧŅзÐūÐēаŅÐĩÐŧÐļ",
|
"onlineUsers": "ÐÐ―ÐŧаÐđÐ― ÐŋÐūÐŧŅзÐūÐēаŅÐĩÐŧÐļ",
|
||||||
"padding_scheme": "ÐĄŅ
ÐĩОа ÐēŅŅаÐēÐ―ÐļÐēÐ°Ð―ÐļŅ",
|
"padding_scheme": "ÐĄŅ
ÐĩОа ÐēŅŅаÐēÐ―ÐļÐēÐ°Ð―ÐļŅ",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "ÐĄÐĩŅÐēÐĩŅŅ",
|
"pageTitle": "ÐĄÐĩŅÐēÐĩŅŅ",
|
||||||
"path": "ÐŅŅŅ",
|
"path": "ÐŅŅŅ",
|
||||||
"please_select": "ÐÐūÐķаÐŧŅÐđŅŅа, ÐēŅÐąÐĩŅÐļŅÐĩ",
|
"please_select": "ÐÐūÐķаÐŧŅÐđŅŅа, ÐēŅÐąÐĩŅÐļŅÐĩ",
|
||||||
"plugin": "ÐÐūÐ―ŅÐļÐģŅŅаŅÐļŅ ÐŋÐŧаÐģÐļÐ―Ð°",
|
|
||||||
"plugin_opts": "ÐÐŋŅÐļÐļ ÐŋÐŧаÐģÐļÐ―Ð°",
|
|
||||||
"port": "ÐÐūŅŅ",
|
"port": "ÐÐūŅŅ",
|
||||||
"protocol_configurations": "ÐÐūÐ―ŅÐļÐģŅŅаŅÐļÐļ ÐŋŅÐūŅÐūКÐūÐŧÐūÐē",
|
"protocol_configurations": "ÐÐūÐ―ŅÐļÐģŅŅаŅÐļÐļ ÐŋŅÐūŅÐūКÐūÐŧÐūÐē",
|
||||||
"protocol_configurations_desc": "ÐКÐŧŅŅÐļŅÐĩ Ðļ Ð―Ð°ŅŅŅÐūÐđŅÐĩ Ð―ÐĩÐūÐąŅ
ÐūÐīÐļОŅÐĩ ŅÐļÐŋŅ ÐŋŅÐūŅÐūКÐūÐŧÐūÐē",
|
"protocol_configurations_desc": "ÐКÐŧŅŅÐļŅÐĩ Ðļ Ð―Ð°ŅŅŅÐūÐđŅÐĩ Ð―ÐĩÐūÐąŅ
ÐūÐīÐļОŅÐĩ ŅÐļÐŋŅ ÐŋŅÐūŅÐūКÐūÐŧÐūÐē",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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": "ÐĢŅÐŋÐĩŅÐ―Ðū ÐūŅŅÐūŅŅÐļŅÐūÐēÐ°Ð―Ðū",
|
||||||
"status": "ÐĄŅаŅŅŅ",
|
"status": "ÐĄŅаŅŅŅ",
|
||||||
"subscribeId": "ID ÐŋÐūÐīÐŋÐļŅКÐļ",
|
"subscribeId": "ID ÐŋÐūÐīÐŋÐļŅКÐļ",
|
||||||
"subscription": "ÐÐūÐīÐŋÐļŅКа",
|
"subscription": "ÐÐūÐīÐŋÐļŅКа",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "ÐÐūÐīŅÐēÐĩŅÐīÐļŅŅ",
|
"confirm": "ÐÐūÐīŅÐēÐĩŅÐīÐļŅŅ",
|
||||||
"confirmDelete": "ÐŅ ŅÐēÐĩŅÐĩÐ―Ņ, ŅŅÐū Ņ
ÐūŅÐļŅÐĩ ŅÐīаÐŧÐļŅŅ?",
|
"confirmDelete": "ÐŅ ŅÐēÐĩŅÐĩÐ―Ņ, ŅŅÐū Ņ
ÐūŅÐļŅÐĩ ŅÐīаÐŧÐļŅŅ?",
|
||||||
"confirmOffline": "ÐÐūÐīŅÐēÐĩŅÐīÐļŅŅ ÐūŅÐŧаÐđÐ―",
|
"confirmOffline": "ÐÐūÐīŅÐēÐĩŅÐīÐļŅŅ ÐūŅÐŧаÐđÐ―",
|
||||||
|
"copySubscription": "ÐÐūÐŋÐļŅÐūÐēаŅŅ ÐŋÐūÐīÐŋÐļŅКŅ",
|
||||||
|
"copySuccess": "ÐÐūÐŋÐļŅÐūÐēÐ°Ð―ÐļÐĩ ŅŅÐŋÐĩŅÐ―Ðū",
|
||||||
"create": "ÐĄÐūзÐīаŅŅ",
|
"create": "ÐĄÐūзÐīаŅŅ",
|
||||||
"createSubscription": "ÐĄÐūзÐīаŅŅ ÐŋÐūÐīÐŋÐļŅКŅ",
|
"createSubscription": "ÐĄÐūзÐīаŅŅ ÐŋÐūÐīÐŋÐļŅКŅ",
|
||||||
"createSuccess": "ÐĄÐūзÐīÐ°Ð―ÐļÐĩ ŅŅÐŋÐĩŅÐ―Ðū",
|
"createSuccess": "ÐĄÐūзÐīÐ°Ð―ÐļÐĩ ŅŅÐŋÐĩŅÐ―Ðū",
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
"select_protocol": "āđāļĨāļ·āļāļāđāļāļĢāđāļāļāļāļĨâĶ",
|
"select_protocol": "āđāļĨāļ·āļāļāđāļāļĢāđāļāļāļāļĨâĶ",
|
||||||
"select_server": "āđāļĨāļ·āļāļāđāļāļīāļĢāđāļāđāļ§āļāļĢāđâĶ",
|
"select_server": "āđāļĨāļ·āļāļāđāļāļīāļĢāđāļāđāļ§āļāļĢāđâĶ",
|
||||||
"server": "āđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
"server": "āđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
||||||
|
"sorted_success": "āđāļĢāļĩāļĒāļāļĨāļģāļāļąāļāđāļĢāļĩāļĒāļāļĢāđāļāļĒāđāļĨāđāļ§",
|
||||||
"tags": "āđāļāđāļ",
|
"tags": "āđāļāđāļ",
|
||||||
"tags_description": "āđāļāđāļāļāļēāļĢāļāļąāļāļāļĨāļļāđāļĄāļŠāļīāļāļāļīāđ (āļĢāļ§āļĄāļāļķāļāļāļēāļĢāļāļđāļāđāļāļāđāļĨāļ°āļāđāļĒāļāļēāļĒāļāļēāļĢāļāļąāļāļŠāđāļ)",
|
"tags_description": "āđāļāđāļāļāļēāļĢāļāļąāļāļāļĨāļļāđāļĄāļŠāļīāļāļāļīāđ (āļĢāļ§āļĄāļāļķāļāļāļēāļĢāļāļđāļāđāļāļāđāļĨāļ°āļāđāļĒāļāļēāļĒāļāļēāļĢāļāļąāļāļŠāđāļ)",
|
||||||
"tags_placeholder": "āđāļāđ Enter āļŦāļĢāļ·āļāđāļāļĢāļ·āđāļāļāļŦāļĄāļēāļĒāļāļļāļĨāļ āļēāļ (,) āđāļāļ·āđāļāđāļāļīāđāļĄāđāļāđāļāļŦāļĨāļēāļĒāļĢāļēāļĒāļāļēāļĢ",
|
"tags_placeholder": "āđāļāđ Enter āļŦāļĢāļ·āļāđāļāļĢāļ·āđāļāļāļŦāļĄāļēāļĒāļāļļāļĨāļ āļēāļ (,) āđāļāļ·āđāļāđāļāļīāđāļĄāđāļāđāļāļŦāļĨāļēāļĒāļĢāļēāļĒāļāļēāļĢ",
|
||||||
|
|||||||
@@ -1,38 +1,25 @@
|
|||||||
{
|
{
|
||||||
"address": "āļāļĩāđāļāļĒāļđāđ",
|
|
||||||
"address_placeholder": "āļāļĩāđāļāļĒāļđāđāđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
|
||||||
"bandwidth_placeholder": "āļāļĢāļļāļāļēāļāļĢāļāļāđāļāļāļāđāļ§āļīāļ āļāļīāđāļāļ§āđāļēāļāđāļ§āđāļŠāļģāļŦāļĢāļąāļ BBR",
|
|
||||||
"basic": "āļāļēāļĢāļāļąāđāļāļāđāļēāļāļ·āđāļāļāļēāļ",
|
|
||||||
"cancel": "āļĒāļāđāļĨāļīāļ",
|
|
||||||
"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": "āļāļĢāļ°āđāļāļĻ",
|
||||||
@@ -49,28 +36,46 @@
|
|||||||
"drawerEditTitle": "āđāļāđāđāļāđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
"drawerEditTitle": "āđāļāđāđāļāđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
||||||
"edit": "āđāļāđāđāļ",
|
"edit": "āđāļāđāđāļ",
|
||||||
"enabled": "āđāļāļīāļāđāļāđāļāļēāļ",
|
"enabled": "āđāļāļīāļāđāļāđāļāļēāļ",
|
||||||
"encryption_method": "āļ§āļīāļāļĩāļāļēāļĢāđāļāđāļēāļĢāļŦāļąāļŠ",
|
"encryption": "āļ§āļīāļāļĩāļāļēāļĢāđāļāđāļēāļĢāļŦāļąāļŠ",
|
||||||
|
"encryption_client_padding": "āļāļēāļĢāđāļāļīāļĄāļāđāļāļĄāļđāļĨāļāļāļāļĨāļđāļāļāđāļē",
|
||||||
|
"encryption_mode": "āđāļŦāļĄāļ",
|
||||||
|
"encryption_password": "āļĢāļŦāļąāļŠāļāđāļēāļ",
|
||||||
|
"encryption_password_placeholder": "āļāļĨāđāļāļĒāļ§āđāļēāļāđāļāļ·āđāļāļŠāļĢāđāļēāļāļāļąāļāđāļāļĄāļąāļāļī āđāļāļĨāļĩāđāļĒāļāļāđāļ§āļĒāļāļāđāļāļāļŠāļģāļŦāļĢāļąāļāļāļēāļĢāđāļāđāļēāļĢāļŦāļąāļŠāļŦāļĨāļąāļāļāļ§āļāļāļāļąāļĄ",
|
||||||
|
"encryption_private_key": "āļāļļāļāđāļāļŠāđāļ§āļāļāļąāļ§",
|
||||||
|
"encryption_private_key_placeholder": "āļāļĨāđāļāļĒāļ§āđāļēāļāđāļāļ·āđāļāļŠāļĢāđāļēāļāļāļąāļāđāļāļĄāļąāļāļī āđāļāļĨāļĩāđāļĒāļāļāđāļ§āļĒāļāļāđāļāļāļŠāļģāļŦāļĢāļąāļāļāļēāļĢāđāļāđāļēāļĢāļŦāļąāļŠāļŦāļĨāļąāļāļāļ§āļāļāļāļąāļĄ",
|
||||||
|
"encryption_rtt": "RTT",
|
||||||
|
"encryption_server_padding": "āļāļēāļĢāđāļāļīāļĄāļāđāļāļĄāļđāļĨāļāļāļāđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
||||||
|
"encryption_ticket": "āđāļ§āļĨāļēāļāļąāđāļ§",
|
||||||
"expireTime": "āđāļ§āļĨāļēāļŦāļĄāļāļāļēāļĒāļļ",
|
"expireTime": "āđāļ§āļĨāļēāļŦāļĄāļāļāļēāļĒāļļ",
|
||||||
"expired": "āļŦāļĄāļāļāļēāļĒāļļ",
|
"expired": "āļŦāļĄāļāļāļēāļĒāļļ",
|
||||||
|
"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": "āļĒāđāļēāļĒāļāđāļāļĄāļđāļĨ",
|
||||||
"migrateFailed": "āļāļēāļĢāļĒāđāļēāļĒāļāđāļāļĄāļđāļĨāļĨāđāļĄāđāļŦāļĨāļ§",
|
"migrateFailed": "āļāļēāļĢāļĒāđāļēāļĒāļāđāļāļĄāļđāļĨāļĨāđāļĄāđāļŦāļĨāļ§",
|
||||||
"migrated": "āļĒāđāļēāļĒāļāđāļāļĄāļđāļĨāļŠāļģāđāļĢāđāļ",
|
"migrated": "āļĒāđāļēāļĒāļāđāļāļĄāļđāļĨāļŠāļģāđāļĢāđāļ",
|
||||||
"migrating": "āļāļģāļĨāļąāļāļĒāđāļēāļĒāļāđāļāļĄāļđāļĨ...",
|
"migrating": "āļāļģāļĨāļąāļāļĒāđāļēāļĒāļāđāļāļĄāļđāļĨ...",
|
||||||
|
"mode": "āđāļŦāļĄāļ",
|
||||||
"multiplex": "āļŦāļĨāļēāļĒāļāđāļāļ",
|
"multiplex": "āļŦāļĨāļēāļĒāļāđāļāļ",
|
||||||
"name": "āļāļ·āđāļ",
|
"name": "āļāļ·āđāļ",
|
||||||
"noData": "āđāļĄāđāļĄāļĩāļāđāļāļĄāļđāļĨ",
|
"noData": "āđāļĄāđāļĄāļĩāļāđāļāļĄāļđāļĨ",
|
||||||
"notAvailable": "āđāļĄāđāļŠāļēāļĄāļēāļĢāļāđāļāđāđāļāđ",
|
"notAvailable": "āđāļĄāđāļŠāļēāļĄāļēāļĢāļāđāļāđāđāļāđ",
|
||||||
|
"obfs": "āļāļēāļĢāļāļģāđāļŦāđāđāļĄāđāļŠāļēāļĄāļēāļĢāļāļāđāļēāļāđāļāđ",
|
||||||
|
"obfs_host": "āđāļŪāļŠāļāđāļāļēāļĢāļāļģāđāļŦāđāđāļĄāđāļŠāļēāļĄāļēāļĢāļāļāđāļēāļāđāļāđ",
|
||||||
"obfs_password": "āļĢāļŦāļąāļŠāļāđāļēāļāļāļēāļĢāļāļāļāļīāļ",
|
"obfs_password": "āļĢāļŦāļąāļŠāļāđāļēāļāļāļēāļĢāļāļāļāļīāļ",
|
||||||
"obfs_password_placeholder": "āļāļĢāļāļāļĢāļŦāļąāļŠāļāđāļēāļāļāļēāļĢāļāļāļāļīāļ",
|
"obfs_password_placeholder": "āļāļĢāļāļāļĢāļŦāļąāļŠāļāđāļēāļāļāļēāļĢāļāļāļāļīāļ",
|
||||||
|
"obfs_path": "āđāļŠāđāļāļāļēāļāļāļēāļĢāļāļģāđāļŦāđāđāļĄāđāļŠāļēāļĄāļēāļĢāļāļāđāļēāļāđāļāđ",
|
||||||
"offline": "āļāļāļāđāļĨāļāđ",
|
"offline": "āļāļāļāđāļĨāļāđ",
|
||||||
|
"oneClickInstall": "āļāļīāļāļāļąāđāļāļāđāļ§āļĒāļāļĨāļīāļāđāļāļĩāļĒāļ§",
|
||||||
"online": "āļāļāļāđāļĨāļāđ",
|
"online": "āļāļāļāđāļĨāļāđ",
|
||||||
"onlineUsers": "āļāļđāđāđāļāđāļāļēāļāļāļāļāđāļĨāļāđ",
|
"onlineUsers": "āļāļđāđāđāļāđāļāļēāļāļāļāļāđāļĨāļāđ",
|
||||||
"padding_scheme": "āļĢāļđāļāđāļāļāļāļēāļĢāđāļāļīāļĄ",
|
"padding_scheme": "āļĢāļđāļāđāļāļāļāļēāļĢāđāļāļīāļĄ",
|
||||||
@@ -78,8 +83,6 @@
|
|||||||
"pageTitle": "āđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
"pageTitle": "āđāļāļīāļĢāđāļāđāļ§āļāļĢāđ",
|
||||||
"path": "āđāļŠāđāļāļāļēāļ",
|
"path": "āđāļŠāđāļāļāļēāļ",
|
||||||
"please_select": "āļāļĢāļļāļāļēāđāļĨāļ·āļāļ",
|
"please_select": "āļāļĢāļļāļāļēāđāļĨāļ·āļāļ",
|
||||||
"plugin": "āļāļēāļĢāļāļąāđāļāļāđāļēāļāļĨāļąāđāļāļāļīāļ",
|
|
||||||
"plugin_opts": "āļāļąāļ§āđāļĨāļ·āļāļāļāļĨāļąāđāļāļāļīāļ",
|
|
||||||
"port": "āļāļāļĢāđāļ",
|
"port": "āļāļāļĢāđāļ",
|
||||||
"protocol_configurations": "āļāļēāļĢāļāļąāđāļāļāđāļēāđāļāļĢāđāļāļāļāļĨ",
|
"protocol_configurations": "āļāļēāļĢāļāļąāđāļāļāđāļēāđāļāļĢāđāļāļāļāļĨ",
|
||||||
"protocol_configurations_desc": "āđāļāļīāļāđāļāđāļāļēāļāđāļĨāļ°āļāļģāļŦāļāļāļāđāļēāļāļĢāļ°āđāļ āļāđāļāļĢāđāļāļāļāļĨāļāļĩāđāļāđāļāļāļāļēāļĢ",
|
"protocol_configurations_desc": "āđāļāļīāļāđāļāđāļāļēāļāđāļĨāļ°āļāļģāļŦāļāļāļāđāļēāļāļĢāļ°āđāļ āļāđāļāļĢāđāļāļāļāļĨāļāļĩāđāļāđāļāļāļāļēāļĢ",
|
||||||
@@ -101,8 +104,54 @@
|
|||||||
"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": "āđāļĢāļĩāļĒāļāļĨāļģāļāļąāļāđāļĢāļĩāļĒāļāļĢāđāļāļĒāđāļĨāđāļ§",
|
||||||
"status": "āļŠāļāļēāļāļ°",
|
"status": "āļŠāļāļēāļāļ°",
|
||||||
"subscribeId": "ID āļāļēāļĢāļŠāļĄāļąāļāļĢāļŠāļĄāļēāļāļīāļ",
|
"subscribeId": "ID āļāļēāļĢāļŠāļĄāļąāļāļĢāļŠāļĄāļēāļāļīāļ",
|
||||||
"subscription": "āļāļēāļĢāļŠāļĄāļąāļāļĢāļŠāļĄāļēāļāļīāļ",
|
"subscription": "āļāļēāļĢāļŠāļĄāļąāļāļĢāļŠāļĄāļēāļāļīāļ",
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
"confirm": "āļĒāļ·āļāļĒāļąāļ",
|
"confirm": "āļĒāļ·āļāļĒāļąāļ",
|
||||||
"confirmDelete": "āļāļļāļāđāļāđāđāļāļŦāļĢāļ·āļāļ§āđāļēāļāđāļāļāļāļēāļĢāļĨāļ?",
|
"confirmDelete": "āļāļļāļāđāļāđāđāļāļŦāļĢāļ·āļāļ§āđāļēāļāđāļāļāļāļēāļĢāļĨāļ?",
|
||||||
"confirmOffline": "āļĒāļ·āļāļĒāļąāļāļāļāļāđāļĨāļāđ",
|
"confirmOffline": "āļĒāļ·āļāļĒāļąāļāļāļāļāđāļĨāļāđ",
|
||||||
|
"copySubscription": "āļāļąāļāļĨāļāļāļāļēāļĢāļŠāļĄāļąāļāļĢāļŠāļĄāļēāļāļīāļ",
|
||||||
|
"copySuccess": "āļāļąāļāļĨāļāļāļŠāļģāđāļĢāđāļ",
|
||||||
"create": "āļŠāļĢāđāļēāļ",
|
"create": "āļŠāļĢāđāļēāļ",
|
||||||
"createSubscription": "āļŠāļĢāđāļēāļāļāļēāļĢāļŠāļĄāļąāļāļĢāļŠāļĄāļēāļāļīāļ",
|
"createSubscription": "āļŠāļĢāđāļēāļāļāļēāļĢāļŠāļĄāļąāļāļĢāļŠāļĄāļēāļāļīāļ",
|
||||||
"createSuccess": "āļŠāļĢāđāļēāļāļŠāļģāđāļĢāđāļ",
|
"createSuccess": "āļŠāļĢāđāļēāļāļŠāļģāđāļĢāđāļ",
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user