fix: Update settings to support internationalization properly

This commit is contained in:
BlakeNeko
2025-11-15 22:25:48 +08:00
parent 7a279d71c3
commit e622148b27
+2 -2
View File
@@ -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;
},