提交 | 用户 | 时间
|
58d006
|
1 |
/** |
A |
2 |
* jqGrid Japanese Translation |
|
3 |
* OKADA Yoshitada okada.dev@sth.jp |
|
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["ja"] = { |
|
29 |
defaults : { |
|
30 |
recordtext: "{2} \u4EF6\u4E2D {0} - {1} \u3092\u8868\u793A ", |
|
31 |
emptyrecords: "\u8868\u793A\u3059\u308B\u30EC\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093", |
|
32 |
loadtext: "\u8aad\u307f\u8fbc\u307f\u4e2d...", |
|
33 |
pgtext : "{1} \u30DA\u30FC\u30B8\u4E2D {0} \u30DA\u30FC\u30B8\u76EE ", |
|
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: "\u691c\u7d22...", |
|
52 |
Find: "\u691c\u7d22", |
|
53 |
Reset: "\u30ea\u30bb\u30c3\u30c8", |
|
54 |
odata: [{ oper:'eq', text:"\u6B21\u306B\u7B49\u3057\u3044"}, { oper:'ne', text:"\u6B21\u306B\u7B49\u3057\u304F\u306A\u3044"}, |
|
55 |
{ oper:'lt', text:"\u6B21\u3088\u308A\u5C0F\u3055\u3044"}, { oper:'le', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5C0F\u3055\u3044"}, |
|
56 |
{ oper:'gt', text:"\u6B21\u3088\u308A\u5927\u304D\u3044"}, { oper:'ge', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5927\u304D\u3044"}, |
|
57 |
{ oper:'bw', text:"\u6B21\u3067\u59CB\u307E\u308B"}, { oper:'bn', text:"\u6B21\u3067\u59CB\u307E\u3089\u306A\u3044"}, |
|
58 |
{ oper:'in', text:"\u6B21\u306B\u542B\u307E\u308C\u308B"}, { oper:'ni', text:"\u6B21\u306B\u542B\u307E\u308C\u306A\u3044"}, |
|
59 |
{ oper:'ew', text:"\u6B21\u3067\u7D42\u308F\u308B"}, { oper:'en', text:"\u6B21\u3067\u7D42\u308F\u3089\u306A\u3044"}, |
|
60 |
{ oper:'cn', text:"\u6B21\u3092\u542B\u3080"}, { oper:'nc', text:"\u6B21\u3092\u542B\u307E\u306A\u3044"}, |
|
61 |
{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], |
|
62 |
groupOps: [{ |
|
63 |
op: "AND", |
|
64 |
text: "\u3059\u3079\u3066\u306E" |
|
65 |
}, |
|
66 |
{ |
|
67 |
op: "OR", |
|
68 |
text: "\u3044\u305A\u308C\u304B\u306E" |
|
69 |
}], |
|
70 |
operandTitle : "Click to select search operation.", |
|
71 |
resetTitle : "Reset Search Value" |
|
72 |
}, |
|
73 |
edit : { |
|
74 |
addCaption: "\u30ec\u30b3\u30fc\u30c9\u8ffd\u52a0", |
|
75 |
editCaption: "\u30ec\u30b3\u30fc\u30c9\u7de8\u96c6", |
|
76 |
bSubmit: "\u9001\u4fe1", |
|
77 |
bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb", |
|
78 |
bClose: "\u9589\u3058\u308b", |
|
79 |
saveData: "\u30C7\u30FC\u30BF\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4FDD\u5B58\u3057\u307E\u3059\u304B\uFF1F", |
|
80 |
bYes: "\u306F\u3044", |
|
81 |
bNo: "\u3044\u3044\u3048", |
|
82 |
bExit: "\u30AD\u30E3\u30F3\u30BB\u30EB", |
|
83 |
msg: { |
|
84 |
required:"\u3053\u306e\u9805\u76ee\u306f\u5fc5\u9808\u3067\u3059\u3002", |
|
85 |
number:"\u6b63\u3057\u3044\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", |
|
86 |
minValue:"\u6b21\u306e\u5024\u4ee5\u4e0a\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", |
|
87 |
maxValue:"\u6b21\u306e\u5024\u4ee5\u4e0b\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", |
|
88 |
email: "e-mail\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002", |
|
89 |
integer: "\u6b63\u3057\u3044\u6574\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", |
|
90 |
date: "\u6b63\u3057\u3044\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002", |
|
91 |
url: "\u306F\u6709\u52B9\u306AURL\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002\20\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u304C\u5FC5\u8981\u3067\u3059\u3002 ('http://' \u307E\u305F\u306F 'https://')", |
|
92 |
nodefined: " \u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093", |
|
93 |
novalue: " \u623B\u308A\u5024\u304C\u5FC5\u8981\u3067\u3059", |
|
94 |
customarray: "\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u306F\u914D\u5217\u3092\u8FD4\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059", |
|
95 |
customfcheck: "\u30AB\u30B9\u30BF\u30E0\u691C\u8A3C\u306B\u306F\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u304C\u5FC5\u8981\u3067\u3059" |
|
96 |
} |
|
97 |
}, |
|
98 |
view : { |
|
99 |
caption: "\u30EC\u30B3\u30FC\u30C9\u3092\u8868\u793A", |
|
100 |
bClose: "\u9589\u3058\u308B" |
|
101 |
}, |
|
102 |
del : { |
|
103 |
caption: "\u524a\u9664", |
|
104 |
msg: "\u9078\u629e\u3057\u305f\u30ec\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f", |
|
105 |
bSubmit: "\u524a\u9664", |
|
106 |
bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb" |
|
107 |
}, |
|
108 |
nav : { |
|
109 |
edittext: " ", |
|
110 |
edittitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u7de8\u96c6", |
|
111 |
addtext:" ", |
|
112 |
addtitle: "\u884c\u3092\u65b0\u898f\u8ffd\u52a0", |
|
113 |
deltext: " ", |
|
114 |
deltitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u524a\u9664", |
|
115 |
searchtext: " ", |
|
116 |
searchtitle: "\u30ec\u30b3\u30fc\u30c9\u691c\u7d22", |
|
117 |
refreshtext: "", |
|
118 |
refreshtitle: "\u30b0\u30ea\u30c3\u30c9\u3092\u30ea\u30ed\u30fc\u30c9", |
|
119 |
alertcap: "\u8b66\u544a", |
|
120 |
alerttext: "\u884c\u3092\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002", |
|
121 |
viewtext: "", |
|
122 |
viewtitle: "\u9078\u629E\u3057\u305F\u884C\u3092\u8868\u793A", |
|
123 |
savetext: "", |
|
124 |
savetitle: "Save row", |
|
125 |
canceltext: "", |
|
126 |
canceltitle : "Cancel row editing", |
|
127 |
selectcaption : "Actions..." |
|
128 |
}, |
|
129 |
col : { |
|
130 |
caption: "\u5217\u3092\u8868\u793a\uff0f\u96a0\u3059", |
|
131 |
bSubmit: "\u9001\u4fe1", |
|
132 |
bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb" |
|
133 |
}, |
|
134 |
errors : { |
|
135 |
errcap : "\u30a8\u30e9\u30fc", |
|
136 |
nourl : "URL\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002", |
|
137 |
norecords: "\u51e6\u7406\u5bfe\u8c61\u306e\u30ec\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u305b\u3093\u3002", |
|
138 |
model : "colNames\u306e\u9577\u3055\u304ccolModel\u3068\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002" |
|
139 |
}, |
|
140 |
formatter : { |
|
141 |
integer: { |
|
142 |
thousandsSeparator: ",", |
|
143 |
defaultValue: '0' |
|
144 |
}, |
|
145 |
number: { |
|
146 |
decimalSeparator: ".", |
|
147 |
thousandsSeparator: ",", |
|
148 |
decimalPlaces: 2, |
|
149 |
defaultValue: '0.00' |
|
150 |
}, |
|
151 |
currency: { |
|
152 |
decimalSeparator: ".", |
|
153 |
thousandsSeparator: ",", |
|
154 |
decimalPlaces: 0, |
|
155 |
prefix: "", |
|
156 |
suffix: "", |
|
157 |
defaultValue: '0' |
|
158 |
}, |
|
159 |
date : { |
|
160 |
dayNames: [ |
|
161 |
"\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f", |
|
162 |
"\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f" |
|
163 |
], |
|
164 |
monthNames: [ |
|
165 |
"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", |
|
166 |
"1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708" |
|
167 |
], |
|
168 |
AmPm : ["am","pm","AM","PM"], |
|
169 |
S: function (j) { return "\u756a\u76ee"; }, |
|
170 |
srcformat: 'Y-m-d', |
|
171 |
newformat: 'd/m/Y', |
|
172 |
parseRe : /[#%\\\/:_;.,\t\s-]/, |
|
173 |
masks : { |
|
174 |
ISO8601Long:"Y-m-d H:i:s", |
|
175 |
ISO8601Short:"Y-m-d", |
|
176 |
ShortDate: "n/j/Y", |
|
177 |
LongDate: "l, F d, Y", |
|
178 |
FullDateTime: "l, F d, Y g:i:s A", |
|
179 |
MonthDay: "F d", |
|
180 |
ShortTime: "g:i A", |
|
181 |
LongTime: "g:i:s A", |
|
182 |
SortableDateTime: "Y-m-d\\TH:i:s", |
|
183 |
UniversalSortableDateTime: "Y-m-d H:i:sO", |
|
184 |
YearMonth: "F, Y" |
|
185 |
}, |
|
186 |
reformatAfterEdit : false, |
|
187 |
userLocalTime : false |
|
188 |
}, |
|
189 |
baseLinkUrl: '', |
|
190 |
showAction: '', |
|
191 |
target: '', |
|
192 |
checkbox : {disabled:true}, |
|
193 |
idName : 'id' |
|
194 |
} |
|
195 |
}; |
|
196 |
})); |