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

General translation fixes #714

Merged
merged 1 commit into from
Jul 10, 2023
Merged

Conversation

szporwolik
Copy link
Contributor

While checking Polish(PL) translation I've identified a few strings that are not properly translated.
Proposed fixes shall improve quality of all translations.

@@ -942,7 +943,7 @@ def make_menubar(self):
menu_bar.Append(edit_menu, wx.GetStockLabel(wx.ID_EDIT))
menu_bar.Append(view_menu, '&' + _('View'))
menu_bar.Append(radio_menu, '&' + _('Radio'))
menu_bar.Append(help_menu, wx.GetStockLabel(wx.ID_HELP))
menu_bar.Append(help_menu, _('Help'))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, we're really not supposed to need to do this for these special items, as the GetStockLabel helper accounts for platform differences, like on macos it's common for the "find" issue to be "Find..." but not on others. I think this means it's not translated for your platform, but should be. Which platform are you on? Any chance the formal builds work properly and running from a dev environment does not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is strange. I found this on formal build at two Win10 machines :
image

I'm not sure if this is PL related or Windows related, but definitely something is not working with that configuration. What is interesting rest of the labels (Copy & Paste etc.) were properly pulled via GetStockLabel.

This is how it looks for me:
image

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, yeah, weird. On Linux (where I can easily flip the locale for one program) I get Help translated by stock item, but not Find, when using the es locale. On windows, es has both Find and Help translated. I can replicate your experience on windows with pl. On macos and pl, Help is translated but not find. Ugh!

Okay, I guess this is the best plan then. I'll rebase this and fix the conflicts.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect, thanks! 👍🏻

@kk7ds
Copy link
Owner

kk7ds commented Jul 10, 2023

I rebased this before I looked at the changes, which is why it's now failing that check. After we resolve the stock item thing you can just refresh it or I can. Thanks for doing this, definitely found a few missed ones there!

While checking Polish(PL) translation I've identified a few strings that are not properly translated.

Proposed fixes shall improve quality of all translations.
@kk7ds kk7ds force-pushed the General-translation-fixes branch from 37ffb7e to 9e6cc00 Compare July 10, 2023 22:21
@kk7ds kk7ds merged commit 9e79e7b into kk7ds:master Jul 10, 2023
6 checks passed
@szporwolik szporwolik deleted the General-translation-fixes branch July 12, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants