Skip to content

Commit

Permalink
fix: 🐛 The internationalization problem of repairing path selector
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Jul 23, 2024
1 parent 95c0094 commit 8e6af20
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8e6af20

Please sign in to comment.