codebytere

#54366: fix: localize the default action label on Linux notifications

Merged
Created: Sep 25, 2026, 5:46:06 AM
Merged: Sep 25, 2026, 11:16:11 AM
4 comments
Target: main

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

Release Notes

Notes: Fixed the default action label on Linux notifications not being localized.

Backports

43-x-y
Merged
PR Number
#54400
Merged At
Sep 25, 2026, 1:58:07 PM
Released In
Not yet
Release Date
Not yet
44-x-y
Merged
PR Number
#54401
Merged At
Sep 25, 2026, 2:04:40 PM
Released In
Not yet
Release Date
Not yet
45-x-y
Merged
PR Number
#54402
Merged At
Sep 25, 2026, 2:04:05 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

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