@lobehub/chat 1.79.8 → 1.79.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/.eslintrc.js +1 -0
  2. package/CHANGELOG.md +33 -0
  3. package/changelog/v1.json +9 -0
  4. package/locales/ar/oauth.json +7 -6
  5. package/locales/bg-BG/oauth.json +7 -6
  6. package/locales/de-DE/oauth.json +7 -6
  7. package/locales/en-US/oauth.json +7 -6
  8. package/locales/es-ES/oauth.json +7 -6
  9. package/locales/fa-IR/oauth.json +7 -6
  10. package/locales/fr-FR/oauth.json +7 -6
  11. package/locales/it-IT/oauth.json +7 -6
  12. package/locales/ja-JP/oauth.json +7 -6
  13. package/locales/ko-KR/oauth.json +7 -6
  14. package/locales/nl-NL/oauth.json +7 -6
  15. package/locales/pl-PL/oauth.json +7 -6
  16. package/locales/pt-BR/oauth.json +7 -6
  17. package/locales/ru-RU/oauth.json +7 -6
  18. package/locales/tr-TR/oauth.json +7 -6
  19. package/locales/vi-VN/oauth.json +7 -6
  20. package/locales/zh-CN/oauth.json +7 -6
  21. package/locales/zh-TW/oauth.json +7 -6
  22. package/package.json +1 -1
  23. package/src/app/(backend)/oidc/[...oidc]/route.ts +27 -201
  24. package/src/app/(backend)/oidc/consent/route.ts +58 -24
  25. package/src/app/(backend)/trpc/async/[trpc]/route.ts +1 -1
  26. package/src/app/(backend)/trpc/edge/[trpc]/route.ts +2 -2
  27. package/src/app/(backend)/trpc/lambda/[trpc]/route.ts +2 -2
  28. package/src/app/(backend)/trpc/tools/[trpc]/route.ts +2 -2
  29. package/src/app/[variants]/(main)/files/[id]/page.tsx +1 -1
  30. package/src/app/[variants]/oauth/consent/[uid]/Client.tsx +184 -57
  31. package/src/app/[variants]/oauth/consent/[uid]/ClientError.tsx +46 -0
  32. package/src/app/[variants]/oauth/consent/[uid]/page.tsx +19 -21
  33. package/src/components/Branding/ProductLogo/index.tsx +6 -1
  34. package/src/config/aiModels/openai.ts +63 -41
  35. package/src/database/server/models/__tests__/adapter.test.ts +1 -5
  36. package/src/libs/oidc-provider/adapter.ts +47 -0
  37. package/src/libs/oidc-provider/config.ts +4 -5
  38. package/src/libs/oidc-provider/http-adapter.ts +60 -28
  39. package/src/libs/oidc-provider/provider.ts +41 -13
  40. package/src/libs/trpc/async/init.ts +1 -1
  41. package/src/{server → libs/trpc/edge}/context.ts +2 -2
  42. package/src/libs/trpc/{index.ts → edge/index.ts} +8 -8
  43. package/src/libs/trpc/{init.ts → edge/init.ts} +2 -2
  44. package/src/libs/trpc/{middleware → edge/middleware}/jwtPayload.test.ts +3 -3
  45. package/src/libs/trpc/{middleware → edge/middleware}/jwtPayload.ts +3 -2
  46. package/src/libs/trpc/lambda/context.ts +70 -0
  47. package/src/libs/trpc/lambda/index.ts +39 -1
  48. package/src/libs/trpc/lambda/init.ts +26 -0
  49. package/src/libs/trpc/lambda/middleware/index.ts +2 -0
  50. package/src/libs/trpc/{middleware → lambda/middleware}/keyVaults.ts +2 -1
  51. package/src/libs/trpc/lambda/{serverDatabase.ts → middleware/serverDatabase.ts} +2 -1
  52. package/src/libs/trpc/middleware/userAuth.test.ts +3 -3
  53. package/src/libs/trpc/middleware/userAuth.ts +1 -1
  54. package/src/libs/trpc/mock.ts +7 -0
  55. package/src/locales/default/oauth.ts +8 -6
  56. package/src/server/routers/edge/appStatus.ts +1 -1
  57. package/src/server/routers/edge/config/index.test.ts +2 -3
  58. package/src/server/routers/edge/config/index.ts +1 -1
  59. package/src/server/routers/edge/index.ts +1 -1
  60. package/src/server/routers/edge/upload.ts +1 -1
  61. package/src/server/routers/lambda/_template.ts +2 -2
  62. package/src/server/routers/lambda/agent.ts +2 -2
  63. package/src/server/routers/lambda/aiModel.ts +2 -2
  64. package/src/server/routers/lambda/aiProvider.ts +2 -2
  65. package/src/server/routers/lambda/chunk.ts +2 -3
  66. package/src/server/routers/lambda/exporter.ts +2 -2
  67. package/src/server/routers/lambda/file.ts +2 -2
  68. package/src/server/routers/lambda/importer.ts +2 -2
  69. package/src/server/routers/lambda/index.ts +1 -1
  70. package/src/server/routers/lambda/knowledgeBase.ts +2 -2
  71. package/src/server/routers/lambda/message.ts +2 -2
  72. package/src/server/routers/lambda/plugin.ts +2 -2
  73. package/src/server/routers/lambda/ragEval.ts +2 -3
  74. package/src/server/routers/lambda/session.ts +2 -2
  75. package/src/server/routers/lambda/sessionGroup.ts +2 -2
  76. package/src/server/routers/lambda/thread.ts +2 -2
  77. package/src/server/routers/lambda/topic.ts +2 -2
  78. package/src/server/routers/lambda/user.ts +2 -2
  79. package/src/server/routers/tools/__tests__/search.test.ts +2 -2
  80. package/src/server/routers/tools/index.ts +1 -1
  81. package/src/server/routers/tools/search.ts +2 -1
  82. package/src/server/services/oidc/index.ts +36 -1
  83. package/src/server/services/oidc/oidcProvider.ts +1 -3
  84. package/src/server/mock.ts +0 -8
  85. /package/src/{server/asyncContext.ts → libs/trpc/async/context.ts} +0 -0
