提交 | 用户 | 时间
|
58d006
|
1 |
/** |
A |
2 |
* jqGrid English Translation |
|
3 |
* Tony Tomov tony@trirand.com |
|
4 |
* http://trirand.com/blog/ |
|
5 |
* Dual licensed under the MIT and GPL licenses: |
|
6 |
* http://www.opensource.org/licenses/mit-license.php |
|
7 |
* http://www.gnu.org/licenses/gpl.html |
|
8 |
**/ |
|
9 |
/*global jQuery, define */ |
|
10 |
(function( factory ) { |
|
11 |
"use strict"; |
|
12 |
if ( typeof define === "function" && define.amd ) { |
|
13 |
// AMD. Register as an anonymous module. |
|
14 |
define([ |
|
15 |
"jquery", |
|
16 |
"../grid.base" |
|
17 |
], factory ); |
|
18 |
} else { |
|
19 |
// Browser globals |
|
20 |
factory( jQuery ); |
|
21 |
} |
|
22 |
}(function( $ ) { |
|
23 |
|
|
24 |
$.jgrid = $.jgrid || {}; |
|
25 |
if(!$.jgrid.hasOwnProperty("regional")) { |
|
26 |
$.jgrid.regional = []; |
|
27 |
} |
|
28 |
$.jgrid.regional["kr"] = { |
|
29 |
defaults : { |
|
30 |
recordtext: "보기 {0} - {1} / {2}", |
|
31 |
emptyrecords: "표시할 행이 없습니다", |
|
32 |
loadtext: "조회중...", |
|
33 |
pgtext : "페이지 {0} / {1}", |
|
34 |
savetext: "Saving...", |
|
35 |
pgfirst : "First Page", |
|
36 |
pglast : "Last Page", |
|
37 |
pgnext : "Next Page", |
|
38 |
pgprev : "Previous Page", |
|
39 |
pgrecs : "Records per Page", |
|
40 |
showhide: "Toggle Expand Collapse Grid", |
|
41 |
// mobile |
|
42 |
pagerCaption : "Grid::Page Settings", |
|
43 |
pageText : "Page:", |
|
44 |
recordPage : "Records per Page", |
|
45 |
nomorerecs : "No more records...", |
|
46 |
scrollPullup: "Pull up to load more...", |
|
47 |
scrollPulldown : "Pull down to refresh...", |
|
48 |
scrollRefresh : "Release to refresh..." |
|
49 |
}, |
|
50 |
search : { |
|
51 |
caption: "검색...", |
|
52 |
Find: "찾기", |
|
53 |
Reset: "초기화", |
|
54 |
odata: [{ oper:'eq', text:"같다"},{ oper:'ne', text:"같지 않다"},{ oper:'lt', text:"작다"},{ oper:'le', text:"작거나 같다"},{ oper:'gt', text:"크다"},{ oper:'ge', text:"크거나 같다"},{ oper:'bw', text:"로 시작한다"},{ oper:'bn', text:"로 시작하지 않는다"},{ oper:'in', text:"내에 있다"},{ oper:'ni', text:"내에 있지 않다"},{ oper:'ew', text:"로 끝난다"},{ oper:'en', text:"로 끝나지 않는다"},{ oper:'cn', text:"내에 존재한다"},{ oper:'nc', text:"내에 존재하지 않는다"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], |
|
55 |
groupOps: [ { op: "AND", text: "전부" }, { op: "OR", text: "임의" } ], |
|
56 |
operandTitle : "Click to select search operation.", |
|
57 |
resetTitle : "Reset Search Value" |
|
58 |
}, |
|
59 |
edit : { |
|
60 |
addCaption: "행 추가", |
|
61 |
editCaption: "행 수정", |
|
62 |
bSubmit: "전송", |
|
63 |
bCancel: "취소", |
|
64 |
bClose: "닫기", |
|
65 |
saveData: "자료가 변경되었습니다! 저장하시겠습니까?", |
|
66 |
bYes : "예", |
|
67 |
bNo : "아니오", |
|
68 |
bExit : "취소", |
|
69 |
msg: { |
|
70 |
required:"필수항목입니다", |
|
71 |
number:"유효한 번호를 입력해 주세요", |
|
72 |
minValue:"입력값은 크거나 같아야 합니다", |
|
73 |
maxValue:"입력값은 작거나 같아야 합니다", |
|
74 |
email: "유효하지 않은 이메일주소입니다", |
|
75 |
integer: "유효한 숫자를 입력하세요", |
|
76 |
date: "유효한 날짜를 입력하세요", |
|
77 |
url: "은 유효하지 않은 URL입니다. 문장앞에 다음단어가 필요합니다('http://' or 'https://')", |
|
78 |
nodefined : " 은 정의도지 않았습니다!", |
|
79 |
novalue : " 반환값이 필요합니다!", |
|
80 |
customarray : "사용자정의 함수는 배열을 반환해야 합니다!", |
|
81 |
customfcheck : "Custom function should be present in case of custom checking!" |
|
82 |
|
|
83 |
} |
|
84 |
}, |
|
85 |
view : { |
|
86 |
caption: "행 조회", |
|
87 |
bClose: "닫기" |
|
88 |
}, |
|
89 |
del : { |
|
90 |
caption: "삭제", |
|
91 |
msg: "선택된 행을 삭제하시겠습니까?", |
|
92 |
bSubmit: "삭제", |
|
93 |
bCancel: "취소" |
|
94 |
}, |
|
95 |
nav : { |
|
96 |
edittext: "", |
|
97 |
edittitle: "선택된 행 편집", |
|
98 |
addtext:"", |
|
99 |
addtitle: "행 삽입", |
|
100 |
deltext: "", |
|
101 |
deltitle: "선택된 행 삭제", |
|
102 |
searchtext: "", |
|
103 |
searchtitle: "행 찾기", |
|
104 |
refreshtext: "", |
|
105 |
refreshtitle: "그리드 갱신", |
|
106 |
alertcap: "경고", |
|
107 |
alerttext: "행을 선택하세요", |
|
108 |
viewtext: "", |
|
109 |
viewtitle: "선택된 행 조회", |
|
110 |
savetext: "", |
|
111 |
savetitle: "Save row", |
|
112 |
canceltext: "", |
|
113 |
canceltitle : "Cancel row editing", |
|
114 |
selectcaption : "Actions..." |
|
115 |
}, |
|
116 |
col : { |
|
117 |
caption: "열을 선택하세요", |
|
118 |
bSubmit: "확인", |
|
119 |
bCancel: "취소" |
|
120 |
}, |
|
121 |
errors : { |
|
122 |
errcap : "오류", |
|
123 |
nourl : "설정된 url이 없습니다", |
|
124 |
norecords: "처리할 행이 없습니다", |
|
125 |
model : "colNames의 길이가 colModel과 일치하지 않습니다!" |
|
126 |
}, |
|
127 |
formatter : { |
|
128 |
integer : {thousandsSeparator: ",", defaultValue: '0'}, |
|
129 |
number : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, defaultValue: '0.00'}, |
|
130 |
currency : {decimalSeparator:".", thousandsSeparator: ",", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, |
|
131 |
date : { |
|
132 |
dayNames: [ |
|
133 |
"Sun", "Mon", "Tue", "Wed", "Thr", "Fri", "Sat", |
|
134 |
"일", "월", "화", "수", "목", "금", "토" |
|
135 |
], |
|
136 |
monthNames: [ |
|
137 |
"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", |
|
138 |
"1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" |
|
139 |
], |
|
140 |
AmPm : ["am","pm","AM","PM"], |
|
141 |
S: function (j) {return j < 11 || j > 13 ? ['st', 'nd', 'rd', 'th'][Math.min((j - 1) % 10, 3)] : 'th'}, |
|
142 |
srcformat: 'Y-m-d', |
|
143 |
newformat: 'm-d-Y', |
|
144 |
parseRe : /[#%\\\/:_;.,\t\s-]/, |
|
145 |
masks : { |
|
146 |
ISO8601Long:"Y-m-d H:i:s", |
|
147 |
ISO8601Short:"Y-m-d", |
|
148 |
ShortDate: "Y/j/n", |
|
149 |
LongDate: "l, F d, Y", |
|
150 |
FullDateTime: "l, F d, Y g:i:s A", |
|
151 |
MonthDay: "F d", |
|
152 |
ShortTime: "g:i A", |
|
153 |
LongTime: "g:i:s A", |
|
154 |
SortableDateTime: "Y-m-d\\TH:i:s", |
|
155 |
UniversalSortableDateTime: "Y-m-d H:i:sO", |
|
156 |
YearMonth: "F, Y" |
|
157 |
}, |
|
158 |
reformatAfterEdit : false, |
|
159 |
userLocalTime : false |
|
160 |
}, |
|
161 |
baseLinkUrl: '', |
|
162 |
showAction: '', |
|
163 |
target: '', |
|
164 |
checkbox : {disabled:true}, |
|
165 |
idName : 'id' |
|
166 |
} |
|
167 |
}; |
|
168 |
})); |