From 8e6af2087e86a649ff0b89394978add4dc2328e2 Mon Sep 17 00:00:00 2001 From: viarotel Date: Tue, 23 Jul 2024 14:37:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20The=20internationalizatio?= =?UTF-8?q?n=20problem=20of=20repairing=20path=20selector?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/PreferenceForm/components/InputPath/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Preference/components/PreferenceForm/components/InputPath/index.vue b/src/components/Preference/components/PreferenceForm/components/InputPath/index.vue index abe34041..3771acd0 100644 --- a/src/components/Preference/components/PreferenceForm/components/InputPath/index.vue +++ b/src/components/Preference/components/PreferenceForm/components/InputPath/index.vue @@ -58,7 +58,10 @@ export default { 'show-open-dialog', { properties: properties || [], - filters: filters || [], + filters: (filters || []).map(item => ({ + ...item, + name: window.t(item.name), + })), ...(defaultPath ? { defaultPath,