Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
fix issue #182 (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
stif authored Mar 17, 2021
1 parent 6048dba commit 14bad4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/templates/js/src/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function loadLocaleMessages () {
const matched = key.match(/([A-Za-z0-9-_]+)\./i)
if (matched && matched.length > 1) {
const locale = matched[1]
messages[locale] = locales(key).default
messages[locale] = locales(key)
}
})
return messages
Expand Down

0 comments on commit 14bad4c

Please sign in to comment.