2015-05-13 18:30:35 +02:00
|
|
|
(function ($) {
|
|
|
|
$.extend($.summernote.lang, {
|
|
|
|
'zh-TW': {
|
|
|
|
font: {
|
|
|
|
bold: '粗體',
|
|
|
|
italic: '斜體',
|
|
|
|
underline: '底線',
|
|
|
|
clear: '清除格式',
|
|
|
|
height: '行高',
|
2016-03-23 18:39:41 +01:00
|
|
|
name: '字體',
|
2015-05-13 18:30:35 +02:00
|
|
|
strikethrough: '刪除線',
|
2016-03-23 18:39:41 +01:00
|
|
|
subscript: '下標',
|
|
|
|
superscript: '上標',
|
|
|
|
size: '字號'
|
2015-05-13 18:30:35 +02:00
|
|
|
},
|
|
|
|
image: {
|
|
|
|
image: '圖片',
|
|
|
|
insert: '插入圖片',
|
|
|
|
resizeFull: '縮放至100%',
|
|
|
|
resizeHalf: '縮放至 50%',
|
|
|
|
resizeQuarter: '縮放至 25%',
|
|
|
|
floatLeft: '靠左浮動',
|
|
|
|
floatRight: '靠右浮動',
|
|
|
|
floatNone: '取消浮動',
|
2016-03-23 18:39:41 +01:00
|
|
|
shapeRounded: '形狀: 圓角',
|
|
|
|
shapeCircle: '形狀: 圓',
|
|
|
|
shapeThumbnail: '形狀: 縮略圖',
|
|
|
|
shapeNone: '形狀: 無',
|
2015-05-13 18:30:35 +02:00
|
|
|
dragImageHere: '將圖片拖曳至此處',
|
|
|
|
selectFromFiles: '從本機上傳',
|
2016-03-23 18:39:41 +01:00
|
|
|
maximumFileSize: '文件大小最大值',
|
|
|
|
maximumFileSizeError: '文件大小超出最大值。',
|
|
|
|
url: '圖片網址',
|
|
|
|
remove: '移除圖片'
|
|
|
|
},
|
|
|
|
video: {
|
|
|
|
video: '影片',
|
|
|
|
videoLink: '影片連結',
|
|
|
|
insert: '插入影片',
|
|
|
|
url: '影片網址',
|
|
|
|
providers: '(優酷, Instagram, DailyMotion, Youtube等)'
|
2015-05-13 18:30:35 +02:00
|
|
|
},
|
|
|
|
link: {
|
|
|
|
link: '連結',
|
|
|
|
insert: '插入連結',
|
|
|
|
unlink: '取消連結',
|
|
|
|
edit: '編輯連結',
|
|
|
|
textToDisplay: '顯示文字',
|
|
|
|
url: '連結網址',
|
|
|
|
openInNewWindow: '在新視窗開啟'
|
|
|
|
},
|
|
|
|
table: {
|
|
|
|
table: '表格'
|
|
|
|
},
|
|
|
|
hr: {
|
|
|
|
insert: '水平線'
|
|
|
|
},
|
|
|
|
style: {
|
|
|
|
style: '樣式',
|
|
|
|
normal: '一般',
|
|
|
|
blockquote: '引用區塊',
|
|
|
|
pre: '程式碼區塊',
|
|
|
|
h1: '標題 1',
|
|
|
|
h2: '標題 2',
|
|
|
|
h3: '標題 3',
|
|
|
|
h4: '標題 4',
|
|
|
|
h5: '標題 5',
|
|
|
|
h6: '標題 6'
|
|
|
|
},
|
|
|
|
lists: {
|
|
|
|
unordered: '項目清單',
|
|
|
|
ordered: '編號清單'
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
help: '幫助',
|
|
|
|
fullscreen: '全螢幕',
|
|
|
|
codeview: '原始碼'
|
|
|
|
},
|
|
|
|
paragraph: {
|
|
|
|
paragraph: '段落',
|
|
|
|
outdent: '取消縮排',
|
|
|
|
indent: '增加縮排',
|
|
|
|
left: '靠右對齊',
|
|
|
|
center: '靠中對齊',
|
|
|
|
right: '靠右對齊',
|
|
|
|
justify: '左右對齊'
|
|
|
|
},
|
|
|
|
color: {
|
|
|
|
recent: '字型顏色',
|
|
|
|
more: '更多',
|
|
|
|
background: '背景',
|
|
|
|
foreground: '前景',
|
|
|
|
transparent: '透明',
|
|
|
|
setTransparent: '透明',
|
|
|
|
reset: '重設',
|
|
|
|
resetToDefault: '默認'
|
|
|
|
},
|
|
|
|
shortcut: {
|
|
|
|
shortcuts: '快捷鍵',
|
|
|
|
close: '關閉',
|
|
|
|
textFormatting: '文字格式',
|
|
|
|
action: '動作',
|
|
|
|
paragraphFormatting: '段落格式',
|
2016-03-23 18:39:41 +01:00
|
|
|
documentStyle: '文件格式',
|
|
|
|
extraKeys: '額外按鍵'
|
2015-05-13 18:30:35 +02:00
|
|
|
},
|
|
|
|
history: {
|
|
|
|
undo: '復原',
|
|
|
|
redo: '取消復原'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
})(jQuery);
|