package/.eslintrc.js CHANGED
@@ -17,6 +17,7 @@ config.rules['unicorn/prefer-spread'] = 0;
17
17
  config.rules['unicorn/catch-error-name'] = 0;
18
18
  config.rules['unicorn/no-array-for-each'] = 0;
19
19
  config.rules['unicorn/prefer-number-properties'] = 0;
20
+ config.rules['unicorn/no-array-callback-reference'] = 0;
20
21
 
21
22
  config.overrides = [
22
23
  {
package/CHANGELOG.md CHANGED
@@ -2,6 +2,39 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.79.9](https://github.com/lobehub/lobe-chat/compare/v1.79.8...v1.79.9)
6
+
7
+ <sup>Released on **2025-04-15**</sup>
8
+
9
+ #### ♻ Code Refactoring
10
+
11
+ - **misc**: Refactor trpc to have a clear obligation.
12
+
13
+ #### 💄 Styles
14
+
15
+ - **misc**: Add GPT-4.1 models.
16
+
17
+ <br/>
18
+
19
+ <details>
20
+ <summary><kbd>Improvements and Fixes</kbd></summary>
21
+
22
+ #### Code refactoring
23
+
24
+ - **misc**: Refactor trpc to have a clear obligation, closes [#7412](https://github.com/lobehub/lobe-chat/issues/7412) ([01c0120](https://github.com/lobehub/lobe-chat/commit/01c0120))
25
+
26
+ #### Styles
27
+
28
+ - **misc**: Add GPT-4.1 models, closes [#7410](https://github.com/lobehub/lobe-chat/issues/7410) ([3c4d7df](https://github.com/lobehub/lobe-chat/commit/3c4d7df))
29
+
30
+ </details>
31
+
32
+ <div align="right">
33
+
34
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
35
+
36
+ </div>
37
+
5
38
  ### [Version 1.79.8](https://github.com/lobehub/lobe-chat/compare/v1.79.7...v1.79.8)
6
39
 
7
40
  <sup>Released on **2025-04-12**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Add GPT-4.1 models."
6
+ ]
7
+ },
8
+ "date": "2025-04-15",
9
+ "version": "1.79.9"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "fixes": [
@@ -4,7 +4,7 @@
4
4
  "accept": "موافقة",
5
5
  "deny": "رفض"
6
6
  },
7
- "description": "تطبيق {clientId} يطلب الوصول إلى حسابك في LobeChat",
7
+ "description": "تطبيق {{clientName}} يطلب إذن حسابك",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "جلسة التفويض منتهية أو غير صالحة، يرجى إعادة بدء عملية التفويض.",
@@ -16,16 +16,17 @@
16
16
  "title": "نوع التفاعل غير مدعوم"
17
17
  }
18
18
  },
