Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the i18n issue of the [New Notice Policy] form. #2117

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
nzMode="multiple"
id="receiver"
name="receiver"
nzPlaceHolder="Select a receiver"
[nzPlaceHolder]="'alert.notice.receiver.people.placeholder' | i18n"
nzShowSearch
required
>
Expand All @@ -397,7 +397,7 @@
[nzOptions]="templatesOption"
id="templates"
name="templates"
nzPlaceHolder="Select a template"
[nzPlaceHolder]="'alert.notice.template.placeholder' | i18n"
nzShowSearch
nzAllowClear
>
Expand All @@ -423,7 +423,7 @@
name="tags"
nzAllowClear
nzMode="multiple"
nzPlaceHolder="Select Tags"
[nzPlaceHolder]="'alert.notice.rule.tag.placeholder' | i18n"
nzShowSearch
required
>
Expand All @@ -441,7 +441,7 @@
name="priorities"
nzAllowClear
nzMode="multiple"
nzPlaceHolder="Select Priorities"
[nzPlaceHolder]="'alert.notice.rule.priority.placeholder' | i18n"
nzShowSearch
required
>
Expand Down
4 changes: 4 additions & 0 deletions web-app/src/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,13 @@
"alert.notice.template.preset.true": "System Preset",
"alert.notice.template.preset.false": "User Custom",
"alert.notice.template.content": "Template Content",
"alert.notice.template.placeholder": "Select a template",
"alert.notice.receiver": "Notice Receiver",
"alert.notice.receiver.new": "New Receiver",
"alert.notice.receiver.edit": "Edit Receiver",
"alert.notice.receiver.delete": "Delete Receiver",
"alert.notice.receiver.people": "Receiver",
"alert.notice.receiver.people.placeholder": "Select a receiver",
"alert.notice.receiver.people.name": "Receiver Name",
"alert.notice.receiver.type": "Notice Type",
"alert.notice.receiver.setting": "Setting",
Expand Down Expand Up @@ -307,7 +309,9 @@
"alert.notice.rule.all": "Dispatch ALl",
"alert.notice.rule.enable": "Enable",
"alert.notice.rule.tag": "Tag Match",
"alert.notice.rule.tag.placeholder": "Select Tags",
"alert.notice.rule.priority": "Priority Match",
"alert.notice.rule.priority.placeholder": "Select Priorities",
"alert.notice.rule.period": "Time Period",
"alert.notice.rule.period-chose": "Choose Date",
"alert.notice.rule.period.no-limit": "Unlimited",
Expand Down
4 changes: 4 additions & 0 deletions web-app/src/assets/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,13 @@
"alert.notice.template.preset.true": "系统内置模版",
"alert.notice.template.preset.false": "用户自定义模版",
"alert.notice.template.content": "模板内容",
"alert.notice.template.placeholder": "选择模版",
"alert.notice.receiver": "通知媒介",
"alert.notice.receiver.new": "新增接收对象",
"alert.notice.receiver.edit": "编辑接收对象",
"alert.notice.receiver.delete": "删除接收对象",
"alert.notice.receiver.people": "接收对象",
"alert.notice.receiver.people.placeholder": "选择接收对象",
"alert.notice.receiver.people.name": "接收对象名称",
"alert.notice.receiver.type": "通知方式",
"alert.notice.receiver.setting": "配置",
Expand Down Expand Up @@ -308,7 +310,9 @@
"alert.notice.rule.all": "转发所有",
"alert.notice.rule.enable": "是否启用",
"alert.notice.rule.tag": "标签匹配",
"alert.notice.rule.tag.placeholder": "选择标签",
"alert.notice.rule.priority": "级别匹配",
"alert.notice.rule.priority.placeholder": "选择级别",
"alert.notice.rule.period": "时间周期",
"alert.notice.rule.period-chose": "选择日期",
"alert.notice.rule.period.no-limit": "无限制",
Expand Down
4 changes: 4 additions & 0 deletions web-app/src/assets/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,11 +254,13 @@
"alert.notice.template.preset.true": "系統內建模版",
"alert.notice.template.preset.false": "用戶自定義模版",
"alert.notice.template.content": "模板内容",
"alert.notice.template.placeholder": "選擇模版",
"alert.notice.receiver": "通知媒介",
"alert.notice.receiver.new": "新增接收对象",
"alert.notice.receiver.edit": "編輯接收对象",
"alert.notice.receiver.delete": "刪除接收对象",
"alert.notice.receiver.people": "接收对象",
"alert.notice.receiver.people.placeholder": "選擇接收对象",
"alert.notice.receiver.people.name": "接收对象名稱",
"alert.notice.receiver.type": "通知方式",
"alert.notice.receiver.setting": "配置",
Expand Down Expand Up @@ -307,7 +309,9 @@
"alert.notice.rule.all": "轉發所有",
"alert.notice.rule.enable": "是否啓用",
"alert.notice.rule.tag": "標簽匹配",
"alert.notice.rule.tag.placeholder": "選擇標簽",
"alert.notice.rule.priority": "級別匹配",
"alert.notice.rule.priority.placeholder": "選擇級別",
"alert.notice.rule.period": "時間週期",
"alert.notice.rule.period-chose": "選擇日期",
"alert.notice.rule.period.no-limit": "無限制",
Expand Down
Loading