diff --git a/Gulpfile.js b/Gulpfile.js index ec8d3f5..e037419 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -15,7 +15,7 @@ var base = leanoteBase + '/public'; // public base var noteDev = leanoteBase + '/app/views/note/note-dev.html'; var noteProBase = leanoteBase + '/app/views/note'; -var confFile = './conf/app.conf'; +var messagesPath = leanoteBase + 'messages'; // 合并Js, 这些js都是不怎么修改, 且是依赖 // 840kb, 非常耗时!! @@ -207,6 +207,7 @@ gulp.task('i18n', function() { ls(leanoteBase + '/app/views'); console.log('parsed'); + var langs = {}; // zh-cn: 1 // msg.zh function getAllMsgs(fname) { @@ -231,6 +232,18 @@ gulp.task('i18n', function() { return msg; } + // 得到所有的语言的后缀 + // 返回{en-us: 1, } + function getAllLangs() { + var langs = {}; + var files = fs.readdirSync(messagesPath); + for(fn in files) { + var fname = files[fn]; + langs[fname.split('.')[1]] = 1; + } + return langs; + } + // msg.zh, msg.js function genI18nJsFile(fromFilename, otherNames, keys) { var msgs = {}; @@ -267,21 +280,20 @@ gulp.task('i18n', function() { fs.writeFile(base + '/js/i18n/' + toFilename, str); } - // get all langs - /** - * i18n.languages=en-us,zh-cn,zh-hk,pt-pt,fr-fr - */ - var langs = ['zh-cn', 'zh-hk', 'en-us', 'fr-fr', 'pt-pt']; - var config = fs.readFileSync(confFile, 'utf-8'); - var langMatch = confFile.match(/i18n.languages=(.*)/); - if (langMatch) { - langs = langMatch[1].replace(/ /g, '').split(','); + function genTinymceLang(lang) { + var msgs = getAllMsgs(leanoteBase + 'messages/tinymce_editor.' + lang); + var str = 'tinymce.addI18n("' + lang + '",' + JSON.stringify(msgs) + ');'; + fs.writeFile(base + '/tinymce/langs/' + lang + '.js', str); } - for (var i = 0; i < langs.length; ++i) { - var lang = langs[i]; + + var langs = getAllLangs(); + for (var lang in langs) { genI18nJsFile('blog.' + lang, [], keys); genI18nJsFile('msg.' + lang, ['member.' + lang, 'markdown.' + lang, 'album.' + lang], keys); + + genTinymceLang(lang); } + }); // 合并album需要的js diff --git a/conf/app.conf b/conf/app.conf index f15f338..40b8131 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -45,8 +45,6 @@ log.error.prefix = "ERROR " # The default language of this application. i18n.default_language=en-us -# All supported languages -i18n.languages=en-us,zh-cn,zh-hk,pt-pt,fr-fr module.static=github.com/revel/modules/static diff --git a/conf/app.conf-default b/conf/app.conf-default index c528840..fa10a25 100644 --- a/conf/app.conf-default +++ b/conf/app.conf-default @@ -46,8 +46,6 @@ log.error.prefix = "ERROR " # The default language of this application. i18n.default_language=en-us -# All supported languages -i18n.languages=en-us,zh-cn,zh-hk,pt-pt,fr-fr module.static=github.com/revel/modules/static diff --git a/messages/tinymce_editor.en-us b/messages/tinymce_editor.en-us new file mode 100644 index 0000000..552eece --- /dev/null +++ b/messages/tinymce_editor.en-us @@ -0,0 +1,179 @@ +Cut=Cut +Header 2=Header 2 +Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.=Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead. +Div=Div +Paste=Paste +Close=Close +Font Family=Font Family +Pre=Pre +Align right=Align right +New document=New document +Blockquote=Blockquote +Numbered list=Numbered list +Increase indent=Increase indent +Formats=Formats +Headers=Headers +Select all=Select all +Header 3=Header 3 +Blocks=Blocks +Undo=Undo +Strikethrough=Strike-through +Bullet list=Bullet list +Header 1=Header 1 +Superscript=Superscript +Clear formatting=Clear formatting +Font Sizes=Font Sizes +Subscript=Subscript +Header 6=Header 6 +Redo=Redo +Paragraph=Paragraph +Ok=Ok +Bold=Bold +Code=Code +Italic=Italic +Align center=Align centre +Header 5=Header 5 +Decrease indent=Decrease indent +Header 4=Header 4 +Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.=Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off. +Underline=Underline +Cancel=Cancel +Justify=Justify +Inline=Inline +Copy=Copy +Align left=Align left +Visual aids=Visual aids +Lower Greek=Lower Greek +Square=Square +Default=Default +Lower Alpha=Lower Alpha +Circle=Circle +Disc=Disc +Upper Alpha=Upper Alpha +Upper Roman=Upper Roman +Lower Roman=Lower Roman +Name=Name +Anchor=Anchor +You have unsaved changes are you sure you want to navigate away?=You have unsaved changes are you sure you want to navigate away? +Restore last draft=Restore last draft +Special character=Special character +Source code=Source code +Right to left=Right to left +Left to right=Left to right +Emoticons=Emoticons +Robots=Robots +Document properties=Document properties +Title=Title +Keywords=Keywords +Encoding=Encoding +Description=Description +Author=Author +Language=Language +`ctrl/cmd+shift+c` toggle code=`ctrl/cmd+shift+c` toggle code +Fullscreen=Full-screen +Horizontal line=Horizontal line +Horizontal space=Horizontal space +Insert\/edit image=Insert\/edit image +General=General +Advanced=Advanced +Source=Source +Border=Border +Constrain proportions=Constrain proportions +Vertical space=Vertical space +Image description=Image description +Style=Style +Dimensions=Dimensions +Insert image=Insert image +Insert date\/time=Insert date\/time +Remove link=Remove link +Url=URL +Text to display=Text to display +Anchors=Anchors +Insert link=Insert link +New window=New window +None=None +The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?=The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix? +Target=Target +The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?=The URL you entered seems to be an email address. Do you want to add the required mailto: prefix? +Insert\/edit link=Insert\/edit link +Insert\/edit video=Insert\/edit video +Poster=Poster +Alternative source=Alternative source +Paste your embed code below:=Paste your embed code below: +Insert video=Insert video +Embed=Embed +Nonbreaking space=Non-breaking space +Page break=Page break +Paste as text=Paste as text +Preview=Preview +Print=Print +Save=Save +Could not find the specified string.=Could not find the specified string. +Replace=Replace +Next=Next +Whole words=Whole words +Find and replace=Find and replace +Replace with=Replace with +Find=Find +Replace all=Replace all +Match case=Match case +Prev=Prev +Spellcheck=Spell-check +Finish=Finish +Ignore all=Ignore all +Ignore=Ignore +Insert row before=Insert row before +Rows=Rows +Height=Height +Paste row after=Paste row after +Alignment=Alignment +Column group=Column group +Row=Row +Insert column before=Insert column before +Split cell=Split cell +Cell padding=Cell padding +Cell spacing=Cell spacing +Row type=Row type +Insert table=Insert table +Body=Body +Caption=Caption +Footer=Footer +Delete row=Delete row +Paste row before=Paste row before +Scope=Scope +Delete table=Delete table +Header cell=Header cell +Column=Column +Cell=Cell +Header=Header +Cell type=Cell type +Copy row=Copy row +Row properties=Row properties +Table properties=Table properties +Row group=Row group +Right=Right +Insert column after=Insert column after +Cols=Cols +Insert row after=Insert row after +Width=Width +Cell properties=Cell properties +Left=Left +Cut row=Cut row +Delete column=Delete column +Center=Centre +Merge cells=Merge cells +Insert template=Insert template +Templates=Templates +Background color=Background colour +Text color=Text colour +Show blocks=Show blocks +Show invisible characters=Show invisible characters +Words: {0}=Words: {0} +Insert=Insert +File=File +Edit=Edit +Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help=Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help +Tools=Tools +View=View +Table=Table +Format=Format diff --git a/messages/tinymce_editor.fr-fr b/messages/tinymce_editor.fr-fr new file mode 100644 index 0000000..552eece --- /dev/null +++ b/messages/tinymce_editor.fr-fr @@ -0,0 +1,179 @@ +Cut=Cut +Header 2=Header 2 +Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.=Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead. +Div=Div +Paste=Paste +Close=Close +Font Family=Font Family +Pre=Pre +Align right=Align right +New document=New document +Blockquote=Blockquote +Numbered list=Numbered list +Increase indent=Increase indent +Formats=Formats +Headers=Headers +Select all=Select all +Header 3=Header 3 +Blocks=Blocks +Undo=Undo +Strikethrough=Strike-through +Bullet list=Bullet list +Header 1=Header 1 +Superscript=Superscript +Clear formatting=Clear formatting +Font Sizes=Font Sizes +Subscript=Subscript +Header 6=Header 6 +Redo=Redo +Paragraph=Paragraph +Ok=Ok +Bold=Bold +Code=Code +Italic=Italic +Align center=Align centre +Header 5=Header 5 +Decrease indent=Decrease indent +Header 4=Header 4 +Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.=Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off. +Underline=Underline +Cancel=Cancel +Justify=Justify +Inline=Inline +Copy=Copy +Align left=Align left +Visual aids=Visual aids +Lower Greek=Lower Greek +Square=Square +Default=Default +Lower Alpha=Lower Alpha +Circle=Circle +Disc=Disc +Upper Alpha=Upper Alpha +Upper Roman=Upper Roman +Lower Roman=Lower Roman +Name=Name +Anchor=Anchor +You have unsaved changes are you sure you want to navigate away?=You have unsaved changes are you sure you want to navigate away? +Restore last draft=Restore last draft +Special character=Special character +Source code=Source code +Right to left=Right to left +Left to right=Left to right +Emoticons=Emoticons +Robots=Robots +Document properties=Document properties +Title=Title +Keywords=Keywords +Encoding=Encoding +Description=Description +Author=Author +Language=Language +`ctrl/cmd+shift+c` toggle code=`ctrl/cmd+shift+c` toggle code +Fullscreen=Full-screen +Horizontal line=Horizontal line +Horizontal space=Horizontal space +Insert\/edit image=Insert\/edit image +General=General +Advanced=Advanced +Source=Source +Border=Border +Constrain proportions=Constrain proportions +Vertical space=Vertical space +Image description=Image description +Style=Style +Dimensions=Dimensions +Insert image=Insert image +Insert date\/time=Insert date\/time +Remove link=Remove link +Url=URL +Text to display=Text to display +Anchors=Anchors +Insert link=Insert link +New window=New window +None=None +The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?=The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix? +Target=Target +The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?=The URL you entered seems to be an email address. Do you want to add the required mailto: prefix? +Insert\/edit link=Insert\/edit link +Insert\/edit video=Insert\/edit video +Poster=Poster +Alternative source=Alternative source +Paste your embed code below:=Paste your embed code below: +Insert video=Insert video +Embed=Embed +Nonbreaking space=Non-breaking space +Page break=Page break +Paste as text=Paste as text +Preview=Preview +Print=Print +Save=Save +Could not find the specified string.=Could not find the specified string. +Replace=Replace +Next=Next +Whole words=Whole words +Find and replace=Find and replace +Replace with=Replace with +Find=Find +Replace all=Replace all +Match case=Match case +Prev=Prev +Spellcheck=Spell-check +Finish=Finish +Ignore all=Ignore all +Ignore=Ignore +Insert row before=Insert row before +Rows=Rows +Height=Height +Paste row after=Paste row after +Alignment=Alignment +Column group=Column group +Row=Row +Insert column before=Insert column before +Split cell=Split cell +Cell padding=Cell padding +Cell spacing=Cell spacing +Row type=Row type +Insert table=Insert table +Body=Body +Caption=Caption +Footer=Footer +Delete row=Delete row +Paste row before=Paste row before +Scope=Scope +Delete table=Delete table +Header cell=Header cell +Column=Column +Cell=Cell +Header=Header +Cell type=Cell type +Copy row=Copy row +Row properties=Row properties +Table properties=Table properties +Row group=Row group +Right=Right +Insert column after=Insert column after +Cols=Cols +Insert row after=Insert row after +Width=Width +Cell properties=Cell properties +Left=Left +Cut row=Cut row +Delete column=Delete column +Center=Centre +Merge cells=Merge cells +Insert template=Insert template +Templates=Templates +Background color=Background colour +Text color=Text colour +Show blocks=Show blocks +Show invisible characters=Show invisible characters +Words: {0}=Words: {0} +Insert=Insert +File=File +Edit=Edit +Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help=Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help +Tools=Tools +View=View +Table=Table +Format=Format diff --git a/messages/tinymce_editor.pt-pt b/messages/tinymce_editor.pt-pt new file mode 100644 index 0000000..552eece --- /dev/null +++ b/messages/tinymce_editor.pt-pt @@ -0,0 +1,179 @@ +Cut=Cut +Header 2=Header 2 +Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.=Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead. +Div=Div +Paste=Paste +Close=Close +Font Family=Font Family +Pre=Pre +Align right=Align right +New document=New document +Blockquote=Blockquote +Numbered list=Numbered list +Increase indent=Increase indent +Formats=Formats +Headers=Headers +Select all=Select all +Header 3=Header 3 +Blocks=Blocks +Undo=Undo +Strikethrough=Strike-through +Bullet list=Bullet list +Header 1=Header 1 +Superscript=Superscript +Clear formatting=Clear formatting +Font Sizes=Font Sizes +Subscript=Subscript +Header 6=Header 6 +Redo=Redo +Paragraph=Paragraph +Ok=Ok +Bold=Bold +Code=Code +Italic=Italic +Align center=Align centre +Header 5=Header 5 +Decrease indent=Decrease indent +Header 4=Header 4 +Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.=Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off. +Underline=Underline +Cancel=Cancel +Justify=Justify +Inline=Inline +Copy=Copy +Align left=Align left +Visual aids=Visual aids +Lower Greek=Lower Greek +Square=Square +Default=Default +Lower Alpha=Lower Alpha +Circle=Circle +Disc=Disc +Upper Alpha=Upper Alpha +Upper Roman=Upper Roman +Lower Roman=Lower Roman +Name=Name +Anchor=Anchor +You have unsaved changes are you sure you want to navigate away?=You have unsaved changes are you sure you want to navigate away? +Restore last draft=Restore last draft +Special character=Special character +Source code=Source code +Right to left=Right to left +Left to right=Left to right +Emoticons=Emoticons +Robots=Robots +Document properties=Document properties +Title=Title +Keywords=Keywords +Encoding=Encoding +Description=Description +Author=Author +Language=Language +`ctrl/cmd+shift+c` toggle code=`ctrl/cmd+shift+c` toggle code +Fullscreen=Full-screen +Horizontal line=Horizontal line +Horizontal space=Horizontal space +Insert\/edit image=Insert\/edit image +General=General +Advanced=Advanced +Source=Source +Border=Border +Constrain proportions=Constrain proportions +Vertical space=Vertical space +Image description=Image description +Style=Style +Dimensions=Dimensions +Insert image=Insert image +Insert date\/time=Insert date\/time +Remove link=Remove link +Url=URL +Text to display=Text to display +Anchors=Anchors +Insert link=Insert link +New window=New window +None=None +The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?=The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix? +Target=Target +The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?=The URL you entered seems to be an email address. Do you want to add the required mailto: prefix? +Insert\/edit link=Insert\/edit link +Insert\/edit video=Insert\/edit video +Poster=Poster +Alternative source=Alternative source +Paste your embed code below:=Paste your embed code below: +Insert video=Insert video +Embed=Embed +Nonbreaking space=Non-breaking space +Page break=Page break +Paste as text=Paste as text +Preview=Preview +Print=Print +Save=Save +Could not find the specified string.=Could not find the specified string. +Replace=Replace +Next=Next +Whole words=Whole words +Find and replace=Find and replace +Replace with=Replace with +Find=Find +Replace all=Replace all +Match case=Match case +Prev=Prev +Spellcheck=Spell-check +Finish=Finish +Ignore all=Ignore all +Ignore=Ignore +Insert row before=Insert row before +Rows=Rows +Height=Height +Paste row after=Paste row after +Alignment=Alignment +Column group=Column group +Row=Row +Insert column before=Insert column before +Split cell=Split cell +Cell padding=Cell padding +Cell spacing=Cell spacing +Row type=Row type +Insert table=Insert table +Body=Body +Caption=Caption +Footer=Footer +Delete row=Delete row +Paste row before=Paste row before +Scope=Scope +Delete table=Delete table +Header cell=Header cell +Column=Column +Cell=Cell +Header=Header +Cell type=Cell type +Copy row=Copy row +Row properties=Row properties +Table properties=Table properties +Row group=Row group +Right=Right +Insert column after=Insert column after +Cols=Cols +Insert row after=Insert row after +Width=Width +Cell properties=Cell properties +Left=Left +Cut row=Cut row +Delete column=Delete column +Center=Centre +Merge cells=Merge cells +Insert template=Insert template +Templates=Templates +Background color=Background colour +Text color=Text colour +Show blocks=Show blocks +Show invisible characters=Show invisible characters +Words: {0}=Words: {0} +Insert=Insert +File=File +Edit=Edit +Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help=Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help +Tools=Tools +View=View +Table=Table +Format=Format diff --git a/messages/tinymce_editor.zh-cn b/messages/tinymce_editor.zh-cn new file mode 100644 index 0000000..05323c0 --- /dev/null +++ b/messages/tinymce_editor.zh-cn @@ -0,0 +1,186 @@ +Cut=剪切 +Header 2=标题2 +Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.=你的浏览器不支持对剪贴板的访问,请使用Ctrl+X\/C\/V键进行复制粘贴。 +Div=Div区块 +Paste=粘贴 +Close=关闭 +Font Family=字体 +Pre=预格式文本 +Align right=右对齐 +New document=新文档 +Blockquote=引用 +Numbered list=编号列表 +Increase indent=增加缩进 +Formats=格式 +Headers=标题 +Select all=全选 +Header 3=标题3 +Blocks=区块 +Undo=撤消 +Strikethrough=删除线 +Bullet list=项目符号 +Header 1=标题1 +Superscript=上标 +Clear formatting=清除格式 +Font Sizes=字号 +Subscript=下标 +Header 6=标题6 +Redo=重复 +Paragraph=段落 +Ok=确定 +Bold=粗体 +Code=代码 +Italic=斜体 +Align center=居中 +Header 5=标题5 +Decrease indent=减少缩进 +Header 4=标题4 +Convert Code=转换成文本 +toggleCode=ctrl+shift+c 切换代码 +Language=代码语言 +`ctrl/cmd+shift+c` toggle code=`ctrl/cmd+shift+c` 切换代码 +Toggle ace with raw html=Ace代码与普通Pre代码切换 +Inline Code= +Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.=当前为纯文本粘贴模式,再次点击可以回到普通粘贴模式。 +Underline=下划线 +Cancel=取消 +Justify=两端对齐 +Inline=文本 +Copy=复制 +Align left=左对齐 +Visual aids=网格线 +Lower Greek=小写希腊字母 +Square=方块 +Default=默认 +Lower Alpha=小写英文字母 +Circle=空心圆 +Disc=实心圆 +Upper Alpha=大写英文字母 +Upper Roman=大写罗马字母 +Lower Roman=小写罗马字母 +Name=名称 +Anchor=锚点 +You have unsaved changes are you sure you want to navigate away?=你还有文档尚未保存,确定要离开? +Restore last draft=恢复上次的草稿 +Special character=特殊符号 +Source code=源代码 +Right to left=从右到左 +Left to right=从左到右 +Emoticons=表情 +Robots=机器人 +Document properties=文档属性 +Title=标题 +Keywords=关键词 +Encoding=编码 +Description=描述 +Author=作者 +Fullscreen=全屏 +Horizontal line=水平分割线 +Horizontal space=水平边距 +Insert\/edit image=上传/插入图片 +Insert\/edit mind map=新建/编辑思维导图 +Insert Mind Map=插入思维导图 +Mind Map=思维导图 +Image=图片 +Insert Image=插入 +General=普通 +Advanced=高级 +Source=地址 +Border=边框 +Constrain proportions=保持纵横比 +Vertical space=垂直边距 +Image description=图片描述 +Style=样式 +Dimensions=大小 +Insert image=插入图片 +Insert date\/time=插入日期\/时间 +Remove link=删除链接 +Url=地址 +Text to display=显示文字 +Anchors=锚点 +Insert link=插入链接 +New window=在新窗口打开 +None=无 +Target=打开方式 +Insert\/edit link=插入\/编辑链接 +Insert\/edit video=插入\/编辑视频 +Poster=封面 +Alternative source=镜像 +Paste your embed code below:=将内嵌代码粘贴在下面: +Insert video=插入视频 +Embed=内嵌 +Nonbreaking space=不间断空格 +Page break=分页符 +Paste as text=粘贴为文本 +Preview=预览 +Print=打印 +Save=保存 +Could not find the specified string.=未找到搜索内容. +Replace=替换 +Next=下一个 +Whole words=全字匹配 +Find and replace=查找和替换 +Replace with=替换为 +Find=查找 +Replace all=全部替换 +Match case=区分大小写 +Prev=上一个 +Spellcheck=拼写检查 +Finish=完成 +Ignore all=全部忽略 +Ignore=忽略 +Insert row before=在上方插入 +Rows=行 +Height=高 +Paste row after=粘贴到下方 +Alignment=对齐方式 +Column group=列组 +Row=行 +Insert column before=在左侧插入 +Split cell=拆分单元格 +Cell padding=单元格内边距 +Cell spacing=单元格外间距 +Row type=行类型 +Insert table=插入表格 +Body=表体 +Caption=标题 +Footer=表尾 +Delete row=删除行 +Paste row before=粘贴到上方 +Scope=范围 +Delete table=删除表格 +Header cell=表头单元格 +Column=列 +Cell=单元格 +Header=表头 +Cell type=单元格类型 +Copy row=复制行 +Row properties=行属性 +Table properties=表格属性 +Row group=行组 +Right=右对齐 +Insert column after=在右侧插入 +Cols=列 +Insert row after=在下方插入 +Width=宽 +Cell properties=单元格属性 +Left=左对齐 +Cut row=剪切行 +Delete column=删除列 +Center=居中 +Merge cells=合并单元格 +Insert template=插入模板 +Templates=模板 +Background color=背景色 +Text color=文字颜色 +Show blocks=显示区块边框 +Show invisible characters=显示不可见字符 +Words: {0}=字数:{0} +Insert=插入 +File=文件 +Edit=编辑 +Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help=在编辑区按ALT-F9打开菜单,按ALT-F10打开工具栏,按ALT-0查看帮助 +Tools=工具 +View=视图 +Table=表格 +Format=格式 \ No newline at end of file diff --git a/messages/tinymce_editor.zh-hk b/messages/tinymce_editor.zh-hk new file mode 100644 index 0000000..5ef634e --- /dev/null +++ b/messages/tinymce_editor.zh-hk @@ -0,0 +1,186 @@ +Cut=剪切 +Header 2=標題2 +Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.=妳的瀏覽器不支持對剪貼板的訪問,請使用Ctrl+X\/C\/V鍵進行復制粘貼。 +Div=Div區塊 +Paste=粘貼 +Close=關閉 +Font Family=字體 +Pre=預格式文本 +Align right=右對齊 +New document=新文檔 +Blockquote=引用 +Numbered list=編號列表 +Increase indent=增加縮進 +Formats=格式 +Headers=標題 +Select all=全選 +Header 3=標題3 +Blocks=區塊 +Undo=撤消 +Strikethrough=刪除線 +Bullet list=項目符號 +Header 1=標題1 +Superscript=上標 +Clear formatting=清除格式 +Font Sizes=字號 +Subscript=下標 +Header 6=標題6 +Redo=重復 +Paragraph=段落 +Ok=確定 +Bold=粗體 +Code=代碼 +Italic=斜體 +Align center=居中 +Header 5=標題5 +Decrease indent=減少縮進 +Header 4=標題4 +Convert Code=轉換成文本 +toggleCode=ctrl+shift+c 切換代碼 +Language=代碼語言 +`ctrl/cmd+shift+c` toggle code=`ctrl/cmd+shift+c` 切換代碼 +Toggle ace with raw html=Ace代碼與普通Pre代碼切換 +Inline Code= +Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.=當前為純文本粘貼模式,再次點擊可以回到普通粘貼模式。 +Underline=下劃線 +Cancel=取消 +Justify=兩端對齊 +Inline=文本 +Copy=復制 +Align left=左對齊 +Visual aids=網格線 +Lower Greek=小寫希臘字母 +Square=方塊 +Default=默認 +Lower Alpha=小寫英文字母 +Circle=空心圓 +Disc=實心圓 +Upper Alpha=大寫英文字母 +Upper Roman=大寫羅馬字母 +Lower Roman=小寫羅馬字母 +Name=名稱 +Anchor=錨點 +You have unsaved changes are you sure you want to navigate away?=妳還有文檔尚未保存,確定要離開? +Restore last draft=恢復上次的草稿 +Special character=特殊符號 +Source code=源代碼 +Right to left=從右到左 +Left to right=從左到右 +Emoticons=表情 +Robots=機器人 +Document properties=文檔屬性 +Title=標題 +Keywords=關鍵詞 +Encoding=編碼 +Description=描述 +Author=作者 +Fullscreen=全屏 +Horizontal line=水平分割線 +Horizontal space=水平邊距 +Insert\/edit image=上傳/插入圖片 +Insert\/edit mind map=新建/編輯思維導圖 +Insert Mind Map=插入思維導圖 +Mind Map=思維導圖 +Image=圖片 +Insert Image=插入 +General=普通 +Advanced=高級 +Source=地址 +Border=邊框 +Constrain proportions=保持縱橫比 +Vertical space=垂直邊距 +Image description=圖片描述 +Style=樣式 +Dimensions=大小 +Insert image=插入圖片 +Insert date\/time=插入日期\/時間 +Remove link=刪除鏈接 +Url=地址 +Text to display=顯示文字 +Anchors=錨點 +Insert link=插入鏈接 +New window=在新窗口打開 +None=無 +Target=打開方式 +Insert\/edit link=插入\/編輯鏈接 +Insert\/edit video=插入\/編輯視頻 +Poster=封面 +Alternative source=鏡像 +Paste your embed code below:=將內嵌代碼粘貼在下面: +Insert video=插入視頻 +Embed=內嵌 +Nonbreaking space=不間斷空格 +Page break=分頁符 +Paste as text=粘貼為文本 +Preview=預覽 +Print=打印 +Save=保存 +Could not find the specified string.=未找到搜索內容. +Replace=替換 +Next=下壹個 +Whole words=全字匹配 +Find and replace=查找和替換 +Replace with=替換為 +Find=查找 +Replace all=全部替換 +Match case=區分大小寫 +Prev=上壹個 +Spellcheck=拼寫檢查 +Finish=完成 +Ignore all=全部忽略 +Ignore=忽略 +Insert row before=在上方插入 +Rows=行 +Height=高 +Paste row after=粘貼到下方 +Alignment=對齊方式 +Column group=列組 +Row=行 +Insert column before=在左側插入 +Split cell=拆分單元格 +Cell padding=單元格內邊距 +Cell spacing=單元格外間距 +Row type=行類型 +Insert table=插入表格 +Body=表體 +Caption=標題 +Footer=表尾 +Delete row=刪除行 +Paste row before=粘貼到上方 +Scope=範圍 +Delete table=刪除表格 +Header cell=表頭單元格 +Column=列 +Cell=單元格 +Header=表頭 +Cell type=單元格類型 +Copy row=復制行 +Row properties=行屬性 +Table properties=表格屬性 +Row group=行組 +Right=右對齊 +Insert column after=在右側插入 +Cols=列 +Insert row after=在下方插入 +Width=寬 +Cell properties=單元格屬性 +Left=左對齊 +Cut row=剪切行 +Delete column=刪除列 +Center=居中 +Merge cells=合並單元格 +Insert template=插入模板 +Templates=模板 +Background color=背景色 +Text color=文字顏色 +Show blocks=顯示區塊邊框 +Show invisible characters=顯示不可見字符 +Words: {0}=字數:{0} +Insert=插入 +File=文件 +Edit=編輯 +Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help=在編輯區按ALT-F9打開菜單,按ALT-F10打開工具欄,按ALT-0查看幫助 +Tools=工具 +View=視圖 +Table=表格 +Format=格式 \ No newline at end of file diff --git a/public/tinymce/langs/en-us.js b/public/tinymce/langs/en-us.js index 5ac6809..46e613b 100644 --- a/public/tinymce/langs/en-us.js +++ b/public/tinymce/langs/en-us.js @@ -1,181 +1 @@ -tinymce.addI18n('en-us',{ -"Cut": "Cut", -"Header 2": "Header 2", -"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.", -"Div": "Div", -"Paste": "Paste", -"Close": "Close", -"Font Family": "Font Family", -"Pre": "Pre", -"Align right": "Align right", -"New document": "New document", -"Blockquote": "Blockquote", -"Numbered list": "Numbered list", -"Increase indent": "Increase indent", -"Formats": "Formats", -"Headers": "Headers", -"Select all": "Select all", -"Header 3": "Header 3", -"Blocks": "Blocks", -"Undo": "Undo", -"Strikethrough": "Strike-through", -"Bullet list": "Bullet list", -"Header 1": "Header 1", -"Superscript": "Superscript", -"Clear formatting": "Clear formatting", -"Font Sizes": "Font Sizes", -"Subscript": "Subscript", -"Header 6": "Header 6", -"Redo": "Redo", -"Paragraph": "Paragraph", -"Ok": "Ok", -"Bold": "Bold", -"Code": "Code", -"Italic": "Italic", -"Align center": "Align centre", -"Header 5": "Header 5", -"Decrease indent": "Decrease indent", -"Header 4": "Header 4", -"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.", -"Underline": "Underline", -"Cancel": "Cancel", -"Justify": "Justify", -"Inline": "Inline", -"Copy": "Copy", -"Align left": "Align left", -"Visual aids": "Visual aids", -"Lower Greek": "Lower Greek", -"Square": "Square", -"Default": "Default", -"Lower Alpha": "Lower Alpha", -"Circle": "Circle", -"Disc": "Disc", -"Upper Alpha": "Upper Alpha", -"Upper Roman": "Upper Roman", -"Lower Roman": "Lower Roman", -"Name": "Name", -"Anchor": "Anchor", -"You have unsaved changes are you sure you want to navigate away?": "You have unsaved changes are you sure you want to navigate away?", -"Restore last draft": "Restore last draft", -"Special character": "Special character", -"Source code": "Source code", -"Right to left": "Right to left", -"Left to right": "Left to right", -"Emoticons": "Emoticons", -"Robots": "Robots", -"Document properties": "Document properties", -"Title": "Title", -"Keywords": "Keywords", -"Encoding": "Encoding", -"Description": "Description", -"Author": "Author", -"Language": "Language", -"`ctrl/cmd+shift+c` toggle code": "`ctrl/cmd+shift+c` toggle code", -"Fullscreen": "Full-screen", -"Horizontal line": "Horizontal line", -"Horizontal space": "Horizontal space", -"Insert\/edit image": "Insert\/edit image", -"General": "General", -"Advanced": "Advanced", -"Source": "Source", -"Border": "Border", -"Constrain proportions": "Constrain proportions", -"Vertical space": "Vertical space", -"Image description": "Image description", -"Style": "Style", -"Dimensions": "Dimensions", -"Insert image": "Insert image", -"Insert date\/time": "Insert date\/time", -"Remove link": "Remove link", -"Url": "URL", -"Text to display": "Text to display", -"Anchors": "Anchors", -"Insert link": "Insert link", -"New window": "New window", -"None": "None", -"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?", -"Target": "Target", -"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?", -"Insert\/edit link": "Insert\/edit link", -"Insert\/edit video": "Insert\/edit video", -"Poster": "Poster", -"Alternative source": "Alternative source", -"Paste your embed code below:": "Paste your embed code below:", -"Insert video": "Insert video", -"Embed": "Embed", -"Nonbreaking space": "Non-breaking space", -"Page break": "Page break", -"Paste as text": "Paste as text", -"Preview": "Preview", -"Print": "Print", -"Save": "Save", -"Could not find the specified string.": "Could not find the specified string.", -"Replace": "Replace", -"Next": "Next", -"Whole words": "Whole words", -"Find and replace": "Find and replace", -"Replace with": "Replace with", -"Find": "Find", -"Replace all": "Replace all", -"Match case": "Match case", -"Prev": "Prev", -"Spellcheck": "Spell-check", -"Finish": "Finish", -"Ignore all": "Ignore all", -"Ignore": "Ignore", -"Insert row before": "Insert row before", -"Rows": "Rows", -"Height": "Height", -"Paste row after": "Paste row after", -"Alignment": "Alignment", -"Column group": "Column group", -"Row": "Row", -"Insert column before": "Insert column before", -"Split cell": "Split cell", -"Cell padding": "Cell padding", -"Cell spacing": "Cell spacing", -"Row type": "Row type", -"Insert table": "Insert table", -"Body": "Body", -"Caption": "Caption", -"Footer": "Footer", -"Delete row": "Delete row", -"Paste row before": "Paste row before", -"Scope": "Scope", -"Delete table": "Delete table", -"Header cell": "Header cell", -"Column": "Column", -"Cell": "Cell", -"Header": "Header", -"Cell type": "Cell type", -"Copy row": "Copy row", -"Row properties": "Row properties", -"Table properties": "Table properties", -"Row group": "Row group", -"Right": "Right", -"Insert column after": "Insert column after", -"Cols": "Cols", -"Insert row after": "Insert row after", -"Width": "Width", -"Cell properties": "Cell properties", -"Left": "Left", -"Cut row": "Cut row", -"Delete column": "Delete column", -"Center": "Centre", -"Merge cells": "Merge cells", -"Insert template": "Insert template", -"Templates": "Templates", -"Background color": "Background colour", -"Text color": "Text colour", -"Show blocks": "Show blocks", -"Show invisible characters": "Show invisible characters", -"Words: {0}": "Words: {0}", -"Insert": "Insert", -"File": "File", -"Edit": "Edit", -"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help", -"Tools": "Tools", -"View": "View", -"Table": "Table", -"Format": "Format" -}); \ No newline at end of file +tinymce.addI18n("en-us",{"Cut":"Cut","Header 2":"Header 2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.":"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.","Div":"Div","Paste":"Paste","Close":"Close","Font Family":"Font Family","Pre":"Pre","Align right":"Align right","New document":"New document","Blockquote":"Blockquote","Numbered list":"Numbered list","Increase indent":"Increase indent","Formats":"Formats","Headers":"Headers","Select all":"Select all","Header 3":"Header 3","Blocks":"Blocks","Undo":"Undo","Strikethrough":"Strike-through","Bullet list":"Bullet list","Header 1":"Header 1","Superscript":"Superscript","Clear formatting":"Clear formatting","Font Sizes":"Font Sizes","Subscript":"Subscript","Header 6":"Header 6","Redo":"Redo","Paragraph":"Paragraph","Ok":"Ok","Bold":"Bold","Code":"Code","Italic":"Italic","Align center":"Align centre","Header 5":"Header 5","Decrease indent":"Decrease indent","Header 4":"Header 4","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.","Underline":"Underline","Cancel":"Cancel","Justify":"Justify","Inline":"Inline","Copy":"Copy","Align left":"Align left","Visual aids":"Visual aids","Lower Greek":"Lower Greek","Square":"Square","Default":"Default","Lower Alpha":"Lower Alpha","Circle":"Circle","Disc":"Disc","Upper Alpha":"Upper Alpha","Upper Roman":"Upper Roman","Lower Roman":"Lower Roman","Name":"Name","Anchor":"Anchor","You have unsaved changes are you sure you want to navigate away?":"You have unsaved changes are you sure you want to navigate away?","Restore last draft":"Restore last draft","Special character":"Special character","Source code":"Source code","Right to left":"Right to left","Left to right":"Left to right","Emoticons":"Emoticons","Robots":"Robots","Document properties":"Document properties","Title":"Title","Keywords":"Keywords","Encoding":"Encoding","Description":"Description","Author":"Author","Language":"Language","`ctrl/cmd+shift+c` toggle code":"`ctrl/cmd+shift+c` toggle code","Fullscreen":"Full-screen","Horizontal line":"Horizontal line","Horizontal space":"Horizontal space","Insert\\/edit image":"Insert\\/edit image","General":"General","Advanced":"Advanced","Source":"Source","Border":"Border","Constrain proportions":"Constrain proportions","Vertical space":"Vertical space","Image description":"Image description","Style":"Style","Dimensions":"Dimensions","Insert image":"Insert image","Insert date\\/time":"Insert date\\/time","Remove link":"Remove link","Url":"URL","Text to display":"Text to display","Anchors":"Anchors","Insert link":"Insert link","New window":"New window","None":"None","The URL you entered seems to be an external link. Do you want to add the required http:\\/\\/ prefix?":"The URL you entered seems to be an external link. Do you want to add the required http:\\/\\/ prefix?","Target":"Target","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","Insert\\/edit link":"Insert\\/edit link","Insert\\/edit video":"Insert\\/edit video","Poster":"Poster","Alternative source":"Alternative source","Paste your embed code below:":"Paste your embed code below:","Insert video":"Insert video","Embed":"Embed","Nonbreaking space":"Non-breaking space","Page break":"Page break","Paste as text":"Paste as text","Preview":"Preview","Print":"Print","Save":"Save","Could not find the specified string.":"Could not find the specified string.","Replace":"Replace","Next":"Next","Whole words":"Whole words","Find and replace":"Find and replace","Replace with":"Replace with","Find":"Find","Replace all":"Replace all","Match case":"Match case","Prev":"Prev","Spellcheck":"Spell-check","Finish":"Finish","Ignore all":"Ignore all","Ignore":"Ignore","Insert row before":"Insert row before","Rows":"Rows","Height":"Height","Paste row after":"Paste row after","Alignment":"Alignment","Column group":"Column group","Row":"Row","Insert column before":"Insert column before","Split cell":"Split cell","Cell padding":"Cell padding","Cell spacing":"Cell spacing","Row type":"Row type","Insert table":"Insert table","Body":"Body","Caption":"Caption","Footer":"Footer","Delete row":"Delete row","Paste row before":"Paste row before","Scope":"Scope","Delete table":"Delete table","Header cell":"Header cell","Column":"Column","Cell":"Cell","Header":"Header","Cell type":"Cell type","Copy row":"Copy row","Row properties":"Row properties","Table properties":"Table properties","Row group":"Row group","Right":"Right","Insert column after":"Insert column after","Cols":"Cols","Insert row after":"Insert row after","Width":"Width","Cell properties":"Cell properties","Left":"Left","Cut row":"Cut row","Delete column":"Delete column","Center":"Centre","Merge cells":"Merge cells","Insert template":"Insert template","Templates":"Templates","Background color":"Background colour","Text color":"Text colour","Show blocks":"Show blocks","Show invisible characters":"Show invisible characters","Words: {0}":"Words: {0}","Insert":"Insert","File":"File","Edit":"Edit","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help","Tools":"Tools","View":"View","Table":"Table","Format":"Format"}); \ No newline at end of file diff --git a/public/tinymce/langs/fr-fr.js b/public/tinymce/langs/fr-fr.js index 5db78a5..767d671 100644 --- a/public/tinymce/langs/fr-fr.js +++ b/public/tinymce/langs/fr-fr.js @@ -1,182 +1 @@ -// TODO -tinymce.addI18n('fr-fr',{ -"Cut": "Cut", -"Header 2": "Header 2", -"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.", -"Div": "Div", -"Paste": "Paste", -"Close": "Close", -"Font Family": "Font Family", -"Pre": "Pre", -"Align right": "Align right", -"New document": "New document", -"Blockquote": "Blockquote", -"Numbered list": "Numbered list", -"Increase indent": "Increase indent", -"Formats": "Formats", -"Headers": "Headers", -"Select all": "Select all", -"Header 3": "Header 3", -"Blocks": "Blocks", -"Undo": "Undo", -"Strikethrough": "Strike-through", -"Bullet list": "Bullet list", -"Header 1": "Header 1", -"Superscript": "Superscript", -"Clear formatting": "Clear formatting", -"Font Sizes": "Font Sizes", -"Subscript": "Subscript", -"Header 6": "Header 6", -"Redo": "Redo", -"Paragraph": "Paragraph", -"Ok": "Ok", -"Bold": "Bold", -"Code": "Code", -"Italic": "Italic", -"Align center": "Align centre", -"Header 5": "Header 5", -"Decrease indent": "Decrease indent", -"Header 4": "Header 4", -"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.", -"Underline": "Underline", -"Cancel": "Cancel", -"Justify": "Justify", -"Inline": "Inline", -"Copy": "Copy", -"Align left": "Align left", -"Visual aids": "Visual aids", -"Lower Greek": "Lower Greek", -"Square": "Square", -"Default": "Default", -"Lower Alpha": "Lower Alpha", -"Circle": "Circle", -"Disc": "Disc", -"Upper Alpha": "Upper Alpha", -"Upper Roman": "Upper Roman", -"Lower Roman": "Lower Roman", -"Name": "Name", -"Anchor": "Anchor", -"You have unsaved changes are you sure you want to navigate away?": "You have unsaved changes are you sure you want to navigate away?", -"Restore last draft": "Restore last draft", -"Special character": "Special character", -"Source code": "Source code", -"Right to left": "Right to left", -"Left to right": "Left to right", -"Emoticons": "Emoticons", -"Robots": "Robots", -"Document properties": "Document properties", -"Title": "Title", -"Keywords": "Keywords", -"Encoding": "Encoding", -"Description": "Description", -"Author": "Author", -"Language": "Language", -"`ctrl/cmd+shift+c` toggle code": "`ctrl/cmd+shift+c` toggle code", -"Fullscreen": "Full-screen", -"Horizontal line": "Horizontal line", -"Horizontal space": "Horizontal space", -"Insert\/edit image": "Insert\/edit image", -"General": "General", -"Advanced": "Advanced", -"Source": "Source", -"Border": "Border", -"Constrain proportions": "Constrain proportions", -"Vertical space": "Vertical space", -"Image description": "Image description", -"Style": "Style", -"Dimensions": "Dimensions", -"Insert image": "Insert image", -"Insert date\/time": "Insert date\/time", -"Remove link": "Remove link", -"Url": "URL", -"Text to display": "Text to display", -"Anchors": "Anchors", -"Insert link": "Insert link", -"New window": "New window", -"None": "None", -"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?", -"Target": "Target", -"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?", -"Insert\/edit link": "Insert\/edit link", -"Insert\/edit video": "Insert\/edit video", -"Poster": "Poster", -"Alternative source": "Alternative source", -"Paste your embed code below:": "Paste your embed code below:", -"Insert video": "Insert video", -"Embed": "Embed", -"Nonbreaking space": "Non-breaking space", -"Page break": "Page break", -"Paste as text": "Paste as text", -"Preview": "Preview", -"Print": "Print", -"Save": "Save", -"Could not find the specified string.": "Could not find the specified string.", -"Replace": "Replace", -"Next": "Next", -"Whole words": "Whole words", -"Find and replace": "Find and replace", -"Replace with": "Replace with", -"Find": "Find", -"Replace all": "Replace all", -"Match case": "Match case", -"Prev": "Prev", -"Spellcheck": "Spell-check", -"Finish": "Finish", -"Ignore all": "Ignore all", -"Ignore": "Ignore", -"Insert row before": "Insert row before", -"Rows": "Rows", -"Height": "Height", -"Paste row after": "Paste row after", -"Alignment": "Alignment", -"Column group": "Column group", -"Row": "Row", -"Insert column before": "Insert column before", -"Split cell": "Split cell", -"Cell padding": "Cell padding", -"Cell spacing": "Cell spacing", -"Row type": "Row type", -"Insert table": "Insert table", -"Body": "Body", -"Caption": "Caption", -"Footer": "Footer", -"Delete row": "Delete row", -"Paste row before": "Paste row before", -"Scope": "Scope", -"Delete table": "Delete table", -"Header cell": "Header cell", -"Column": "Column", -"Cell": "Cell", -"Header": "Header", -"Cell type": "Cell type", -"Copy row": "Copy row", -"Row properties": "Row properties", -"Table properties": "Table properties", -"Row group": "Row group", -"Right": "Right", -"Insert column after": "Insert column after", -"Cols": "Cols", -"Insert row after": "Insert row after", -"Width": "Width", -"Cell properties": "Cell properties", -"Left": "Left", -"Cut row": "Cut row", -"Delete column": "Delete column", -"Center": "Centre", -"Merge cells": "Merge cells", -"Insert template": "Insert template", -"Templates": "Templates", -"Background color": "Background colour", -"Text color": "Text colour", -"Show blocks": "Show blocks", -"Show invisible characters": "Show invisible characters", -"Words: {0}": "Words: {0}", -"Insert": "Insert", -"File": "File", -"Edit": "Edit", -"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help", -"Tools": "Tools", -"View": "View", -"Table": "Table", -"Format": "Format" -}); \ No newline at end of file +tinymce.addI18n("fr-fr",{"Cut":"Cut","Header 2":"Header 2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.":"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.","Div":"Div","Paste":"Paste","Close":"Close","Font Family":"Font Family","Pre":"Pre","Align right":"Align right","New document":"New document","Blockquote":"Blockquote","Numbered list":"Numbered list","Increase indent":"Increase indent","Formats":"Formats","Headers":"Headers","Select all":"Select all","Header 3":"Header 3","Blocks":"Blocks","Undo":"Undo","Strikethrough":"Strike-through","Bullet list":"Bullet list","Header 1":"Header 1","Superscript":"Superscript","Clear formatting":"Clear formatting","Font Sizes":"Font Sizes","Subscript":"Subscript","Header 6":"Header 6","Redo":"Redo","Paragraph":"Paragraph","Ok":"Ok","Bold":"Bold","Code":"Code","Italic":"Italic","Align center":"Align centre","Header 5":"Header 5","Decrease indent":"Decrease indent","Header 4":"Header 4","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.","Underline":"Underline","Cancel":"Cancel","Justify":"Justify","Inline":"Inline","Copy":"Copy","Align left":"Align left","Visual aids":"Visual aids","Lower Greek":"Lower Greek","Square":"Square","Default":"Default","Lower Alpha":"Lower Alpha","Circle":"Circle","Disc":"Disc","Upper Alpha":"Upper Alpha","Upper Roman":"Upper Roman","Lower Roman":"Lower Roman","Name":"Name","Anchor":"Anchor","You have unsaved changes are you sure you want to navigate away?":"You have unsaved changes are you sure you want to navigate away?","Restore last draft":"Restore last draft","Special character":"Special character","Source code":"Source code","Right to left":"Right to left","Left to right":"Left to right","Emoticons":"Emoticons","Robots":"Robots","Document properties":"Document properties","Title":"Title","Keywords":"Keywords","Encoding":"Encoding","Description":"Description","Author":"Author","Language":"Language","`ctrl/cmd+shift+c` toggle code":"`ctrl/cmd+shift+c` toggle code","Fullscreen":"Full-screen","Horizontal line":"Horizontal line","Horizontal space":"Horizontal space","Insert\\/edit image":"Insert\\/edit image","General":"General","Advanced":"Advanced","Source":"Source","Border":"Border","Constrain proportions":"Constrain proportions","Vertical space":"Vertical space","Image description":"Image description","Style":"Style","Dimensions":"Dimensions","Insert image":"Insert image","Insert date\\/time":"Insert date\\/time","Remove link":"Remove link","Url":"URL","Text to display":"Text to display","Anchors":"Anchors","Insert link":"Insert link","New window":"New window","None":"None","The URL you entered seems to be an external link. Do you want to add the required http:\\/\\/ prefix?":"The URL you entered seems to be an external link. Do you want to add the required http:\\/\\/ prefix?","Target":"Target","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","Insert\\/edit link":"Insert\\/edit link","Insert\\/edit video":"Insert\\/edit video","Poster":"Poster","Alternative source":"Alternative source","Paste your embed code below:":"Paste your embed code below:","Insert video":"Insert video","Embed":"Embed","Nonbreaking space":"Non-breaking space","Page break":"Page break","Paste as text":"Paste as text","Preview":"Preview","Print":"Print","Save":"Save","Could not find the specified string.":"Could not find the specified string.","Replace":"Replace","Next":"Next","Whole words":"Whole words","Find and replace":"Find and replace","Replace with":"Replace with","Find":"Find","Replace all":"Replace all","Match case":"Match case","Prev":"Prev","Spellcheck":"Spell-check","Finish":"Finish","Ignore all":"Ignore all","Ignore":"Ignore","Insert row before":"Insert row before","Rows":"Rows","Height":"Height","Paste row after":"Paste row after","Alignment":"Alignment","Column group":"Column group","Row":"Row","Insert column before":"Insert column before","Split cell":"Split cell","Cell padding":"Cell padding","Cell spacing":"Cell spacing","Row type":"Row type","Insert table":"Insert table","Body":"Body","Caption":"Caption","Footer":"Footer","Delete row":"Delete row","Paste row before":"Paste row before","Scope":"Scope","Delete table":"Delete table","Header cell":"Header cell","Column":"Column","Cell":"Cell","Header":"Header","Cell type":"Cell type","Copy row":"Copy row","Row properties":"Row properties","Table properties":"Table properties","Row group":"Row group","Right":"Right","Insert column after":"Insert column after","Cols":"Cols","Insert row after":"Insert row after","Width":"Width","Cell properties":"Cell properties","Left":"Left","Cut row":"Cut row","Delete column":"Delete column","Center":"Centre","Merge cells":"Merge cells","Insert template":"Insert template","Templates":"Templates","Background color":"Background colour","Text color":"Text colour","Show blocks":"Show blocks","Show invisible characters":"Show invisible characters","Words: {0}":"Words: {0}","Insert":"Insert","File":"File","Edit":"Edit","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help","Tools":"Tools","View":"View","Table":"Table","Format":"Format"}); \ No newline at end of file diff --git a/public/tinymce/langs/pt-pt.js b/public/tinymce/langs/pt-pt.js index 52367a1..abce932 100644 --- a/public/tinymce/langs/pt-pt.js +++ b/public/tinymce/langs/pt-pt.js @@ -1,182 +1 @@ -// TODO -tinymce.addI18n('pt-pt',{ -"Cut": "Cut", -"Header 2": "Header 2", -"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.", -"Div": "Div", -"Paste": "Paste", -"Close": "Close", -"Font Family": "Font Family", -"Pre": "Pre", -"Align right": "Align right", -"New document": "New document", -"Blockquote": "Blockquote", -"Numbered list": "Numbered list", -"Increase indent": "Increase indent", -"Formats": "Formats", -"Headers": "Headers", -"Select all": "Select all", -"Header 3": "Header 3", -"Blocks": "Blocks", -"Undo": "Undo", -"Strikethrough": "Strike-through", -"Bullet list": "Bullet list", -"Header 1": "Header 1", -"Superscript": "Superscript", -"Clear formatting": "Clear formatting", -"Font Sizes": "Font Sizes", -"Subscript": "Subscript", -"Header 6": "Header 6", -"Redo": "Redo", -"Paragraph": "Paragraph", -"Ok": "Ok", -"Bold": "Bold", -"Code": "Code", -"Italic": "Italic", -"Align center": "Align centre", -"Header 5": "Header 5", -"Decrease indent": "Decrease indent", -"Header 4": "Header 4", -"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.", -"Underline": "Underline", -"Cancel": "Cancel", -"Justify": "Justify", -"Inline": "Inline", -"Copy": "Copy", -"Align left": "Align left", -"Visual aids": "Visual aids", -"Lower Greek": "Lower Greek", -"Square": "Square", -"Default": "Default", -"Lower Alpha": "Lower Alpha", -"Circle": "Circle", -"Disc": "Disc", -"Upper Alpha": "Upper Alpha", -"Upper Roman": "Upper Roman", -"Lower Roman": "Lower Roman", -"Name": "Name", -"Anchor": "Anchor", -"You have unsaved changes are you sure you want to navigate away?": "You have unsaved changes are you sure you want to navigate away?", -"Restore last draft": "Restore last draft", -"Special character": "Special character", -"Source code": "Source code", -"Right to left": "Right to left", -"Left to right": "Left to right", -"Emoticons": "Emoticons", -"Robots": "Robots", -"Document properties": "Document properties", -"Title": "Title", -"Keywords": "Keywords", -"Encoding": "Encoding", -"Description": "Description", -"Author": "Author", -"Language": "Language", -"`ctrl/cmd+shift+c` toggle code": "`ctrl/cmd+shift+c` toggle code", -"Fullscreen": "Full-screen", -"Horizontal line": "Horizontal line", -"Horizontal space": "Horizontal space", -"Insert\/edit image": "Insert\/edit image", -"General": "General", -"Advanced": "Advanced", -"Source": "Source", -"Border": "Border", -"Constrain proportions": "Constrain proportions", -"Vertical space": "Vertical space", -"Image description": "Image description", -"Style": "Style", -"Dimensions": "Dimensions", -"Insert image": "Insert image", -"Insert date\/time": "Insert date\/time", -"Remove link": "Remove link", -"Url": "URL", -"Text to display": "Text to display", -"Anchors": "Anchors", -"Insert link": "Insert link", -"New window": "New window", -"None": "None", -"The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?": "The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix?", -"Target": "Target", -"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?": "The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?", -"Insert\/edit link": "Insert\/edit link", -"Insert\/edit video": "Insert\/edit video", -"Poster": "Poster", -"Alternative source": "Alternative source", -"Paste your embed code below:": "Paste your embed code below:", -"Insert video": "Insert video", -"Embed": "Embed", -"Nonbreaking space": "Non-breaking space", -"Page break": "Page break", -"Paste as text": "Paste as text", -"Preview": "Preview", -"Print": "Print", -"Save": "Save", -"Could not find the specified string.": "Could not find the specified string.", -"Replace": "Replace", -"Next": "Next", -"Whole words": "Whole words", -"Find and replace": "Find and replace", -"Replace with": "Replace with", -"Find": "Find", -"Replace all": "Replace all", -"Match case": "Match case", -"Prev": "Prev", -"Spellcheck": "Spell-check", -"Finish": "Finish", -"Ignore all": "Ignore all", -"Ignore": "Ignore", -"Insert row before": "Insert row before", -"Rows": "Rows", -"Height": "Height", -"Paste row after": "Paste row after", -"Alignment": "Alignment", -"Column group": "Column group", -"Row": "Row", -"Insert column before": "Insert column before", -"Split cell": "Split cell", -"Cell padding": "Cell padding", -"Cell spacing": "Cell spacing", -"Row type": "Row type", -"Insert table": "Insert table", -"Body": "Body", -"Caption": "Caption", -"Footer": "Footer", -"Delete row": "Delete row", -"Paste row before": "Paste row before", -"Scope": "Scope", -"Delete table": "Delete table", -"Header cell": "Header cell", -"Column": "Column", -"Cell": "Cell", -"Header": "Header", -"Cell type": "Cell type", -"Copy row": "Copy row", -"Row properties": "Row properties", -"Table properties": "Table properties", -"Row group": "Row group", -"Right": "Right", -"Insert column after": "Insert column after", -"Cols": "Cols", -"Insert row after": "Insert row after", -"Width": "Width", -"Cell properties": "Cell properties", -"Left": "Left", -"Cut row": "Cut row", -"Delete column": "Delete column", -"Center": "Centre", -"Merge cells": "Merge cells", -"Insert template": "Insert template", -"Templates": "Templates", -"Background color": "Background colour", -"Text color": "Text colour", -"Show blocks": "Show blocks", -"Show invisible characters": "Show invisible characters", -"Words: {0}": "Words: {0}", -"Insert": "Insert", -"File": "File", -"Edit": "Edit", -"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help", -"Tools": "Tools", -"View": "View", -"Table": "Table", -"Format": "Format" -}); \ No newline at end of file +tinymce.addI18n("pt-pt",{"Cut":"Cut","Header 2":"Header 2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.":"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.","Div":"Div","Paste":"Paste","Close":"Close","Font Family":"Font Family","Pre":"Pre","Align right":"Align right","New document":"New document","Blockquote":"Blockquote","Numbered list":"Numbered list","Increase indent":"Increase indent","Formats":"Formats","Headers":"Headers","Select all":"Select all","Header 3":"Header 3","Blocks":"Blocks","Undo":"Undo","Strikethrough":"Strike-through","Bullet list":"Bullet list","Header 1":"Header 1","Superscript":"Superscript","Clear formatting":"Clear formatting","Font Sizes":"Font Sizes","Subscript":"Subscript","Header 6":"Header 6","Redo":"Redo","Paragraph":"Paragraph","Ok":"Ok","Bold":"Bold","Code":"Code","Italic":"Italic","Align center":"Align centre","Header 5":"Header 5","Decrease indent":"Decrease indent","Header 4":"Header 4","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.","Underline":"Underline","Cancel":"Cancel","Justify":"Justify","Inline":"Inline","Copy":"Copy","Align left":"Align left","Visual aids":"Visual aids","Lower Greek":"Lower Greek","Square":"Square","Default":"Default","Lower Alpha":"Lower Alpha","Circle":"Circle","Disc":"Disc","Upper Alpha":"Upper Alpha","Upper Roman":"Upper Roman","Lower Roman":"Lower Roman","Name":"Name","Anchor":"Anchor","You have unsaved changes are you sure you want to navigate away?":"You have unsaved changes are you sure you want to navigate away?","Restore last draft":"Restore last draft","Special character":"Special character","Source code":"Source code","Right to left":"Right to left","Left to right":"Left to right","Emoticons":"Emoticons","Robots":"Robots","Document properties":"Document properties","Title":"Title","Keywords":"Keywords","Encoding":"Encoding","Description":"Description","Author":"Author","Language":"Language","`ctrl/cmd+shift+c` toggle code":"`ctrl/cmd+shift+c` toggle code","Fullscreen":"Full-screen","Horizontal line":"Horizontal line","Horizontal space":"Horizontal space","Insert\\/edit image":"Insert\\/edit image","General":"General","Advanced":"Advanced","Source":"Source","Border":"Border","Constrain proportions":"Constrain proportions","Vertical space":"Vertical space","Image description":"Image description","Style":"Style","Dimensions":"Dimensions","Insert image":"Insert image","Insert date\\/time":"Insert date\\/time","Remove link":"Remove link","Url":"URL","Text to display":"Text to display","Anchors":"Anchors","Insert link":"Insert link","New window":"New window","None":"None","The URL you entered seems to be an external link. Do you want to add the required http:\\/\\/ prefix?":"The URL you entered seems to be an external link. Do you want to add the required http:\\/\\/ prefix?","Target":"Target","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","Insert\\/edit link":"Insert\\/edit link","Insert\\/edit video":"Insert\\/edit video","Poster":"Poster","Alternative source":"Alternative source","Paste your embed code below:":"Paste your embed code below:","Insert video":"Insert video","Embed":"Embed","Nonbreaking space":"Non-breaking space","Page break":"Page break","Paste as text":"Paste as text","Preview":"Preview","Print":"Print","Save":"Save","Could not find the specified string.":"Could not find the specified string.","Replace":"Replace","Next":"Next","Whole words":"Whole words","Find and replace":"Find and replace","Replace with":"Replace with","Find":"Find","Replace all":"Replace all","Match case":"Match case","Prev":"Prev","Spellcheck":"Spell-check","Finish":"Finish","Ignore all":"Ignore all","Ignore":"Ignore","Insert row before":"Insert row before","Rows":"Rows","Height":"Height","Paste row after":"Paste row after","Alignment":"Alignment","Column group":"Column group","Row":"Row","Insert column before":"Insert column before","Split cell":"Split cell","Cell padding":"Cell padding","Cell spacing":"Cell spacing","Row type":"Row type","Insert table":"Insert table","Body":"Body","Caption":"Caption","Footer":"Footer","Delete row":"Delete row","Paste row before":"Paste row before","Scope":"Scope","Delete table":"Delete table","Header cell":"Header cell","Column":"Column","Cell":"Cell","Header":"Header","Cell type":"Cell type","Copy row":"Copy row","Row properties":"Row properties","Table properties":"Table properties","Row group":"Row group","Right":"Right","Insert column after":"Insert column after","Cols":"Cols","Insert row after":"Insert row after","Width":"Width","Cell properties":"Cell properties","Left":"Left","Cut row":"Cut row","Delete column":"Delete column","Center":"Centre","Merge cells":"Merge cells","Insert template":"Insert template","Templates":"Templates","Background color":"Background colour","Text color":"Text colour","Show blocks":"Show blocks","Show invisible characters":"Show invisible characters","Words: {0}":"Words: {0}","Insert":"Insert","File":"File","Edit":"Edit","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help","Tools":"Tools","View":"View","Table":"Table","Format":"Format"}); \ No newline at end of file diff --git a/public/tinymce/langs/zh-cn.js b/public/tinymce/langs/zh-cn.js index abc194a..2e4fe85 100644 --- a/public/tinymce/langs/zh-cn.js +++ b/public/tinymce/langs/zh-cn.js @@ -1,188 +1 @@ -tinymce.addI18n('zh-cn',{ -"Cut": "剪切", -"Header 2": "标题2", -"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "你的浏览器不支持对剪贴板的访问,请使用Ctrl+X\/C\/V键进行复制粘贴。", -"Div": "Div区块", -"Paste": "粘贴", -"Close": "关闭", -"Font Family": "字体", -"Pre": "预格式文本", -"Align right": "右对齐", -"New document": "新文档", -"Blockquote": "引用", -"Numbered list": "编号列表", -"Increase indent": "增加缩进", -"Formats": "格式", -"Headers": "标题", -"Select all": "全选", -"Header 3": "标题3", -"Blocks": "区块", -"Undo": "撤消", -"Strikethrough": "删除线", -"Bullet list": "项目符号", -"Header 1": "标题1", -"Superscript": "上标", -"Clear formatting": "清除格式", -"Font Sizes": "字号", -"Subscript": "下标", -"Header 6": "标题6", -"Redo": "重复", -"Paragraph": "段落", -"Ok": "确定", -"Bold": "粗体", -"Code": "代码", -"Italic": "斜体", -"Align center": "居中", -"Header 5": "标题5", -"Decrease indent": "减少缩进", -"Header 4": "标题4", -"Convert Code": "转换成文本", -"toggleCode": "ctrl+shift+c 切换代码", -"Language": "代码语言", -"`ctrl/cmd+shift+c` toggle code": "`ctrl/cmd+shift+c` 切换代码", -"Toggle ace with raw html": "Ace代码与普通Pre代码切换", -"Inline Code": "", -"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "当前为纯文本粘贴模式,再次点击可以回到普通粘贴模式。", -"Underline": "下划线", -"Cancel": "取消", -"Justify": "两端对齐", -"Inline": "文本", -"Copy": "复制", -"Align left": "左对齐", -"Visual aids": "网格线", -"Lower Greek": "小写希腊字母", -"Square": "方块", -"Default": "默认", -"Lower Alpha": "小写英文字母", -"Circle": "空心圆", -"Disc": "实心圆", -"Upper Alpha": "大写英文字母", -"Upper Roman": "大写罗马字母", -"Lower Roman": "小写罗马字母", -"Name": "名称", -"Anchor": "锚点", -"You have unsaved changes are you sure you want to navigate away?": "你还有文档尚未保存,确定要离开?", -"Restore last draft": "恢复上次的草稿", -"Special character": "特殊符号", -"Source code": "源代码", -"Right to left": "从右到左", -"Left to right": "从左到右", -"Emoticons": "表情", -"Robots": "机器人", -"Document properties": "文档属性", -"Title": "标题", -"Keywords": "关键词", -"Encoding": "编码", -"Description": "描述", -"Author": "作者", -"Fullscreen": "全屏", -"Horizontal line": "水平分割线", -"Horizontal space": "水平边距", -"Insert\/edit image": "上传/插入图片", -"Insert\/edit mind map": "新建/编辑思维导图", -"Insert Mind Map": "插入思维导图", -"Mind Map": "思维导图", -"Image": "图片", -"Insert Image": "插入", -"General": "普通", -"Advanced": "高级", -"Source": "地址", -"Border": "边框", -"Constrain proportions": "保持纵横比", -"Vertical space": "垂直边距", -"Image description": "图片描述", -"Style": "样式", -"Dimensions": "大小", -"Insert image": "插入图片", -"Insert date\/time": "插入日期\/时间", -"Remove link": "删除链接", -"Url": "地址", -"Text to display": "显示文字", -"Anchors": "锚点", -"Insert link": "插入链接", -"New window": "在新窗口打开", -"None": "无", -"Target": "打开方式", -"Insert\/edit link": "插入\/编辑链接", -"Insert\/edit video": "插入\/编辑视频", -"Poster": "封面", -"Alternative source": "镜像", -"Paste your embed code below:": "将内嵌代码粘贴在下面:", -"Insert video": "插入视频", -"Embed": "内嵌", -"Nonbreaking space": "不间断空格", -"Page break": "分页符", -"Paste as text": "粘贴为文本", -"Preview": "预览", -"Print": "打印", -"Save": "保存", -"Could not find the specified string.": "未找到搜索内容.", -"Replace": "替换", -"Next": "下一个", -"Whole words": "全字匹配", -"Find and replace": "查找和替换", -"Replace with": "替换为", -"Find": "查找", -"Replace all": "全部替换", -"Match case": "区分大小写", -"Prev": "上一个", -"Spellcheck": "拼写检查", -"Finish": "完成", -"Ignore all": "全部忽略", -"Ignore": "忽略", -"Insert row before": "在上方插入", -"Rows": "行", -"Height": "高", -"Paste row after": "粘贴到下方", -"Alignment": "对齐方式", -"Column group": "列组", -"Row": "行", -"Insert column before": "在左侧插入", -"Split cell": "拆分单元格", -"Cell padding": "单元格内边距", -"Cell spacing": "单元格外间距", -"Row type": "行类型", -"Insert table": "插入表格", -"Body": "表体", -"Caption": "标题", -"Footer": "表尾", -"Delete row": "删除行", -"Paste row before": "粘贴到上方", -"Scope": "范围", -"Delete table": "删除表格", -"Header cell": "表头单元格", -"Column": "列", -"Cell": "单元格", -"Header": "表头", -"Cell type": "单元格类型", -"Copy row": "复制行", -"Row properties": "行属性", -"Table properties": "表格属性", -"Row group": "行组", -"Right": "右对齐", -"Insert column after": "在右侧插入", -"Cols": "列", -"Insert row after": "在下方插入", -"Width": "宽", -"Cell properties": "单元格属性", -"Left": "左对齐", -"Cut row": "剪切行", -"Delete column": "删除列", -"Center": "居中", -"Merge cells": "合并单元格", -"Insert template": "插入模板", -"Templates": "模板", -"Background color": "背景色", -"Text color": "文字颜色", -"Show blocks": "显示区块边框", -"Show invisible characters": "显示不可见字符", -"Words: {0}": "字数:{0}", -"Insert": "插入", -"File": "文件", -"Edit": "编辑", -"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "在编辑区按ALT-F9打开菜单,按ALT-F10打开工具栏,按ALT-0查看帮助", -"Tools": "工具", -"View": "视图", -"Table": "表格", -"Format": "格式" -}); \ No newline at end of file +tinymce.addI18n("zh-cn",{"Cut":"剪切","Header 2":"标题2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.":"你的浏览器不支持对剪贴板的访问,请使用Ctrl+X\\/C\\/V键进行复制粘贴。","Div":"Div区块","Paste":"粘贴","Close":"关闭","Font Family":"字体","Pre":"预格式文本","Align right":"右对齐","New document":"新文档","Blockquote":"引用","Numbered list":"编号列表","Increase indent":"增加缩进","Formats":"格式","Headers":"标题","Select all":"全选","Header 3":"标题3","Blocks":"区块","Undo":"撤消","Strikethrough":"删除线","Bullet list":"项目符号","Header 1":"标题1","Superscript":"上标","Clear formatting":"清除格式","Font Sizes":"字号","Subscript":"下标","Header 6":"标题6","Redo":"重复","Paragraph":"段落","Ok":"确定","Bold":"粗体","Code":"代码","Italic":"斜体","Align center":"居中","Header 5":"标题5","Decrease indent":"减少缩进","Header 4":"标题4","Convert Code":"转换成文本","toggleCode":"ctrl+shift+c 切换代码","Language":"代码语言","`ctrl/cmd+shift+c` toggle code":"`ctrl/cmd+shift+c` 切换代码","Toggle ace with raw html":"Ace代码与普通Pre代码切换","Inline Code":"","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"当前为纯文本粘贴模式,再次点击可以回到普通粘贴模式。","Underline":"下划线","Cancel":"取消","Justify":"两端对齐","Inline":"文本","Copy":"复制","Align left":"左对齐","Visual aids":"网格线","Lower Greek":"小写希腊字母","Square":"方块","Default":"默认","Lower Alpha":"小写英文字母","Circle":"空心圆","Disc":"实心圆","Upper Alpha":"大写英文字母","Upper Roman":"大写罗马字母","Lower Roman":"小写罗马字母","Name":"名称","Anchor":"锚点","You have unsaved changes are you sure you want to navigate away?":"你还有文档尚未保存,确定要离开?","Restore last draft":"恢复上次的草稿","Special character":"特殊符号","Source code":"源代码","Right to left":"从右到左","Left to right":"从左到右","Emoticons":"表情","Robots":"机器人","Document properties":"文档属性","Title":"标题","Keywords":"关键词","Encoding":"编码","Description":"描述","Author":"作者","Fullscreen":"全屏","Horizontal line":"水平分割线","Horizontal space":"水平边距","Insert\\/edit image":"上传/插入图片","Insert\\/edit mind map":"新建/编辑思维导图","Insert Mind Map":"插入思维导图","Mind Map":"思维导图","Image":"图片","Insert Image":"插入","General":"普通","Advanced":"高级","Source":"地址","Border":"边框","Constrain proportions":"保持纵横比","Vertical space":"垂直边距","Image description":"图片描述","Style":"样式","Dimensions":"大小","Insert image":"插入图片","Insert date\\/time":"插入日期\\/时间","Remove link":"删除链接","Url":"地址","Text to display":"显示文字","Anchors":"锚点","Insert link":"插入链接","New window":"在新窗口打开","None":"无","Target":"打开方式","Insert\\/edit link":"插入\\/编辑链接","Insert\\/edit video":"插入\\/编辑视频","Poster":"封面","Alternative source":"镜像","Paste your embed code below:":"将内嵌代码粘贴在下面:","Insert video":"插入视频","Embed":"内嵌","Nonbreaking space":"不间断空格","Page break":"分页符","Paste as text":"粘贴为文本","Preview":"预览","Print":"打印","Save":"保存","Could not find the specified string.":"未找到搜索内容.","Replace":"替换","Next":"下一个","Whole words":"全字匹配","Find and replace":"查找和替换","Replace with":"替换为","Find":"查找","Replace all":"全部替换","Match case":"区分大小写","Prev":"上一个","Spellcheck":"拼写检查","Finish":"完成","Ignore all":"全部忽略","Ignore":"忽略","Insert row before":"在上方插入","Rows":"行","Height":"高","Paste row after":"粘贴到下方","Alignment":"对齐方式","Column group":"列组","Row":"行","Insert column before":"在左侧插入","Split cell":"拆分单元格","Cell padding":"单元格内边距","Cell spacing":"单元格外间距","Row type":"行类型","Insert table":"插入表格","Body":"表体","Caption":"标题","Footer":"表尾","Delete row":"删除行","Paste row before":"粘贴到上方","Scope":"范围","Delete table":"删除表格","Header cell":"表头单元格","Column":"列","Cell":"单元格","Header":"表头","Cell type":"单元格类型","Copy row":"复制行","Row properties":"行属性","Table properties":"表格属性","Row group":"行组","Right":"右对齐","Insert column after":"在右侧插入","Cols":"列","Insert row after":"在下方插入","Width":"宽","Cell properties":"单元格属性","Left":"左对齐","Cut row":"剪切行","Delete column":"删除列","Center":"居中","Merge cells":"合并单元格","Insert template":"插入模板","Templates":"模板","Background color":"背景色","Text color":"文字颜色","Show blocks":"显示区块边框","Show invisible characters":"显示不可见字符","Words: {0}":"字数:{0}","Insert":"插入","File":"文件","Edit":"编辑","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"在编辑区按ALT-F9打开菜单,按ALT-F10打开工具栏,按ALT-0查看帮助","Tools":"工具","View":"视图","Table":"表格","Format":"格式"}); \ No newline at end of file diff --git a/public/tinymce/langs/zh-hk.js b/public/tinymce/langs/zh-hk.js index f7558b5..a004357 100644 --- a/public/tinymce/langs/zh-hk.js +++ b/public/tinymce/langs/zh-hk.js @@ -1,189 +1 @@ -// http://www.atool.org/chinese2unicode.php -tinymce.addI18n('zh-hk',{ -"Cut": "剪切", -"Header 2": "標題2", -"Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\/C\/V keyboard shortcuts instead.": "妳的瀏覽器不支持對剪貼板的訪問,請使用Ctrl+X\/C\/V鍵進行復制粘貼。", -"Div": "Div區塊", -"Paste": "粘貼", -"Close": "關閉", -"Font Family": "字體", -"Pre": "預格式文本", -"Align right": "右對齊", -"New document": "新文檔", -"Blockquote": "引用", -"Numbered list": "編號列表", -"Increase indent": "增加縮進", -"Formats": "格式", -"Headers": "標題", -"Select all": "全選", -"Header 3": "標題3", -"Blocks": "區塊", -"Undo": "撤消", -"Strikethrough": "刪除線", -"Bullet list": "項目符號", -"Header 1": "標題1", -"Superscript": "上標", -"Clear formatting": "清除格式", -"Font Sizes": "字號", -"Subscript": "下標", -"Header 6": "標題6", -"Redo": "重復", -"Paragraph": "段落", -"Ok": "確定", -"Bold": "粗體", -"Code": "代碼", -"Italic": "斜體", -"Align center": "居中", -"Header 5": "標題5", -"Decrease indent": "減少縮進", -"Header 4": "標題4", -"Convert Code": "轉換成文本", -"toggleCode": "ctrl+shift+c 切換代碼", -"Language": "代碼語言", -"`ctrl/cmd+shift+c` toggle code": "`ctrl/cmd+shift+c` 切換代碼", -"Toggle ace with raw html": "Ace代碼與普通Pre代碼切換", -"Inline Code": "", -"Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.": "當前為純文本粘貼模式,再次點擊可以回到普通粘貼模式。", -"Underline": "下劃線", -"Cancel": "取消", -"Justify": "兩端對齊", -"Inline": "文本", -"Copy": "復制", -"Align left": "左對齊", -"Visual aids": "網格線", -"Lower Greek": "小寫希臘字母", -"Square": "方塊", -"Default": "默認", -"Lower Alpha": "小寫英文字母", -"Circle": "空心圓", -"Disc": "實心圓", -"Upper Alpha": "大寫英文字母", -"Upper Roman": "大寫羅馬字母", -"Lower Roman": "小寫羅馬字母", -"Name": "名稱", -"Anchor": "錨點", -"You have unsaved changes are you sure you want to navigate away?": "妳還有文檔尚未保存,確定要離開?", -"Restore last draft": "恢復上次的草稿", -"Special character": "特殊符號", -"Source code": "源代碼", -"Right to left": "從右到左", -"Left to right": "從左到右", -"Emoticons": "表情", -"Robots": "機器人", -"Document properties": "文檔屬性", -"Title": "標題", -"Keywords": "關鍵詞", -"Encoding": "編碼", -"Description": "描述", -"Author": "作者", -"Fullscreen": "全屏", -"Horizontal line": "水平分割線", -"Horizontal space": "水平邊距", -"Insert\/edit image": "上傳/插入圖片", -"Insert\/edit mind map": "新建/編輯思維導圖", -"Insert Mind Map": "插入思維導圖", -"Mind Map": "思維導圖", -"Image": "圖片", -"Insert Image": "插入", -"General": "普通", -"Advanced": "高級", -"Source": "地址", -"Border": "邊框", -"Constrain proportions": "保持縱橫比", -"Vertical space": "垂直邊距", -"Image description": "圖片描述", -"Style": "樣式", -"Dimensions": "大小", -"Insert image": "插入圖片", -"Insert date\/time": "插入日期\/時間", -"Remove link": "刪除鏈接", -"Url": "地址", -"Text to display": "顯示文字", -"Anchors": "錨點", -"Insert link": "插入鏈接", -"New window": "在新窗口打開", -"None": "無", -"Target": "打開方式", -"Insert\/edit link": "插入\/編輯鏈接", -"Insert\/edit video": "插入\/編輯視頻", -"Poster": "封面", -"Alternative source": "鏡像", -"Paste your embed code below:": "將內嵌代碼粘貼在下面:", -"Insert video": "插入視頻", -"Embed": "內嵌", -"Nonbreaking space": "不間斷空格", -"Page break": "分頁符", -"Paste as text": "粘貼為文本", -"Preview": "預覽", -"Print": "打印", -"Save": "保存", -"Could not find the specified string.": "未找到搜索內容.", -"Replace": "替換", -"Next": "下壹個", -"Whole words": "全字匹配", -"Find and replace": "查找和替換", -"Replace with": "替換為", -"Find": "查找", -"Replace all": "全部替換", -"Match case": "區分大小寫", -"Prev": "上壹個", -"Spellcheck": "拼寫檢查", -"Finish": "完成", -"Ignore all": "全部忽略", -"Ignore": "忽略", -"Insert row before": "在上方插入", -"Rows": "行", -"Height": "高", -"Paste row after": "粘貼到下方", -"Alignment": "對齊方式", -"Column group": "列組", -"Row": "行", -"Insert column before": "在左側插入", -"Split cell": "拆分單元格", -"Cell padding": "單元格內邊距", -"Cell spacing": "單元格外間距", -"Row type": "行類型", -"Insert table": "插入表格", -"Body": "表體", -"Caption": "標題", -"Footer": "表尾", -"Delete row": "刪除行", -"Paste row before": "粘貼到上方", -"Scope": "範圍", -"Delete table": "刪除表格", -"Header cell": "表頭單元格", -"Column": "列", -"Cell": "單元格", -"Header": "表頭", -"Cell type": "單元格類型", -"Copy row": "復制行", -"Row properties": "行屬性", -"Table properties": "表格屬性", -"Row group": "行組", -"Right": "右對齊", -"Insert column after": "在右側插入", -"Cols": "列", -"Insert row after": "在下方插入", -"Width": "寬", -"Cell properties": "單元格屬性", -"Left": "左對齊", -"Cut row": "剪切行", -"Delete column": "刪除列", -"Center": "居中", -"Merge cells": "合並單元格", -"Insert template": "插入模板", -"Templates": "模板", -"Background color": "背景色", -"Text color": "文字顏色", -"Show blocks": "顯示區塊邊框", -"Show invisible characters": "顯示不可見字符", -"Words: {0}": "字數:{0}", -"Insert": "插入", -"File": "文件", -"Edit": "編輯", -"Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help": "在編輯區按ALT-F9打開菜單,按ALT-F10打開工具欄,按ALT-0查看幫助", -"Tools": "工具", -"View": "視圖", -"Table": "表格", -"Format": "格式" -}); \ No newline at end of file +tinymce.addI18n("zh-hk",{"Cut":"剪切","Header 2":"標題2","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X\\/C\\/V keyboard shortcuts instead.":"妳的瀏覽器不支持對剪貼板的訪問,請使用Ctrl+X\\/C\\/V鍵進行復制粘貼。","Div":"Div區塊","Paste":"粘貼","Close":"關閉","Font Family":"字體","Pre":"預格式文本","Align right":"右對齊","New document":"新文檔","Blockquote":"引用","Numbered list":"編號列表","Increase indent":"增加縮進","Formats":"格式","Headers":"標題","Select all":"全選","Header 3":"標題3","Blocks":"區塊","Undo":"撤消","Strikethrough":"刪除線","Bullet list":"項目符號","Header 1":"標題1","Superscript":"上標","Clear formatting":"清除格式","Font Sizes":"字號","Subscript":"下標","Header 6":"標題6","Redo":"重復","Paragraph":"段落","Ok":"確定","Bold":"粗體","Code":"代碼","Italic":"斜體","Align center":"居中","Header 5":"標題5","Decrease indent":"減少縮進","Header 4":"標題4","Convert Code":"轉換成文本","toggleCode":"ctrl+shift+c 切換代碼","Language":"代碼語言","`ctrl/cmd+shift+c` toggle code":"`ctrl/cmd+shift+c` 切換代碼","Toggle ace with raw html":"Ace代碼與普通Pre代碼切換","Inline Code":"","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"當前為純文本粘貼模式,再次點擊可以回到普通粘貼模式。","Underline":"下劃線","Cancel":"取消","Justify":"兩端對齊","Inline":"文本","Copy":"復制","Align left":"左對齊","Visual aids":"網格線","Lower Greek":"小寫希臘字母","Square":"方塊","Default":"默認","Lower Alpha":"小寫英文字母","Circle":"空心圓","Disc":"實心圓","Upper Alpha":"大寫英文字母","Upper Roman":"大寫羅馬字母","Lower Roman":"小寫羅馬字母","Name":"名稱","Anchor":"錨點","You have unsaved changes are you sure you want to navigate away?":"妳還有文檔尚未保存,確定要離開?","Restore last draft":"恢復上次的草稿","Special character":"特殊符號","Source code":"源代碼","Right to left":"從右到左","Left to right":"從左到右","Emoticons":"表情","Robots":"機器人","Document properties":"文檔屬性","Title":"標題","Keywords":"關鍵詞","Encoding":"編碼","Description":"描述","Author":"作者","Fullscreen":"全屏","Horizontal line":"水平分割線","Horizontal space":"水平邊距","Insert\\/edit image":"上傳/插入圖片","Insert\\/edit mind map":"新建/編輯思維導圖","Insert Mind Map":"插入思維導圖","Mind Map":"思維導圖","Image":"圖片","Insert Image":"插入","General":"普通","Advanced":"高級","Source":"地址","Border":"邊框","Constrain proportions":"保持縱橫比","Vertical space":"垂直邊距","Image description":"圖片描述","Style":"樣式","Dimensions":"大小","Insert image":"插入圖片","Insert date\\/time":"插入日期\\/時間","Remove link":"刪除鏈接","Url":"地址","Text to display":"顯示文字","Anchors":"錨點","Insert link":"插入鏈接","New window":"在新窗口打開","None":"無","Target":"打開方式","Insert\\/edit link":"插入\\/編輯鏈接","Insert\\/edit video":"插入\\/編輯視頻","Poster":"封面","Alternative source":"鏡像","Paste your embed code below:":"將內嵌代碼粘貼在下面:","Insert video":"插入視頻","Embed":"內嵌","Nonbreaking space":"不間斷空格","Page break":"分頁符","Paste as text":"粘貼為文本","Preview":"預覽","Print":"打印","Save":"保存","Could not find the specified string.":"未找到搜索內容.","Replace":"替換","Next":"下壹個","Whole words":"全字匹配","Find and replace":"查找和替換","Replace with":"替換為","Find":"查找","Replace all":"全部替換","Match case":"區分大小寫","Prev":"上壹個","Spellcheck":"拼寫檢查","Finish":"完成","Ignore all":"全部忽略","Ignore":"忽略","Insert row before":"在上方插入","Rows":"行","Height":"高","Paste row after":"粘貼到下方","Alignment":"對齊方式","Column group":"列組","Row":"行","Insert column before":"在左側插入","Split cell":"拆分單元格","Cell padding":"單元格內邊距","Cell spacing":"單元格外間距","Row type":"行類型","Insert table":"插入表格","Body":"表體","Caption":"標題","Footer":"表尾","Delete row":"刪除行","Paste row before":"粘貼到上方","Scope":"範圍","Delete table":"刪除表格","Header cell":"表頭單元格","Column":"列","Cell":"單元格","Header":"表頭","Cell type":"單元格類型","Copy row":"復制行","Row properties":"行屬性","Table properties":"表格屬性","Row group":"行組","Right":"右對齊","Insert column after":"在右側插入","Cols":"列","Insert row after":"在下方插入","Width":"寬","Cell properties":"單元格屬性","Left":"左對齊","Cut row":"剪切行","Delete column":"刪除列","Center":"居中","Merge cells":"合並單元格","Insert template":"插入模板","Templates":"模板","Background color":"背景色","Text color":"文字顏色","Show blocks":"顯示區塊邊框","Show invisible characters":"顯示不可見字符","Words: {0}":"字數:{0}","Insert":"插入","File":"文件","Edit":"編輯","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"在編輯區按ALT-F9打開菜單,按ALT-F10打開工具欄,按ALT-0查看幫助","Tools":"工具","View":"視圖","Table":"表格","Format":"格式"}); \ No newline at end of file