Skip to content

Commit

Permalink
feat(aria): support aria i18n for some languages
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed Oct 24, 2023
1 parent 6b581e7 commit 625ec1f
Show file tree
Hide file tree
Showing 21 changed files with 199 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/i18n/langAR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default {
pictorialBar: 'مخطط مصوّر',
themeRiver: 'نمط خريطة النهر',
sunburst: 'مخطط شمسي',
custom: 'مخطط مخصص',
chart: 'مخطط'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langCS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
pictorialBar: 'Obrázkový sloupcový graf',
themeRiver: 'Theme River Map',
sunburst: 'Vícevrstvý prstencový graf',
custom: 'Graficu persunalizatu',
chart: 'Graf'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langDE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Bildlicher Balken',
themeRiver: 'Thematische Flusskarte',
sunburst: 'Sonnenausbruch',
custom: 'Graficu persunalizatu',
chart: 'Diagramm'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langEN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Pictorial bar',
themeRiver: 'Theme River Map',
sunburst: 'Sunburst',
custom: 'Custom chart',
chart: 'Chart'
}
},
Expand Down
60 changes: 60 additions & 0 deletions src/i18n/langES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,65 @@ export default {
title: 'Guardar como imagen',
lang: ['Clic derecho para guardar imagen']
}
},
series: {
typeNames: {
pie: 'Gráfico circular',
bar: 'Gráfico de barras',
line: 'Gráfico de líneas',
scatter: 'Diagrama de dispersión',
effectScatter: 'Diagrama de dispersión de ondas',
radar: 'Gráfico de radar',
tree: 'Árbol',
treemap: 'Mapa de árbol',
boxplot: 'Diagrama de caja',
candlestick: 'Gráfico de velas',
k: 'Gráfico de líneas K',
heatmap: 'Mapa de calor',
map: 'Mapa',
parallel: 'Mapa de coordenadas paralelas',
lines: 'Gráfico de líneas',
graph: 'Gráfico de relaciones',
sankey: 'Diagrama de Sankey',
funnel: 'Gráfico de embudo',
gauge: 'Medidor',
pictorialBar: 'Gráfico de barras pictóricas',
themeRiver: 'Mapa de río temático',
sunburst: 'Sunburst',
custom: 'Gráfico personalizado',
chart: 'Gráfico'
}
},
aria: {
general: {
withTitle: 'Este es un gráfico sobre “{title}”',
withoutTitle: 'Este es un gráfico'
},
series: {
single: {
prefix: '',
withName: ' con tipo {seriesType} llamado {seriesName}.',
withoutName: ' con tipo {seriesType}.'
},
multiple: {
prefix: '. Consta de {seriesCount} series.',
withName: ' La serie {seriesId} es un {seriesType} que representa {seriesName}.',
withoutName: ' La serie {seriesId} es un {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Los datos son los siguientes: ',
partialData: 'Los primeros {displayCnt} elementos son: ',
withName: 'los datos para {name} son {value}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
60 changes: 60 additions & 0 deletions src/i18n/langFI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,65 @@ export default {
title: 'Tallenna kuvana',
lang: ['Paina oikeaa hiirennappia tallentaaksesi kuva']
}
},
series: {
typeNames: {
pie: 'Ympyrädiagrammi',
bar: 'Pylväsdiagrammi',
line: 'Viivakaavio',
scatter: 'Pisteplot',
effectScatter: 'Ripple-pisteplot',
radar: 'Sädekaavio',
tree: 'Puu',
treemap: 'Tilastoaluekartta',
boxplot: 'Viivadiagrammi',
candlestick: 'Kynttiläkaavio',
k: 'K-linjakaavio',
heatmap: 'Lämpökartta',
map: 'Kartta',
parallel: 'Rinnakkaiskoordinaattikartta',
lines: 'Viivakuvaaja',
graph: 'Suhdekuvaaja',
sankey: 'Sankey-kaavio',
funnel: 'Suppilokaavio',
gauge: 'Mittari',
pictorialBar: 'Kuvallinen pylväs',
themeRiver: 'Teemajokikartta',
sunburst: 'Auringonkehä',
custom: 'Mukautettu kaavio',
chart: 'Kaavio'
}
},
aria: {
general: {
withTitle: 'Tämä on kaavio “{title}”',
withoutTitle: 'Tämä on kaavio'
},
series: {
single: {
prefix: '',
withName: ' tyyppiä {seriesType} nimeltään {seriesName}.',
withoutName: ' tyyppiä {seriesType}.'
},
multiple: {
prefix: '. Se koostuu {seriesCount} sarjasta.',
withName: ' Sarja {seriesId} on {seriesType}, joka edustaa {seriesName}.',
withoutName: ' Sarja {seriesId} on {seriesType}.',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'Tiedot ovat seuraavat: ',
partialData: 'Ensimmäiset {displayCnt} kohtaa ovat: ',
withName: 'tiedot nimelle {name} ovat {value}',
withoutName: '{value}',
separator: {
middle: ', ',
end: '. '
}
}
}
};
1 change: 1 addition & 0 deletions src/i18n/langFR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Barres à images',
themeRiver: 'Stream Graph',
sunburst: 'Sunburst',
custom: 'Graphique personnalisé',
chart: 'Graphique'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langHU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Képes sávdiagram',
themeRiver: 'Folyó témájú térkép',
sunburst: 'Napégés',
custom: 'Egyedi diagram',
chart: 'Diagram'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langIT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Pictorial bar',
themeRiver: 'Theme River Map',
sunburst: 'Radiale',
custom: 'Egyedi diagram',
chart: 'Grafico'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langJA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: '絵入り棒グラフ',
themeRiver: 'テーマリバー',
sunburst: 'サンバースト',
custom: 'カスタムチャート',
chart: 'チャート'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langKO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: '픽토그램 차트',
themeRiver: '스트림 그래프',
sunburst: '선버스트 차트',
custom: '맞춤 차트',
chart: '차트'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langPL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
pictorialBar: 'Wykres słupkowy obrazkowy',
themeRiver: 'Wykres rzeki tematycznej',
sunburst: 'Wykres hierarchiczny słonecznikowy',
custom: 'Wykres niestandardowy',
chart: 'Wykres'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langPT-br.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ export default {
pictorialBar: 'Pictorial bar',
themeRiver: 'Theme River Map',
sunburst: 'Sunburst',
custom: 'Gráfico personalizado',
chart: 'Gráfico'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langRO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
pictorialBar: 'Diagramă cu bare picturale',
themeRiver: 'Streamgraph',
sunburst: 'Diagramă rază de soare',
custom: 'Diagramă personalizată',
chart: 'Diagramă'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langRU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Столбец-картинка',
themeRiver: 'Тематическая река',
sunburst: 'Солнечные лучи',
custom: 'Пользовательская диаграмма',
chart: 'диаграмма'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langSI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Stolpčni grafikon s podobo',
themeRiver: 'Tematski rečni grafikon',
sunburst: 'Večnivojski tortni grafikon',
custom: 'Grafikon po meri',
chart: 'Grafikon'
}
},
Expand Down
60 changes: 60 additions & 0 deletions src/i18n/langTH.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,65 @@ export default {
title: 'บันทึกไปยังรูปภาพ',
lang: ['คลิกขวาเพื่อบันทึกรูปภาพ']
}
},
series: {
typeNames: {
pie: 'แผนภูมิวงกลม',
bar: 'แผนภูมิแท่ง',
line: 'แผนภูมิเส้น',
scatter: 'แผนภูมิกระจาย',
effectScatter: 'แผนภูมิกระจายคลื่น',
radar: 'แผนภูมิเรดาร์',
tree: 'ต้นไม้',
treemap: 'แผนที่ต้นไม้',
boxplot: 'แผนภูมิกล่อง',
candlestick: 'แผนภูมิเทียน',
k: 'แผนภูมิเส้น K',
heatmap: 'แผนที่ความร้อน',
map: 'แผนที่',
parallel: 'แผนที่พิกัดขนาน',
lines: 'กราฟเส้น',
graph: 'กราฟความสัมพันธ์',
sankey: 'แผนภูมิซันกีย์',
funnel: 'แผนภูมิกรวย',
gauge: 'เกจ',
pictorialBar: 'แผนภูมิแท่งภาพ',
themeRiver: 'แผนที่แม่น้ำธีม',
sunburst: 'Sunburst',
custom: 'แผนภูมิที่กำหนดเอง',
chart: 'แผนภูมิ'
}
},
aria: {
general: {
withTitle: 'นี่คือแผนภูมิเกี่ยวกับ “{title}”',
withoutTitle: 'นี่คือแผนภูมิ'
},
series: {
single: {
prefix: '',
withName: ' ด้วยประเภท {seriesType} ชื่อ {seriesName} ',
withoutName: ' ด้วยประเภท {seriesType} '
},
multiple: {
prefix: ' มีทั้งหมด {seriesCount} ชุดข้อมูล ',
withName: ' ชุดข้อมูลที่ {seriesId} เป็นประเภท {seriesType} แทน {seriesName} ',
withoutName: ' ชุดข้อมูลที่ {seriesId} เป็นประเภท {seriesType} ',
separator: {
middle: '',
end: ''
}
}
},
data: {
allData: 'ข้อมูลดังต่อไปนี้: ',
partialData: 'ข้อมูล {displayCnt} รายการแรกคือ: ',
withName: 'ข้อมูลสำหรับ {name} คือ {value} ',
withoutName: '{value} ',
separator: {
middle: ', ',
end: '. '
}
}
}
};
1 change: 1 addition & 0 deletions src/i18n/langTR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Resimli Çubuk Grafiği',
themeRiver: 'Akış Haritası',
sunburst: 'Güeş Patlaması Tablosu',
custom: 'Özel grafik',
chart: 'Grafiği'
}
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langUK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export default {
pictorialBar: 'Стовпчик-картинка',
themeRiver: 'Тематична ріка',
sunburst: 'Сонячне проміння',
custom: 'Спеціальна діаграма',
chart: 'діаграма'
}
},
Expand Down
3 changes: 2 additions & 1 deletion src/i18n/langVI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ export default {
pictorialBar: 'Biểu diễn hình ảnh',
themeRiver: 'Bản đồ sông',
sunburst: 'Biểu đồ bậc',
chart: 'đồ biểu'
custom: 'Biểu đồ tùy chỉnh',
chart: 'Đồ thị'
}
},
aria: {
Expand Down
1 change: 1 addition & 0 deletions src/i18n/langZH.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export default {
pictorialBar: '象形柱图',
themeRiver: '主题河流图',
sunburst: '旭日图',
custom: '自定义图表',
chart: '图表'
}
},
Expand Down

0 comments on commit 625ec1f

Please sign in to comment.