19
- "permissionsTitle": "يطلب التطبيق الأذونات التالية:",
19
+ "permissionsTitle": "طلب الأذونات التالية:",
20
+ "redirectUri": "سيتم إعادة التوجيه إلى بعد نجاح التفويض",
20
21
  "scope": {
21
22
  "email": "الوصول إلى عنوان بريدك الإلكتروني",
22
- "offline_access": "الاستمرار في الوصول إلى بياناتك أثناء عدم الاتصال",
23
+ "offline_access": "السماح للتطبيق بالوصول إلى بياناتك",
23
24
  "openid": "استخدام حسابك في LobeChat للتحقق من الهوية",
24
25
  "profile": "الوصول إلى معلومات ملفك الشخصي الأساسية (الاسم، الصورة، إلخ)",
25
- "sync:read": "قراءة بيانات المزامنة الخاصة بك",
26
- "sync:write": "كتابة وتحديث بيانات المزامنة الخاصة بك"
26
+ "sync-read": "قراءة بيانات المزامنة الخاصة بك",
27
+ "sync-write": "كتابة وتحديث بيانات المزامنة الخاصة بك"
27
28
  },
28
- "title": "طلب التفويض"
29
+ "title": "تفويض {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "العودة إلى الصفحة الرئيسية",
@@ -4,7 +4,7 @@
4
4
  "accept": "Разреши",
5
5
  "deny": "Отказ"
6
6
  },
7
- "description": "Приложението {clientId} иска достъп до вашия LobeChat акаунт",
7
+ "description": "Приложението {{clientName}} иска разрешение за вашия акаунт",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "Сесията за разрешение е изтекла или невалидна, моля, стартирайте отново процеса на разрешение.",
@@ -16,16 +16,17 @@
16
16
  "title": "Неподдържан тип взаимодействие"
17
17
  }
18
18
  },
19
- "permissionsTitle": "Приложението иска следните разрешения:",
19
+ "permissionsTitle": "Искаме следните разрешения:",
20
+ "redirectUri": "Ще бъдете пренасочени след успешното разрешение",
20
21
  "scope": {
21
22
  "email": "Достъп до вашия имейл адрес",
22
- "offline_access": "Достъп до вашите данни, докато сте офлайн",
23
+ "offline_access": "Позволете на клиента да получи достъп до вашите данни",
23
24
  "openid": "Аутентификация с вашия LobeChat акаунт",
24
25
  "profile": "Достъп до основната ви информация (име, аватар и др.)",
25
- "sync:read": "Четене на вашите синхронизирани данни",
26
- "sync:write": "Записване и актуализиране на вашите синхронизирани данни"
26
+ "sync-read": "Четене на вашите синхронизирани данни",
27
+ "sync-write": "Записване и актуализиране на вашите синхронизирани данни"
27
28
  },
28
- "title": "Заявка за разрешение"
29
+ "title": "Разрешаване на {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Върнете се на началната страница",
@@ -4,7 +4,7 @@
4
4
  "accept": "Zustimmen",
5
5
  "deny": "Ablehnen"
6
6
  },
7
- "description": "Die Anwendung {clientId} fordert Zugriff auf Ihr LobeChat-Konto an",
7
+ "description": "Die Anwendung {{clientName}} beantragt die Autorisierung Ihres Kontos",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "Die Autorisierungssitzung ist abgelaufen oder ungültig. Bitte starten Sie den Autorisierungsprozess erneut.",
@@ -16,16 +16,17 @@
16
16
  "title": "Nicht unterstützter Interaktionstyp"
17
17
  }
18
18
  },
19
- "permissionsTitle": "Die Anwendung fordert die folgenden Berechtigungen an:",
19
+ "permissionsTitle": "Anforderung der folgenden Berechtigungen:",
20
+ "redirectUri": "Nach erfolgreicher Autorisierung werden Sie umgeleitet zu",
20
21
  "scope": {
21
22
  "email": "Zugriff auf Ihre E-Mail-Adresse",
22
- "offline_access": "Zugriff auf Ihre Daten auch im Offline-Modus",
23
+ "offline_access": "Erlauben Sie dem Client, auf Ihre Daten zuzugreifen",
23
24
  "openid": "Authentifizierung mit Ihrem LobeChat-Konto",
24
25
  "profile": "Zugriff auf Ihre Profilinformationen (Name, Avatar usw.)",
25
- "sync:read": "Lesen Ihrer Synchronisierungsdaten",
26
- "sync:write": "Schreiben und Aktualisieren Ihrer Synchronisierungsdaten"
26
+ "sync-read": "Lesen Sie Ihre synchronisierten Daten",
27
+ "sync-write": "Schreiben und Aktualisieren Sie Ihre synchronisierten Daten"
27
28
  },
28
- "title": "Autorisierungsanfrage"
29
+ "title": "Autorisierung von {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Zurück zur Startseite",
@@ -4,7 +4,7 @@
4
4
  "accept": "Authorize",
5
5
  "deny": "Deny"
6
6
  },
