mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 23:35:54 +01:00
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -107,7 +107,7 @@ export class ChatContextUsageDetails extends Disposable {
|
||||
this.formatTokenCount(usedTokens, 1),
|
||||
this.formatTokenCount(totalContextWindow, 0)
|
||||
);
|
||||
this.percentageLabel.textContent = `${percentage.toFixed(0)}%`;
|
||||
this.percentageLabel.textContent = localize('quotaDisplay', "{0}%", percentage.toFixed(0));
|
||||
|
||||
// Update progress bar
|
||||
this.progressFill.style.width = `${Math.min(100, percentage)}%`;
|
||||
|
||||
Reference in New Issue
Block a user