Enhance configuration flow to allow single instance only

- Implemented check to abort configuration if an instance already exists
- Updated error messages in strings.json to reflect new abort reason
This commit is contained in:
不求圣剑
2025-10-14 14:11:59 +08:00
parent 18c47052e6
commit 96db87a722
2 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,8 @@
"invalid_port": "端口号必须在 1-65535 范围内"
},
"abort": {
"already_configured": "该集成已配置"
"already_configured": "该集成已配置",
"single_instance_allowed": "该集成已配置"
}
}
}