summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/scripts')
-rw-r--r--packages/frontend/src/scripts/show-system-account-dialog.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/frontend/src/scripts/show-system-account-dialog.ts b/packages/frontend/src/scripts/show-system-account-dialog.ts
new file mode 100644
index 0000000000..3c28d901fc
--- /dev/null
+++ b/packages/frontend/src/scripts/show-system-account-dialog.ts
@@ -0,0 +1,15 @@
+/*
+ * SPDX-FileCopyrightText: hazelnoot and other Sharkey contributors
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
+
+import * as os from '@/os.js';
+import { i18n } from '@/i18n.js';
+
+export function showSystemAccountDialog(): Promise<void> {
+ return os.alert({
+ type: 'error',
+ title: i18n.ts.systemAccountTitle,
+ text: i18n.ts.systemAccountDescription,
+ });
+}