Skip to content

Commit 4034856

Browse files
committed
feat: Generate i18n file
1 parent c5585da commit 4034856

File tree

5 files changed

+17487
-11
lines changed

5 files changed

+17487
-11
lines changed

apps/dataset/serializers/document_serializers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ def get_response_body_api():
786786
'user_id': openapi.Schema(type=openapi.TYPE_STRING, title=_('user id'), description=_('user id')),
787787
'paragraph_count': openapi.Schema(type=openapi.TYPE_INTEGER, title="_('document count')",
788788
description="_('document count')", default=1),
789-
'is_active': openapi.Schema(type=openapi.TYPE_BOOLEAN, title=_(''),
789+
'is_active': openapi.Schema(type=openapi.TYPE_BOOLEAN, title=_('Is active'),
790790
description=_('Is active'), default=True),
791791
'update_time': openapi.Schema(type=openapi.TYPE_STRING, title=_('update time'),
792792
description=_('update time'),

apps/dataset/views/file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FileView(APIView):
2424
parser_classes = [MultiPartParser]
2525

2626
@action(methods=['POST'], detail=False)
27-
@swagger_auto_schema(operation_summary=_(''),
27+
@swagger_auto_schema(operation_summary=_('Upload file'),
2828
operation_id=_('Upload file'),
2929
manual_parameters=[openapi.Parameter(name='file',
3030
in_=openapi.IN_FORM,

0 commit comments

Comments
 (0)