diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-09-19 02:23:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-19 02:23:12 +0900 |
| commit | 54e0a7f8a8d977c7befc255cc4950a86ac2e72fb (patch) | |
| tree | 037bf47ed77a983ec51e6bc85134974e4433fd88 /src/client/scripts | |
| parent | fix style (diff) | |
| download | sharkey-54e0a7f8a8d977c7befc255cc4950a86ac2e72fb.tar.gz sharkey-54e0a7f8a8d977c7befc255cc4950a86ac2e72fb.tar.bz2 sharkey-54e0a7f8a8d977c7befc255cc4950a86ac2e72fb.zip | |
feat: 凍結された場合のダイアログを実装 (#7811)
* feat: 凍結された場合のダイアログを実装
* Update CHANGELOG.md
* Update basic.js
* improve error handling
* cypressなんもわからん
* Update basic.js
Diffstat (limited to 'src/client/scripts')
| -rw-r--r-- | src/client/scripts/show-suspended-dialog.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/scripts/show-suspended-dialog.ts b/src/client/scripts/show-suspended-dialog.ts new file mode 100644 index 0000000000..dde829cdae --- /dev/null +++ b/src/client/scripts/show-suspended-dialog.ts @@ -0,0 +1,10 @@ +import * as os from '@client/os'; +import { i18n } from '@client/i18n'; + +export function showSuspendedDialog() { + return os.dialog({ + type: 'error', + title: i18n.locale.yourAccountSuspendedTitle, + text: i18n.locale.yourAccountSuspendedDescription + }); +} |