Skip to content

Commit 479b765

Browse files
committed
Localize some strings
1 parent 134e65c commit 479b765

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx

+10-2
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,20 @@ export class BoardsDropDown extends React.Component<BoardsDropDown.Props> {
5959
}}
6060
>
6161
{this.renderItem({
62-
label: 'Select Other Board & Port',
62+
label: nls.localize(
63+
'arduino/board/openBoardsConfig',
64+
'Select Other Board & Port'
65+
),
6366
onClick: () => this.props.openBoardsConfig(),
6467
})}
6568
{items
6669
.map(({ name, port, selected, onClick }) => ({
67-
label: `${name} at ${Port.toString(port)}`,
70+
label: nls.localize(
71+
'arduino/board/boardListItem',
72+
'{0} at {1}',
73+
name,
74+
Port.toString(port)
75+
),
6876
selected,
6977
onClick,
7078
}))

0 commit comments

Comments
 (0)