Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpui: Support translation for the services submenu name #21134

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

BeowulfR
Copy link

This PR adds support for translating the services submenu name in the macOS menu bar.
Previously the name was hard-coded to "Services", which forbids translations.

This PR allows to change the name by introducing a new specific submenu type for the services menu item.

This PR adds support for translating the services submenu name in the
macOS menu bar. Previously the name was hard-coded to "Services", which
forbids translations. This PR allows to change the name by introducing a
new specific submenu type for the services menu item.
@BeowulfR
Copy link
Author

Same thing would be interesting / needed for the "Windows" menu.
The "Windows" menu is a struct with just a name and submenus - so I had no idea for supporting translations without a big breaking change... That's why I haven't changed anything there yet.

if menu_config.name == "Window" {

@SomeoneToIgnore SomeoneToIgnore added the cla-signed The user has signed the Contributor License Agreement label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants