Skip to content

An open-source, self-hosted system for apps built with web technologies.

On the Taskbar, pinning is Pin and Unpin: where it is says the rest

zohayrslileh1fbfabbda95d
diff --git a/source/client/view/structure/desktop/layers/shell/taskbar/programs/pinned-taskbar-item.tsx b/source/client/view/structure/desktop/layers/shell/taskbar/programs/pinned-taskbar-item.tsx
index 4284144..71bdb06 100644
--- a/source/client/view/structure/desktop/layers/shell/taskbar/programs/pinned-taskbar-item.tsx
+++ b/source/client/view/structure/desktop/layers/shell/taskbar/programs/pinned-taskbar-item.tsx
@@ -35,7 +35,7 @@ export default function PinnedTaskbarItem({ program, icon, position }: Readonly<
}}>
<Menu.Item id="open" textValue="New window"><Plus aria-hidden />New window</Menu.Item>
<Menu.Separator />
- <Menu.Item id="unpin" textValue="Unpin from Taskbar"><PinOff aria-hidden />Unpin from Taskbar</Menu.Item>
+ <Menu.Item id="unpin" textValue="Unpin"><PinOff aria-hidden />Unpin</Menu.Item>
</Menu>
</ContextMenu.Content>
diff --git a/source/client/view/structure/desktop/layers/shell/window-menu.tsx b/source/client/view/structure/desktop/layers/shell/window-menu.tsx
index 23ea2d1..24f2ed9 100644
--- a/source/client/view/structure/desktop/layers/shell/window-menu.tsx
+++ b/source/client/view/structure/desktop/layers/shell/window-menu.tsx
@@ -10,7 +10,7 @@ export default function WindowMenu({ title, minimized, maximized, pinned, onGoTo
title: string
minimized: boolean
maximized: boolean
- /** Whether its Program keeps its place on the Taskbar; offered only where `onTogglePinned` is. */
+ /** Whether its Program keeps its place on the Taskbar; offered, as Pin or Unpin, only on the Taskbar. */
pinned?: boolean
onTogglePinned?: () => void
onGoTo: () => void
@@ -41,7 +41,7 @@ export default function WindowMenu({ title, minimized, maximized, pinned, onGoTo
{onTogglePinned && <>
<Menu.Separator />
- <Menu.Item id="pin" textValue={pinned ? "Unpin from Taskbar" : "Pin to Taskbar"}>{pinned ? <><PinOff aria-hidden />Unpin from Taskbar</> : <><Pin aria-hidden />Pin to Taskbar</>}</Menu.Item>
+ <Menu.Item id="pin" textValue={pinned ? "Unpin" : "Pin"}>{pinned ? <><PinOff aria-hidden />Unpin</> : <><Pin aria-hidden />Pin</>}</Menu.Item>
</>}
<Menu.Separator />