Prevent use esm-bundler build vue-i18n
Escape keyword:  '@'
This commit is contained in:
zsxeee 2021-10-06 18:21:31 +08:00
parent c8706b9aa1
commit 54d2fbcc02
No known key found for this signature in database
GPG key ID: 895CFFFD8313B3B8
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
import { createI18n } from "vue-i18n";
import { createI18n } from "vue-i18n/index";
import bgBG from "./languages/bg-BG";
import daDK from "./languages/da-DK";
import deDE from "./languages/de-DE";

View file

@ -209,7 +209,7 @@ export default {
wayToGetDiscordURL: "You can get this by going to Server Settings -> Integrations -> Create Webhook",
"Bot Display Name": "Bot Display Name",
"Prefix Custom Message": "Prefix Custom Message",
"Hello @everyone is...": "Hello @everyone is...",
"Hello @everyone is...": "Hello {'@'}everyone is...",
"teams": "Microsoft Teams",
"Webhook URL": "Webhook URL",
wayToGetTeamsURL: "You can learn how to create a webhook url {0}.",