mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
💄 Git - use double quotation mark in the action button tooltip (#171161)
This commit is contained in:
@@ -147,10 +147,10 @@ export class ActionButtonCommand {
|
||||
title: l10n.t({ message: '{0} Publish Branch', args: [icon], comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }),
|
||||
tooltip: this.state.isSyncInProgress ?
|
||||
(this.state.HEAD?.name ?
|
||||
l10n.t({ message: 'Publishing Branch \'{0}\'...', args: [this.state.HEAD.name], comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }) :
|
||||
l10n.t({ message: 'Publishing Branch "{0}"...', args: [this.state.HEAD.name], comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }) :
|
||||
l10n.t({ message: 'Publishing Branch...', comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] })) :
|
||||
(this.repository.HEAD?.name ?
|
||||
l10n.t({ message: 'Publish Branch \'{0}\'', args: [this.state.HEAD?.name], comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }) :
|
||||
l10n.t({ message: 'Publish Branch "{0}"', args: [this.state.HEAD?.name], comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] }) :
|
||||
l10n.t({ message: 'Publish Branch', comment: ['{Locked="Branch"}', 'Do not translate "Branch" as it is a git term'] })),
|
||||
arguments: [this.repository.sourceControl],
|
||||
},
|
||||
|
||||
@@ -178,7 +178,7 @@ export class CommitCommandsCenter {
|
||||
let tooltip = alwaysCommitToNewBranch ?
|
||||
l10n.t('Commit Changes to New Branch') :
|
||||
branch ?
|
||||
l10n.t('Commit Changes on \'{0}\'', branch) :
|
||||
l10n.t('Commit Changes on "{0}"', branch) :
|
||||
l10n.t('Commit Changes');
|
||||
|
||||
// Tooltip (in progress)
|
||||
|
||||
Reference in New Issue
Block a user