1 | ;(function($){
|
---|
2 | /**
|
---|
3 | * jqGrid Japanese Translation
|
---|
4 | * OKADA Yoshitada okada.dev@sth.jp
|
---|
5 | * http://trirand.com/blog/
|
---|
6 | * Dual licensed under the MIT and GPL licenses:
|
---|
7 | * http://www.opensource.org/licenses/mit-license.php
|
---|
8 | * http://www.gnu.org/licenses/gpl.html
|
---|
9 | **/
|
---|
10 | $.jgrid = $.jgrid || {};
|
---|
11 | $.extend($.jgrid,{
|
---|
12 | defaults : {
|
---|
13 | recordtext: "{2} \u4EF6\u4E2D {0} - {1} \u3092\u8868\u793A ",
|
---|
14 | emptyrecords: "\u8868\u793A\u3059\u308B\u30EC\u30B3\u30FC\u30C9\u304C\u3042\u308A\u307E\u305B\u3093",
|
---|
15 | loadtext: "\u8aad\u307f\u8fbc\u307f\u4e2d...",
|
---|
16 | pgtext : "{1} \u30DA\u30FC\u30B8\u4E2D {0} \u30DA\u30FC\u30B8\u76EE "
|
---|
17 | },
|
---|
18 | search : {
|
---|
19 | caption: "\u691c\u7d22...",
|
---|
20 | Find: "\u691c\u7d22",
|
---|
21 | Reset: "\u30ea\u30bb\u30c3\u30c8",
|
---|
22 | odata: [{ oper:'eq', text:"\u6B21\u306B\u7B49\u3057\u3044"}, { oper:'ne', text:"\u6B21\u306B\u7B49\u3057\u304F\u306A\u3044"},
|
---|
23 | { oper:'lt', text:"\u6B21\u3088\u308A\u5C0F\u3055\u3044"}, { oper:'le', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5C0F\u3055\u3044"},
|
---|
24 | { oper:'gt', text:"\u6B21\u3088\u308A\u5927\u304D\u3044"}, { oper:'ge', text:"\u6B21\u306B\u7B49\u3057\u3044\u304B\u5927\u304D\u3044"},
|
---|
25 | { oper:'bw', text:"\u6B21\u3067\u59CB\u307E\u308B"}, { oper:'bn', text:"\u6B21\u3067\u59CB\u307E\u3089\u306A\u3044"},
|
---|
26 | { oper:'in', text:"\u6B21\u306B\u542B\u307E\u308C\u308B"}, { oper:'ni', text:"\u6B21\u306B\u542B\u307E\u308C\u306A\u3044"},
|
---|
27 | { oper:'ew', text:"\u6B21\u3067\u7D42\u308F\u308B"}, { oper:'en', text:"\u6B21\u3067\u7D42\u308F\u3089\u306A\u3044"},
|
---|
28 | { oper:'cn', text:"\u6B21\u3092\u542B\u3080"}, { oper:'nc', text:"\u6B21\u3092\u542B\u307E\u306A\u3044"}],
|
---|
29 | groupOps: [{
|
---|
30 | op: "AND",
|
---|
31 | text: "\u3059\u3079\u3066\u306E"
|
---|
32 | },
|
---|
33 | {
|
---|
34 | op: "OR",
|
---|
35 | text: "\u3044\u305A\u308C\u304B\u306E"
|
---|
36 | }]
|
---|
37 | },
|
---|
38 | edit : {
|
---|
39 | addCaption: "\u30ec\u30b3\u30fc\u30c9\u8ffd\u52a0",
|
---|
40 | editCaption: "\u30ec\u30b3\u30fc\u30c9\u7de8\u96c6",
|
---|
41 | bSubmit: "\u9001\u4fe1",
|
---|
42 | bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb",
|
---|
43 | bClose: "\u9589\u3058\u308b",
|
---|
44 | saveData: "\u30C7\u30FC\u30BF\u304C\u5909\u66F4\u3055\u308C\u3066\u3044\u307E\u3059\u3002\u4FDD\u5B58\u3057\u307E\u3059\u304B\uFF1F",
|
---|
45 | bYes: "\u306F\u3044",
|
---|
46 | bNo: "\u3044\u3044\u3048",
|
---|
47 | bExit: "\u30AD\u30E3\u30F3\u30BB\u30EB",
|
---|
48 | msg: {
|
---|
49 | required:"\u3053\u306e\u9805\u76ee\u306f\u5fc5\u9808\u3067\u3059\u3002",
|
---|
50 | number:"\u6b63\u3057\u3044\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
|
---|
51 | minValue:"\u6b21\u306e\u5024\u4ee5\u4e0a\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
|
---|
52 | maxValue:"\u6b21\u306e\u5024\u4ee5\u4e0b\u3067\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
|
---|
53 | email: "e-mail\u304c\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002",
|
---|
54 | integer: "\u6b63\u3057\u3044\u6574\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
|
---|
55 | date: "\u6b63\u3057\u3044\u5024\u3092\u5165\u529b\u3057\u3066\u4e0b\u3055\u3044\u3002",
|
---|
56 | 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://')",
|
---|
57 | nodefined: " \u304C\u5B9A\u7FA9\u3055\u308C\u3066\u3044\u307E\u305B\u3093",
|
---|
58 | novalue: " \u623B\u308A\u5024\u304C\u5FC5\u8981\u3067\u3059",
|
---|
59 | customarray: "\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u306F\u914D\u5217\u3092\u8FD4\u3059\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",
|
---|
60 | customfcheck: "\u30AB\u30B9\u30BF\u30E0\u691C\u8A3C\u306B\u306F\u30AB\u30B9\u30BF\u30E0\u95A2\u6570\u304C\u5FC5\u8981\u3067\u3059"
|
---|
61 | }
|
---|
62 | },
|
---|
63 | view : {
|
---|
64 | caption: "\u30EC\u30B3\u30FC\u30C9\u3092\u8868\u793A",
|
---|
65 | bClose: "\u9589\u3058\u308B"
|
---|
66 | },
|
---|
67 | del : {
|
---|
68 | caption: "\u524a\u9664",
|
---|
69 | msg: "\u9078\u629e\u3057\u305f\u30ec\u30b3\u30fc\u30c9\u3092\u524a\u9664\u3057\u307e\u3059\u304b\uff1f",
|
---|
70 | bSubmit: "\u524a\u9664",
|
---|
71 | bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb"
|
---|
72 | },
|
---|
73 | nav : {
|
---|
74 | edittext: " ",
|
---|
75 | edittitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u7de8\u96c6",
|
---|
76 | addtext:" ",
|
---|
77 | addtitle: "\u884c\u3092\u65b0\u898f\u8ffd\u52a0",
|
---|
78 | deltext: " ",
|
---|
79 | deltitle: "\u9078\u629e\u3057\u305f\u884c\u3092\u524a\u9664",
|
---|
80 | searchtext: " ",
|
---|
81 | searchtitle: "\u30ec\u30b3\u30fc\u30c9\u691c\u7d22",
|
---|
82 | refreshtext: "",
|
---|
83 | refreshtitle: "\u30b0\u30ea\u30c3\u30c9\u3092\u30ea\u30ed\u30fc\u30c9",
|
---|
84 | alertcap: "\u8b66\u544a",
|
---|
85 | alerttext: "\u884c\u3092\u9078\u629e\u3057\u3066\u4e0b\u3055\u3044\u3002",
|
---|
86 | viewtext: "",
|
---|
87 | viewtitle: "\u9078\u629E\u3057\u305F\u884C\u3092\u8868\u793A"
|
---|
88 | },
|
---|
89 | col : {
|
---|
90 | caption: "\u5217\u3092\u8868\u793a\uff0f\u96a0\u3059",
|
---|
91 | bSubmit: "\u9001\u4fe1",
|
---|
92 | bCancel: "\u30ad\u30e3\u30f3\u30bb\u30eb"
|
---|
93 | },
|
---|
94 | errors : {
|
---|
95 | errcap : "\u30a8\u30e9\u30fc",
|
---|
96 | nourl : "URL\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002",
|
---|
97 | norecords: "\u51e6\u7406\u5bfe\u8c61\u306e\u30ec\u30b3\u30fc\u30c9\u304c\u3042\u308a\u307e\u305b\u3093\u3002",
|
---|
98 | model : "colNames\u306e\u9577\u3055\u304ccolModel\u3068\u4e00\u81f4\u3057\u307e\u305b\u3093\u3002"
|
---|
99 | },
|
---|
100 | formatter : {
|
---|
101 | integer: {
|
---|
102 | thousandsSeparator: ",",
|
---|
103 | defaultValue: '0'
|
---|
104 | },
|
---|
105 | number: {
|
---|
106 | decimalSeparator: ".",
|
---|
107 | thousandsSeparator: ",",
|
---|
108 | decimalPlaces: 2,
|
---|
109 | defaultValue: '0.00'
|
---|
110 | },
|
---|
111 | currency: {
|
---|
112 | decimalSeparator: ".",
|
---|
113 | thousandsSeparator: ",",
|
---|
114 | decimalPlaces: 0,
|
---|
115 | prefix: "",
|
---|
116 | suffix: "",
|
---|
117 | defaultValue: '0'
|
---|
118 | },
|
---|
119 | date : {
|
---|
120 | dayNames: [
|
---|
121 | "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f",
|
---|
122 | "\u65e5", "\u6708", "\u706b", "\u6c34", "\u6728", "\u91d1", "\u571f"
|
---|
123 | ],
|
---|
124 | monthNames: [
|
---|
125 | "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12",
|
---|
126 | "1\u6708", "2\u6708", "3\u6708", "4\u6708", "5\u6708", "6\u6708", "7\u6708", "8\u6708", "9\u6708", "10\u6708", "11\u6708", "12\u6708"
|
---|
127 | ],
|
---|
128 | AmPm : ["am","pm","AM","PM"],
|
---|
129 | S: function (j) { return "\u756a\u76ee"; },
|
---|
130 | srcformat: 'Y-m-d',
|
---|
131 | newformat: 'd/m/Y',
|
---|
132 | parseRe : /[Tt\\\/:_;.,\t\s-]/,
|
---|
133 | masks : {
|
---|
134 | ISO8601Long:"Y-m-d H:i:s",
|
---|
135 | ISO8601Short:"Y-m-d",
|
---|
136 | ShortDate: "n/j/Y",
|
---|
137 | LongDate: "l, F d, Y",
|
---|
138 | FullDateTime: "l, F d, Y g:i:s A",
|
---|
139 | MonthDay: "F d",
|
---|
140 | ShortTime: "g:i A",
|
---|
141 | LongTime: "g:i:s A",
|
---|
142 | SortableDateTime: "Y-m-d\\TH:i:s",
|
---|
143 | UniversalSortableDateTime: "Y-m-d H:i:sO",
|
---|
144 | YearMonth: "F, Y"
|
---|
145 | },
|
---|
146 | reformatAfterEdit : false
|
---|
147 | },
|
---|
148 | baseLinkUrl: '',
|
---|
149 | showAction: '',
|
---|
150 | target: '',
|
---|
151 | checkbox : {disabled:true},
|
---|
152 | idName : 'id'
|
---|
153 | }
|
---|
154 | });
|
---|
155 | })(jQuery);
|
---|