From 4fdef7f436d9cfb36b69559b3d8da497bf1e0a82 Mon Sep 17 00:00:00 2001 From: BlakeNeko Date: Wed, 26 Nov 2025 10:04:26 +0800 Subject: [PATCH] refactor: Rename 'Add Trailing Comma' to 'Use Trailing Comma' and update in localization files --- locales/en/settings.json | 6 +++--- locales/zh-TW/settings.json | 4 ++-- locales/zh/settings.json | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/locales/en/settings.json b/locales/en/settings.json index 984fbc9..f7ea594 100644 --- a/locales/en/settings.json +++ b/locales/en/settings.json @@ -79,9 +79,9 @@ "manual": "Manual" } }, - "AutocompletePlus_AutoFormatter_AddTrailingComma": { - "name": "Add Trailing Comma", - "tooltip": "Add a comma at the end of each line when auto-formatting" + "AutocompletePlus_AutoFormatter_UseTrailingComma": { + "name": "Use Trailing Comma", + "tooltip": "When enabled, ensures all lines end with a trailing comma.\nWhen disabled, removes trailing commas." }, "AutocompletePlus_AutoFormatter_EnableAutoFormat": { "name": "Enable Auto Format" diff --git a/locales/zh-TW/settings.json b/locales/zh-TW/settings.json index f5080d5..b0d930c 100644 --- a/locales/zh-TW/settings.json +++ b/locales/zh-TW/settings.json @@ -79,9 +79,9 @@ "manual": "手動" } }, - "AutocompletePlus_AutoFormatter_AddTrailingComma": { + "AutocompletePlus_AutoFormatter_UseTrailingComma": { "name": "在行末添加逗號", - "tooltip": "自動格式化時在每行末尾添加逗號" + "tooltip": "啟用時,確保所有行都以逗號結尾。\n停用時,移除結尾逗號。" }, "AutocompletePlus_AutoFormatter_EnableAutoFormat": { "name": "啟用自動格式化" diff --git a/locales/zh/settings.json b/locales/zh/settings.json index face403..7cb56b7 100644 --- a/locales/zh/settings.json +++ b/locales/zh/settings.json @@ -79,9 +79,9 @@ "manual": "手动" } }, - "AutocompletePlus_AutoFormatter_AddTrailingComma": { + "AutocompletePlus_AutoFormatter_UseTrailingComma": { "name": "在行末添加逗号", - "tooltip": "自动格式化时在每行末尾添加逗号" + "tooltip": "启用时,确保所有行都以逗号结尾。\n禁用时,移除结尾逗号。" }, "AutocompletePlus_AutoFormatter_EnableAutoFormat": { "name": "启用自动格式化"