Skip to content

Commit d10cd96

Browse files
fix buttons behavior and casing alignment
1 parent be0c222 commit d10cd96

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
@@ -255,7 +255,7 @@
255255
"arduinoLibraries": "Arduino libraries",
256256
"contributedLibraries": "Contributed libraries",
257257
"include": "Include Library",
258-
"installAll": "Install all",
258+
"installAll": "Install All",
259259
"installLibraryDependencies": "Install library dependencies",
260260
"installMissingDependencies": "Would you like to install all the missing dependencies?",
261261
"installOneMissingDependency": "Would you like to install the missing dependency?",

0 commit comments

Comments
 (0)