diff options
author | Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com> | 2022-07-13 17:39:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 17:39:18 +0300 |
commit | bc51adde6f10583b37c4e1face82224860a2db30 (patch) | |
tree | 64e04fc487670a4ab01172ca85c3a969f98828d0 /extensions | |
parent | b79eaca3cf030f68247252670520ad5698dc7c79 (diff) |
git - Add localization comment for Publish Branch action button (#155053)
* Add localization comment for Publish Branch action button
* Pull request feedback
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/git/src/actionButton.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/git/src/actionButton.ts b/extensions/git/src/actionButton.ts index 0f0741eb78c..311e9dc84d5 100644 --- a/extensions/git/src/actionButton.ts +++ b/extensions/git/src/actionButton.ts @@ -189,10 +189,10 @@ export class ActionButtonCommand { return { command: { command: 'git.publish', - title: localize('scm publish branch action button title', "{0} Publish Branch", '$(cloud-upload)'), + title: localize({ key: 'scm publish branch action button title', comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }, "{0} Publish Branch", '$(cloud-upload)'), tooltip: this.state.isSyncInProgress ? - localize('scm button publish branch running', "Publishing Branch...") : - localize('scm button publish branch', "Publish Branch"), + localize({ key: 'scm button publish branch running', comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }, "Publishing Branch...") : + localize({ key: 'scm button publish branch', comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }, "Publish Branch"), arguments: [this.repository.sourceControl], }, enabled: !this.state.isSyncInProgress |