diff --git a/locales/ar-SA.yml b/locales/ar-SA.yml
index 1ccb9a7c0..2f5658a96 100644
--- a/locales/ar-SA.yml
+++ b/locales/ar-SA.yml
@@ -785,7 +785,6 @@ voteConfirm: "متيقِّن من تصويتك لـ {choice}؟"
hide: "إخفاء"
leaveGroup: "مغادرة الفريق"
leaveGroupConfirm: "متيقن من مغادرة \"{name}\"؟"
-welcomeBackWithName: "مرحبًا بك مجددًا {name}"
clickToFinishEmailVerification: "انقر [{ok}] لاستيثاق بريدك الإلكتروني."
overridedDeviceKind: "نوع الجهاز"
smartphone: "هاتف ذكي"
diff --git a/locales/bn-BD.yml b/locales/bn-BD.yml
index 4129dc006..24255a1e8 100644
--- a/locales/bn-BD.yml
+++ b/locales/bn-BD.yml
@@ -820,7 +820,6 @@ hide: "লুকান"
leaveGroup: "গ্রুপ ছেড়ে চলে যান"
leaveGroupConfirm: "\"{name}\" গ্রুপ ছেড়ে চলে যেতে চান?"
useDrawerReactionPickerForMobile: "মোবাইলে রিঅ্যাকশন পিকারকে ড্রয়ারে প্রদর্শন করুন"
-welcomeBackWithName: "আবার স্বাগতম, {name}"
clickToFinishEmailVerification: " [{ok}] ক্লিক করার মাধ্যমে আপনার ইমেল ঠিকানা নিশ্চিত করুন।"
overridedDeviceKind: "ডিভাইসের ধরন"
smartphone: "স্মার্টফোন"
diff --git a/locales/de-DE.yml b/locales/de-DE.yml
index 41b8f2f4a..e848579df 100644
--- a/locales/de-DE.yml
+++ b/locales/de-DE.yml
@@ -821,7 +821,6 @@ hide: "Inhalt verbergen"
leaveGroup: "Gruppe verlassen"
leaveGroupConfirm: "Möchtest du „{name}“ wirklich verlassen?"
useDrawerReactionPickerForMobile: "Auf mobilen Geräten ausfahrbare Reaktionsauswahl anzeigen"
-welcomeBackWithName: "Willkommen zurück, {name}"
clickToFinishEmailVerification: "Drücke bitte auf [{ok}], um die Email-Bestätigung abzuschließen."
overridedDeviceKind: "Gerätetyp"
smartphone: "Smartphone"
diff --git a/locales/en-US.yml b/locales/en-US.yml
index 7183dfca3..8e9fc66a4 100644
--- a/locales/en-US.yml
+++ b/locales/en-US.yml
@@ -821,7 +821,6 @@ hide: "Hide"
leaveGroup: "Leave group"
leaveGroupConfirm: "Are you sure you want to leave \"{name}\"?"
useDrawerReactionPickerForMobile: "Display reaction picker as drawer on mobile"
-welcomeBackWithName: "Welcome back, {name}"
clickToFinishEmailVerification: "Please click [{ok}] to complete email verification."
overridedDeviceKind: "Device type"
smartphone: "Smartphone"
diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml
index afe9183f5..259f93941 100644
--- a/locales/fr-FR.yml
+++ b/locales/fr-FR.yml
@@ -814,7 +814,6 @@ voteConfirm: "Confirmez-vous votre vote pour « {choice} » ?"
hide: "Masquer"
leaveGroup: "Quitter le groupe"
leaveGroupConfirm: "Êtes vous sûr de vouloir quitter \"{name}\" ?"
-welcomeBackWithName: "Heureux de vous revoir, {name}"
clickToFinishEmailVerification: "Veuillez cliquer sur [{ok}] afin de compléter la vérification par courriel."
overridedDeviceKind: "Type d’appareil"
smartphone: "Smartphone"
diff --git a/locales/id-ID.yml b/locales/id-ID.yml
index 5457612d8..a54f45b9d 100644
--- a/locales/id-ID.yml
+++ b/locales/id-ID.yml
@@ -820,7 +820,6 @@ hide: "Sembunyikan"
leaveGroup: "Keluar grup"
leaveGroupConfirm: "Apakah kamu yakin untuk keluar dari \"{name}\"?"
useDrawerReactionPickerForMobile: "Tampilkan bilah reaksi sebagai laci di ponsel"
-welcomeBackWithName: "Selamat datang kembali, {name}."
clickToFinishEmailVerification: "Mohon klik [{ok}] untuk menyelesaikan verifikasi email."
overridedDeviceKind: "Tipe perangkat"
smartphone: "Ponsel"
diff --git a/locales/it-IT.yml b/locales/it-IT.yml
index d303e5e52..94b480cf5 100644
--- a/locales/it-IT.yml
+++ b/locales/it-IT.yml
@@ -800,7 +800,6 @@ hide: "Nascondere"
leaveGroup: "Esci dal gruppo"
leaveGroupConfirm: "Uscire da「{name}」?"
useDrawerReactionPickerForMobile: "Mostra sul drawer da dispositivo mobile"
-welcomeBackWithName: "Bentornato/a, {name}"
clickToFinishEmailVerification: "Fai click su [{ok}] per completare la verifica dell'indirizzo email."
indefinitely: "Non scade"
tenMinutes: "10 minuti"
diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml
index 5f12894d2..8c4f52d58 100644
--- a/locales/ja-JP.yml
+++ b/locales/ja-JP.yml
@@ -823,7 +823,6 @@ hide: "隠す"
leaveGroup: "グループから抜ける"
leaveGroupConfirm: "「{name}」から抜けますか?"
useDrawerReactionPickerForMobile: "モバイルデバイスのときドロワーで表示"
-welcomeBackWithName: "おかえりなさい、{name}さん"
clickToFinishEmailVerification: "[{ok}]を押して、メールアドレスの確認を完了してください。"
overridedDeviceKind: "デバイスタイプ"
smartphone: "スマートフォン"
diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml
index 6911ecaf8..620b9f430 100644
--- a/locales/ko-KR.yml
+++ b/locales/ko-KR.yml
@@ -820,7 +820,6 @@ hide: "숨기기"
leaveGroup: "그룹 나가기"
leaveGroupConfirm: "\"{name}\"에서 나갈까요?"
useDrawerReactionPickerForMobile: "모바일에서 드로어 메뉴로 표시"
-welcomeBackWithName: "환영합니다, {name}님"
clickToFinishEmailVerification: "[{ok}]를 눌러 이메일 인증을 완료하세요."
overridedDeviceKind: "장치 유형"
smartphone: "스마트폰"
diff --git a/locales/ru-RU.yml b/locales/ru-RU.yml
index 3e8ecf593..b983ecca8 100644
--- a/locales/ru-RU.yml
+++ b/locales/ru-RU.yml
@@ -818,7 +818,6 @@ hide: "Спрятать"
leaveGroup: "Покинуть группу"
leaveGroupConfirm: "Покинуть группу «{name}»?"
useDrawerReactionPickerForMobile: "Выдвижная палитра на мобильном устройстве"
-welcomeBackWithName: "С возвращением, {name}!"
clickToFinishEmailVerification: "Пожалуйста, нажмите [{ok}], чтобы завершить подтверждение адреса электронной почты."
overridedDeviceKind: "Тип устройства"
smartphone: "Смартфон"
diff --git a/locales/sk-SK.yml b/locales/sk-SK.yml
index b0b3a66c3..34cb03aec 100644
--- a/locales/sk-SK.yml
+++ b/locales/sk-SK.yml
@@ -819,7 +819,6 @@ hide: "Skryť"
leaveGroup: "Opustiť skupiny"
leaveGroupConfirm: "Naozaj chcete opustiť \"{name}\"?"
useDrawerReactionPickerForMobile: "Zobraziť výber reakcií ako šuflík na mobile"
-welcomeBackWithName: "Vitajte späť, {name}"
clickToFinishEmailVerification: "Kliknutím na [{ok}] dokončíte overeniu emailu."
overridedDeviceKind: "Typ zariadenia"
smartphone: "Smartfón"
diff --git a/locales/vi-VN.yml b/locales/vi-VN.yml
index 9bbca57f6..398028765 100644
--- a/locales/vi-VN.yml
+++ b/locales/vi-VN.yml
@@ -820,7 +820,6 @@ hide: "Ẩn"
leaveGroup: "Rời khỏi nhóm"
leaveGroupConfirm: "Bạn có chắc muốn rời khỏi nhóm \"{name}\"?"
useDrawerReactionPickerForMobile: "Hiện bộ chọn biểu cảm dạng xổ ra trên điện thoại"
-welcomeBackWithName: "Chào mừng trở lại, {name}"
clickToFinishEmailVerification: "Vui lòng nhấn [{ok}] để hoàn tất việc đăng ký."
overridedDeviceKind: "Loại thiết bị"
smartphone: "Điện thoại"
diff --git a/locales/zh-CN.yml b/locales/zh-CN.yml
index 1a93c8e98..a3811804b 100644
--- a/locales/zh-CN.yml
+++ b/locales/zh-CN.yml
@@ -820,7 +820,6 @@ hide: "隐藏"
leaveGroup: "离开群组"
leaveGroupConfirm: "确定离开「{name}」?"
useDrawerReactionPickerForMobile: "在移动设备上使用抽屉显示"
-welcomeBackWithName: "欢迎回来,{name}"
clickToFinishEmailVerification: "点击 [{ok}] 完成电子邮件地址认证。"
overridedDeviceKind: "设备类型"
smartphone: "智能手机"
diff --git a/locales/zh-TW.yml b/locales/zh-TW.yml
index 4746d6f74..d40d443c8 100644
--- a/locales/zh-TW.yml
+++ b/locales/zh-TW.yml
@@ -820,7 +820,6 @@ hide: "隱藏"
leaveGroup: "離開群組"
leaveGroupConfirm: "確定離開「{name}」?"
useDrawerReactionPickerForMobile: "在移動設備上使用抽屜顯示"
-welcomeBackWithName: "歡迎回來,{name}"
clickToFinishEmailVerification: "點擊 [{ok}] 完成電子郵件地址認證。"
overridedDeviceKind: "裝置類型"
smartphone: "智慧型手機"
diff --git a/packages/client/src/components/toast.vue b/packages/client/src/components/toast.vue
deleted file mode 100644
index c9fad64eb..000000000
--- a/packages/client/src/components/toast.vue
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts
index 94e7f9f6b..d3db31853 100644
--- a/packages/client/src/init.ts
+++ b/packages/client/src/init.ts
@@ -24,7 +24,7 @@ import { version, ui, lang, host } from '@/config';
import { applyTheme } from '@/scripts/theme';
import { isDeviceDarkmode } from '@/scripts/is-device-darkmode';
import { i18n } from '@/i18n';
-import { confirm, alert, post, popup, toast } from '@/os';
+import { confirm, alert, post, popup } from '@/os';
import { stream } from '@/stream';
import * as sound from '@/scripts/sound';
import { $i, refreshAccount, login, updateAccount, signout } from '@/account';
@@ -348,18 +348,6 @@ import { getAccountFromId } from '@/scripts/get-account-from-id';
});
}
- const lastUsed = localStorage.getItem('lastUsed');
- if (lastUsed) {
- const lastUsedDate = parseInt(lastUsed, 10);
- // 二時間以上前なら
- if (Date.now() - lastUsedDate > 1000 * 60 * 60 * 2) {
- toast(i18n.t('welcomeBackWithName', {
- name: $i.name || $i.username,
- }));
- }
- }
- localStorage.setItem('lastUsed', Date.now().toString());
-
if ('Notification' in window) {
// 許可を得ていなかったらリクエスト
if (Notification.permission === 'default') {
diff --git a/packages/client/src/os.ts b/packages/client/src/os.ts
index 00dae867d..64fb9b0ea 100644
--- a/packages/client/src/os.ts
+++ b/packages/client/src/os.ts
@@ -198,12 +198,6 @@ export function modalPageWindow(path: string) {
}, {}, 'closed');
}
-export function toast(message: string) {
- popup(defineAsyncComponent(() => import('@/components/toast.vue')), {
- message,
- }, {}, 'closed');
-}
-
export function alert(props: {
type?: 'error' | 'info' | 'success' | 'warning' | 'waiting' | 'question';
title?: string | null;