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 访问该仓库?