Skip to content

Commit

Permalink
[Improve] Message notification prompt optimization (#3095)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangshenghang authored Feb 23, 2025
1 parent b5b4771 commit 3df0e56
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion web-app/src/app/layout/basic/widgets/notify.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import { GeneralConfigService } from '../../../service/general-config.service';
ngClass="alain-default__nav-item-icon"
(click)="toggleMute($event)"
nz-tooltip
[nzTooltipTitle]="'common.mute' | i18n"
[nzTooltipTitle]="(mute.mute ? 'common.unmute' : 'common.mute') | i18n"
></i>
</nz-badge>
</div>
Expand Down
1 change: 1 addition & 0 deletions web-app/src/assets/i18n/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"common.file.select": "Select File",
"common.ignore": "Ignore",
"common.mute": "Mute",
"common.unmute": "Unmute",
"common.name": "Metric Name",
"common.new-time": "Create Time",
"common.no": "No",
Expand Down
1 change: 1 addition & 0 deletions web-app/src/assets/i18n/ja-JP.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"common.file.select": "ファイルを選択",
"common.ignore": "無視",
"common.mute": "ミュート",
"common.unmute": "ミュート解除",
"common.name": "メトリック名",
"common.new-time": "作成時間",
"common.no": "いいえ",
Expand Down
1 change: 1 addition & 0 deletions web-app/src/assets/i18n/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"common.file.select": "选择文件",
"common.ignore": "忽略",
"common.mute": "静音",
"common.unmute": "取消静音",
"common.name": "指标名",
"common.new-time": "创建时间",
"common.no": "",
Expand Down
1 change: 1 addition & 0 deletions web-app/src/assets/i18n/zh-TW.json
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@
"common.file.select": "選擇文件",
"common.ignore": "忽略",
"common.mute": "靜音",
"common.unmute": "取消靜音",
"common.name": "指標名",
"common.new-time": "創建時間",
"common.no": "",
Expand Down

0 comments on commit 3df0e56

Please sign in to comment.