SCM - use unicode codes in labels (#274786)

This commit is contained in:
Ladislau Szomoru
2025-11-03 16:02:24 +00:00
committed by GitHub
parent 70de2c9318
commit e3babad841
3 changed files with 7 additions and 7 deletions

View File

@@ -3192,7 +3192,7 @@ export class CommandCenter {
await commands.executeCommand('_workbench.openMultiDiffEditor', {
multiDiffSourceUri,
title: `${ref1DisplayId} ${ref2DisplayId}`,
title: `${ref1DisplayId} \u2194 ${ref2DisplayId}`,
resources
});
} catch (err) {
@@ -4889,7 +4889,7 @@ export class CommandCenter {
else if (item.previousRef === 'HEAD' && item.ref === '~') {
title = l10n.t('{0} (Index)', basename);
} else {
title = l10n.t('{0} ({1}) {0} ({2})', basename, item.shortPreviousRef, item.shortRef);
title = l10n.t('{0} ({1}) \u2194 {0} ({2})', basename, item.shortPreviousRef, item.shortRef);
}
return {
@@ -5006,7 +5006,7 @@ export class CommandCenter {
}
const title = l10n.t('{0} {1}', leftTitle, rightTitle);
const title = l10n.t('{0} \u2194 {1}', leftTitle, rightTitle);
await commands.executeCommand('vscode.diff', selected.ref === '' ? uri : toGitUri(uri, selected.ref), item.ref === '' ? uri : toGitUri(uri, item.ref), title);
}