0.12.29 fix trans

This commit is contained in:
SDE
2024-04-04 15:21:36 +03:00
parent ac4fcb634d
commit 536a1e967e
2 changed files with 6 additions and 2 deletions

View File

@@ -94,7 +94,11 @@ def edit_route_ajax(request):
return JsonResponse({'errors': msg})
html = render_to_string('blocks/profile/b_new_route.html', Dict, request=request)
return JsonResponse({'html': html}, status=200)
resDict = {
'html': html,
'btn_title': _('Сохранить изменения')
}
return JsonResponse(resDict, status=200)