7
- "description": "The application {clientId} is requesting access to your LobeChat account",
7
+ "description": "The application {{clientName}} is requesting authorization for your account",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "The authorization session has expired or is invalid. Please restart the authorization process.",
@@ -16,16 +16,17 @@
16
16
  "title": "Unsupported Interaction Type"
17
17
  }
18
18
  },
19
- "permissionsTitle": "The application requests the following permissions:",
19
+ "permissionsTitle": "Requesting the following permissions:",
20
+ "redirectUri": "You will be redirected to after successful authorization",
20
21
  "scope": {
21
22
  "email": "Access your email address",
22
- "offline_access": "Continue to access your data while you are offline",
23
+ "offline_access": "Allow the client to access your data",
23
24
  "openid": "Authenticate using your LobeChat account",
24
25
  "profile": "Access your basic profile information (name, avatar, etc.)",
25
- "sync:read": "Read your sync data",
26
- "sync:write": "Write and update your sync data"
26
+ "sync-read": "Read your synchronized data",
27
+ "sync-write": "Write and update your synchronized data"
27
28
  },
28
- "title": "Authorization Request"
29
+ "title": "Authorize {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Back to Home",
@@ -4,7 +4,7 @@
4
4
  "accept": "Autorizar",
5
5
  "deny": "Denegar"
6
6
  },
7
- "description": "La aplicación {clientId} solicita acceso a su cuenta de LobeChat",
7
+ "description": "La aplicación {{clientName}} solicita autorización para su cuenta",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "La sesión de autorización ha expirado o es inválida, por favor inicie nuevamente el proceso de autorización.",
@@ -16,16 +16,17 @@
16
16
  "title": "Tipo de interacción no soportado"
17
17
  }
18
18
  },
19
- "permissionsTitle": "La aplicación solicita los siguientes permisos:",
19
+ "permissionsTitle": "Solicitar los siguientes permisos:",
20
+ "redirectUri": "Se redirigirá a después de la autorización exitosa",
20
21
  "scope": {
21
22
  "email": "Acceder a su dirección de correo electrónico",
22
- "offline_access": "Continuar accediendo a sus datos mientras está desconectado",
23
+ "offline_access": "Permitir que el cliente acceda a sus datos",
23
24
  "openid": "Autenticarse con su cuenta de LobeChat",
24
25
  "profile": "Acceder a su información básica de perfil (nombre, foto, etc.)",
25
- "sync:read": "Leer sus datos de sincronización",
26
- "sync:write": "Escribir y actualizar sus datos de sincronización"
26
+ "sync-read": "Leer sus datos sincronizados",
27
+ "sync-write": "Escribir y actualizar sus datos sincronizados"
27
28
  },
28
- "title": "Solicitud de autorización"
29
+ "title": "Autorizar {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Volver a la página de inicio",
@@ -4,7 +4,7 @@
4
4
  "accept": "اجازه",
5
5
  "deny": "رد"
6
6
  },
7
- "description": "برنامه {clientId} درخواست دسترسی به حساب LobeChat شما را دارد",
7
+ "description": "برنامه {{clientName}} درخواست مجوز حساب شما را دارد",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "جلسه مجوز منقضی یا نامعتبر است، لطفاً فرآیند مجوز را دوباره آغاز کنید.",
@@ -16,16 +16,17 @@
16
16
  "title": "نوع تعامل پشتیبانی نمی‌شود"
17
17
  }
18
18
  },
19
- "permissionsTitle": "برنامه درخواست دسترسی به مجوزهای زیر را دارد:",
19
+ "permissionsTitle": "درخواست مجوزهای زیر:",
20
+ "redirectUri": "پس از موفقیت در مجوز، به آدرس زیر هدایت می‌شوید",
20
21
  "scope": {
21
22
  "email": "دسترسی به آدرس ایمیل شما",
22
- "offline_access": "دسترسی به داده‌های شما در حالت آفلاین",
23
+ "offline_access": "اجازه دسترسی به داده‌های شما توسط کلاینت",
23
24
  "openid": "احراز هویت با حساب LobeChat شما",
24
25
  "profile": "دسترسی به اطلاعات پروفایل شما (نام، تصویر پروفایل و غیره)",
25
- "sync:read": "خواندن داده‌های همگام‌سازی شما",
26
- "sync:write": "نوشتن و به‌روزرسانی داده‌های همگام‌سازی شما"
26
+ "sync-read": "خواندن داده‌های همگام‌سازی شده شما",
27
+ "sync-write": "نوشتن و به‌روزرسانی داده‌های همگام‌سازی شده شما"
27
28
  },
28
- "title": "درخواست مجوز"
29
+ "title": "مجوز {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "بازگشت به صفحه اصلی",
@@ -4,7 +4,7 @@
4
4
  "accept": "Autoriser",
5
5
  "deny": "Refuser"
