From b9484e8e164dbd00fd8a9d73883e1ee247be69e1 Mon Sep 17 00:00:00 2001 From: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> Date: Wed, 22 Jun 2022 21:27:27 +0200 Subject: [PATCH] SCM - Action button localization fix (#152903) * Localization fix * Fix typo in key --- extensions/git/src/actionButton.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/git/src/actionButton.ts b/extensions/git/src/actionButton.ts index 629d9d7c14a..13efe1d5b89 100644 --- a/extensions/git/src/actionButton.ts +++ b/extensions/git/src/actionButton.ts @@ -65,7 +65,7 @@ export class ActionButtonCommand { return { command: { command: 'git.publish', - title: localize('scm button publish title', "$(cloud-upload) Publish Branch"), + title: localize('scm publish branch action button title', "{0} Publish Branch", '$(cloud-upload)'), tooltip: this.state.isActionRunning ? localize('scm button publish branch running', "Publishing Branch...") : localize('scm button publish branch', "Publish Branch"), @@ -87,7 +87,7 @@ export class ActionButtonCommand { return { command: { command: rebaseWhenSync ? 'git.syncRebase' : 'git.sync', - title: localize('scm button sync title', "{0} {1}{2}", icon, behind, ahead), + title: `${icon} ${behind} ${ahead}`, tooltip: this.state.isActionRunning ? localize('syncing changes', "Synchronizing Changes...") : this.repository.syncTooltip,