Skip to content

Commit

Permalink
Merge pull request #1381 from longguikeji/feature-862
Browse files Browse the repository at this point in the history
feat: 🎸 翻译中译词句禁止翻译
  • Loading branch information
guancyxx authored Oct 28, 2022
2 parents 1844830 + 0a1dbf7 commit 1a441c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/v1/schema/languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ class LanguageDataItemOut(Schema):
)

translated:str = Field(
title=_("译词句")
title=_("译词句"),
notranslation=True
)

class LanguageDataOut(ResponseSchema):
Expand All @@ -60,7 +61,8 @@ class LanguageDataItemCreateIn(Schema):
)

translated:str = Field(
title=_("译词句")
title=_("译词句"),
notranslation=True
)

class LanguageDataItemCreateOut(ResponseSchema):
Expand Down

0 comments on commit 1a441c2

Please sign in to comment.