mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
feat: add domain rules management feature
- Introduced a new DomainRulesPage component for managing custom and global equivalent domains. - Updated AppMainRoutes to include a route for domain rules. - Added API functions to fetch and save domain rules. - Enhanced localization with new strings for domain rules in multiple languages. - Updated styles for the new domain rules interface and ensured responsiveness. - Added types for domain rules in the TypeScript definitions.
This commit is contained in:
@@ -874,7 +874,28 @@ const zhCN: Record<string, string> = {
|
||||
"txt_status_inactive": "未激活",
|
||||
"txt_language": "语言",
|
||||
"txt_display_language": "显示语言",
|
||||
"txt_language_saved_locally": "此偏好会保存在当前浏览器中,下次打开应用前就会生效。"
|
||||
"txt_language_saved_locally": "此偏好会保存在当前浏览器中,下次打开应用前就会生效。",
|
||||
"nav_domain_rules": "域名规则",
|
||||
"txt_domain_rules_description": "多个网站共用同一登录信息时,可将它们设为等效域名;全局规则来自预置列表,自定义规则只影响你自己的匹配。",
|
||||
"txt_submit_pr": "提交 PR",
|
||||
"txt_custom_equivalent_domains": "自定义等效域名",
|
||||
"txt_global_equivalent_domains": "全局等效域名",
|
||||
"txt_domain_group": "域名组",
|
||||
"txt_no_custom_domain_rules": "暂无自定义域名规则",
|
||||
"txt_no_domain_rules_found": "未找到域名规则",
|
||||
"txt_search_domains": "搜索域名",
|
||||
"txt_domain_rules_saved": "域名规则已保存",
|
||||
"txt_domain_rules_save_failed": "保存域名规则失败",
|
||||
"txt_domain_rules_load_failed": "加载域名规则失败",
|
||||
"txt_domain_rules_invalid_response": "域名规则响应无效",
|
||||
"txt_domain_rules_refreshed": "域名规则已刷新",
|
||||
"txt_saving": "保存中...",
|
||||
"txt_domain_rule_needs_two_domains": "每条域名规则至少需要两个域名。",
|
||||
"txt_domain_rule_invalid_domains": "请输入有效域名,例如 example.com。",
|
||||
"txt_add_domain": "新增域名",
|
||||
"txt_expand": "展开",
|
||||
"txt_collapse": "收起",
|
||||
"txt_remove_domain": "移除域名"
|
||||
};
|
||||
|
||||
export default zhCN;
|
||||
|
||||
Reference in New Issue
Block a user