Skip to content

Commit

Permalink
Update issue severity i18n key normal (#2505)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuofan authored Oct 25, 2021
1 parent 85a83eb commit ad7ab98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions conf/dop/i18n/component-protocol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ zh:
choose-severity: 选择严重程度
fatal: 致命
serious: 严重
ordinary: 一般
slight: 轻微
suggest: 建议
creator: 创建人
Expand Down Expand Up @@ -189,6 +190,7 @@ en:
choose-severity: Choose Severity
fatal: FATAL
serious: SERIOUS
ordinary: NORMAL
slight: SLIGHT
suggest: SUGGEST
creator: Creator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (f *ComponentFilter) generateFrontendConditionProps(ctx context.Context, fi
Options: []filter.PropConditionOption{
{Label: cputil.I18n(ctx, "fatal"), Value: "FATAL", Icon: ""},
{Label: cputil.I18n(ctx, "serious"), Value: "SERIOUS", Icon: ""},
{Label: cputil.I18n(ctx, "normal"), Value: "NORMAL", Icon: ""},
{Label: cputil.I18n(ctx, "ordinary"), Value: "NORMAL", Icon: ""},
{Label: cputil.I18n(ctx, "slight"), Value: "SLIGHT", Icon: ""},
{Label: cputil.I18n(ctx, "suggest"), Value: "SUGGEST", Icon: ""},
},
Expand Down

0 comments on commit ad7ab98

Please sign in to comment.