6
6
  },
7
- "description": "L'application {clientId} demande l'accès à votre compte LobeChat",
7
+ "description": "L'application {{clientName}} demande l'autorisation de votre compte",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "La session d'autorisation a expiré ou est invalide, veuillez relancer le processus d'autorisation.",
@@ -16,16 +16,17 @@
16
16
  "title": "Type d'interaction non pris en charge"
17
17
  }
18
18
  },
19
- "permissionsTitle": "L'application demande les permissions suivantes :",
19
+ "permissionsTitle": "Demander les autorisations suivantes :",
20
+ "redirectUri": "Vous serez redirigé vers après une autorisation réussie",
20
21
  "scope": {
21
22
  "email": "Accéder à votre adresse e-mail",
22
- "offline_access": "Continuer à accéder à vos données lorsque vous êtes hors ligne",
23
+ "offline_access": "Autoriser le client à accéder à vos données",
23
24
  "openid": "S'authentifier avec votre compte LobeChat",
24
25
  "profile": "Accéder à vos informations de profil (nom, photo, etc.)",
25
- "sync:read": "Lire vos données de synchronisation",
26
- "sync:write": "Écrire et mettre à jour vos données de synchronisation"
26
+ "sync-read": "Lire vos données synchronisées",
27
+ "sync-write": "Écrire et mettre à jour vos données synchronisées"
27
28
  },
28
- "title": "Demande d'autorisation"
29
+ "title": "Autoriser {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Retour à l'accueil",
@@ -4,7 +4,7 @@
4
4
  "accept": "Autorizza",
5
5
  "deny": "Rifiuta"
6
6
  },
7
- "description": "L'app {clientId} richiede accesso al tuo account LobeChat",
7
+ "description": "L'applicazione {{clientName}} richiede l'autorizzazione per il tuo account",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "La sessione di autorizzazione è scaduta o non valida, per favore riavvia il processo di autorizzazione.",
@@ -16,16 +16,17 @@
16
16
  "title": "Tipo di interazione non supportato"
17
17
  }
18
18
  },
19
- "permissionsTitle": "L'app richiede i seguenti permessi:",
19
+ "permissionsTitle": "Richiesta delle seguenti autorizzazioni:",
20
+ "redirectUri": "Verrai reindirizzato a dopo un'autorizzazione riuscita",
20
21
  "scope": {
21
22
  "email": "Accesso al tuo indirizzo email",
22
- "offline_access": "Continua ad accedere ai tuoi dati quando sei offline",
23
+ "offline_access": "Consenti all'accesso del client ai tuoi dati",
23
24
  "openid": "Autenticati con il tuo account LobeChat",
24
25
  "profile": "Accesso alle tue informazioni di base (nome, foto profilo, ecc.)",
25
- "sync:read": "Leggi i tuoi dati di sincronizzazione",
26
- "sync:write": "Scrivi e aggiorna i tuoi dati di sincronizzazione"
26
+ "sync-read": "Leggi i tuoi dati sincronizzati",
27
+ "sync-write": "Scrivi e aggiorna i tuoi dati sincronizzati"
27
28
  },
28
- "title": "Richiesta di autorizzazione"
29
+ "title": "Autorizzazione per {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Torna alla home",
@@ -4,7 +4,7 @@
4
4
  "accept": "承認",
5
5
  "deny": "拒否"
6
6
  },
7
- "description": "{clientId} アプリがあなたの LobeChat アカウントへのアクセスを要求しています",
7
+ "description": "アプリケーション {{clientName}} があなたのアカウントの承認を要求しています",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "承認セッションが期限切れまたは無効です。再度承認プロセスを開始してください。",
@@ -16,16 +16,17 @@
16
16
  "title": "サポートされていないインタラクションタイプ"
17
17
  }
18
18
  },
19
- "permissionsTitle": "アプリが以下の権限を要求しています:",
19
+ "permissionsTitle": "以下の権限をリクエストします:",
20
+ "redirectUri": "承認が成功した後、次の場所にリダイレクトされます",
20
21
  "scope": {
21
22
  "email": "あなたのメールアドレスにアクセス",
22
- "offline_access": "オフラインの際もデータにアクセス",
23
+ "offline_access": "クライアントがあなたのデータにアクセスすることを許可",
23
24
  "openid": "あなたの LobeChat アカウントで認証",
24
25
  "profile": "基本的なプロフィール情報(名前、アバターなど)にアクセス",
25
- "sync:read": "あなたの同期データを読み取る",
26
- "sync:write": "あなたの同期データを書き込み、更新する"
26
+ "sync-read": "あなたの同期データを読み取る",
27
+ "sync-write": "あなたの同期データを書き込み、更新する"
27
28
  },
