Matjaž Horvat
Matjaž Horvat
See also: * #2660
We're showing the translation creation time in the tooltip (rather than the review time). While on it, we should also make the format in the translation creation time tooltip match...
@eemeli ^^
@flozz Could you share the exact steps to reproduce the problem this PR is trying to fix?
The code looks good! Why is the PR maked as Draft? Is there any functionality still missing?
You can test the PR on https://mozilla-pontoon-staging.herokuapp.com: ```python import requests response = requests.post( "https://mozilla-pontoon-staging.herokuapp.com/api/v2/pretranslate/?locale=sl", data="Open", headers={ "Content-Type": "text/plain", "Accept": "application/json", "Authorization": f"Bearer {TOKEN}", }, ) ```
Please add a flag in the `UserProfile` model or create a user group for users authorized to use pretranslation, and use that as another authentication step.
> This is the error displayed if we're missing the Google API keys. We probably need to fix this. > > ``` > {"error":"An error occurred: Pretranslation for `test =...
Please rebase.
We'll need support for these new languages to propagate to Cloud Translation API before we can start using them: https://cloud.google.com/translate/docs/languages