更新Tinymce到6版本并增加wordcount插件显示字数。

增加服务端返回自定义标题功能
更新Quasar版本
更新英文翻译
This commit is contained in:
fangxiang 2023-01-07 14:20:48 +08:00
parent b8319dee50
commit 273a141823
28 changed files with 528 additions and 472 deletions

View File

@ -18,7 +18,7 @@
"core-js": "^3.21.0",
"element-resize-detector": "^1.2.4",
"qrcode.vue": "^3.3.3",
"quasar": "^2.11.3",
"quasar": "^2.11.4",
"reconnecting-websocket": "^4.4.0",
"sortablejs": "^1.15.0",
"to": "^0.2.9",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 262 KiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
This is where language files should be placed.
Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/

View File

@ -0,0 +1,412 @@
/*!
* TinyMCE Language Pack
*
* Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
* Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/
*/
tinymce.addI18n('zh-Hans', {
"Redo": "重做",
"Undo": "撤销",
"Cut": "剪切",
"Copy": "复制",
"Paste": "粘贴",
"Select all": "全选",
"New document": "新建文档",
"Ok": "确定",
"Cancel": "取消",
"Visual aids": "网格线",
"Bold": "粗体",
"Italic": "斜体",
"Underline": "下划线",
"Strikethrough": "删除线",
"Superscript": "上标",
"Subscript": "下标",
"Clear formatting": "清除格式",
"Remove": "移除",
"Align left": "左对齐",
"Align center": "居中对齐",
"Align right": "右对齐",
"No alignment": "未对齐",
"Justify": "两端对齐",
"Bullet list": "无序列表",
"Numbered list": "有序列表",
"Decrease indent": "减少缩进",
"Increase indent": "增加缩进",
"Close": "关闭",
"Formats": "格式",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.": "你的浏览器不支持打开剪贴板请使用Ctrl+X/C/V等快捷键。",
"Headings": "标题",
"Heading 1": "一级标题",
"Heading 2": "二级标题",
"Heading 3": "三级标题",
"Heading 4": "四级标题",
"Heading 5": "五级标题",
"Heading 6": "六级标题",
"Preformatted": "预先格式化的",
"Div": "Div",
"Pre": "前言",
"Code": "代码",
"Paragraph": "段落",
"Blockquote": "引文区块",
"Inline": "文本",
"Blocks": "样式",
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "当前为纯文本粘贴模式,再次点击可以回到普通粘贴模式。",
"Fonts": "字体",
"Font sizes": "字体大小",
"Class": "类型",
"Browse for an image": "浏览图像",
"OR": "或",
"Drop an image here": "拖放一张图像至此",
"Upload": "上传",
"Uploading image": "上传图片",
"Block": "块",
"Align": "对齐",
"Default": "预设",
"Circle": "空心圆",
"Disc": "实心圆",
"Square": "实心方块",
"Lower Alpha": "小写英文字母",
"Lower Greek": "小写希腊字母",
"Lower Roman": "小写罗马数字",
"Upper Alpha": "大写英文字母",
"Upper Roman": "大写罗马数字",
"Anchor...": "锚点...",
"Anchor": "锚点",
"Name": "名称",
"ID": "ID",
"ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "ID应该以英文字母开头后面只能有英文字母、数字、破折号、点、冒号或下划线。",
"You have unsaved changes are you sure you want to navigate away?": "你还有文档尚未保存,确定要离开?",
"Restore last draft": "恢复上次的草稿",
"Special character...": "特殊字符...",
"Special Character": "特殊字符",
"Source code": "源代码",
"Insert/Edit code sample": "插入/编辑代码示例",
"Language": "语言",
"Code sample...": "示例代码...",
"Left to right": "由左到右",
"Right to left": "由右到左",
"Title": "标题",
"Fullscreen": "全屏",
"Action": "动作",
"Shortcut": "快捷方式",
"Help": "帮助",
"Address": "地址",
"Focus to menubar": "移动焦点到菜单栏",
"Focus to toolbar": "移动焦点到工具栏",
"Focus to element path": "移动焦点到元素路径",
"Focus to contextual toolbar": "移动焦点到上下文菜单",
"Insert link (if link plugin activated)": "插入链接 (如果链接插件已激活)",
"Save (if save plugin activated)": "保存(如果保存插件已激活)",
"Find (if searchreplace plugin activated)": "查找(如果查找替换插件已激活)",
"Plugins installed ({0}):": "已安装插件 ({0}):",
"Premium plugins:": "优秀插件:",
"Learn more...": "了解更多...",
"You are using {0}": "你正在使用 {0}",
"Plugins": "插件",
"Handy Shortcuts": "快捷键",
"Horizontal line": "水平分割线",
"Insert/edit image": "插入/编辑图片",
"Alternative description": "替代描述",
"Accessibility": "辅助功能",
"Image is decorative": "图像是装饰性的",
"Source": "源",
"Dimensions": "尺寸",
"Constrain proportions": "保持比例",
"General": "一般",
"Advanced": "高级",
"Style": "样式",
"Vertical space": "垂直间距",
"Horizontal space": "水平间距",
"Border": "框线",
"Insert image": "插入图片",
"Image...": "图片...",
"Image list": "图片清单",
"Resize": "调整大小",
"Insert date/time": "插入日期/时间",
"Date/time": "日期/时间",
"Insert/edit link": "插入/编辑链接",
"Text to display": "要显示的文本",
"Url": "地址",
"Open link in...": "链接打开位置...",
"Current window": "当前窗口",
"None": "无",
"New window": "新窗口",
"Open link": "打开链接",
"Remove link": "移除链接",
"Anchors": "锚点",
"Link...": "链接...",
"Paste or type a link": "粘贴或输入链接",
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "你所填写的URL地址为邮件地址需要加上mailto: 前缀吗?",
"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?": "你所填写的URL地址属于外部链接需要加上http:// 前缀吗?",
"The URL you entered seems to be an external link. Do you want to add the required https:// prefix?": "您输入的 URL 似乎是一个外部链接。您想添加所需的 https:// 前缀吗?",
"Link list": "链接清单",
"Insert video": "插入视频",
"Insert/edit video": "插入/编辑视频",
"Insert/edit media": "插入/编辑媒体",
"Alternative source": "镜像",
"Alternative source URL": "替代来源网址",
"Media poster (Image URL)": "封面(图片地址)",
"Paste your embed code below:": "将内嵌代码粘贴在下面:",
"Embed": "内嵌",
"Media...": "多媒体...",
"Nonbreaking space": "不间断空格",
"Page break": "分页符",
"Paste as text": "粘贴为文本",
"Preview": "预览",
"Print": "打印",
"Print...": "打印...",
"Save": "保存",
"Find": "寻找",
"Replace with": "替换为",
"Replace": "替换",
"Replace all": "替换全部",
"Previous": "上一个",
"Next": "下一个",
"Find and Replace": "查找和替换",
"Find and replace...": "查找并替换...",
"Could not find the specified string.": "未找到搜索内容。",
"Match case": "大小写匹配",
"Find whole words only": "全字匹配",
"Find in selection": "在选区中查找",
"Insert table": "插入表格",
"Table properties": "表格属性",
"Delete table": "删除表格",
"Cell": "单元格",
"Row": "行",
"Column": "栏目",
"Cell properties": "单元格属性",
"Merge cells": "合并单元格",
"Split cell": "拆分单元格",
"Insert row before": "在上方插入行",
"Insert row after": "在下方插入行",
"Delete row": "删除行",
"Row properties": "行属性",
"Cut row": "剪切行",
"Cut column": "剪切列",
"Copy row": "复制行",
"Copy column": "复制列",
"Paste row before": "粘贴行到上方",
"Paste column before": "粘贴此列前",
"Paste row after": "粘贴行到下方",
"Paste column after": "粘贴后面的列",
"Insert column before": "在左侧插入列",
"Insert column after": "在右侧插入列",
"Delete column": "删除列",
"Cols": "列",
"Rows": "行数",
"Width": "宽度",
"Height": "高度",
"Cell spacing": "单元格外间距",
"Cell padding": "单元格内边距",
"Row clipboard actions": "行剪贴板操作",
"Column clipboard actions": "列剪贴板操作",
"Table styles": "表格样式",
"Cell styles": "单元格样式",
"Column header": "列标题",
"Row header": "行头",
"Table caption": "表格标题",
"Caption": "标题",
"Show caption": "显示标题",
"Left": "左",
"Center": "居中",
"Right": "右",
"Cell type": "储存格别",
"Scope": "范围",
"Alignment": "对齐",
"Horizontal align": "水平对齐",
"Vertical align": "垂直对齐",
"Top": "上方对齐",
"Middle": "居中对齐",
"Bottom": "下方对齐",
"Header cell": "表头单元格",
"Row group": "行组",
"Column group": "列组",
"Row type": "行类型",
"Header": "表头",
"Body": "表体",
"Footer": "表尾",
"Border color": "框线颜色",
"Solid": "实线",
"Dotted": "虚线",
"Dashed": "虚线",
"Double": "双精度",
"Groove": "凹槽",
"Ridge": "海脊座",
"Inset": "嵌入",
"Outset": "外置",
"Hidden": "隐藏",
"Insert template...": "插入模板...",
"Templates": "模板",
"Template": "模板",
"Insert Template": "插入模板",
"Text color": "文本颜色",
"Background color": "背景颜色",
"Custom...": "自定义......",
"Custom color": "自定义颜色",
"No color": "无",
"Remove color": "移除颜色",
"Show blocks": "显示区块边框",
"Show invisible characters": "显示不可见字符",
"Word count": "字数",
"Count": "计数",
"Document": "文档",
"Selection": "选择",
"Words": "单词",
"Words: {0}": "字数:{0}",
"{0} words": "{0} 字",
"File": "文件",
"Edit": "编辑",
"Insert": "插入",
"View": "查看",
"Format": "格式",
"Table": "表格",
"Tools": "工具",
"Powered by {0}": "由{0}驱动",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "编辑区。按ALT-F9打开菜单按ALT-F10打开工具栏按ALT-0查看帮助",
"Image title": "图片标题",
"Border width": "边框宽度",
"Border style": "边框样式",
"Error": "错误",
"Warn": "警告",
"Valid": "有效",
"To open the popup, press Shift+Enter": "按Shitf+Enter键打开对话框",
"Rich Text Area": "富文本区域",
"Rich Text Area. Press ALT-0 for help.": "编辑区。按Alt+0键打开帮助。",
"System Font": "系统字体",
"Failed to upload image: {0}": "图片上传失败: {0}",
"Failed to load plugin: {0} from url {1}": "插件加载失败: {0} 来自链接 {1}",
"Failed to load plugin url: {0}": "插件加载失败 链接: {0}",
"Failed to initialize plugin: {0}": "插件初始化失败: {0}",
"example": "示例",
"Search": "搜索",
"All": "全部",
"Currency": "货币",
"Text": "文字",
"Quotations": "引用",
"Mathematical": "数学",
"Extended Latin": "拉丁语扩充",
"Symbols": "符号",
"Arrows": "箭头",
"User Defined": "自定义",
"dollar sign": "美元符号",
"currency sign": "货币符号",
"euro-currency sign": "欧元符号",
"colon sign": "冒号",
"cruzeiro sign": "克鲁赛罗币符号",
"french franc sign": "法郎符号",
"lira sign": "里拉符号",
"mill sign": "密尔符号",
"naira sign": "奈拉符号",
"peseta sign": "比塞塔符号",
"rupee sign": "卢比符号",
"won sign": "韩元符号",
"new sheqel sign": "新谢克尔符号",
"dong sign": "越南盾符号",
"kip sign": "老挝基普符号",
"tugrik sign": "图格里克符号",
"drachma sign": "德拉克马符号",
"german penny symbol": "德国便士符号",
"peso sign": "比索符号",
"guarani sign": "瓜拉尼符号",
"austral sign": "澳元符号",
"hryvnia sign": "格里夫尼亚符号",
"cedi sign": "塞地符号",
"livre tournois sign": "里弗弗尔符号",
"spesmilo sign": "spesmilo符号",
"tenge sign": "坚戈符号",
"indian rupee sign": "印度卢比",
"turkish lira sign": "土耳其里拉",
"nordic mark sign": "北欧马克",
"manat sign": "马纳特符号",
"ruble sign": "卢布符号",
"yen character": "日元字样",
"yuan character": "人民币元字样",
"yuan character, in hong kong and taiwan": "元字样(港台地区)",
"yen/yuan character variant one": "元字样(大写)",
"Emojis": "Emojis",
"Emojis...": "Emojis...",
"Loading emojis...": "正在加载Emojis...",
"Could not load emojis": "无法加载Emojis",
"People": "人类",
"Animals and Nature": "动物和自然",
"Food and Drink": "食物和饮品",
"Activity": "活动",
"Travel and Places": "旅游和地点",
"Objects": "物件",
"Flags": "旗帜",
"Characters": "字符",
"Characters (no spaces)": "字符(无空格)",
"{0} characters": "{0} 个字符",
"Error: Form submit field collision.": "错误: 表单提交字段冲突。",
"Error: No form element found.": "错误: 没有表单控件。",
"Color swatch": "颜色样本",
"Color Picker": "选色器",
"Invalid hex color code: {0}": "十六进制颜色代码无效: {0}",
"Invalid input": "无效输入",
"R": "R",
"Red component": "红色部分",
"G": "G",
"Green component": "绿色部分",
"B": "B",
"Blue component": "白色部分",
"#": "#",
"Hex color code": "十六进制颜色代码",
"Range 0 to 255": "范围0至255",
"Turquoise": "青绿色",
"Green": "绿色",
"Blue": "蓝色",
"Purple": "紫色",
"Navy Blue": "海军蓝",
"Dark Turquoise": "深蓝绿色",
"Dark Green": "深绿色",
"Medium Blue": "中蓝色",
"Medium Purple": "中紫色",
"Midnight Blue": "深蓝色",
"Yellow": "黄色",
"Orange": "橙色",
"Red": "红色",
"Light Gray": "浅灰色",
"Gray": "灰色",
"Dark Yellow": "暗黄色",
"Dark Orange": "深橙色",
"Dark Red": "深红色",
"Medium Gray": "中灰色",
"Dark Gray": "深灰色",
"Light Green": "浅绿色",
"Light Yellow": "浅黄色",
"Light Red": "浅红色",
"Light Purple": "浅紫色",
"Light Blue": "浅蓝色",
"Dark Purple": "深紫色",
"Dark Blue": "深蓝色",
"Black": "黑色",
"White": "白色",
"Switch to or from fullscreen mode": "切换全屏模式",
"Open help dialog": "打开帮助对话框",
"history": "历史",
"styles": "样式",
"formatting": "格式化",
"alignment": "对齐",
"indentation": "缩进",
"Font": "字体",
"Size": "字号",
"More...": "更多...",
"Select...": "选择...",
"Preferences": "首选项",
"Yes": "是",
"No": "否",
"Keyboard Navigation": "键盘指引",
"Version": "版本",
"Code view": "代码视图",
"Open popup menu for split buttons": "打开弹出式菜单,用于拆分按钮",
"List Properties": "列表属性",
"List properties...": "标题字体属性",
"Start list at number": "以数字开始列表",
"Line height": "行高",
"Dropped file type is not supported": "此文件类型不支持拖放",
"Loading...": "加载中...",
"ImageProxy HTTP error: Rejected request": "图片代理请求错误:请求被拒绝",
"ImageProxy HTTP error: Could not find Image Proxy": "图片代理请求错误:无法找到图片代理",
"ImageProxy HTTP error: Incorrect Image Proxy URL": "图片代理请求错误:图片代理地址错误",
"ImageProxy HTTP error: Unknown ImageProxy error": "图片代理请求错误:未知的图片代理错误"
});

View File

@ -1,417 +0,0 @@
tinymce.addI18n('zh_CN',{
"Redo": "恢复",
"Undo": "撤销",
"Cut": "剪切",
"Copy": "复制",
"Paste": "粘贴",
"Select all": "全选",
"New document": "新建文档",
"Ok": "确定",
"Cancel": "取消",
"Visual aids": "网格线",
"Bold": "粗体",
"Italic": "斜体",
"Underline": "下划线",
"Strikethrough": "删除线",
"Superscript": "上标",
"Subscript": "下标",
"Clear formatting": "清除格式",
"Align left": "左对齐",
"Align center": "居中",
"Align right": "右对齐",
"Justify": "两端对齐",
"Bullet list": "符号列表",
"Numbered list": "数字列表",
"Decrease indent": "减少缩进",
"Increase indent": "增加缩进",
"Close": "关闭",
"Formats": "格式",
"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "当前浏览器不支持访问剪贴板请使用快捷键Ctrl+X/C/V复制粘贴",
"Headers": "标题",
"Header 1": "标题1",
"Header 2": "标题2",
"Header 3": "标题3",
"Header 4": "标题4",
"Header 5": "标题5",
"Header 6": "标题6",
"Headings": "标题",
"Heading 1": "标题1",
"Heading 2": "标题2",
"Heading 3": "标题3",
"Heading 4": "标题4",
"Heading 5": "标题5",
"Heading 6": "标题6",
"Preformatted": "预格式化",
"Div": "Div区块",
"Pre": "预格式文本",
"Code": "代码",
"Paragraph": "段落",
"Blockquote": "引用",
"Inline": "文本",
"Blocks": "区块",
"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "当前为纯文本粘贴模式,再次点击可以回到普通粘贴模式。",
"Fonts": "字体",
"Font Sizes": "字号",
"Class": "Class",
"Browse for an image": "浏览图像",
"OR": "或",
"Drop an image here": "拖放一张图片文件至此",
"Upload": "上传",
"Block": "块",
"Align": "对齐",
"Default": "默认",
"Circle": "空心圆",
"Disc": "实心圆",
"Square": "方块",
"Lower Alpha": "小写英文字母",
"Lower Greek": "小写希腊字母",
"Lower Roman": "小写罗马字母",
"Upper Alpha": "大写英文字母",
"Upper Roman": "大写罗马字母",
"Anchor...": "锚点...",
"Name": "名称",
"Id": "id",
"Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.": "id应该以字母开头后跟字母、数字、横线、点、冒号或下划线。",
"You have unsaved changes are you sure you want to navigate away?": "你对文档的修改尚未保存,确定离开吗?",
"Restore last draft": "恢复上次的草稿",
"Special characters...": "特殊字符...",
"Source code": "HTML源码",
"Insert\/Edit code sample": "插入/编辑代码示例",
"Language": "语言",
"Code sample...": "代码示例...",
"Color Picker": "选取颜色",
"R": "R",
"G": "G",
"B": "B",
"Left to right": "从左到右",
"Right to left": "从右到左",
"Emoticons...": "表情符号...",
"Metadata and Document Properties": "元数据和文档属性",
"Title": "标题",
"Keywords": "关键词",
"Description": "描述",
"Robots": "机器人",
"Author": "作者",
"Encoding": "编码",
"Fullscreen": "全屏",
"Action": "操作",
"Shortcut": "快捷键",
"Help": "帮助",
"Address": "地址",
"Focus to menubar": "移动焦点到菜单栏",
"Focus to toolbar": "移动焦点到工具栏",
"Focus to element path": "移动焦点到元素路径",
"Focus to contextual toolbar": "移动焦点到上下文菜单",
"Insert link (if link plugin activated)": "插入链接 (如果链接插件已激活)",
"Save (if save plugin activated)": "保存(如果保存插件已激活)",
"Find (if searchreplace plugin activated)": "查找(如果查找替换插件已激活)",
"Plugins installed ({0}):": "已安装插件 ({0})",
"Premium plugins:": "优秀插件:",
"Learn more...": "了解更多...",
"You are using {0}": "你正在使用 {0}",
"Plugins": "插件",
"Handy Shortcuts": "快捷键",
"Horizontal line": "水平分割线",
"Insert\/edit image": "插入/编辑图片",
"Image description": "图片描述",
"Source": "地址",
"Dimensions": "大小",
"Constrain proportions": "保持宽高比",
"General": "常规",
"Advanced": "高级",
"Style": "样式",
"Vertical space": "垂直边距",
"Horizontal space": "水平边距",
"Border": "边框",
"Insert image": "插入图片",
"Image...": "图片...",
"Image list": "图片列表",
"Rotate counterclockwise": "逆时针旋转",
"Rotate clockwise": "顺时针旋转",
"Flip vertically": "垂直翻转",
"Flip horizontally": "水平翻转",
"Edit image": "编辑图片",
"Image options": "图片选项",
"Zoom in": "放大",
"Zoom out": "缩小",
"Crop": "裁剪",
"Resize": "调整大小",
"Orientation": "方向",
"Brightness": "亮度",
"Sharpen": "锐化",
"Contrast": "对比度",
"Color levels": "色阶",
"Gamma": "伽马值",
"Invert": "反转",
"Apply": "应用",
"Back": "后退",
"Insert date\/time": "插入日期/时间",
"Date\/time": "日期/时间",
"Insert\/Edit Link": "插入/编辑链接",
"Insert\/edit link": "插入/编辑链接",
"Text to display": "显示文字",
"Url": "地址",
"Open link in...": "链接打开方式...",
"Current window": "当前窗口打开",
"None": "在当前窗口/框架打开",
"New window": "在新窗口打开",
"Remove link": "删除链接",
"Anchors": "锚点",
"Link...": "链接...",
"Paste or type a link": "粘贴或输入链接",
"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "你所填写的URL地址为邮件地址需要加上mailto:前缀吗?",
"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "你所填写的URL地址属于外部链接需要加上http://:前缀吗?",
"Link list": "链接列表",
"Insert video": "插入视频",
"Insert\/edit video": "插入/编辑视频",
"Insert\/edit media": "插入/编辑媒体",
"Alternative source": "替代资源",
"Alternative image URL": "资源备用地址",
"Media poster (Image URL)": "封面(图片地址)",
"Paste your embed code below:": "将内嵌代码粘贴在下面:",
"Embed": "内嵌",
"Media...": "多媒体...",
"Nonbreaking space": "不间断空格",
"Page break": "分页符",
"Paste as text": "粘贴为文本",
"Preview": "预览",
"Print...": "打印...",
"Save": "保存",
"Find": "查找",
"Replace with": "替换为",
"Replace": "替换",
"Replace all": "替换全部",
"Previous": "上一个",
"Next": "下一个",
"Find and replace...": "查找并替换...",
"Could not find the specified string.": "未找到搜索内容。",
"Match case": "区分大小写",
"Find whole words only": "全单词匹配",
"Spell check": "拼写检查",
"Ignore": "忽略",
"Ignore all": "忽略全部",
"Finish": "完成",
"Add to Dictionary": "添加到字典",
"Insert table": "插入表格",
"Table properties": "表格属性",
"Delete table": "删除表格",
"Cell": "单元格",
"Row": "行",
"Column": "列",
"Cell properties": "单元格属性",
"Merge cells": "合并单元格",
"Split cell": "拆分单元格",
"Insert row before": "在上方插入",
"Insert row after": "在下方插入",
"Delete row": "删除行",
"Row properties": "行属性",
"Cut row": "剪切行",
"Copy row": "复制行",
"Paste row before": "粘贴到上方",
"Paste row after": "粘贴到下方",
"Insert column before": "在左侧插入",
"Insert column after": "在右侧插入",
"Delete column": "删除列",
"Cols": "列",
"Rows": "行",
"Width": "宽",
"Height": "高",
"Cell spacing": "单元格外间距",
"Cell padding": "单元格内边距",
"Show caption": "显示标题",
"Left": "左对齐",
"Center": "居中",
"Right": "右对齐",
"Cell type": "单元格类型",
"Scope": "范围",
"Alignment": "对齐方式",
"H Align": "水平对齐",
"V Align": "垂直对齐",
"Top": "顶部对齐",
"Middle": "垂直居中",
"Bottom": "底部对齐",
"Header cell": "表头单元格",
"Row group": "行组",
"Column group": "列组",
"Row type": "行类型",
"Header": "表头",
"Body": "表体",
"Footer": "表尾",
"Border color": "边框颜色",
"Insert template...": "插入模板...",
"Templates": "模板",
"Template": "模板",
"Text color": "文字颜色",
"Background color": "背景色",
"Custom...": "自定义...",
"Custom color": "自定义颜色",
"No color": "无",
"Remove color": "删除颜色",
"Table of Contents": "目录",
"Show blocks": "显示区块边框",
"Show invisible characters": "显示不可见字符",
"Word count": "字数统计",
"Words: {0}": "字数:{0}",
"{0} words": "{0} 个字",
"File": "文件",
"Edit": "编辑",
"Insert": "插入",
"View": "查看",
"Format": "格式",
"Table": "表格",
"Tools": "工具",
"Powered by {0}": "Powered by {0}",
"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "在编辑区按ALT+F9打开菜单按ALT+F10打开工具栏按ALT+0查看帮助",
"Image title": "图片标题",
"Border width": "边框宽度",
"Border style": "边框样式",
"Error": "错误",
"Warn": "警告",
"Valid": "有效",
"To open the popup, press Shift+Enter": "此快捷为软回车(插入<br>",
"Rich Text Area. Press ALT-0 for help.": "编辑区. 按Alt+0键打开帮助",
"System Font": "默认字体",
"Failed to upload image: {0}": "图片上传失败: {0}",
"Failed to load plugin: {0} from url {1}": "插件加载失败: {0} - {1}",
"Failed to load plugin url: {0}": "插件加载失败: {0}",
"Failed to initialize plugin: {0}": "插件初始化失败: {0}",
"example": "示例",
"Search": "查找",
"All": "全部",
"Currency": "货币",
"Text": "文本",
"Quotations": "引用",
"Mathematical": "数学运算符",
"Extended Latin": "拉丁语扩充",
"Symbols": "符号",
"Arrows": "箭头",
"User Defined": "自定义",
"dollar sign": "美元",
"currency sign": "货币",
"euro-currency sign": "欧元",
"colon sign": "冒号",
"cruzeiro sign": "克鲁赛罗币",
"french franc sign": "法郎",
"lira sign": "里拉",
"mill sign": "密尔",
"naira sign": "奈拉",
"peseta sign": "比塞塔",
"rupee sign": "卢比",
"won sign": "韩元",
"new sheqel sign": "新谢克尔",
"dong sign": "越南盾",
"kip sign": "老挝基普",
"tugrik sign": "图格里克",
"drachma sign": "德拉克马",
"german penny symbol": "德国便士",
"peso sign": "比索",
"guarani sign": "瓜拉尼",
"austral sign": "澳元",
"hryvnia sign": "格里夫尼亚",
"cedi sign": "塞地",
"livre tournois sign": "里弗弗尔",
"spesmilo sign": "一千spesoj的货币符号该货币未使用",
"tenge sign": "坚戈",
"indian rupee sign": "印度卢比",
"turkish lira sign": "土耳其里拉",
"nordic mark sign": "北欧马克",
"manat sign": "马纳特",
"ruble sign": "卢布",
"yen character": "日元",
"yuan character": "人民币元",
"yuan character, in hong kong and taiwan": "元的繁体字",
"yen\/yuan character variant one": "元(大写)",
"Loading emoticons...": "正在加载表情文字...",
"Could not load emoticons": "不能加载表情文字",
"People": "人类",
"Animals and Nature": "动物和自然",
"Food and Drink": "食物和饮品",
"Activity": "活动",
"Travel and Places": "旅游和地点",
"Objects": "物件",
"Flags": "旗帜",
"Characters": "字数",
"Characters (no spaces)": "字数(不含空格)",
"Error: Form submit field collision.": "错误: 表单提交字段冲突.",
"Error: No form element found.": "错误: 未找到可用的form.",
"Update": "更新",
"Color swatch": "颜色样本",
"Turquoise": "青绿",
"Green": "绿色",
"Blue": "蓝色",
"Purple": "紫色",
"Navy Blue": "海军蓝",
"Dark Turquoise": "深蓝绿色",
"Dark Green": "暗绿",
"Medium Blue": "中蓝",
"Medium Purple": "中紫",
"Midnight Blue": "深蓝",
"Yellow": "黄色",
"Orange": "橙色",
"Red": "红色",
"Light Gray": "浅灰",
"Gray": "灰色",
"Dark Yellow": "暗黄",
"Dark Orange": "暗橙",
"Dark Red": "暗红",
"Medium Gray": "中灰",
"Dark Gray": "深灰",
"Black": "黑色",
"White": "白色",
"Switch to or from fullscreen mode": "切换全屏模式",
"Open help dialog": "打开帮助对话框",
"history": "历史",
"styles": "样式",
"formatting": "格式化",
"alignment": "对齐",
"indentation": "缩进",
"permanent pen": "记号笔",
"comments": "注释",
"Anchor": "锚点",
"Special character": "特殊字符",
"Code sample": "代码示例",
"Color": "颜色",
"Emoticons": "表情",
"Document properties": "文档属性",
"Image": "图片",
"Insert link": "插入链接",
"Target": "目标",
"Link": "链接",
"Poster": "封面",
"Media": "音视频",
"Print": "打印",
"Prev": "上一个",
"Find and replace": "查找并替换",
"Whole words": "全字匹配",
"Spellcheck": "拼写检查",
"Caption": "标题",
"Insert template": "插入模板",
//以下为补充汉化内容 by 莫若卿
"Code view": "代码区域",
"Select...": "选择...",
"Format Painter": "格式刷",
"No templates defined.": "无内置模板",
"Special character...": "特殊字符...",
"Open link": "打开链接",
"None": "无",
"Count": "统计",
"Document": "整个文档",
"Selection": "选取部分",
"Words": "字词数",
"{0} characters": "{0} 个字符",
"Alternative source URL": "替代资源地址",
"Alternative description": "替代说明文字",
"Accessibility": "可访问性",
"Image is decorative": "仅用于装饰",
//5.6新增
"Line height": "行高",
"Cut column": "剪切列",
"Copy column": "复制列",
"Paste column before": "粘贴到前方",
"Paste column after": "粘贴到后方",
"Copy column": "复制列",
//帮助窗口内的文字
"Version": "版本",
"Keyboard Navigation": "键盘导航",
"Open popup menu for split buttons": "该组合键的作用是软回车插入br",
});

