We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae5a2c commit 369bc30Copy full SHA for 369bc30
src/utils.ts
@@ -438,7 +438,7 @@ export function splitLocaleMessages (
438
let buildingPath = ''
439
for (let i = 0; i < groupLen; i++) {
440
if (match[i + 1]) {
441
- buildingPath = `${buildingPath}${match[i + 1] === filename ? filename : match[i + 1] === l ? l : match[i + 1]}${(i + 1) === groupLen - 1 ? '' : '/'}`
+ buildingPath = `${buildingPath}${match[i + 1] === filename ? filename : match[i + 1] === locale ? l : match[i + 1]}${(i + 1) === groupLen - 1 ? '' : '/'}`
442
}
443
if (i === groupLen - 1) {
444
buildingPath = `${buildingPath}.json`
0 commit comments