i18n-ally icon indicating copy to clipboard operation
i18n-ally copied to clipboard

'i18n-ally.detect_hard_strings' can not work with 'import { type xx} from 'xxx';

Open yao8384 opened this issue 8 months ago • 1 comments

Describe the bug

'i18n-ally.detect_hard_strings' can not work with 'import { type xx} from 'xxx';

but 'import type {xx} from 'xxx'; work well

Extension Version

i18n Ally v2.12.0

Framework/i18n package you are using

"vue-i18n": "^9.13.1"

Device Infomation Version: 1.90.0 (system setup) Commit: 89de5a8d4d6205e5b11647eb6a74844ca23d2573 Date: 2024-06-04T19:33:54.889Z Electron: 29.4.0 ElectronBuildId: 9593362 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631

Extension Log Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information

🐛 ERROR: SyntaxError: Unexpected token, expected "," (7:24)
SyntaxError: Unexpected token, expected "," (7:24)

yao8384 avatar Jun 18 '24 02:06 yao8384