View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 Ephox Corporation DBA Tiny Technologies, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -68,7 +68,12 @@ export default defineComponent({
(<any>window).media_control_client_product == EProductNames.LED_PLAYER ||
(<any>window).media_control_client_product == EProductNames.OLD_LED_PLAYER
) {
const custom_title = (<any>window).media_control_client_custom_title;
if (custom_title && typeof custom_title == "string") {
document.title = custom_title;
} else {
document.title = $t.t("LedPlayer") + "WebApp";
}
} else if (
(<any>window).media_control_client_product == EProductNames.SPECIAL_VIDEO
) {

View File

@ -21,6 +21,10 @@ export default class GlobalData {
return 61428;
}
public static get kDefaultHttpPort() {
return 80;
}
private _current_client_name = "";
public static getInstance() {

View File

@ -466,7 +466,7 @@ export default defineComponent({
{
align: "left",
name: "delay",
label: $t.t("delay"),
label: $t.t("duration"),
field: "delay",
sortable: false,
},

View File

@ -311,7 +311,7 @@ export default defineComponent({
{
align: "left",
name: "delay",
label: $t.t("delay"),
label: $t.t("duration"),
field: "delay",
sortable: false,
},

View File

@ -216,6 +216,7 @@ export default defineComponent({
const editor_config = reactive({
plugins: [
"fullscreen",
"wordcount",
/*'lists link image paste help wordcount'*/
],
mobile: {
@ -223,7 +224,7 @@ export default defineComponent({
},
font_size_formats: get_font_size_formarts(),
skin: "tinymce-5",
language: i18n.locale.value == "zh-CN" ? "zh_CN" : "en_US",
language: i18n.locale.value == "zh-CN" ? "zh-Hans" : "en_US",
menubar: false,
branding: false,
toolbar_mode: "wrap",
@ -264,6 +265,32 @@ export default defineComponent({
loading.value = false;
},
editorInited(event: any, editor: any) {
// editor : https://www.tiny.cloud/docs/tinymce/6/apis/tinymce.editor/#execCommand
editor.focus();
{
// wordcount
const buttons = document.getElementsByClassName(
"tox-statusbar__wordcount"
);
if (buttons && buttons.length) {
for (let i = 0; i < buttons.length; ++i) {
const item = <any>buttons.item(i);
if (item && typeof item.click == "function") {
item.click();
}
}
}
}
//
const text = editor.getContent({ format: "text" });
try {
if (text && typeof text == "string" && text.trim().length != 0) {
return; //
}
} catch (e) {
console.log(e);
}
//
editor.execCommand("FontSize", false, "60pt");
},
onShow() {

View File

@ -174,7 +174,7 @@
<q-btn
:disable="old_http_port == http_port"
no-caps
:label="$t('commit')"
:label="$t('apply')"
@click="commitHttpPort"
/>
</q-item-section>
@ -213,7 +213,7 @@
<q-btn
:disable="old_websocket_port == websocket_port"
no-caps
:label="$t('commit')"
:label="$t('apply')"
@click="commitWebsocketPort"
/>
</q-item-section>
@ -310,12 +310,12 @@ export default defineComponent({
const advance_ip_table_selected: Ref<AdvancedIpAddressEntity[]> = ref([]);
const host_name = ref("player");
const old_http_port = ref(80);
const http_port = ref(80);
const real_http_port = ref(80);
const old_websocket_port = ref(GlobalData.kDefaultWebsocektPort);
const http_port = ref(GlobalData.kDefaultHttpPort);
const old_http_port = ref(GlobalData.kDefaultHttpPort);
const real_http_port = ref(GlobalData.kDefaultHttpPort);
const websocket_port = ref(GlobalData.kDefaultWebsocektPort);
const real_websocket_port = ref(80);
const old_websocket_port = ref(GlobalData.kDefaultWebsocektPort);
const real_websocket_port = ref(GlobalData.kDefaultWebsocektPort);
const advance_ip_columns = [
{

View File

@ -162,7 +162,7 @@ export default {
"timing task": " Timing Task",
other: "Other",
"auto ip": "Auto IP",
"ip address": "Ip Address",
"ip address": "IP Address",
gateway: "Gateway",
netmask: "Netmask",
"mac address": "MAC Address",
@ -378,7 +378,8 @@ export default {
"please select window rotation": "Please Select Window Rotation",
"hdmi internal": "HDMI Internal",
set: "Set",
"hdmi audio frequency acquisition device":"HDMI Audio Frequency Acquisition Device",
"hdmi audio frequency acquisition device":
"HDMI Audio Frequency Acquisition Device",
"send command": "Send Command",
"please check connection config": "Please Check Connection Config",
"connection setting": "Connection Setting",
@ -405,13 +406,13 @@ export default {
"Please Input Vaild Host. Example: 192.168.1.1 or 192.168.1.1:8080",
"equipment data": "Equipment Data",
"fusion settings": "fusion settings",
"FusionLocale":"Fusion Locale",
"FourPointCalibration":"Four Pint Calibration",
"SurfaceCorrection":"Surface Correction",
"DensityCorrection":"Density Correction",
"GridSettings":"Grid Settings",
"point":"dot",
"reset":"reset",
FusionLocale: "Fusion Locale",
FourPointCalibration: "Four Pint Calibration",
SurfaceCorrection: "Surface Correction",
DensityCorrection: "Density Correction",
GridSettings: "Grid Settings",
point: "dot",
reset: "reset",
"upper fusion zone parameters": "upper fusion zone parameters",
"Left fusion Band Parameters": "Left Fusion Band Parameters",
"Lower fusion Zone Parameters": "Lower Fusion Zone Parameters",
@ -420,8 +421,8 @@ export default {
"Please enter a number": "Please enter a number",
"Please enter 0-100": "Please enter 0-your differentiation rate",
"Set Fusion Band Parameters": "Set Fusion Band Parameters",
"Projector":"Projector",
"resetall":"reset all",
Projector: "Projector",
resetall: "reset all",
"save config": "save config",
"Whether to enable mixing":"Whether to enable mixing"
"Whether to enable mixing": "Whether to enable mixing",
};

View File

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title><%= productName %></title>
<title></title>
<meta charset="utf-8" />
<meta name="renderer" content="webkit" />

View File

@ -8900,10 +8900,10 @@ qs@6.9.6:
resolved "https://registry.npmmirror.com/qs/-/qs-6.9.6.tgz#26ed3c8243a431b2924aca84cc90471f35d5a0ee"
integrity sha512-TIRk4aqYLNoJUbd+g2lEdz5kLWIuTMRagAXxl78Q0RiVjAOugHmeKNGdd3cwo/ktpf9aL9epCfFqWDEKysUlLQ==
quasar@^2.11.3:
version "2.11.3"
resolved "https://registry.npmmirror.com/quasar/-/quasar-2.11.3.tgz#99cac489e931e3adf94c4350541d6a516322c4c3"
integrity sha512-a+PApE126fwtCsuPvbDLuSSgcFUy5bGu9WjqvVRP3z0xw+7pH93Hva2M+QQLMsYs4a5tpT4N/qXlsI591nxuxA==
quasar@^2.11.4:
version "2.11.4"
resolved "https://registry.npmmirror.com/quasar/-/quasar-2.11.4.tgz#2fbf978cbd381051cd32641f5d3e423565b0d6a3"
integrity sha512-psE6R5pAyzkjpp7symrtuFug9LRPcuKne6C2XUdIUbomEzi0BiWcdxGesIqS+SUn7qrLIEFWVsvnCTAYSmqbyw==
query-string@^5.0.1:
version "5.1.1"