28
- "title": "承認リクエスト"
29
+ "title": "{{clientName}} の承認"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "ホームに戻る",
@@ -4,7 +4,7 @@
4
4
  "accept": "허가",
5
5
  "deny": "거부"
6
6
  },
7
- "description": "{clientId} 애플리케이션이 귀하의 LobeChat 계정에 접근을 요청합니다",
7
+ "description": "애플리케이션 {{clientName}}이(가) 귀하의 계정 권한을 요청합니다.",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "허가 세션이 만료되었거나 유효하지 않습니다. 허가 프로세스를 다시 시작하십시오.",
@@ -16,16 +16,17 @@
16
16
  "title": "지원되지 않는 상호작용 유형"
17
17
  }
18
18
  },
19
- "permissionsTitle": "애플리케이션이 다음 권한을 요청합니다:",
19
+ "permissionsTitle": "다음 권한 요청:",
20
+ "redirectUri": "권한 부여가 성공적으로 완료된 후 리디렉션됩니다.",
20
21
  "scope": {
21
22
  "email": "귀하의 이메일 주소에 접근",
22
- "offline_access": "오프라인 상태에서도 귀하의 데이터에 접근",
23
+ "offline_access": "클라이언트가 귀하의 데이터에 접근할 수 있도록 허용",
23
24
  "openid": "귀하의 LobeChat 계정으로 인증",
24
25
  "profile": "귀하의 기본 프로필 정보(이름, 프로필 사진 등)에 접근",
25
- "sync:read": "귀하의 동기화 데이터 읽기",
26
- "sync:write": "귀하의 동기화 데이터 쓰기 및 업데이트"
26
+ "sync-read": "귀하의 동기화 데이터를 읽습니다",
27
+ "sync-write": "귀하의 동기화 데이터를 작성하고 업데이트합니다"
27
28
  },
28
- "title": "허가 요청"
29
+ "title": "권한 부여 {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "홈으로 돌아가기",
@@ -4,7 +4,7 @@
4
4
  "accept": "Toestaan",
5
5
  "deny": "Weigeren"
6
6
  },
7
- "description": "De applicatie {clientId} vraagt toegang tot uw LobeChat-account",
7
+ "description": "De applicatie {{clientName}} vraagt om toestemming voor uw account",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "De autorisatiesessie is verlopen of ongeldig, start het autorisatieproces opnieuw.",
@@ -16,16 +16,17 @@
16
16
  "title": "Niet-ondersteund interactietype"
17
17
  }
18
18
  },
19
- "permissionsTitle": "De applicatie vraagt om de volgende machtigingen:",
19
+ "permissionsTitle": "Vraag om de volgende toestemmingen:",
20
+ "redirectUri": "U wordt omgeleid naar na succesvolle autorisatie",
20
21
  "scope": {
21
22
  "email": "Toegang tot uw e-mailadres",
22
- "offline_access": "Toegang tot uw gegevens wanneer u offline bent",
23
+ "offline_access": "Toestaan dat de client toegang heeft tot uw gegevens",
23
24
  "openid": "Authenticatie met uw LobeChat-account",
24
25
  "profile": "Toegang tot uw basisprofielinformatie (naam, profielfoto, enz.)",
25
- "sync:read": "Lezen van uw synchronisatiegegevens",
26
- "sync:write": "Schrijven en bijwerken van uw synchronisatiegegevens"
26
+ "sync-read": "Lees uw gesynchroniseerde gegevens",
27
+ "sync-write": "Schrijf en werk uw gesynchroniseerde gegevens bij"
27
28
  },
28
- "title": "Autorisatieverzoek"
29
+ "title": "Toestemming voor {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Terug naar de startpagina",
@@ -4,7 +4,7 @@
4
4
  "accept": "Zgoda",
5
5
  "deny": "Odmowa"
6
6
  },
7
- "description": "Aplikacja {clientId} prosi o dostęp do Twojego konta LobeChat",
7
+ "description": "Aplikacja {{clientName}} prosi o autoryzację Twojego konta",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "Sesja autoryzacyjna wygasła lub jest nieprawidłowa, proszę ponownie rozpocząć proces autoryzacji.",
@@ -16,16 +16,17 @@
16
16
  "title": "Nieobsługiwany typ interakcji"
17
17
  }
18
18
  },
