1
1
2
+
3
+ /*
4
+ * Licensed to the Apache Software Foundation (ASF) under one
5
+ * or more contributor license agreements. See the NOTICE file
6
+ * distributed with this work for additional information
7
+ * regarding copyright ownership. The ASF licenses this file
8
+ * to you under the Apache License, Version 2.0 (the
9
+ * "License"); you may not use this file except in compliance
10
+ * with the License. You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing,
15
+ * software distributed under the License is distributed on an
16
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17
+ * KIND, either express or implied. See the License for the
18
+ * specific language governing permissions and limitations
19
+ * under the License.
20
+ */
21
+
22
+
23
+ /**
24
+ * AUTO-GENERATED FILE. DO NOT MODIFY.
25
+ */
2
26
( function ( root , factory ) {
3
27
if ( typeof define === 'function' && define . amd ) {
4
28
// AMD. Register as an anonymous module.
14
38
factory ( { } ) ;
15
39
}
16
40
} ) ( this , function ( exports ) {
17
- var lang = {
18
- "legend" : {
19
- "selector" : {
20
- "all" : "All" ,
21
- "inverse" : "Inv"
41
+
42
+
43
+ /**
44
+ * Language: English.
45
+ */
46
+
47
+ var localeObj = {
48
+ time : {
49
+ month : [
50
+ 'January' , 'February' , 'March' , 'April' , 'May' , 'June' ,
51
+ 'July' , 'August' , 'September' , 'October' , 'November' , 'December'
52
+ ] ,
53
+ monthAbbr : [
54
+ 'Jan' , 'Feb' , 'Mar' , 'Apr' , 'May' , 'Jun' ,
55
+ 'Jul' , 'Aug' , 'Sep' , 'Oct' , 'Nov' , 'Dec'
56
+ ] ,
57
+ dayOfWeek : [
58
+ 'Sunday' , 'Monday' , 'Tuesday' , 'Wednesday' , 'Thursday' , 'Friday' , 'Saturday'
59
+ ] ,
60
+ dayOfWeekAbbr : [
61
+ 'Sun' , 'Mon' , 'Tue' , 'Wed' , 'Thu' , 'Fri' , 'Sat'
62
+ ]
63
+ } ,
64
+ legend : {
65
+ selector : {
66
+ all : 'All' ,
67
+ inverse : 'Inv'
22
68
}
23
69
} ,
24
- " toolbox" : {
25
- " brush" : {
26
- " title" : {
27
- " rect" : " Box Select" ,
28
- " polygon" : " Lasso Select" ,
29
- " lineX" : " Horizontally Select" ,
30
- " lineY" : " Vertically Select" ,
31
- " keep" : " Keep Selections" ,
32
- " clear" : " Clear Selections"
70
+ toolbox : {
71
+ brush : {
72
+ title : {
73
+ rect : ' Box Select' ,
74
+ polygon : ' Lasso Select' ,
75
+ lineX : ' Horizontally Select' ,
76
+ lineY : ' Vertically Select' ,
77
+ keep : ' Keep Selections' ,
78
+ clear : ' Clear Selections'
33
79
}
34
80
} ,
35
- "dataView" : {
36
- "title" : "Data View" ,
37
- "lang" : [
38
- "Data View" ,
39
- "Close" ,
40
- "Refresh"
41
- ]
81
+ dataView : {
82
+ title : 'Data View' ,
83
+ lang : [ 'Data View' , 'Close' , 'Refresh' ]
42
84
} ,
43
- " dataZoom" : {
44
- " title" : {
45
- " zoom" : " Zoom" ,
46
- " back" : " Zoom Reset"
85
+ dataZoom : {
86
+ title : {
87
+ zoom : ' Zoom' ,
88
+ back : ' Zoom Reset'
47
89
}
48
90
} ,
49
- " magicType" : {
50
- " title" : {
51
- " line" : " Switch to Line Chart" ,
52
- " bar" : " Switch to Bar Chart" ,
53
- " stack" : " Stack" ,
54
- " tiled" : " Tile"
91
+ magicType : {
92
+ title : {
93
+ line : ' Switch to Line Chart' ,
94
+ bar : ' Switch to Bar Chart' ,
95
+ stack : ' Stack' ,
96
+ tiled : ' Tile'
55
97
}
56
98
} ,
57
- " restore" : {
58
- " title" : " Restore"
99
+ restore : {
100
+ title : ' Restore'
59
101
} ,
60
- "saveAsImage" : {
61
- "title" : "Save as Image" ,
62
- "lang" : [
63
- "Right Click to Save Image"
64
- ]
102
+ saveAsImage : {
103
+ title : 'Save as Image' ,
104
+ lang : [ 'Right Click to Save Image' ]
65
105
}
66
106
} ,
67
- " series" : {
68
- " typeNames" : {
69
- " pie" : " Pie chart" ,
70
- " bar" : " Bar chart" ,
71
- " line" : " Line chart" ,
72
- " scatter" : " Scatter plot" ,
73
- " effectScatter" : " Ripple scatter plot" ,
74
- " radar" : " Radar chart" ,
75
- " tree" : " Tree" ,
76
- " treemap" : " Treemap" ,
77
- " boxplot" : " Boxplot" ,
78
- " candlestick" : " Candlestick" ,
79
- "k" : " K line chart" ,
80
- " heatmap" : " Heat map" ,
81
- " map" : " Map" ,
82
- " parallel" : " Parallel coordinate map" ,
83
- " lines" : " Line graph" ,
84
- " graph" : " Relationship graph" ,
85
- " sankey" : " Sankey diagram" ,
86
- " funnel" : " Funnel chart" ,
87
- " gauge" : " Guage" ,
88
- " pictorialBar" : " Pictorial bar" ,
89
- " themeRiver" : " Theme River Map" ,
90
- " sunburst" : " Sunburst"
107
+ series : {
108
+ typeNames : {
109
+ pie : ' Pie chart' ,
110
+ bar : ' Bar chart' ,
111
+ line : ' Line chart' ,
112
+ scatter : ' Scatter plot' ,
113
+ effectScatter : ' Ripple scatter plot' ,
114
+ radar : ' Radar chart' ,
115
+ tree : ' Tree' ,
116
+ treemap : ' Treemap' ,
117
+ boxplot : ' Boxplot' ,
118
+ candlestick : ' Candlestick' ,
119
+ k : ' K line chart' ,
120
+ heatmap : ' Heat map' ,
121
+ map : ' Map' ,
122
+ parallel : ' Parallel coordinate map' ,
123
+ lines : ' Line graph' ,
124
+ graph : ' Relationship graph' ,
125
+ sankey : ' Sankey diagram' ,
126
+ funnel : ' Funnel chart' ,
127
+ gauge : ' Guage' ,
128
+ pictorialBar : ' Pictorial bar' ,
129
+ themeRiver : ' Theme River Map' ,
130
+ sunburst : ' Sunburst'
91
131
}
92
132
} ,
93
- " aria" : {
94
- " general" : {
95
- " withTitle" : " This is a chart about \ "{title}\"" ,
96
- " withoutTitle" : " This is a chart"
133
+ aria : {
134
+ general : {
135
+ withTitle : ' This is a chart about "{title}"' ,
136
+ withoutTitle : ' This is a chart'
97
137
} ,
98
- " series" : {
99
- " single" : {
100
- " prefix" : "" ,
101
- " withName" : " with type {seriesType} named {seriesName}." ,
102
- " withoutName" : " with type {seriesType}."
138
+ series : {
139
+ single : {
140
+ prefix : '' ,
141
+ withName : ' with type {seriesType} named {seriesName}.' ,
142
+ withoutName : ' with type {seriesType}.'
103
143
} ,
104
- " multiple" : {
105
- " prefix" : " . It consists of {seriesCount} series count." ,
106
- " withName" : " The {seriesId} series is a {seriesType} representing {seriesName}." ,
107
- " withoutName" : " The {seriesId} series is a {seriesType}." ,
108
- " separator" : {
109
- " middle" : "" ,
110
- " end" : ""
144
+ multiple : {
145
+ prefix : ' . It consists of {seriesCount} series count.' ,
146
+ withName : ' The {seriesId} series is a {seriesType} representing {seriesName}.' ,
147
+ withoutName : ' The {seriesId} series is a {seriesType}.' ,
148
+ separator : {
149
+ middle : '' ,
150
+ end : ''
111
151
}
112
152
}
113
153
} ,
114
- " data" : {
115
- " allData" : " The data is as follows: " ,
116
- " partialData" : " The first {displayCnt} items are: " ,
117
- " withName" : " the data for {name} is {value}" ,
118
- " withoutName" : " {value}" ,
119
- " separator" : {
120
- " middle" : "," ,
121
- " end" : "."
154
+ data : {
155
+ allData : ' The data is as follows: ' ,
156
+ partialData : ' The first {displayCnt} items are: ' ,
157
+ withName : ' the data for {name} is {value}' ,
158
+ withoutName : ' {value}' ,
159
+ separator : {
160
+ middle : ', ' ,
161
+ end : '. '
122
162
}
123
163
}
124
164
}
125
- }
126
-
127
- exports . lang = lang ;
165
+ } ;
166
+ for ( var key in localeObj ) {
167
+ if ( localeObj . hasOwnProperty ( key ) ) {
168
+ exports [ key ] = localeObj [ key ] ;
169
+ }
170
+ }
128
171
129
172
} ) ;
0 commit comments