mirror of
https://github.com/Microsoft/vscode
synced 2024-10-05 19:02:54 +00:00
parent
3fc0a6b2d1
commit
32406a7157
|
@ -70,7 +70,7 @@ class RemoteSourceProviderQuickPick {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.quickpick!.items = [{ label: localize('error', "$(error) Error: {0}", err.message), alwaysShow: true }];
|
this.quickpick!.items = [{ label: localize('error', "{0} Error: {1}", '$(error)', err.message), alwaysShow: true }];
|
||||||
console.error(err);
|
console.error(err);
|
||||||
} finally {
|
} finally {
|
||||||
this.quickpick!.busy = false;
|
this.quickpick!.busy = false;
|
||||||
|
|
|
@ -82,21 +82,21 @@ export class ActionButtonCommand {
|
||||||
|
|
||||||
switch (postCommitCommand) {
|
switch (postCommitCommand) {
|
||||||
case 'push': {
|
case 'push': {
|
||||||
title = localize('scm button commit and push title', "$(arrow-up) Commit & Push");
|
title = localize('scm button commit and push title', "{0} Commit & Push", '$(arrow-up)');
|
||||||
tooltip = this.state.isCommitInProgress ?
|
tooltip = this.state.isCommitInProgress ?
|
||||||
localize('scm button committing pushing tooltip', "Committing & Pushing Changes...") :
|
localize('scm button committing pushing tooltip', "Committing & Pushing Changes...") :
|
||||||
localize('scm button commit push tooltip', "Commit & Push Changes");
|
localize('scm button commit push tooltip', "Commit & Push Changes");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'sync': {
|
case 'sync': {
|
||||||
title = localize('scm button commit and sync title', "$(sync) Commit & Sync");
|
title = localize('scm button commit and sync title', "{0} Commit & Sync", '$(sync)');
|
||||||
tooltip = this.state.isCommitInProgress ?
|
tooltip = this.state.isCommitInProgress ?
|
||||||
localize('scm button committing synching tooltip', "Committing & Synching Changes...") :
|
localize('scm button committing synching tooltip', "Committing & Synching Changes...") :
|
||||||
localize('scm button commit sync tooltip', "Commit & Sync Changes");
|
localize('scm button commit sync tooltip', "Commit & Sync Changes");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
title = localize('scm button commit title', "$(check) Commit");
|
title = localize('scm button commit title', "{0} Commit", '$(check)');
|
||||||
tooltip = this.state.isCommitInProgress ?
|
tooltip = this.state.isCommitInProgress ?
|
||||||
localize('scm button committing tooltip', "Committing Changes...") :
|
localize('scm button committing tooltip', "Committing Changes...") :
|
||||||
localize('scm button commit tooltip', "Commit Changes");
|
localize('scm button commit tooltip', "Commit Changes");
|
||||||
|
|
Loading…
Reference in a new issue