1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 | (function(root, factory) {
|
27 | if (typeof define === 'function' && define.amd) {
|
28 |
|
29 | define(['exports'], factory);
|
30 | } else if (
|
31 | typeof exports === 'object' &&
|
32 | typeof exports.nodeName !== 'string'
|
33 | ) {
|
34 |
|
35 | factory(exports);
|
36 | } else {
|
37 |
|
38 | factory({});
|
39 | }
|
40 | })(this, function(exports) {
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | var localeObj = {
|
48 | time: {
|
49 | month: [
|
50 | 'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho',
|
51 | 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'
|
52 | ],
|
53 | monthAbbr: [
|
54 | 'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun',
|
55 | 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'
|
56 | ],
|
57 | dayOfWeek: [
|
58 | 'Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira',
|
59 | 'Quinta-feira', 'Sexta-feira', 'Sábado'
|
60 | ],
|
61 | dayOfWeekAbbr: [
|
62 | 'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'
|
63 | ]
|
64 | },
|
65 | legend: {
|
66 | selector: {
|
67 | all: 'Todas',
|
68 | inverse: 'Inv'
|
69 | }
|
70 | },
|
71 | toolbox: {
|
72 | brush: {
|
73 | title: {
|
74 | rect: 'Seleção retangular',
|
75 | polygon: 'Seleção em laço',
|
76 | lineX: 'Selecionar horizontalmente',
|
77 | lineY: 'Selecionar verticalmente',
|
78 | keep: 'Manter seleções',
|
79 | clear: 'Limpar seleções'
|
80 | }
|
81 | },
|
82 | dataView: {
|
83 | title: 'Exibição de dados',
|
84 | lang: ['Exibição de dados', 'Fechar', 'Atualizar']
|
85 | },
|
86 | dataZoom: {
|
87 | title: {
|
88 | zoom: 'Zoom',
|
89 | back: 'Restaurar Zoom'
|
90 | }
|
91 | },
|
92 | magicType: {
|
93 | title: {
|
94 | line: 'Trocar para gráfico de linhas',
|
95 | bar: 'Trocar para gráfico de barras',
|
96 | stack: 'Empilhar',
|
97 | tiled: 'Tile'
|
98 | }
|
99 | },
|
100 | restore: {
|
101 | title: 'Restore'
|
102 | },
|
103 | saveAsImage: {
|
104 | title: 'Salvar como imagem',
|
105 | lang: ['Clique com o botão direito para salvar imagem']
|
106 | }
|
107 | },
|
108 | series: {
|
109 | typeNames: {
|
110 | pie: 'Gráfico de pizza',
|
111 | bar: 'Gráfico de barras',
|
112 | line: 'Gráfico de linhas',
|
113 | scatter: 'Gráfico de dispersão',
|
114 | effectScatter: 'Gráfico de dispersão ondulado',
|
115 | radar: 'Gráfico radar',
|
116 | tree: 'Árvore',
|
117 | treemap: 'Treemap',
|
118 | boxplot: 'Boxplot',
|
119 | candlestick: 'Candlestick',
|
120 | k: 'Gráfico K line',
|
121 | heatmap: 'Mapa de calor',
|
122 | map: 'Mapa',
|
123 | parallel: 'Coordenadas paralelas',
|
124 | lines: 'Gráfico de linhas',
|
125 | graph: 'Relationship graph',
|
126 | sankey: 'Gráfico Sankey',
|
127 | funnel: 'Gráfico de funil',
|
128 | gauge: 'Gauge',
|
129 | pictorialBar: 'Pictorial bar',
|
130 | themeRiver: 'Theme River Map',
|
131 | sunburst: 'Sunburst'
|
132 | }
|
133 | },
|
134 | aria: {
|
135 | general: {
|
136 | withTitle: 'Este é um gráfico entitulado "{title}"',
|
137 | withoutTitle: 'Este é um gráfico'
|
138 | },
|
139 | series: {
|
140 | single: {
|
141 | prefix: '',
|
142 | withName: ' do tipo {seriesType} nomeada/nomeado como {seriesName}.',
|
143 | withoutName: ' do tipo {seriesType}.'
|
144 | },
|
145 | multiple: {
|
146 | prefix: '. Consiste de {seriesCount} séries.',
|
147 | withName: ' A {seriesId} série é um/uma {seriesType} representando {seriesName}.',
|
148 | withoutName: ' A {seriesId} series é um/uma {seriesType}.',
|
149 | separator: {
|
150 | middle: '',
|
151 | end: ''
|
152 | }
|
153 | }
|
154 | },
|
155 | data: {
|
156 | allData: 'Os dados são: ',
|
157 | partialData: 'As primeiros {displayCnt} itens são: ',
|
158 | withName: 'os dados para {name} são {value}',
|
159 | withoutName: '{value}',
|
160 | separator: {
|
161 | middle: ', ',
|
162 | end: '. '
|
163 | }
|
164 | }
|
165 | }
|
166 | };
|
167 |
|
168 | for (var key in localeObj) {
|
169 | if (localeObj.hasOwnProperty(key)) {
|
170 | exports[key] = localeObj[key];
|
171 | }
|
172 | }
|
173 |
|
174 | }); |
\ | No newline at end of file |