From eff3d9587eba90530512eee37d608e57cdc3ce66 Mon Sep 17 00:00:00 2001
From: Soulter <37870767+Soulter@users.noreply.github.com>
Date: Mon, 14 Sep 2026 20:03:41 +0800
Subject: [PATCH 1/3] feat: recreate bot platforms through QR scanning
---
.../components/platform/AddNewPlatform.vue | 50 ++++++++++++++++---
.../components/platform/PlatformEditor.vue | 26 +++++++++-
.../i18n/locales/en-US/features/platform.json | 2 +
.../i18n/locales/ja-JP/features/platform.json | 2 +
.../i18n/locales/ru-RU/features/platform.json | 2 +
.../i18n/locales/zh-CN/features/platform.json | 2 +
dashboard/src/views/PlatformPage.vue | 40 +++++++++++++++
7 files changed, 115 insertions(+), 9 deletions(-)
diff --git a/dashboard/src/components/platform/AddNewPlatform.vue b/dashboard/src/components/platform/AddNewPlatform.vue
index 7bc05e91bf..a5cb6411d3 100644
--- a/dashboard/src/components/platform/AddNewPlatform.vue
+++ b/dashboard/src/components/platform/AddNewPlatform.vue
@@ -9,10 +9,10 @@
{{
updatingMode
- ? `${tm('dialog.edit')} ${updatingPlatformConfig.id} ${tm(
- 'dialog.adapter',
+ ? `${tm("dialog.edit")} ${updatingPlatformConfig.id} ${tm(
+ "dialog.adapter",
)}`
- : tm('dialog.addPlatform')
+ : tm("dialog.addPlatform")
}}
- {{ tm("dialog.cancel") }}
+ {{
+ tm("dialog.cancel")
+ }}