fix: 修改一些翻译

This commit is contained in:
xinwen
2021-09-15 20:51:59 +08:00
committed by Jiangjie.Bai
parent b30123054b
commit 45aefa6b75
2 changed files with 13 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ class SessionSerializer(BulkOrgResourceModelSerializer):
'can_join': {'label': _('Can join')},
'terminal': {'label': _('Terminal')},
'is_finished': {'label': _('Is finished')},
'can_terminate': {'label': _('Can terminate')},
}
@@ -45,6 +46,9 @@ class SessionDisplaySerializer(SessionSerializer):
class Meta(SessionSerializer.Meta):
fields = SessionSerializer.Meta.fields + ['command_amount']
extra_kwargs = {
'command_amount': {'label': _('Command amount')},
}
class ReplaySerializer(serializers.Serializer):