Debt - Prevent icon translations (#154094)

Prevent icon translations
This commit is contained in:
Ladislau Szomoru 2022-07-04 16:37:52 +02:00 committed by GitHub
parent 3fc0a6b2d1
commit 32406a7157
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@ class RemoteSourceProviderQuickPick {
}));
}
} 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);
} finally {
this.quickpick!.busy = false;

View File

@ -82,21 +82,21 @@ export class ActionButtonCommand {
switch (postCommitCommand) {
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 ?
localize('scm button committing pushing tooltip', "Committing & Pushing Changes...") :
localize('scm button commit push tooltip', "Commit & Push Changes");
break;
}
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 ?
localize('scm button committing synching tooltip', "Committing & Synching Changes...") :
localize('scm button commit sync tooltip', "Commit & Sync Changes");
break;
}
default: {
title = localize('scm button commit title', "$(check) Commit");
title = localize('scm button commit title', "{0} Commit", '$(check)');
tooltip = this.state.isCommitInProgress ?
localize('scm button committing tooltip', "Committing Changes...") :
localize('scm button commit tooltip', "Commit Changes");