From 8448e5ffebf9e54a2666ce3fe31c21d2c0d5019d Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Sun, 21 May 2023 00:16:15 +0800 Subject: [PATCH] Complete lang switch --- .../setting-panel/KUNGalgameSettingPanel.vue | 74 ++++++++++++++----- src/hooks/useLang.ts | 26 ------- src/language/i18n.ts | 5 +- src/utils/cache/cache-key.ts | 23 ------ src/utils/cache/local-storage.ts | 17 ----- 5 files changed, 56 insertions(+), 89 deletions(-) delete mode 100644 src/hooks/useLang.ts delete mode 100644 src/utils/cache/cache-key.ts delete mode 100644 src/utils/cache/local-storage.ts diff --git a/src/components/setting-panel/KUNGalgameSettingPanel.vue b/src/components/setting-panel/KUNGalgameSettingPanel.vue index f0b669b6..7a39aacc 100644 --- a/src/components/setting-panel/KUNGalgameSettingPanel.vue +++ b/src/components/setting-panel/KUNGalgameSettingPanel.vue @@ -1,5 +1,7 @@