diff --git a/auto-i18n.project.yaml b/auto-i18n.project.yaml new file mode 100644 index 0000000..c67c389 --- /dev/null +++ b/auto-i18n.project.yaml @@ -0,0 +1,11 @@ +code_files: +- './src/**/*.ts' +- './src/**/*.tsx' +dict: {} +export_dir: src/types +i18n_dir: public/i18n +i18n_pattern: \(\(`(.+?)`\)\) +i18n_var_mid: filename +i18n_var_prefix: i18n +main_file: zh_CN.yaml +strategy: diff diff --git a/package.json b/package.json index fe1ad44..2256e0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sy-bookmark-plus", - "version": "1.4.0-dev1", + "version": "1.4.0", "type": "module", "description": "A more powerful bookmark", "repository": "", @@ -8,9 +8,6 @@ "author": "frostime", "license": "GPL-3.0-only", "scripts": { - "make-link": "node --no-warnings ./scripts/make_dev_link.js", - "make-link-win": "powershell.exe -NoProfile -ExecutionPolicy Bypass -File ./scripts/elevate.ps1 -scriptPath ./scripts/make_dev_link.js", - "update-version": "node --no-warnings ./scripts/update_version.js", "dev": "cross-env NODE_ENV=development VITE_SOURCEMAP=inline vite build --watch", "build": "cross-env NODE_ENV=production vite build", "build-srcmap": "cross-env NODE_ENV=production VITE_SOURCEMAP=inline vite build", diff --git a/plugin.json b/plugin.json index b320dda..5aefa86 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "sy-bookmark-plus", "author": "frostime", "url": "https://github.com/frostime/sy-bookmark-plus", - "version": "1.4.0-dev1", + "version": "1.4.0", "minAppVersion": "3.0.12", "backends": [ "all" diff --git a/src/components/group.tsx b/src/components/group.tsx index 98d92e2..c4988bd 100644 --- a/src/components/group.tsx +++ b/src/components/group.tsx @@ -44,7 +44,7 @@ const useGroupIcon = (props: Parameters[0]) => { type: 'symbol' | 'emoji' | ''; value: string; }) => { if (!icon || icon.type === '') { - return + return } else if (icon.type === 'symbol') { return } else if (icon.type === 'emoji') {