mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-05-03 05:36:37 +00:00
feat: add translate
This commit is contained in:
parent
e9abd1e72d
commit
a0441cd6ea
@ -128,7 +128,7 @@ class FaceContextApi(AuthMixin, RetrieveAPIView, CreateAPIView):
|
||||
return Response({
|
||||
"is_finished": context.get('is_finished', False),
|
||||
"success": context.get('success', False),
|
||||
"error_message": context.get("error_message", '')
|
||||
"error_message": _(context.get("error_message", ''))
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user