19
- "permissionsTitle": "Aplikacja prosi o następujące uprawnienia:",
19
+ "permissionsTitle": "Proszę o następujące uprawnienia:",
20
+ "redirectUri": "Zostaniesz przekierowany po pomyślnym autoryzowaniu",
20
21
  "scope": {
21
22
  "email": "Dostęp do Twojego adresu e-mail",
22
- "offline_access": "Dostęp do Twoich danych, gdy jesteś offline",
23
+ "offline_access": "Zezwól klientowi na dostęp do Twoich danych",
23
24
  "openid": "Uwierzytelnienie za pomocą Twojego konta LobeChat",
24
25
  "profile": "Dostęp do Twoich podstawowych informacji (imię, zdjęcie profilowe itp.)",
25
- "sync:read": "Odczyt Twoich danych synchronizacji",
26
- "sync:write": "Zapis i aktualizacja Twoich danych synchronizacji"
26
+ "sync-read": "Odczytaj swoje dane synchronizacyjne",
27
+ "sync-write": "Zapisz i zaktualizuj swoje dane synchronizacyjne"
27
28
  },
28
- "title": "Prośba o autoryzację"
29
+ "title": "Autoryzacja {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Powrót do strony głównej",
@@ -4,7 +4,7 @@
4
4
  "accept": "Autorizar",
5
5
  "deny": "Negar"
6
6
  },
7
- "description": "O aplicativo {clientId} solicita acesso à sua conta LobeChat",
7
+ "description": "O aplicativo {{clientName}} solicita autorização para sua conta",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "A sessão de autorização expirou ou é inválida, por favor, inicie o processo de autorização novamente.",
@@ -16,16 +16,17 @@
16
16
  "title": "Tipo de interação não suportado"
17
17
  }
18
18
  },
19
- "permissionsTitle": "O aplicativo solicita as seguintes permissões:",
19
+ "permissionsTitle": "Solicitar as seguintes permissões:",
20
+ "redirectUri": "Você será redirecionado após a autorização bem-sucedida",
20
21
  "scope": {
21
22
  "email": "Acessar seu endereço de e-mail",
22
- "offline_access": "Continuar acessando seus dados enquanto você estiver offline",
23
+ "offline_access": "Permitir que o cliente acesse seus dados",
23
24
  "openid": "Autenticar usando sua conta LobeChat",
24
25
  "profile": "Acessar suas informações básicas de perfil (nome, foto, etc.)",
25
- "sync:read": "Ler seus dados de sincronização",
26
- "sync:write": "Escrever e atualizar seus dados de sincronização"
26
+ "sync-read": "Ler seus dados de sincronização",
27
+ "sync-write": "Escrever e atualizar seus dados de sincronização"
27
28
  },
28
- "title": "Solicitação de autorização"
29
+ "title": "Autorizar {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Voltar para a página inicial",
@@ -4,7 +4,7 @@
4
4
  "accept": "Разрешить",
5
5
  "deny": "Отказать"
6
6
  },
7
- "description": "Приложение {clientId} запрашивает доступ к вашей учетной записи LobeChat",
7
+ "description": "Приложение {{clientName}} запрашивает разрешение на доступ к вашему аккаунту",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "Сессия авторизации истекла или недействительна, пожалуйста, начните процесс авторизации заново.",
@@ -16,16 +16,17 @@
16
16
  "title": "Неподдерживаемый тип взаимодействия"
17
17
  }
18
18
  },
19
- "permissionsTitle": "Приложение запрашивает следующие разрешения:",
19
+ "permissionsTitle": "Запросить следующие разрешения:",
20
+ "redirectUri": "После успешного авторизации будет выполнен редирект на",
20
21
  "scope": {
21
22
  "email": "Доступ к вашему адресу электронной почты",
22
- "offline_access": "Продолжать доступ к вашим данным в оффлайне",
23
+ "offline_access": "Разрешить клиенту доступ к вашим данным",
23
24
  "openid": "Аутентификация с использованием вашей учетной записи LobeChat",
24
25
  "profile": "Доступ к вашей основной информации профиля (имя, аватар и т.д.)",
25
- "sync:read": "Чтение ваших синхронизированных данных",
26
- "sync:write": "Запись и обновление ваших синхронизированных данных"
26
+ "sync-read": "Читать ваши синхронизированные данные",
27
+ "sync-write": "Записывать и обновлять ваши синхронизированные данные"
27
28
  },
28
- "title": "Запрос авторизации"
29
+ "title": "Авторизация {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Вернуться на главную",
@@ -4,7 +4,7 @@
4
4
  "accept": "Onayla",
5
5
  "deny": "Reddet"
6
6
  },
7
- "description": "{clientId} uygulaması, LobeChat hesabınıza erişim talep ediyor",
7
+ "description": "Uygulama {{clientName}} hesabınıza erişim izni talep ediyor",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "Yetki oturumu süresi dolmuş veya geçersiz, lütfen yetkilendirme sürecini yeniden başlatın.",
@@ -16,16 +16,17 @@
16
16
  "title": "Desteklenmeyen etkileşim türü"
