Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yao8384 opened this issue Jun 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@yao8384
Copy link

yao8384 commented Jun 18, 2024

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 yao8384 added the bug Something isn't working label Jun 18, 2024
@Harris-H
Copy link

the same question. if have the content. hard-coded strings detect is useless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants