582 lines
16 KiB
JavaScript
582 lines
16 KiB
JavaScript
require({cache:{
|
|
'dijit/form/nls/th/validate':function(){
|
|
define(
|
|
//begin v1.x content
|
|
({
|
|
invalidMessage: "ค่าที่ป้อนไม่ถูกต้อง",
|
|
missingMessage: "จำเป็นต้องมีค่านี้",
|
|
rangeMessage: "ค่านี้เกินช่วง"
|
|
})
|
|
|
|
//end v1.x content
|
|
);
|
|
|
|
},
|
|
'dijit/_editor/nls/th/commands':function(){
|
|
define(
|
|
//begin v1.x content
|
|
({
|
|
'bold': 'ตัวหนา',
|
|
'copy': 'คัดลอก',
|
|
'cut': 'ตัด',
|
|
'delete': 'ลบ',
|
|
'indent': 'เพิ่มการเยื้อง',
|
|
'insertHorizontalRule': 'ไม้บรรทัดแนวนอน',
|
|
'insertOrderedList': 'ลำดับเลข',
|
|
'insertUnorderedList': 'หัวข้อย่อย',
|
|
'italic': 'ตัวเอียง',
|
|
'justifyCenter': 'จัดกึ่งกลาง',
|
|
'justifyFull': 'จัดชิดขอบ',
|
|
'justifyLeft': 'จัดชิดซ้าย',
|
|
'justifyRight': 'จัดชิดขวา',
|
|
'outdent': 'ลดการเยื้อง',
|
|
'paste': 'วาง',
|
|
'redo': 'ทำซ้ำ',
|
|
'removeFormat': 'ลบรูปแบบออก',
|
|
'selectAll': 'เลือกทั้งหมด',
|
|
'strikethrough': 'ขีดทับ',
|
|
'subscript': 'ตัวห้อย',
|
|
'superscript': 'ตัวยก',
|
|
'underline': 'ขีดเส้นใต้',
|
|
'undo': 'เลิกทำ',
|
|
'unlink': 'ลบลิงก์ออก',
|
|
'createLink': 'สร้างลิงก์',
|
|
'toggleDir': 'สลับทิศทาง',
|
|
'insertImage': 'แทรกอิมเมจ',
|
|
'insertTable': 'แทรก/แก้ไขตาราง',
|
|
'toggleTableBorder': 'สลับเส้นขอบตาราง',
|
|
'deleteTable': 'ลบตาราง',
|
|
'tableProp': 'คุณสมบัติตาราง',
|
|
'htmlToggle': 'ซอร์ส HTML',
|
|
'foreColor': 'สีพื้นหน้า',
|
|
'hiliteColor': 'สีพื้นหลัง',
|
|
'plainFormatBlock': 'ลักษณะย่อหน้า',
|
|
'formatBlock': 'ลักษณะย่อหน้า',
|
|
'fontSize': 'ขนาดฟอนต์',
|
|
'fontName': 'ชื่อฟอนต์',
|
|
'tabIndent': 'เยื้องแท็บ',
|
|
"fullScreen": "สลับจอภาพแบบเต็ม",
|
|
"viewSource": "ดูซอร์ส HTML",
|
|
"print": "พิมพ์",
|
|
"newPage": "หน้าใหม่",
|
|
/* Error messages */
|
|
'systemShortcut': 'การดำเนินการ"${0}" ใช้งานได้เฉพาะกับเบราว์เซอร์ของคุณโดยใช้แป้นพิมพ์ลัด ใช้ ${1}'
|
|
})
|
|
|
|
//end v1.x content
|
|
);
|
|
|
|
},
|
|
'dojo/cldr/nls/th/gregorian':function(){
|
|
define(
|
|
//begin v1.x content
|
|
{
|
|
"months-format-narrow": [
|
|
"ม.ค.",
|
|
"ก.พ.",
|
|
"มี.ค.",
|
|
"เม.ย.",
|
|
"พ.ค.",
|
|
"มิ.ย.",
|
|
"ก.ค.",
|
|
"ส.ค.",
|
|
"ก.ย.",
|
|
"ต.ค.",
|
|
"พ.ย.",
|
|
"ธ.ค."
|
|
],
|
|
"field-weekday": "วันในสัปดาห์",
|
|
"dateFormatItem-yQQQ": "QQQ y",
|
|
"dateFormatItem-yMEd": "EEE d/M/yyyy",
|
|
"dateFormatItem-MMMEd": "E d MMM",
|
|
"eraNarrow": [
|
|
"ก่อน ค.ศ.",
|
|
"ค.ศ."
|
|
],
|
|
"dateFormat-long": "d MMMM y",
|
|
"months-format-wide": [
|
|
"มกราคม",
|
|
"กุมภาพันธ์",
|
|
"มีนาคม",
|
|
"เมษายน",
|
|
"พฤษภาคม",
|
|
"มิถุนายน",
|
|
"กรกฎาคม",
|
|
"สิงหาคม",
|
|
"กันยายน",
|
|
"ตุลาคม",
|
|
"พฤศจิกายน",
|
|
"ธันวาคม"
|
|
],
|
|
"dateTimeFormat-medium": "{1}, {0}",
|
|
"dateFormatItem-EEEd": "EEE d",
|
|
"dayPeriods-format-wide-pm": "หลังเที่ยง",
|
|
"dateFormat-full": "EEEEที่ d MMMM G y",
|
|
"dateFormatItem-Md": "d/M",
|
|
"field-era": "สมัย",
|
|
"dateFormatItem-yM": "M/yyyy",
|
|
"months-standAlone-wide": [
|
|
"มกราคม",
|
|
"กุมภาพันธ์",
|
|
"มีนาคม",
|
|
"เมษายน",
|
|
"พฤษภาคม",
|
|
"มิถุนายน",
|
|
"กรกฎาคม",
|
|
"สิงหาคม",
|
|
"กันยายน",
|
|
"ตุลาคม",
|
|
"พฤศจิกายน",
|
|
"ธันวาคม"
|
|
],
|
|
"timeFormat-short": "H:mm",
|
|
"quarters-format-wide": [
|
|
"ไตรมาส 1",
|
|
"ไตรมาส 2",
|
|
"ไตรมาส 3",
|
|
"ไตรมาส 4"
|
|
],
|
|
"timeFormat-long": "H นาฬิกา m นาที ss วินาที z",
|
|
"field-year": "ปี",
|
|
"dateFormatItem-yMMM": "MMM y",
|
|
"dateFormatItem-yQ": "Q yyyy",
|
|
"dateFormatItem-yyyyMMMM": "MMMM y",
|
|
"field-hour": "ชั่วโมง",
|
|
"months-format-abbr": [
|
|
"ม.ค.",
|
|
"ก.พ.",
|
|
"มี.ค.",
|
|
"เม.ย.",
|
|
"พ.ค.",
|
|
"มิ.ย.",
|
|
"ก.ค.",
|
|
"ส.ค.",
|
|
"ก.ย.",
|
|
"ต.ค.",
|
|
"พ.ย.",
|
|
"ธ.ค."
|
|
],
|
|
"dateFormatItem-yyQ": "Q yy",
|
|
"timeFormat-full": "H นาฬิกา m นาที ss วินาที zzzz",
|
|
"field-day-relative+0": "วันนี้",
|
|
"field-day-relative+1": "พรุ่งนี้",
|
|
"field-day-relative+2": "มะรืนนี้",
|
|
"dateFormatItem-H": "H",
|
|
"field-day-relative+3": "สามวันต่อจากนี้",
|
|
"months-standAlone-abbr": [
|
|
"ม.ค.",
|
|
"ก.พ.",
|
|
"มี.ค.",
|
|
"เม.ย.",
|
|
"พ.ค.",
|
|
"มิ.ย.",
|
|
"ก.ค.",
|
|
"ส.ค.",
|
|
"ก.ย.",
|
|
"ต.ค.",
|
|
"พ.ย.",
|
|
"ธ.ค."
|
|
],
|
|
"quarters-format-abbr": [
|
|
"Q1",
|
|
"Q2",
|
|
"Q3",
|
|
"Q4"
|
|
],
|
|
"quarters-standAlone-wide": [
|
|
"ไตรมาส 1",
|
|
"ไตรมาส 2",
|
|
"ไตรมาส 3",
|
|
"ไตรมาส 4"
|
|
],
|
|
"dateFormatItem-M": "L",
|
|
"days-standAlone-wide": [
|
|
"วันอาทิตย์",
|
|
"วันจันทร์",
|
|
"วันอังคาร",
|
|
"วันพุธ",
|
|
"วันพฤหัสบดี",
|
|
"วันศุกร์",
|
|
"วันเสาร์"
|
|
],
|
|
"dateFormatItem-MMMMd": "d MMMM",
|
|
"timeFormat-medium": "H:mm:ss",
|
|
"dateFormatItem-Hm": "H:mm",
|
|
"eraAbbr": [
|
|
"ปีก่อน ค.ศ.",
|
|
"ค.ศ."
|
|
],
|
|
"field-minute": "นาที",
|
|
"field-dayperiod": "ช่วงวัน",
|
|
"days-standAlone-abbr": [
|
|
"อา.",
|
|
"จ.",
|
|
"อ.",
|
|
"พ.",
|
|
"พฤ.",
|
|
"ศ.",
|
|
"ส."
|
|
],
|
|
"dateFormatItem-d": "d",
|
|
"dateFormatItem-ms": "mm:ss",
|
|
"field-day-relative+-1": "เมื่อวาน",
|
|
"dateTimeFormat-long": "{1}, {0}",
|
|
"field-day-relative+-2": "เมื่อวานซืน",
|
|
"field-day-relative+-3": "สามวันก่อน",
|
|
"dateFormatItem-MMMd": "d MMM",
|
|
"dateFormatItem-MEd": "E, d/M",
|
|
"dateTimeFormat-full": "{1}, {0}",
|
|
"dateFormatItem-yMMMM": "MMMM y",
|
|
"field-day": "วัน",
|
|
"days-format-wide": [
|
|
"วันอาทิตย์",
|
|
"วันจันทร์",
|
|
"วันอังคาร",
|
|
"วันพุธ",
|
|
"วันพฤหัสบดี",
|
|
"วันศุกร์",
|
|
"วันเสาร์"
|
|
],
|
|
"field-zone": "เขต",
|
|
"dateFormatItem-y": "y",
|
|
"months-standAlone-narrow": [
|
|
"ม.ค.",
|
|
"ก.พ.",
|
|
"มี.ค.",
|
|
"เม.ย.",
|
|
"พ.ค.",
|
|
"มิ.ย.",
|
|
"ก.ค.",
|
|
"ส.ค.",
|
|
"ก.ย.",
|
|
"ต.ค.",
|
|
"พ.ย.",
|
|
"ธ.ค."
|
|
],
|
|
"days-format-abbr": [
|
|
"อา.",
|
|
"จ.",
|
|
"อ.",
|
|
"พ.",
|
|
"พฤ.",
|
|
"ศ.",
|
|
"ส."
|
|
],
|
|
"eraNames": [
|
|
"ปีก่อนคริสต์ศักราช",
|
|
"คริสต์ศักราช"
|
|
],
|
|
"days-format-narrow": [
|
|
"อ",
|
|
"จ",
|
|
"อ",
|
|
"พ",
|
|
"พ",
|
|
"ศ",
|
|
"ส"
|
|
],
|
|
"field-month": "เดือน",
|
|
"days-standAlone-narrow": [
|
|
"อ",
|
|
"จ",
|
|
"อ",
|
|
"พ",
|
|
"พ",
|
|
"ศ",
|
|
"ส"
|
|
],
|
|
"dateFormatItem-MMM": "LLL",
|
|
"dayPeriods-format-wide-am": "ก่อนเที่ยง",
|
|
"dateFormatItem-MMMMEd": "E d MMMM",
|
|
"dateFormat-short": "d/M/yyyy",
|
|
"field-second": "วินาที",
|
|
"dateFormatItem-yMMMEd": "EEE d MMM y",
|
|
"field-week": "สัปดาห์",
|
|
"dateFormat-medium": "d MMM y",
|
|
"dateFormatItem-yyyyM": "M/yyyy",
|
|
"dateFormatItem-mmss": "mm:ss",
|
|
"dateTimeFormat-short": "{1}, {0}",
|
|
"dateFormatItem-Hms": "H:mm:ss"
|
|
}
|
|
//end v1.x content
|
|
);
|
|
},
|
|
'dijit/nls/th/loading':function(){
|
|
define(
|
|
//begin v1.x content
|
|
({
|
|
loadingState: "กำลังโหลด...",
|
|
errorState: "ขออภัย เกิดข้อผิดพลาด"
|
|
})
|
|
|
|
//end v1.x content
|
|
);
|
|
|
|
},
|
|
'dojo/nls/th/colors':function(){
|
|
define(
|
|
//begin v1.x content
|
|
({
|
|
// local representation of all CSS3 named colors, companion to dojo.colors. To be used where descriptive information
|
|
// is required for each color, such as a palette widget, and not for specifying color programatically.
|
|
|
|
//Note: due to the SVG 1.0 spec additions, some of these are alternate spellings for the same color e.g. gray vs. gray.
|
|
//TODO: should we be using unique rgb values as keys instead and avoid these duplicates, or rely on the caller to do the reverse mapping?
|
|
aliceblue: "alice blue",
|
|
antiquewhite: "antique white",
|
|
aqua: "ฟ้าน้ำทะเล",
|
|
aquamarine: "aquamarine",
|
|
azure: "น้ำเงินฟ้า",
|
|
beige: "น้ำตาลเบจ",
|
|
bisque: "bisque",
|
|
black: "ดำ",
|
|
blanchedalmond: "blanched almond",
|
|
blue: "น้ำเงิน",
|
|
blueviolet: "น้ำเงินม่วง",
|
|
brown: "น้ำตาล",
|
|
burlywood: "burlywood",
|
|
cadetblue: "cadet blue",
|
|
chartreuse: "chartreuse",
|
|
chocolate: "ช็อกโกแลต",
|
|
coral: "coral",
|
|
cornflowerblue: "cornflower blue",
|
|
cornsilk: "cornsilk",
|
|
crimson: "แดงเลือดหมู",
|
|
cyan: "เขียวแกมน้ำเงิน",
|
|
darkblue: "น้ำเงินเข้ม",
|
|
darkcyan: "เขียวแกมน้ำเงินเข้ม",
|
|
darkgoldenrod: "dark goldenrod",
|
|
darkgray: "เทาเข้ม",
|
|
darkgreen: "เขียวเข้ม",
|
|
darkgrey: "เทาเข้ม", // same as darkgray
|
|
darkkhaki: "dark khaki",
|
|
darkmagenta: "แดงแกมม่วงเข้ม",
|
|
darkolivegreen: "เขียวโอลีฟเข้ม",
|
|
darkorange: "ส้มเข้ม",
|
|
darkorchid: "dark orchid",
|
|
darkred: "แดงเข้ม",
|
|
darksalmon: "dark salmon",
|
|
darkseagreen: "dark sea green",
|
|
darkslateblue: "dark slate blue",
|
|
darkslategray: "dark slate gray",
|
|
darkslategrey: "dark slate gray", // same as darkslategray
|
|
darkturquoise: "dark turquoise",
|
|
darkviolet: "ม่วงเข้ม",
|
|
deeppink: "ชมพูเข้ม",
|
|
deepskyblue: "deep sky blue",
|
|
dimgray: "dim gray",
|
|
dimgrey: "dim gray", // same as dimgray
|
|
dodgerblue: "dodger blue",
|
|
firebrick: "สีอิฐ",
|
|
floralwhite: "floral white",
|
|
forestgreen: "forest green",
|
|
fuchsia: "fuchsia",
|
|
gainsboro: "gainsboro",
|
|
ghostwhite: "ghost white",
|
|
gold: "ทอง",
|
|
goldenrod: "goldenrod",
|
|
gray: "เทา",
|
|
green: "เขียว",
|
|
greenyellow: "เขียวแกมเหลือง",
|
|
grey: "เทา", // same as gray
|
|
honeydew: "honeydew",
|
|
hotpink: "hot pink",
|
|
indianred: "indian red",
|
|
indigo: "indigo",
|
|
ivory: "งาช้าง",
|
|
khaki: "khaki",
|
|
lavender: "ม่วงลาเวนเดอร์",
|
|
lavenderblush: "lavender blush",
|
|
lawngreen: "lawn green",
|
|
lemonchiffon: "lemon chiffon",
|
|
lightblue: "น้ำเงินอ่อน",
|
|
lightcoral: "light coral",
|
|
lightcyan: "เขียวแกมน้ำเงินอ่อน",
|
|
lightgoldenrodyellow: "light goldenrod yellow",
|
|
lightgray: "เทาอ่อน",
|
|
lightgreen: "เขียวอ่อน",
|
|
lightgrey: "เทาอ่อน", // same as lightgray
|
|
lightpink: "ชมพูอ่อน",
|
|
lightsalmon: "light salmon",
|
|
lightseagreen: "light sea green",
|
|
lightskyblue: "ฟ้าอ่อน",
|
|
lightslategray: "light slate gray",
|
|
lightslategrey: "light slate gray", // same as lightslategray
|
|
lightsteelblue: "light steel blue",
|
|
lightyellow: "เหลืองอ่อน",
|
|
lime: "เหลืองมะนาว",
|
|
limegreen: "เขียวมะนาว",
|
|
linen: "linen",
|
|
magenta: "แดงแกมม่วง",
|
|
maroon: "น้ำตาลแดง",
|
|
mediumaquamarine: "medium aquamarine",
|
|
mediumblue: "medium blue",
|
|
mediumorchid: "medium orchid",
|
|
mediumpurple: "medium purple",
|
|
mediumseagreen: "medium sea green",
|
|
mediumslateblue: "medium slate blue",
|
|
mediumspringgreen: "medium spring green",
|
|
mediumturquoise: "medium turquoise",
|
|
mediumvioletred: "medium violet-red",
|
|
midnightblue: "midnight blue",
|
|
mintcream: "mint cream",
|
|
mistyrose: "misty rose",
|
|
moccasin: "ม็อคค่า",
|
|
navajowhite: "navajo white",
|
|
navy: "น้ำเงินเข้ม",
|
|
oldlace: "old lace",
|
|
olive: "โอลีฟ",
|
|
olivedrab: "olive drab",
|
|
orange: "ส้ม",
|
|
orangered: "ส้มแกมแดง",
|
|
orchid: "orchid",
|
|
palegoldenrod: "pale goldenrod",
|
|
palegreen: "pale green",
|
|
paleturquoise: "pale turquoise",
|
|
palevioletred: "pale violet-red",
|
|
papayawhip: "papaya whip",
|
|
peachpuff: "peach puff",
|
|
peru: "peru",
|
|
pink: "ชมพู",
|
|
plum: "plum",
|
|
powderblue: "powder blue",
|
|
purple: "ม่วง",
|
|
red: "แดง",
|
|
rosybrown: "rosy brown",
|
|
royalblue: "royal blue",
|
|
saddlebrown: "saddle brown",
|
|
salmon: "salmon",
|
|
sandybrown: "sandy brown",
|
|
seagreen: "sea green",
|
|
seashell: "seashell",
|
|
sienna: "sienna",
|
|
silver: "เงิน",
|
|
skyblue: "sky blue",
|
|
slateblue: "slate blue",
|
|
slategray: "slate gray",
|
|
slategrey: "slate gray", // same as slategray
|
|
snow: "snow",
|
|
springgreen: "spring green",
|
|
steelblue: "steel blue",
|
|
tan: "tan",
|
|
teal: "teal",
|
|
thistle: "thistle",
|
|
tomato: "tomato",
|
|
transparent: "สีใส",
|
|
turquoise: "turquoise",
|
|
violet: "ม่วง",
|
|
wheat: "wheat",
|
|
white: "ขาว",
|
|
whitesmoke: "ขาวควัน",
|
|
yellow: "เหลือง",
|
|
yellowgreen: "เหลืองแกมเขียว"
|
|
})
|
|
|
|
//end v1.x content
|
|
);
|
|
|
|
},
|
|
'dojo/cldr/nls/th/number':function(){
|
|
define(
|
|
//begin v1.x content
|
|
{
|
|
"group": ",",
|
|
"percentSign": "%",
|
|
"exponential": "E",
|
|
"scientificFormat": "#E0",
|
|
"percentFormat": "#,##0%",
|
|
"list": ";",
|
|
"infinity": "∞",
|
|
"patternDigit": "#",
|
|
"minusSign": "-",
|
|
"decimal": ".",
|
|
"nan": "NaN",
|
|
"nativeZeroDigit": "0",
|
|
"perMille": "‰",
|
|
"decimalFormat": "#,##0.###",
|
|
"currencyFormat": "¤#,##0.00;¤-#,##0.00",
|
|
"plusSign": "+"
|
|
}
|
|
//end v1.x content
|
|
);
|
|
},
|
|
'dijit/_editor/nls/th/FontChoice':function(){
|
|
define(
|
|
"dijit/_editor/nls/th/FontChoice", //begin v1.x content
|
|
({
|
|
fontSize: "ขนาด",
|
|
fontName: "ฟอนต์",
|
|
formatBlock: "รูปแบบ",
|
|
|
|
serif: "serif",
|
|
"sans-serif": "sans-serif",
|
|
monospace: "monospace",
|
|
cursive: "cursive",
|
|
fantasy: "fantasy",
|
|
|
|
noFormat: "ไม่มี",
|
|
p: "ย่อหน้า",
|
|
h1: "ส่วนหัว",
|
|
h2: "ส่วนหัวย่อย",
|
|
h3: "ส่วนย่อยของส่วนหัวย่อย",
|
|
pre: "การกำหนดรูปแบบล่วงหน้า",
|
|
|
|
1: "xx-small",
|
|
2: "x-small",
|
|
3: "small",
|
|
4: "medium",
|
|
5: "large",
|
|
6: "x-large",
|
|
7: "xx-large"
|
|
})
|
|
|
|
//end v1.x content
|
|
);
|
|
|
|
},
|
|
'dojo/cldr/nls/th/currency':function(){
|
|
define(
|
|
//begin v1.x content
|
|
{
|
|
"HKD_displayName": "ดอลลาร์ฮ่องกง",
|
|
"CHF_displayName": "ฟรังก์สวิส",
|
|
"JPY_symbol": "¥",
|
|
"CAD_displayName": "ดอลลาร์แคนาดา",
|
|
"CNY_displayName": "หยวนเหรินหมินปี้ (สาธารณรัฐประชาชนจีน)",
|
|
"AUD_displayName": "ดอลลาร์ออสเตรเลีย",
|
|
"JPY_displayName": "เยนญี่ปุ่น",
|
|
"USD_displayName": "ดอลลาร์สหรัฐ",
|
|
"GBP_displayName": "ปอนด์สเตอร์ลิง (สหราชอาณาจักร)",
|
|
"EUR_displayName": "ยูโร"
|
|
}
|
|
//end v1.x content
|
|
);
|
|
},
|
|
'dijit/form/nls/th/ComboBox':function(){
|
|
define(
|
|
//begin v1.x content
|
|
({
|
|
previousMessage: "การเลือกก่อนหน้า",
|
|
nextMessage: "การเลือกเพิ่มเติม"
|
|
})
|
|
|
|
//end v1.x content
|
|
);
|
|
|
|
},
|
|
'dijit/nls/th/common':function(){
|
|
define(
|
|
//begin v1.x content
|
|
({
|
|
buttonOk: "ตกลง",
|
|
buttonCancel: "ยกเลิก",
|
|
buttonSave: "บันทึก",
|
|
itemClose: "ปิด"
|
|
})
|
|
|
|
//end v1.x content
|
|
);
|
|
|
|
}}});
|
|
define("dijit/nls/dijit-all_th", [], 1);
|