From 501d84fcdb38d6a610bc1ca5fcdb097a2985650e Mon Sep 17 00:00:00 2001 From: zetaloop Date: Tue, 20 Aug 2024 02:31:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=80=E8=A6=81=E9=87=8D=E6=96=B0=E6=8E=88?= =?UTF-8?q?=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../saml-reauth-required.tsx | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/app/src/ui/saml-reauth-required/saml-reauth-required.tsx b/app/src/ui/saml-reauth-required/saml-reauth-required.tsx index ddadf07dad..05f4e08bd4 100644 --- a/app/src/ui/saml-reauth-required/saml-reauth-required.tsx +++ b/app/src/ui/saml-reauth-required/saml-reauth-required.tsx @@ -5,7 +5,7 @@ import { OkCancelButtonGroup } from '../dialog/ok-cancel-button-group' import { RetryAction } from '../../models/retry-actions' import { SignInResult } from '../../lib/stores' -const okButtonText = __DARWIN__ ? 'Continue in Browser' : 'Continue in browser' +const okButtonText = __DARWIN__ ? '打开浏览器' : '打开浏览器' interface ISAMLReauthRequiredDialogProps { readonly dispatcher: Dispatcher @@ -37,9 +37,7 @@ export class SAMLReauthRequiredDialog extends React.Component< public render() { return (

- The "{this.props.organizationName}" organization has enabled or - enforced SAML SSO. To access this repository, you must sign in again - and grant GitHub Desktop permission to access the organization's - repositories. -

-

- Would you like to open a browser to grant GitHub Desktop permission - to access the repository? + "{this.props.organizationName}" 组织已启用或强制执行 SAML + SSO。要访问此仓库,您必须重新登录并授予 GitHub Desktop + 访问该组织仓库的权限。

+

是否打开浏览器授权 GitHub Desktop 访问该仓库?