Skip to content

Commit 22afeae

Browse files
Update region label for data connection panel (#542)
1 parent abf4617 commit 22afeae

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

lang/ui.en.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,10 @@
399399
"defaultMessage": "diagram showing data collection micro:bit being connected to a person's wrist",
400400
"description": "Aria label for data collection image"
401401
},
402+
"data-connection-region": {
403+
"defaultMessage": "micro:bit data connection",
404+
"description": "Region label for data connection area"
405+
},
402406
"data-features-hide-action": {
403407
"defaultMessage": "Hide data features",
404408
"description": "Hide data features button text"
@@ -608,15 +612,15 @@
608612
"description": "Tooltip for data feature of a recording"
609613
},
610614
"fingerprint-mean-x-tooltip": {
611-
"defaultMessage": "Mean value for x-direction data ",
615+
"defaultMessage": "Mean value for x-direction data",
612616
"description": "Tooltip for data feature of a recording"
613617
},
614618
"fingerprint-mean-y-tooltip": {
615-
"defaultMessage": "Mean value for y-direction data ",
619+
"defaultMessage": "Mean value for y-direction data",
616620
"description": "Tooltip for data feature of a recording"
617621
},
618622
"fingerprint-mean-z-tooltip": {
619-
"defaultMessage": "Mean value for z-direction data ",
623+
"defaultMessage": "Mean value for z-direction data",
620624
"description": "Tooltip for data feature of a recording"
621625
},
622626
"fingerprint-min-x-tooltip": {

src/components/LiveGraphPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const LiveGraphPanel = ({
6868
return (
6969
<HStack
7070
role="region"
71-
aria-label={intl.formatMessage({ id: "live-data-graph" })}
71+
aria-label={intl.formatMessage({ id: "data-connection-region" })}
7272
position="relative"
7373
h={160}
7474
width="100%"

src/messages/ui.en.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,12 @@
677677
"value": "diagram showing data collection micro:bit being connected to a person's wrist"
678678
}
679679
],
680+
"data-connection-region": [
681+
{
682+
"type": 0,
683+
"value": "micro:bit data connection"
684+
}
685+
],
680686
"data-features-hide-action": [
681687
{
682688
"type": 0,
@@ -1040,19 +1046,19 @@
10401046
"fingerprint-mean-x-tooltip": [
10411047
{
10421048
"type": 0,
1043-
"value": "Mean value for x-direction data "
1049+
"value": "Mean value for x-direction data"
10441050
}
10451051
],
10461052
"fingerprint-mean-y-tooltip": [
10471053
{
10481054
"type": 0,
1049-
"value": "Mean value for y-direction data "
1055+
"value": "Mean value for y-direction data"
10501056
}
10511057
],
10521058
"fingerprint-mean-z-tooltip": [
10531059
{
10541060
"type": 0,
1055-
"value": "Mean value for z-direction data "
1061+
"value": "Mean value for z-direction data"
10561062
}
10571063
],
10581064
"fingerprint-min-x-tooltip": [

0 commit comments

Comments
 (0)