mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Merge pull request #587 from silentrald/feat/543
[feat-543] added notification when logging out
This commit is contained in:
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "Das Abmelden ermöglicht es dir, beim nächsten Download von Beat Saber den Account zu wechseln.",
|
||||
"logout": "Abmelden",
|
||||
"logout-success": "Abmeldung erfolgreich",
|
||||
"download-platform": {
|
||||
"title": "Standardplattform",
|
||||
"desc": "Wähle die Standardplattform, die für das Herunterladen von Beat Saber-Versionen verwendet werden soll.",
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "Logging out will allow you to switch accounts on the next Beat Saber download.",
|
||||
"logout": "Log out",
|
||||
"logout-success": "Logout Successful",
|
||||
"download-platform": {
|
||||
"title": "Default Platform",
|
||||
"desc": "Choose the default platform that will be used to download versions of Beat Saber.",
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "Desconectarte te permitirá cambiar de cuenta en la próxima descarga de Beat Saber.",
|
||||
"logout": "Cerrar sesión",
|
||||
"logout-success": "Cierre de sesión exitoso",
|
||||
"download-platform": {
|
||||
"title": "Plataforma predeterminada",
|
||||
"desc": "Elige la plataforma predeterminada que se utilizará para descargar las versiones de Beat Saber.",
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "Te déconnecter te permettra de changer de compte au prochain téléchargement de Beat Saber.",
|
||||
"logout": "Déconnexion",
|
||||
"logout-success": "Déconnexion réussie",
|
||||
"download-platform": {
|
||||
"title": "Plateforme par défaut",
|
||||
"desc": "Choisi la plateforme par défaut qui sera utilisée pour télécharger les versions de Beat Saber.",
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "ログアウトすると、次のBeat Saberダウンロード時にアカウントを切り替えることができます。",
|
||||
"logout": "ログアウト",
|
||||
"logout-success": "ログアウト成功",
|
||||
"download-platform": {
|
||||
"title": "デフォルトプラットフォーム",
|
||||
"desc": "Beat Saberのダウンロードに使用するデフォルトのプラットフォームを選択します。",
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "Выход позволит вам сменить учетную запись при следующей загрузке Beat Saber.",
|
||||
"logout": "Выйти",
|
||||
"logout-success": "Выход выполнен успешно",
|
||||
"download-platform": {
|
||||
"title": "Основная платформа",
|
||||
"desc": "Выберите основную платформу, которая будет использоваться для скачивания версий Beat Saber.",
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "登出後,您可以在下一次下載 Beat Saber 時切換帳戶。",
|
||||
"logout": "登出",
|
||||
"logout-success": "登出成功",
|
||||
"download-platform": {
|
||||
"title": ",預設平台",
|
||||
"desc": "選擇要下載 BeatSaber 的預設平台。",
|
||||
|
||||
@@ -120,6 +120,7 @@
|
||||
"title": "Steam & Oculus",
|
||||
"description": "登出后,您可以在下一次下载 Beat Saber 时切换帐户。",
|
||||
"logout": "登出",
|
||||
"logout-success": "注销成功",
|
||||
"download-platform": {
|
||||
"title": ",默认平台",
|
||||
"desc": "选择要下载 BeatSaber 的默认平台。",
|
||||
|
||||
@@ -136,7 +136,14 @@ export function SettingsPage() {
|
||||
}
|
||||
|
||||
const clearDownloadersSession = () => {
|
||||
if (!hasDownloaderSession) {
|
||||
return;
|
||||
}
|
||||
|
||||
steamDownloader.deleteSteamSession();
|
||||
notificationService.notifyInfo({
|
||||
title: "pages.settings.steam-and-oculus.logout-success",
|
||||
});
|
||||
loadDownloadersSession();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user