ViniciusCestarii opened a new issue, #20345:
URL: https://github.com/apache/echarts/issues/20345
### What problem does this feature solve?
This issue is for improving pt-br internationalization because there are
some terms in english that could be tranlated to pt-br
### What does the proposed API look like?
### Before
```js
var localeObj = {
time: {
month: [
'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho',
'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'
],
monthAbbr: [
'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun',
'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'
],
dayOfWeek: [
'Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira',
'Quinta-feira', 'Sexta-feira', 'Sábado'
],
dayOfWeekAbbr: [
'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'
]
},
legend: {
selector: {
all: 'Todas',
inverse: 'Inv'
}
},
toolbox: {
brush: {
title: {
rect: 'Seleção retangular',
polygon: 'Seleção em laço',
lineX: 'Selecionar horizontalmente',
lineY: 'Selecionar verticalmente',
keep: 'Manter seleções',
clear: 'Limpar seleções'
}
},
dataView: {
title: 'Exibição de dados',
lang: ['Exibição de dados', 'Fechar', 'Atualizar']
},
dataZoom: {
title: {
zoom: 'Zoom',
back: 'Restaurar Zoom'
}
},
magicType: {
title: {
line: 'Trocar para gráfico de linhas',
bar: 'Trocar para gráfico de barras',
stack: 'Empilhar',
tiled: 'Tile'
}
},
restore: {
title: 'Restore'
},
saveAsImage: {
title: 'Salvar como imagem',
lang: ['Clique com o botão direito para salvar imagem']
}
},
series: {
typeNames: {
pie: 'Gráfico de pizza',
bar: 'Gráfico de barras',
line: 'Gráfico de linhas',
scatter: 'Gráfico de dispersão',
effectScatter: 'Gráfico de dispersão ondulado',
radar: 'Gráfico radar',
tree: 'Árvore',
treemap: 'Treemap',
boxplot: 'Boxplot',
candlestick: 'Candlestick',
k: 'Gráfico K line',
heatmap: 'Mapa de calor',
map: 'Mapa',
parallel: 'Coordenadas paralelas',
lines: 'Gráfico de linhas',
graph: 'Relationship graph',
sankey: 'Gráfico Sankey',
funnel: 'Gráfico de funil',
gauge: 'Gauge',
pictorialBar: 'Pictorial bar',
themeRiver: 'Theme River Map',
sunburst: 'Sunburst',
custom: 'Gráfico personalizado',
chart: 'Gráfico'
}
},
aria: {
general: {
withTitle: 'Este é um gráfico entitulado "{title}"',
withoutTitle: 'Este é um gráfico'
},
series: {
single: {
prefix: '',
withName: ' do tipo {seriesType} nomeada/nomeado como
{seriesName}.',
withoutName: ' do tipo {seriesType}.'
},
multiple: {
prefix: '. Consiste de {seriesCount} séries.',
withName: ' A {seriesId} série é um/uma {seriesType}
representando {seriesName}.',
withoutName: ' A {seriesId} series é um/uma {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Os dados são: ',
partialData: 'As primeiros {displayCnt} itens são: ',
withName: 'os dados para {name} são {value}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
```
### Proposed changes
```diff
- restore: {
- title: 'Restore'
- },
+ restore: {
+ title: 'Restaurar'
+ },
- tree: 'Árvore',
+ tree: 'Gráfico de árvore',
- treemap: 'Treemap',
+ treemap: 'Mapa de Árvore',
- boxplot: 'Boxplot',
+ boxplot: 'Gráfico de caixa',
- candlestick: 'Candlestick',
+ candlestick: 'Gráfico de vela',
- k: 'Gráfico K line',
+ k: 'Gráfico de linha K',
- pictorialBar: 'Pictorial bar',
+ pictorialBar: 'Barra pictórica',
- themeRiver: 'Theme River Map',
+ themeRiver: 'Gráfico de rio de tema',
- sunburst: 'Sunburst',
+ sunburst: 'Gráfico de explosão solar',
- graph: 'Relationship graph',
+ graph: 'Grafo',
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]