|
|
(function($) { |
|
|
$.extend($.summernote.lang, { |
|
|
'th-TH': { |
|
|
font: { |
|
|
bold: 'ตัวหนา', |
|
|
italic: 'ตัวเอียง', |
|
|
underline: 'ขีดเส้นใต้', |
|
|
clear: 'ล้างรูปแบบตัวอักษร', |
|
|
height: 'ความสูงบรรทัด', |
|
|
name: 'แบบตัวอักษร', |
|
|
strikethrough: 'ขีดฆ่า', |
|
|
subscript: 'ตัวห้อย', |
|
|
superscript: 'ตัวยก', |
|
|
size: 'ขนาดตัวอักษร' |
|
|
}, |
|
|
image: { |
|
|
image: 'รูปภาพ', |
|
|
insert: 'แทรกรูปภาพ', |
|
|
resizeFull: 'ปรับขนาดเท่าจริง', |
|
|
resizeHalf: 'ปรับขนาดลง 50%', |
|
|
resizeQuarter: 'ปรับขนาดลง 25%', |
|
|
floatLeft: 'ชิดซ้าย', |
|
|
floatRight: 'ชิดขวา', |
|
|
floatNone: 'ไม่จัดตำแหน่ง', |
|
|
shapeRounded: 'Shape: Rounded', |
|
|
shapeCircle: 'Shape: Circle', |
|
|
shapeThumbnail: 'Shape: Thumbnail', |
|
|
shapeNone: 'Shape: None', |
|
|
dragImageHere: 'ลากรูปภาพที่ต้องการไว้ที่นี่', |
|
|
dropImage: 'Drop image or Text', |
|
|
selectFromFiles: 'เลือกไฟล์รูปภาพ', |
|
|
maximumFileSize: 'Maximum file size', |
|
|
maximumFileSizeError: 'Maximum file size exceeded.', |
|
|
url: 'ที่อยู่ URL ของรูปภาพ', |
|
|
remove: 'ลบรูปภาพ', |
|
|
original: 'Original' |
|
|
}, |
|
|
video: { |
|
|
video: 'วีดีโอ', |
|
|
videoLink: 'ลิงก์ของวีดีโอ', |
|
|
insert: 'แทรกวีดีโอ', |
|
|
url: 'ที่อยู่ URL ของวีดีโอ?', |
|
|
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion หรือ Youku)' |
|
|
}, |
|
|
link: { |
|
|
link: 'ตัวเชื่อมโยง', |
|
|
insert: 'แทรกตัวเชื่อมโยง', |
|
|
unlink: 'ยกเลิกตัวเชื่อมโยง', |
|
|
edit: 'แก้ไข', |
|
|
textToDisplay: 'ข้อความที่ให้แสดง', |
|
|
url: 'ที่อยู่เว็บไซต์ที่ต้องการให้เชื่อมโยงไปถึง?', |
|
|
openInNewWindow: 'เปิดในหน้าต่างใหม่' |
|
|
}, |
|
|
table: { |
|
|
table: 'ตาราง', |
|
|
addRowAbove: 'Add row above', |
|
|
addRowBelow: 'Add row below', |
|
|
addColLeft: 'Add column left', |
|
|
addColRight: 'Add column right', |
|
|
delRow: 'Delete row', |
|
|
delCol: 'Delete column', |
|
|
delTable: 'Delete table' |
|
|
}, |
|
|
hr: { |
|
|
insert: 'แทรกเส้นคั่น' |
|
|
}, |
|
|
style: { |
|
|
style: 'รูปแบบ', |
|
|
p: 'ปกติ', |
|
|
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: 'การจัดรูปแบบย่อหน้า', |
|
|
documentStyle: 'รูปแบบของเอกสาร', |
|
|
extraKeys: 'Extra keys' |
|
|
}, |
|
|
help: { |
|
|
'insertParagraph': 'Insert Paragraph', |
|
|
'undo': 'Undoes the last command', |
|
|
'redo': 'Redoes the last command', |
|
|
'tab': 'Tab', |
|
|
'untab': 'Untab', |
|
|
'bold': 'Set a bold style', |
|
|
'italic': 'Set a italic style', |
|
|
'underline': 'Set a underline style', |
|
|
'strikethrough': 'Set a strikethrough style', |
|
|
'removeFormat': 'Clean a style', |
|
|
'justifyLeft': 'Set left align', |
|
|
'justifyCenter': 'Set center align', |
|
|
'justifyRight': 'Set right align', |
|
|
'justifyFull': 'Set full align', |
|
|
'insertUnorderedList': 'Toggle unordered list', |
|
|
'insertOrderedList': 'Toggle ordered list', |
|
|
'outdent': 'Outdent on current paragraph', |
|
|
'indent': 'Indent on current paragraph', |
|
|
'formatPara': 'Change current block\'s format as a paragraph(P tag)', |
|
|
'formatH1': 'Change current block\'s format as H1', |
|
|
'formatH2': 'Change current block\'s format as H2', |
|
|
'formatH3': 'Change current block\'s format as H3', |
|
|
'formatH4': 'Change current block\'s format as H4', |
|
|
'formatH5': 'Change current block\'s format as H5', |
|
|
'formatH6': 'Change current block\'s format as H6', |
|
|
'insertHorizontalRule': 'Insert horizontal rule', |
|
|
'linkDialog.show': 'Show Link Dialog' |
|
|
}, |
|
|
history: { |
|
|
undo: 'ยกเลิกการกระทำ', |
|
|
redo: 'ทำซ้ำการกระทำ' |
|
|
}, |
|
|
specialChar: { |
|
|
specialChar: 'SPECIAL CHARACTERS', |
|
|
select: 'Select Special characters' |
|
|
} |
|
|
} |
|
|
}); |
|
|
})(jQuery);
|
|
|
|