#54366: fix: localize the default action label on Linux notifications
Description of Change
Fixes #30273.
After this change the default action button on Linux notifications is labelled in the user's language instead of a hard-coded English "View".
libnotify notifications registered their default action with the literal string "View", which servers that render the default action as a button showed untranslated. The label now comes from the translated "Show" string that macOS notification actions already use; the resource id is renamed so it is no longer macOS-specific (translations are keyed by text, so existing .xtb entries still apply), and the D-Bus notification spec expects the new label.
Checklist
- I have built and tested this change
- I have filled out the PR description
- I have reviewed and verified the changes
- tests are changed or added
Release Notes
Notes: Fixed the default action label on Linux notifications not being localized.
Backports
Semver Impact
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron