From 130a9fa63c8adc1b4298f7395d2fddd92215530a Mon Sep 17 00:00:00 2001 From: Hao Wu Date: Sat, 7 Sep 2024 13:53:07 +0800 Subject: [PATCH] Add API token fetching and copying functionality in General settings. (#522) * Add API token fetching and copying functionality in General settings. * Refactor locale files: remove unused bot and admin translations, add common and setting translations for API Token. --- web/src/components/common/Setting/General.vue | 38 ++++++++++++++++++- web/src/locales/en-US-more.json | 29 +++++--------- web/src/locales/en-US.json | 4 ++ web/src/locales/zh-CN.json | 5 ++- web/src/locales/zh-TW-more.json | 28 +++++--------- web/src/locales/zh-TW.json | 4 ++ 6 files changed, 66 insertions(+), 42 deletions(-) diff --git a/web/src/components/common/Setting/General.vue b/web/src/components/common/Setting/General.vue index 00493567..f87990ca 100644 --- a/web/src/components/common/Setting/General.vue +++ b/web/src/components/common/Setting/General.vue @@ -1,11 +1,13 @@