Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit be0c222

Browse files
add title to buttons and changed dialog title
1 parent 2bcfc1f commit be0c222

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,8 @@ export class LibraryListWidget extends ListWidget<
119119
message.appendChild(question);
120120
const result = await new MessageBoxDialog({
121121
title: nls.localize(
122-
'arduino/library/dependenciesForLibrary',
123-
'Dependencies for library {0}:{1}',
124-
item.name,
125-
version
122+
'arduino/library/installLibraryDependencies',
123+
'Install library dependencies'
126124
),
127125
message,
128126
buttons: [
@@ -201,6 +199,7 @@ class MessageBoxDialog extends AbstractDialog<MessageBoxDialog.Result> {
201199
const button = this.createButton(text);
202200
const isPrimaryButton =
203201
index === (options.buttons ? options.buttons.length - 1 : 0);
202+
button.title = text;
204203
button.classList.add(
205204
isPrimaryButton ? 'main' : 'secondary',
206205
'message-box-dialog-button'

‎i18n/en.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@
254254
"addZip": "Add .ZIP Library...",
255255
"arduinoLibraries": "Arduino libraries",
256256
"contributedLibraries": "Contributed libraries",
257-
"dependenciesForLibrary": "Dependencies for library {0}:{1}",
258257
"include": "Include Library",
259258
"installAll": "Install all",
259+
"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?",
262262
"installWithoutDependencies": "Install without dependencies",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /