Skip to content

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

Merged
MarshallOfSound merged 2 commits into
mainfrom
fix-linux-notification-action-l10n
Sep 25, 2026
Merged

MarshallOfSound merged 2 commits into
mainfrom
fix-linux-notification-action-l10n

Conversation

@codebytere

@codebytere codebytere commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

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.

libnotify notifications registered their default action with a hard-coded
English "View" label. Use the translated "Show" string that macOS
notifications already use.
@codebytere codebytere added semver/patch backwards-compatible bug fixes target/43-x-y PR should also be added to the "43-x-y" branch. target/44-x-y PR should also be added to the "44-x-y" branch. target/45-x-y PR should also be added to the "45-x-y" branch. labels Sep 25, 2026
@MarshallOfSound
MarshallOfSound merged commit a21421d into main Sep 25, 2026
76 checks passed
@MarshallOfSound
MarshallOfSound deleted the fix-linux-notification-action-l10n branch September 25, 2026 16:16
@release-clerk

release-clerk Bot commented Sep 25, 2026

Copy link
Copy Markdown

Release Notes Persisted

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

@trop

trop Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "43-x-y", please check out #54400

@trop

trop Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "44-x-y", please check out #54401

@trop

trop Bot commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "45-x-y", please check out #54402

@trop trop Bot added in-flight/44-x-y in-flight/45-x-y merged/43-x-y PR was merged to the "43-x-y" branch. merged/45-x-y PR was merged to the "45-x-y" branch. merged/44-x-y PR was merged to the "44-x-y" branch. and removed target/43-x-y PR should also be added to the "43-x-y" branch. target/44-x-y PR should also be added to the "44-x-y" branch. target/45-x-y PR should also be added to the "45-x-y" branch. in-flight/43-x-y in-flight/45-x-y in-flight/44-x-y labels Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

46-x-y merged/43-x-y PR was merged to the "43-x-y" branch. merged/44-x-y PR was merged to the "44-x-y" branch. merged/45-x-y PR was merged to the "45-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[Bug]: "View" linux notification action is not localized

3 participants