17
17
  }
18
18
  },
19
- "permissionsTitle": "Uygulama aşağıdaki izinleri talep ediyor:",
19
+ "permissionsTitle": "Aşağıdaki izinleri talep et:",
20
+ "redirectUri": "İzin verildikten sonra şu adrese yönlendirileceksiniz",
20
21
  "scope": {
21
22
  "email": "E-posta adresinize erişim",
22
- "offline_access": "Çevrimdışı olduğunuzda verilerinize erişmeye devam etme",
23
+ "offline_access": "Müşterinin verilerinize erişmesine izin ver",
23
24
  "openid": "LobeChat hesabınızla kimlik doğrulama",
24
25
  "profile": "Temel profil bilgilerinize (isim, avatar vb.) erişim",
25
- "sync:read": "Senkronize verilerinizi okuma",
26
- "sync:write": "Senkronize verilerinizi yazma ve güncelleme"
26
+ "sync-read": "Senkronize verilerinizi okumak",
27
+ "sync-write": "Senkronize verilerinizi yazmak ve güncellemek"
27
28
  },
28
- "title": "Yetkilendirme talebi"
29
+ "title": "İzin Ver {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Ana sayfaya dön",
@@ -4,7 +4,7 @@
4
4
  "accept": "Cho phép",
5
5
  "deny": "Từ chối"
6
6
  },
7
- "description": "Ứng dụng {clientId} yêu cầu truy cập vào tài khoản LobeChat của bạn",
7
+ "description": "Ứng dụng {{clientName}} yêu cầu quyền truy cập vào tài khoản của bạn",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "Phiên ủy quyền đã hết hạn hoặc không hợp lệ, vui lòng khởi động lại quy trình ủy quyền.",
@@ -16,16 +16,17 @@
16
16
  "title": "Loại tương tác không được hỗ trợ"
17
17
  }
18
18
  },
19
- "permissionsTitle": "Ứng dụng yêu cầu các quyền sau:",
19
+ "permissionsTitle": "Yêu cầu các quyền sau:",
20
+ "redirectUri": "Sẽ được chuyển hướng đến sau khi ủy quyền thành công",
20
21
  "scope": {
21
22
  "email": "Truy cập địa chỉ email của bạn",
22
- "offline_access": "Tiếp tục truy cập dữ liệu của bạn khi bạn ngoại tuyến",
23
+ "offline_access": "Cho phép ứng dụng truy cập dữ liệu của bạn",
23
24
  "openid": "Xác thực bằng tài khoản LobeChat của bạn",
24
25
  "profile": "Truy cập thông tin hồ sơ cơ bản của bạn (tên, ảnh đại diện, v.v.)",
25
- "sync:read": "Đọc dữ liệu đồng bộ của bạn",
26
- "sync:write": "Ghi và cập nhật dữ liệu đồng bộ của bạn"
26
+ "sync-read": "Đọc dữ liệu đồng bộ của bạn",
27
+ "sync-write": "Ghi và cập nhật dữ liệu đồng bộ của bạn"
27
28
  },
28
- "title": "Yêu cầu ủy quyền"
29
+ "title": "Ủy quyền cho {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "Quay lại trang chính",
@@ -4,7 +4,7 @@
4
4
  "accept": "授权",
5
5
  "deny": "拒绝"
6
6
  },
7
- "description": "应用 {clientId} 请求访问您的 LobeChat 账户",
7
+ "description": "应用 {{clientName}} 申请您的账户授权",
8
8
  "error": {
9
9
  "sessionInvalid": {
10
10
  "message": "授权会话已过期或无效,请重新发起授权流程。",
@@ -16,16 +16,17 @@
16
16
  "title": "不支持的交互类型"
17
17
  }
18
18
  },
19
- "permissionsTitle": "应用请求以下权限:",
19
+ "permissionsTitle": "请求以下权限:",
20
+ "redirectUri": "授权成功后将重定向到",
20
21
  "scope": {
21
22
  "email": "访问您的电子邮件地址",
22
- "offline_access": "在您离线时继续访问您的数据",
23
+ "offline_access": "允许客户端访问您的数据",
23
24
  "openid": "使用您的 LobeChat 账户进行身份验证",
24
25
  "profile": "访问您的基本资料信息(名称、头像等)",
25
- "sync:read": "读取您的同步数据",
26
- "sync:write": "写入并更新您的同步数据"
26
+ "sync-read": "读取您的同步数据",
27
+ "sync-write": "写入并更新您的同步数据"
27
28
  },
28
- "title": "授权请求"
29
+ "title": "授权 {{clientName}}"
29
30
  },
30
31
  "failed": {
31
32
  "backToHome": "返回首页",