From 4d058eb8292c93ac0d41e12faee180249cb5961c Mon Sep 17 00:00:00 2001 From: Rohit Date: Sat, 15 Feb 2025 12:17:04 +0530 Subject: [PATCH] feat: add translation for logout notifs --- public/locales/de.json | 13 +++++++++++++ public/locales/en.json | 13 +++++++++++++ public/locales/es.json | 13 +++++++++++++ public/locales/ja.json | 13 +++++++++++++ public/locales/zh.json | 13 +++++++++++++ 5 files changed, 65 insertions(+) diff --git a/public/locales/de.json b/public/locales/de.json index 1ff41fba..7314b677 100644 --- a/public/locales/de.json +++ b/public/locales/de.json @@ -487,6 +487,19 @@ }, "navbar": { "project_name": "Maxun", + "notifications": { + "success": { + "logout": "Erfolgreich abgemeldet" + }, + "errors": { + "logout": { + "unauthorized": "Sie sind nicht berechtigt, diese Aktion durchzuführen", + "server": "Serverfehler beim Abmelden", + "network": "Netzwerkfehler beim Abmelden", + "unknown": "Ein unerwarteter Fehler ist beim Abmelden aufgetreten" + } + } + }, "upgrade": { "button": "Upgrade", "modal": { diff --git a/public/locales/en.json b/public/locales/en.json index 919af547..cfaf9ef4 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -498,6 +498,19 @@ }, "navbar": { "project_name": "Maxun", + "notifications": { + "success": { + "logout": "Logged out successfully" + }, + "errors": { + "logout": { + "unauthorized": "You are not authorized to perform this action", + "server": "Server error occurred during logout", + "network": "Network error while logging out", + "unknown": "An unexpected error occurred during logout" + } + } + }, "upgrade": { "button": "Upgrade", "modal": { diff --git a/public/locales/es.json b/public/locales/es.json index cd79d2cd..ca4edc5d 100644 --- a/public/locales/es.json +++ b/public/locales/es.json @@ -488,6 +488,19 @@ }, "navbar": { "project_name": "Maxun", + "notifications": { + "success": { + "logout": "Sesión cerrada exitosamente" + }, + "errors": { + "logout": { + "unauthorized": "No estás autorizado para realizar esta acción", + "server": "Error del servidor durante el cierre de sesión", + "network": "Error de red al cerrar sesión", + "unknown": "Ocurrió un error inesperado al cerrar sesión" + } + } + }, "upgrade": { "button": "Actualizar", "modal": { diff --git a/public/locales/ja.json b/public/locales/ja.json index d2fe42ea..a4a66143 100644 --- a/public/locales/ja.json +++ b/public/locales/ja.json @@ -488,6 +488,19 @@ }, "navbar": { "project_name": "Maxun", + "notifications": { + "success": { + "logout": "ログアウトに成功しました" + }, + "errors": { + "logout": { + "unauthorized": "この操作を実行する権限がありません", + "server": "ログアウト中にサーバーエラーが発生しました", + "network": "ログアウト中にネットワークエラーが発生しました", + "unknown": "ログアウト中に予期せぬエラーが発生しました" + } + } + }, "upgrade": { "button": "アップグレード", "modal": { diff --git a/public/locales/zh.json b/public/locales/zh.json index e7c58660..c92ed186 100644 --- a/public/locales/zh.json +++ b/public/locales/zh.json @@ -488,6 +488,19 @@ }, "navbar": { "project_name": "Maxun", + "notifications": { + "success": { + "logout": "退出登录成功" + }, + "errors": { + "logout": { + "unauthorized": "您没有执行此操作的权限", + "server": "退出登录时发生服务器错误", + "network": "退出登录时发生网络错误", + "unknown": "退出登录时发生未知错误" + } + } + }, "upgrade": { "button": "升级", "modal": {