Skip to content

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

@scottnonnenberg-signal

Description

@scottnonnenberg-signal

Preflight Checklist

Electron Version

13.1.6

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 20.04.2 LTS

What arch are you using?

x64

Last Known Working Electron version

none

Expected Behavior

On German OS, the action that comes along with a notification is translated.

Actual Behavior

On German OS, the action that comes along with a notification is the english string "View."

Testcase Gist URL

No response

Additional Information

Thanks to the great investigative work of @Sgn-32, a Signal Desktop user, here... signalapp/Signal-Desktop#5402

...we've established that Electron is using an un-localized "View" string when creating linux notifications with an action:

// NB: On Unity and on any other DE using Notify-OSD, adding a notification
// action will cause the notification to display as a modal dialog box.
if (NotifierSupportsActions()) {
libnotify_loader_.notify_notification_add_action(
notification_, "default", "View", OnNotificationViewThunk, this,
nullptr);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy