- {t('settings.chatgptOfficialLogin.errorPrefix')}{error}
+
+
+ {t('settings.chatgptOfficialLogin.errorPrefix')}{error}
+
+ {manualAuthorizeButton}
)
}
@@ -99,6 +130,7 @@ export function ChatGPTOfficialLogin() {
{t('settings.chatgptOfficialLogin.errorPrefix')}{error}
)}
+ {manualAuthorizeButton}
)
}
diff --git a/desktop/src/i18n/locales/en.ts b/desktop/src/i18n/locales/en.ts
index 0d57aa4a..7d955eb1 100644
--- a/desktop/src/i18n/locales/en.ts
+++ b/desktop/src/i18n/locales/en.ts
@@ -279,7 +279,9 @@ export const en = {
'settings.chatgptOfficialLogin.logoutProcessing': 'Signing out...',
'settings.chatgptOfficialLogin.loggedInPrefix': 'Signed in as',
'settings.chatgptOfficialLogin.accountUnknown': 'ChatGPT account',
- 'settings.chatgptOfficialLogin.openBrowserFailed': 'Unable to open browser. Copy the authorization URL from server logs and open it manually.',
+ 'settings.chatgptOfficialLogin.openBrowserFailed': 'Unable to open browser. Copy the authorization link and open it manually.',
+ 'settings.chatgptOfficialLogin.copyAuthorizeUrl': 'Copy authorization link',
+ 'settings.chatgptOfficialLogin.copyLinkFailed': 'Unable to copy authorization link.',
'settings.chatgptOfficialLogin.errorPrefix': 'ChatGPT OAuth error: ',
// Settings > Providers
diff --git a/desktop/src/i18n/locales/zh.ts b/desktop/src/i18n/locales/zh.ts
index 392d090b..12fa0df1 100644
--- a/desktop/src/i18n/locales/zh.ts
+++ b/desktop/src/i18n/locales/zh.ts
@@ -281,7 +281,9 @@ export const zh: Record