Hide the Translate action on macOS in favour of selecting the text. (#4954)

Hide the Translate action on macOS.

It doesn't work, but it's also easy enough to translate on Mac by selecting the text anyway.
This commit is contained in:
Doug
2026-01-13 17:14:41 +00:00
committed by GitHub
parent 334df3f5cd
commit a3f2d05868
@@ -91,7 +91,12 @@ struct TimelineItemMenuActionProvider {
if item.isCopyable {
actions.append(.copy)
actions.append(.translate)
if !ProcessInfo.processInfo.isiOSAppOnMac {
// As of macOS 26.2, the sheet isn't presented, but it is easy enough
// to select some text and right click on Mac anyway so hide this one.
actions.append(.translate)
}
} else if item.hasMediaCaption {
actions.append(.copyCaption)
}