-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add support for a translation context #184
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah, we haven't added that, though I suspect it can follow a similar pattern to how we're doing comments.
So probably a sketch of supporting this would be:
Define another HTML comment directive to let authors specify the
ctxt
, similar to what we're doing hereCollect and thread that state when we're gathering groups for translation.
Finally, pass the
ctxt
here and call the builder method for setting thectxt
.So I think this would be fairly straightforward extension.
Originally posted by @dyoo in google/comprehensive-rust#1973 (comment)
The text was updated successfully, but these errors were encountered: