Browse Source

Fix i18n

Prevent use esm-bundler build vue-i18n
Escape keyword:  '@'
pull/451/head
zsxeee 3 years ago
parent
commit
54d2fbcc02
No known key found for this signature in database GPG Key ID: 895CFFFD8313B3B8
  1. 2
      src/i18n.js
  2. 2
      src/languages/en.js

2
src/i18n.js

@ -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";

2
src/languages/en.js

@ -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}.",

Loading…
Cancel
Save