From e622148b274e3a8f280af62a3e9a9428cc54c099 Mon Sep 17 00:00:00 2001 From: BlakeNeko Date: Sat, 15 Nov 2025 22:25:48 +0800 Subject: [PATCH] fix: Update settings to support internationalization properly --- web/js/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/js/main.js b/web/js/main.js index 0dc6530..45cf085 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -424,12 +424,12 @@ app.registerExtension({ // --- Auto format settings --- { - id: id + '.enable_auto_format', + id: id + '.AutoFormatter.EnableAutoFormat', name: 'Enable Auto Format on Blur', description: 'Automatically format prompts when leaving the input field (add commas and spaces, remove extra spaces)', type: 'boolean', defaultValue: true, - category: [name, 'Autocompletion', 'Enable Auto Format'], + category: [name, 'AutoFormatter', 'Enable Auto Format'], onChange: (newVal, oldVal) => { settingValues.enableAutoFormat = newVal; },