Skip to content

Commit

Permalink
Fix for Issue #208123: Missing NLS (#208186)
Browse files Browse the repository at this point in the history
* fix #208123

* 💄
  • Loading branch information
benibenj authored Mar 20, 2024
1 parent d3877fb commit dd42b9f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/vs/workbench/contrib/scrollLocking/browser/scrollLocking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,13 @@ export class SyncScroll extends Disposable implements IWorkbenchContribution {
private toggleStatusbarItem(active: boolean): void {
if (active) {
if (!this.statusBarEntry.value) {
const text = localize('mouseScrolllingLocked', 'Scrolling Locked');
const tooltip = localize('mouseLockScrollingEnabled', 'Lock Scrolling Enabled');
this.statusBarEntry.value = this.statusbarService.addEntry({
name: 'Scrolling Locked',
text: 'Scrolling Locked',
tooltip: 'Lock Scrolling enabled',
ariaLabel: 'Scrolling Locked',
name: text,
text,
tooltip,
ariaLabel: text,
command: {
id: 'workbench.action.toggleLockedScrolling',
title: ''
Expand Down

0 comments on commit dd42b9f

Please sign in to comment.