Skip to content

Commit 32406a7

Browse files
authored
Debt - Prevent icon translations (microsoft#154094)
Prevent icon translations
1 parent 3fc0a6b commit 32406a7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

extensions/git-base/src/remoteSource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class RemoteSourceProviderQuickPick {
7070
}));
7171
}
7272
} catch (err) {
73-
this.quickpick!.items = [{ label: localize('error', "$(error) Error: {0}", err.message), alwaysShow: true }];
73+
this.quickpick!.items = [{ label: localize('error', "{0} Error: {1}", '$(error)', err.message), alwaysShow: true }];
7474
console.error(err);
7575
} finally {
7676
this.quickpick!.busy = false;

extensions/git/src/actionButton.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,21 @@ export class ActionButtonCommand {
8282

8383
switch (postCommitCommand) {
8484
case 'push': {
85-
title = localize('scm button commit and push title', "$(arrow-up) Commit & Push");
85+
title = localize('scm button commit and push title', "{0} Commit & Push", '$(arrow-up)');
8686
tooltip = this.state.isCommitInProgress ?
8787
localize('scm button committing pushing tooltip', "Committing & Pushing Changes...") :
8888
localize('scm button commit push tooltip', "Commit & Push Changes");
8989
break;
9090
}
9191
case 'sync': {
92-
title = localize('scm button commit and sync title', "$(sync) Commit & Sync");
92+
title = localize('scm button commit and sync title', "{0} Commit & Sync", '$(sync)');
9393
tooltip = this.state.isCommitInProgress ?
9494
localize('scm button committing synching tooltip', "Committing & Synching Changes...") :
9595
localize('scm button commit sync tooltip', "Commit & Sync Changes");
9696
break;
9797
}
9898
default: {
99-
title = localize('scm button commit title', "$(check) Commit");
99+
title = localize('scm button commit title', "{0} Commit", '$(check)');
100100
tooltip = this.state.isCommitInProgress ?
101101
localize('scm button committing tooltip', "Committing Changes...") :
102102
localize('scm button commit tooltip', "Commit Changes");

0 commit comments

Comments
 (0)