Skip to content

Commit

Permalink
Flip pairing input labels so column number is first
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Nov 19, 2024
1 parent e6722f0 commit 51fdb5b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lang/ui.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
"description": "Heading for Bluetooth pattern connection dialog"
},
"connect-pattern-input-label": {
"defaultMessage": "Number of LEDs lit in column {colNum} on the micro:bit display",
"defaultMessage": "Column {colNum} - number of LEDs lit on the micro:bit display",
"description": "Screenreader text for numeric pattern input"
},
"connect-pattern-subtitle": {
Expand Down
1 change: 0 additions & 1 deletion src/components/BluetoothPatternInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ const PatternColumnInput = ({
<FormattedMessage
id="connect-pattern-input-label"
values={{ colNum: colIdx + 1 }}
sr-onlu
/>
</FormLabel>
</VisuallyHidden>
Expand Down
4 changes: 2 additions & 2 deletions src/messages/ui.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -418,15 +418,15 @@
"connect-pattern-input-label": [
{
"type": 0,
"value": "Number of LEDs lit in column "
"value": "Column "
},
{
"type": 1,
"value": "colNum"
},
{
"type": 0,
"value": " on the micro:bit display"
"value": " - number of LEDs lit on the micro:bit display"
}
],
"connect-pattern-subtitle": [
Expand Down

0 comments on commit 51fdb5b

Please sign in to comment.