diff --git a/src/components/SubtitleDialog.vue b/src/components/SubtitleDialog.vue index 28da4b6..ddc8c24 100644 --- a/src/components/SubtitleDialog.vue +++ b/src/components/SubtitleDialog.vue @@ -220,8 +220,9 @@ export default defineComponent({ menubar: true, }, font_size_formats: get_font_size_formarts(), + content_style: ".mce-content-body {font-size:60pt;}", skin: "tinymce-5", - language: i18n.locale.value == "zh-CN" ? "zh_CN" : "", + language: i18n.locale.value == "zh-CN" ? "zh_CN" : "en_US", menubar: false, branding: false, toolbar_mode: "wrap", @@ -290,7 +291,6 @@ export default defineComponent({ resetData() { loading.value = false; }, - async onSubmit() { loading.value = true; try { diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index b88a711..d061125 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -324,4 +324,11 @@ export default { "current real": "Current Real", "the port number must be between 0 and 65535": "The Port Number Must Be Between 0 And 65535", + "running now": "Running Now", + "run plan directives send": "Run Plan Directives Send", + "plan running! can't call mode!": "Plan Running! Can't Call Mode!", + "call mode directives send": "Call Mode Directives Send", + "send power on command": "Send Power On Command", + "send power off command": "Send Power Off Command", + "set subtitle success": "Set OSD Success", };