You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2019/05/06 03:35:14 UTC

[incubator-echarts] 01/04: Add aria defaults for lang-en

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 9a8bd71a39833ba990db6ffcb63e9f97b8cb2f59
Author: Clement Ho <Cl...@users.noreply.github.com>
AuthorDate: Mon Apr 15 16:09:57 2019 -0500

    Add aria defaults for lang-en
---
 src/langEN.js | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/src/langEN.js b/src/langEN.js
index 66846a0..e8308bf 100644
--- a/src/langEN.js
+++ b/src/langEN.js
@@ -55,5 +55,37 @@ export default {
             title: 'Save as Image',
             lang: ['Right Click to Save Image']
         }
+    },
+    aria: {
+        general: {
+            withTitle: 'This is a chart about "{title}"',
+            withoutTitle: 'This is a chart,'
+        },
+        series: {
+            single: {
+                prefix: '',
+                withName: 'This is a chart with type {seriesType} named {seriesName}.',
+                withoutName: 'This is a chart with type {seriesType}.'
+            },
+            multiple: {
+                prefix: 'This chart consists of {seriesCount} series count.',
+                withName: 'The {seriesId} series is a {seriesType} representing {seriesName},',
+                withoutName: 'The {seriesId} series is a {seriesType},',
+                separator: {
+                    middle: ';',
+                    end: '。'
+                }
+            }
+        },
+        data: {
+            allData: 'The data is -',
+            partialData: 'The first {displayCnt} item is ——',
+            withName: 'The data for {name} is {value}',
+            withoutName: '{value}',
+            separator: {
+                middle: ',',
+                end: ''
+            }
+        }
     }
 };


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org