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

shortcuts: add translation context #46

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

Conversation

rffontenelle
Copy link
Contributor

Add msgcontext to strings presented in the Keyboard shortcut windows. For GtkShortcutsShortcut items add shortcut window, and for GtkShortcutsGroup items add shortcut window group.

This solves the conflict I mentioned in #44 , i.e. same strings from keyboard shortcut windows and button label that should/could receive different translations depending on the language.

@maoschanz
Copy link
Owner

as a translator (of fr.po) can i just opt out this thing for my language? to me, "undo" means the same "undo" in both the button tooltip, the menubar item and the shortcut window, i don't feel like translating everything several times

@rffontenelle
Copy link
Contributor Author

I don't think that is possible because msgcontexts and comments are per-POT file, not per-language.

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