Skip to content

Commit d63a585

Browse files
refactor: Update english terms to install packages
1 parent f85e275 commit d63a585

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

locales/bundle.l10n.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"No fix available yet.": "", // The flaw is not yet known to be resolved in a future release.
3535
"If possible, downgrade to version {0}.": "", // But it is possible to downgrade to a version where the flaw does not exist.
3636
"Details": "", // Link where you can learn more about the flaw.
37-
"Start installing the package": "", // Forces the display of the notification suggesting to update the package.
37+
"Install packages": "", // Forces the display of the notification suggesting to update the package.
3838

3939
// DocumentDecoration.ts related.
4040
"Install pending": "", // The package was never installed, but the version entered by the user is the latest available.

locales/bundle.l10n.pt-br.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"No fix available yet.": "Ainda não há uma correção disponível.",
2626
"If possible, downgrade to version {0}.": "Se possível, realize um downgrade para a versão {0}.",
2727
"Details": "Detalhes",
28-
"Start installing the package": "Iniciar a instalação da dependência",
28+
"Install packages": "Instalar dependências",
2929

3030
"Install pending": "Instalação pendente",
3131
"Update available:": "Atualização disponível:",

src/CodeAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export class PackageJsonCodeActionProvider implements CodeActionProvider {
250250
document: TextDocument
251251
): Promise<CodeAction> {
252252
const action = new CodeAction(
253-
l10n.t("Start installing the package"),
253+
l10n.t("Install packages"),
254254
CodeActionKind.QuickFix
255255
)
256256

src/extension.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ describe("code actions", () => {
357357
selectFirsts: 0,
358358
})
359359

360-
expect(actions[0]?.title).toBe("Start installing the package")
360+
expect(actions[0]?.title).toBe("Install packages")
361361
expect(actions).toHaveLength(1)
362362
})
363363

@@ -471,7 +471,7 @@ describe("code actions", () => {
471471
})
472472

473473
expect(actions[0]?.title).toBe("Update 2 selected packages")
474-
expect(actions[1]?.title).toBe("Start installing the package")
474+
expect(actions[1]?.title).toBe("Install packages")
475475
expect(actions).toHaveLength(2)
476476
})
477477

0 commit comments

Comments
 (0)