Skip to content

Commit 203e301

Browse files
fix buttons behavior and casing alignment
1 parent f460a2c commit 203e301

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

arduino-ide-extension/src/browser/library/library-list-widget.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,17 @@ export class LibraryListWidget extends ListWidget<
128128
'arduino/library/installWithoutDependencies',
129129
'Install without dependencies'
130130
),
131-
nls.localize('arduino/library/installAll', 'Install all'),
131+
nls.localize('arduino/library/installAll', 'Install All'),
132132
],
133133
maxWidth: 740, // Aligned with `settings-dialog.css`.
134134
}).open();
135135

136136
if (result) {
137137
const { response } = result;
138-
if (response === 1) {
138+
if (response === 0) {
139139
// Current only
140140
installDependencies = false;
141-
} else if (response === 2) {
141+
} else if (response === 1) {
142142
// All
143143
installDependencies = true;
144144
}

i18n/en.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@
254254
"arduinoLibraries": "Arduino libraries",
255255
"contributedLibraries": "Contributed libraries",
256256
"include": "Include Library",
257-
"installAll": "Install all",
257+
"installAll": "Install All",
258258
"installLibraryDependencies": "Install library dependencies",
259259
"installMissingDependencies": "Would you like to install all the missing dependencies?",
260260
"installOneMissingDependency": "Would you like to install the missing dependency?",

0 commit comments

Comments
 (0)