From 1e8c3c89da8aa4ff8eb7f0204105e3ddfa0581c0 Mon Sep 17 00:00:00 2001 From: Jeder Date: Tue, 1 Aug 2023 23:21:44 +0200 Subject: [PATCH] Remove "Welcome back" --- locales/ar-SA.yml | 1 - locales/bn-BD.yml | 1 - locales/ca-ES.yml | 1 - locales/de-DE.yml | 1 - locales/en-US.yml | 1 - locales/es-ES.yml | 1 - locales/fi.yml | 1 - locales/fr-FR.yml | 1 - locales/id-ID.yml | 1 - locales/it-IT.yml | 1 - locales/ja-JP.yml | 1 - locales/ko-KR.yml | 1 - locales/pl-PL.yml | 1 - locales/ru-RU.yml | 1 - locales/sk-SK.yml | 1 - locales/th-TH.yml | 1 - locales/tr-TR.yml | 1 - locales/uk-UA.yml | 1 - locales/vi-VN.yml | 1 - locales/zh-CN.yml | 1 - locales/zh-TW.yml | 1 - packages/client/src/init.ts | 14 -------------- 22 files changed, 35 deletions(-) diff --git a/locales/ar-SA.yml b/locales/ar-SA.yml index 3bddcf8a7..6466a3b3d 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 42ec03465..5132e5ff6 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/ca-ES.yml b/locales/ca-ES.yml index 6328a241c..9df20a1aa 100644 --- a/locales/ca-ES.yml +++ b/locales/ca-ES.yml @@ -1808,7 +1808,6 @@ filter: Filtre slow: Lenta useDrawerReactionPickerForMobile: Mostra el selector de reaccions com a calaix al mòbil -welcomeBackWithName: Benvingut de nou, {name} showLocalPosts: 'Mostra les notes locals a:' homeTimeline: Línea de temps Inicial socialTimeline: Línea de temps Social diff --git a/locales/de-DE.yml b/locales/de-DE.yml index e66acf059..6612bb6b9 100644 --- a/locales/de-DE.yml +++ b/locales/de-DE.yml @@ -915,7 +915,6 @@ 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" diff --git a/locales/en-US.yml b/locales/en-US.yml index 3977780da..a6ce1b927 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -955,7 +955,6 @@ alt: "ALT" 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/es-ES.yml b/locales/es-ES.yml index 93ed1ea07..9c2c4cb70 100644 --- a/locales/es-ES.yml +++ b/locales/es-ES.yml @@ -899,7 +899,6 @@ hide: "Ocultar" leaveGroup: "Dejar el grupo" leaveGroupConfirm: "¿Desea salir de {name}?" useDrawerReactionPickerForMobile: "Mostrar panel de reacciones en móviles" -welcomeBackWithName: "Bienvenido otra vez, {name}" clickToFinishEmailVerification: "Cliquée {ok} y verifique su correo" overridedDeviceKind: "Tipo de dispositivo" smartphone: "Teléfono smartphone" diff --git a/locales/fi.yml b/locales/fi.yml index 2d04c3018..a1884735e 100644 --- a/locales/fi.yml +++ b/locales/fi.yml @@ -946,7 +946,6 @@ voteConfirm: Vahvista äänesi vaihtoehdolle "{choice}"? hide: Piilota leaveGroup: Poistu ryhmästä leaveGroupConfirm: Oletko varma, että haluat poistua ryhmästä "{name}"? -welcomeBackWithName: Tervetuloa takaisin, {name} clickToFinishEmailVerification: Klikkaa [{ok}] viimeistelläksesi sähköpostivahvistuksen. overridedDeviceKind: Laitetyyppi tablet: Tabletti diff --git a/locales/fr-FR.yml b/locales/fr-FR.yml index c00b214ef..58619dfc1 100644 --- a/locales/fr-FR.yml +++ b/locales/fr-FR.yml @@ -906,7 +906,6 @@ leaveGroup: "Quitter le groupe" leaveGroupConfirm: "Êtes vous sûr de vouloir quitter \"{name}\" ?" useDrawerReactionPickerForMobile: "Afficher le sélecteur de réactions en tant que panneau sur mobile" -welcomeBackWithName: "Heureux de vous revoir, {name}" clickToFinishEmailVerification: "Veuillez cliquer sur [{ok}] afin de compléter la vérification par courriel." overridedDeviceKind: "Type d’appareil" diff --git a/locales/id-ID.yml b/locales/id-ID.yml index a0bb7f237..5e07d6762 100644 --- a/locales/id-ID.yml +++ b/locales/id-ID.yml @@ -900,7 +900,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" diff --git a/locales/it-IT.yml b/locales/it-IT.yml index 445bad5fa..d521bc189 100644 --- a/locales/it-IT.yml +++ b/locales/it-IT.yml @@ -865,7 +865,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." searchByGoogle: "Cerca" diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 31f50c20f..0023c0f5b 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -861,7 +861,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 dc21d7c80..38cace21b 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -825,7 +825,6 @@ hide: "숨기기" leaveGroup: "그룹 나가기" leaveGroupConfirm: "\"{name}\"에서 나갈까요?" useDrawerReactionPickerForMobile: "모바일에서 드로어 메뉴로 표시" -welcomeBackWithName: "환영합니다, {name}님" clickToFinishEmailVerification: "[{ok}]를 눌러 이메일 인증을 완료하세요." overridedDeviceKind: "장치 유형" smartphone: "스마트폰" diff --git a/locales/pl-PL.yml b/locales/pl-PL.yml index e37d11b82..ca9b6f90a 100644 --- a/locales/pl-PL.yml +++ b/locales/pl-PL.yml @@ -863,7 +863,6 @@ leaveGroup: "Opuść grupę" leaveGroupConfirm: "Czy na pewno chcesz opuścić \"{name}\"?" useDrawerReactionPickerForMobile: "Wyświetlaj wybornik reakcji jako szufladę na urządzeniach mobilnych" -welcomeBackWithName: "Witaj z powrotem, {name}" clickToFinishEmailVerification: "Kliknij [{ok}], aby zakończyć weryfikację e-mail." overridedDeviceKind: "Typ urządzenia" smartphone: "Smartfon" diff --git a/locales/ru-RU.yml b/locales/ru-RU.yml index 192a5996a..d3b044b7d 100644 --- a/locales/ru-RU.yml +++ b/locales/ru-RU.yml @@ -887,7 +887,6 @@ hide: "Спрятать" leaveGroup: "Покинуть группу" leaveGroupConfirm: "Покинуть группу «{name}»?" useDrawerReactionPickerForMobile: "Выдвижная палитра на мобильном устройстве" -welcomeBackWithName: "С возвращением, {name}" clickToFinishEmailVerification: "Пожалуйста, нажмите [{ok}], чтобы завершить подтверждение адреса электронной почты." overridedDeviceKind: "Тип устройства" diff --git a/locales/sk-SK.yml b/locales/sk-SK.yml index 2bb5d5de5..52d165dae 100644 --- a/locales/sk-SK.yml +++ b/locales/sk-SK.yml @@ -824,7 +824,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/th-TH.yml b/locales/th-TH.yml index 0491d8d09..9f2d9c359 100644 --- a/locales/th-TH.yml +++ b/locales/th-TH.yml @@ -825,7 +825,6 @@ hide: "ซ่อน" leaveGroup: "ออกจากกลุ่ม" leaveGroupConfirm: "คุณแน่ใจหรอว่าต้องการออกจาก \"{name}\"" useDrawerReactionPickerForMobile: "แสดงผล ตัวเลือกปฏิกิริยาเป็นลิ้นชักบนมือถือ" -welcomeBackWithName: "ยินดีต้อนรับการกลับมานะค่ะ, {name}" clickToFinishEmailVerification: "กรุณาคลิก [{ok}] เพื่อดำเนินการยืนยันอีเมลให้เสร็จสมบูรณ์นะ" overridedDeviceKind: "ประเภทอุปกรณ์" smartphone: "สมาร์ทโฟน" diff --git a/locales/tr-TR.yml b/locales/tr-TR.yml index 6b6ba6d7d..3aade1a70 100644 --- a/locales/tr-TR.yml +++ b/locales/tr-TR.yml @@ -1124,7 +1124,6 @@ privateModeInfo: Etkinleştirildiğinde, yalnızca beyaz listedeki sunucular sun itsOff: Etkinsizleştirilmiş ffVisibilityDescription: Kimleri takip ettiğinizi ve kimlerin sizi takip ettiğini kimlerin görebileceğini yapılandırmanıza izin verir. -welcomeBackWithName: Tekrar hoş geldin {name} themeColor: Sunucu Kayan Yazı Rengi audio: Ses recentNHours: Son {n} saat diff --git a/locales/uk-UA.yml b/locales/uk-UA.yml index df8c684e3..87b0ae5ed 100644 --- a/locales/uk-UA.yml +++ b/locales/uk-UA.yml @@ -1791,7 +1791,6 @@ useDrawerReactionPickerForMobile: Відображати вибирач реак leaveGroupConfirm: Ви впевнені, що хочете залишити "{name}"? clickToFinishEmailVerification: Будь ласка, натисніть [{ok}], щоб завершити перевірку електронної пошти. -welcomeBackWithName: Ласкаво просимо назад, {name} overridedDeviceKind: Тип пристрою themeColor: Колір теми серверу oneDay: Один день diff --git a/locales/vi-VN.yml b/locales/vi-VN.yml index 304531a63..8a2958e74 100644 --- a/locales/vi-VN.yml +++ b/locales/vi-VN.yml @@ -825,7 +825,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 731cea9dc..ad41598ac 100644 --- a/locales/zh-CN.yml +++ b/locales/zh-CN.yml @@ -832,7 +832,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 906448817..ec558ef92 100644 --- a/locales/zh-TW.yml +++ b/locales/zh-TW.yml @@ -829,7 +829,6 @@ hide: "隱藏" leaveGroup: "離開群組" leaveGroupConfirm: "確定離開「{name}」?" useDrawerReactionPickerForMobile: "在移動設備上使用抽屜顯示" -welcomeBackWithName: "歡迎回來,{name}" clickToFinishEmailVerification: "點擊 [{ok}] 完成電子郵件地址認證。" overridedDeviceKind: "裝置類型" smartphone: "智慧型手機" diff --git a/packages/client/src/init.ts b/packages/client/src/init.ts index e6b24f608..d51ddeb1d 100644 --- a/packages/client/src/init.ts +++ b/packages/client/src/init.ts @@ -440,20 +440,6 @@ function checkForSplash() { }); } - 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") {