Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(aria): fix hard-coded series type name translation #19239

Merged
merged 2 commits into from Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/i18n/langAR.ts
Expand Up @@ -105,7 +105,9 @@ export default {
gauge: 'مقياس',
pictorialBar: 'مخطط مصوّر',
themeRiver: 'نمط خريطة النهر',
sunburst: 'مخطط شمسي'
sunburst: 'مخطط شمسي',
custom: 'مخطط مخصص',
chart: 'مخطط'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langCS.ts
Expand Up @@ -104,7 +104,9 @@
gauge: 'Indikátor',
pictorialBar: 'Obrázkový sloupcový graf',
themeRiver: 'Theme River Map',
sunburst: 'Vícevrstvý prstencový graf'
sunburst: 'Vícevrstvý prstencový graf',
custom: 'Graficu persunalizatu',
chart: 'Graf'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langDE.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Meßanzeige',
pictorialBar: 'Bildlicher Balken',
themeRiver: 'Thematische Flusskarte',
sunburst: 'Sonnenausbruch'
sunburst: 'Sonnenausbruch',
custom: 'Graficu persunalizatu',
chart: 'Diagramm'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langEN.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Gauge',
pictorialBar: 'Pictorial bar',
themeRiver: 'Theme River Map',
sunburst: 'Sunburst'
sunburst: 'Sunburst',
custom: 'Custom chart',
chart: 'Chart'
}
},
aria: {
Expand Down
60 changes: 60 additions & 0 deletions src/i18n/langES.ts
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
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: '. '
}
}
}
};
4 changes: 3 additions & 1 deletion src/i18n/langFR.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Jauge',
pictorialBar: 'Barres à images',
themeRiver: 'Stream Graph',
sunburst: 'Sunburst'
sunburst: 'Sunburst',
custom: 'Graphique personnalisé',
chart: 'Graphique'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langHU.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Mérőeszköz',
pictorialBar: 'Képes sávdiagram',
themeRiver: 'Folyó témájú térkép',
sunburst: 'Napégés'
sunburst: 'Napégés',
custom: 'Egyedi diagram',
chart: 'Diagram'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langIT.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Gauge',
pictorialBar: 'Pictorial bar',
themeRiver: 'Theme River Map',
sunburst: 'Radiale'
sunburst: 'Radiale',
custom: 'Egyedi diagram',
chart: 'Grafico'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langJA.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'ゲージ',
pictorialBar: '絵入り棒グラフ',
themeRiver: 'テーマリバー',
sunburst: 'サンバースト'
sunburst: 'サンバースト',
custom: 'カスタムチャート',
chart: 'チャート'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langKO.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: '계기',
pictorialBar: '픽토그램 차트',
themeRiver: '스트림 그래프',
sunburst: '선버스트 차트'
sunburst: '선버스트 차트',
custom: '맞춤 차트',
chart: '차트'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langPL.ts
Expand Up @@ -104,7 +104,9 @@
gauge: 'Wykres zegarowy',
pictorialBar: 'Wykres słupkowy obrazkowy',
themeRiver: 'Wykres rzeki tematycznej',
sunburst: 'Wykres hierarchiczny słonecznikowy'
sunburst: 'Wykres hierarchiczny słonecznikowy',
custom: 'Wykres niestandardowy',
chart: 'Wykres'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langPT-br.ts
Expand Up @@ -105,7 +105,9 @@ export default {
gauge: 'Gauge',
pictorialBar: 'Pictorial bar',
themeRiver: 'Theme River Map',
sunburst: 'Sunburst'
sunburst: 'Sunburst',
custom: 'Gráfico personalizado',
chart: 'Gráfico'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langRO.ts
Expand Up @@ -104,7 +104,9 @@
gauge: 'Calibru',
pictorialBar: 'Diagramă cu bare picturale',
themeRiver: 'Streamgraph',
sunburst: 'Diagramă rază de soare'
sunburst: 'Diagramă rază de soare',
custom: 'Diagramă personalizată',
chart: 'Diagramă'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langRU.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Шкала',
pictorialBar: 'Столбец-картинка',
themeRiver: 'Тематическая река',
sunburst: 'Солнечные лучи'
sunburst: 'Солнечные лучи',
custom: 'Пользовательская диаграмма',
chart: 'диаграмма'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langSI.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Števec',
pictorialBar: 'Stolpčni grafikon s podobo',
themeRiver: 'Tematski rečni grafikon',
sunburst: 'Večnivojski tortni grafikon'
sunburst: 'Večnivojski tortni grafikon',
custom: 'Grafikon po meri',
chart: 'Grafikon'
}
},
aria: {
Expand Down
60 changes: 60 additions & 0 deletions src/i18n/langTH.ts
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: '. '
}
}
}
};
4 changes: 3 additions & 1 deletion src/i18n/langTR.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Gösterge',
pictorialBar: 'Resimli Çubuk Grafiği',
themeRiver: 'Akış Haritası',
sunburst: 'Güeş Patlaması Tablosu'
sunburst: 'Güeş Patlaması Tablosu',
custom: 'Özel grafik',
chart: 'Grafiği'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langUK.ts
Expand Up @@ -104,7 +104,9 @@ export default {
gauge: 'Шкала',
pictorialBar: 'Стовпчик-картинка',
themeRiver: 'Тематична ріка',
sunburst: 'Сонячне проміння'
sunburst: 'Сонячне проміння',
custom: 'Спеціальна діаграма',
chart: 'діаграма'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langVI.ts
Expand Up @@ -128,7 +128,9 @@ export default {
gauge: 'Biểu đồ cung tròn',
pictorialBar: 'Biểu diễn hình ảnh',
themeRiver: 'Bản đồ sông',
sunburst: 'Biểu đồ bậc'
sunburst: 'Biểu đồ bậc',
custom: 'Biểu đồ tùy chỉnh',
chart: 'Đồ thị'
}
},
aria: {
Expand Down
4 changes: 3 additions & 1 deletion src/i18n/langZH.ts
Expand Up @@ -100,7 +100,9 @@ export default {
gauge: '仪表盘图',
pictorialBar: '象形柱图',
themeRiver: '主题河流图',
sunburst: '旭日图'
sunburst: '旭日图',
custom: '自定义图表',
chart: '图表'
}
},
aria: {
Expand Down