-
-
Notifications
You must be signed in to change notification settings - Fork 380
Closed
Labels
Status: PR WelcomeWelcome to Pull RequestWelcome to Pull RequestStatus: Review NeededRequest for review commentsRequest for review commentsType: BugBug or Bug fixesBug or Bug fixesgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed🔨 p3-minor-bugPriority 3: a bug in an edge case that only affects very specific usagePriority 3: a bug in an edge case that only affects very specific usage
Description
Reporting a bug?
When $te is matching to only a part of a valid translation key it still returns true
Expected behavior
It should return false, unless there is really a translation for this key.
Reproduction
https://stackblitz.com/edit/vitejs-vite-osouet?file=src%2Fmain.ts,src%2FApp.vue
System Info
System:
OS: Windows 10 10.0.22621
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Memory: 67.01 GB / 95.78 GB
Binaries:
Node: 18.17.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD
pnpm: 8.6.12 - ~\AppData\Roaming\npm\pnpm.CMD
Browsers:
Chrome: 116.0.5845.188
Edge: Spartan (44.22621.2283.0), Chromium (116.0.1938.81)
Internet Explorer: 11.0.22621.1
npmPackages:
@intlify/unplugin-vue-i18n: 1.2.0 => 1.2.0
@vitejs/plugin-vue: 4.3.4 => 4.3.4
@vue/compiler-dom: 3.3.4 => 3.3.4
@vue/eslint-config-prettier: 8.0.0 => 8.0.0
@vue/eslint-config-typescript: 12.0.0 => 12.0.0
@vue/runtime-core: 3.3.4 => 3.3.4
@vue/server-renderer: 3.3.4 => 3.3.4
@vue/test-utils: 2.4.1 => 2.4.1
vite: 4.4.9 => 4.4.9
vite-bundle-visualizer: 0.10.0 => 0.10.0
vitest: 0.34.4 => 0.34.4
vue: 3.3.4 => 3.3.4
vue-eslint-parser: 9.3.1 => 9.3.1
vue-focus-lock: 2.0.5 => 2.0.5
vue-global-events: 3.0.0 => 3.0.0
vue-i18n: 9.4.1 => 9.4.1
vue-router: 4.2.4 => 4.2.4
vue-tsc: 1.8.11 => 1.8.11Screenshot
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussions
Metadata
Metadata
Assignees
Labels
Status: PR WelcomeWelcome to Pull RequestWelcome to Pull RequestStatus: Review NeededRequest for review commentsRequest for review commentsType: BugBug or Bug fixesBug or Bug fixesgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed🔨 p3-minor-bugPriority 3: a bug in an edge case that only affects very specific usagePriority 3: a bug in an edge case that only affects very specific usage