diff --git a/src/applications/auth/controller/PhabricatorAuthLoginController.php b/src/applications/auth/controller/PhabricatorAuthLoginController.php index 4f957b28a4..2a1ecf97c4 100644 --- a/src/applications/auth/controller/PhabricatorAuthLoginController.php +++ b/src/applications/auth/controller/PhabricatorAuthLoginController.php @@ -80,9 +80,9 @@ final class PhabricatorAuthLoginController } else { return $this->renderError( pht( - 'The external account ("%s") you just authenticated with is '. - 'not configured to allow logins on this Phabricator install. '. - 'An administrator may have recently disabled it.', + 'The external service ("%s") you just authenticated with is '. + 'not configured to allow logins on this server. An '. + 'administrator may have recently disabled it.', $provider->getProviderName())); } } else if ($viewer->getPHID() == $account->getUserPHID()) { @@ -94,11 +94,14 @@ final class PhabricatorAuthLoginController } else { return $this->renderError( pht( - 'The external account ("%s") you just used to log in is already '. - 'associated with another Phabricator user account. Log in to the '. - 'other Phabricator account and unlink the external account before '. - 'linking it to a new Phabricator account.', - $provider->getProviderName())); + 'The external service ("%s") you just used to log in is already '. + 'associated with another %s user account. Log in to the '. + 'other %s account and unlink the external account before '. + 'linking it to a new %s account.', + $provider->getProviderName(), + PlatformSymbols::getPlatformServerName(), + PlatformSymbols::getPlatformServerName(), + PlatformSymbols::getPlatformServerName())); } } else { // The account is not yet attached to a Phabricator user, so this is @@ -109,9 +112,9 @@ final class PhabricatorAuthLoginController } else { return $this->renderError( pht( - 'The external account ("%s") you just authenticated with is '. - 'not configured to allow registration on this Phabricator '. - 'install. An administrator may have recently disabled it.', + 'The external service ("%s") you just authenticated with is '. + 'not configured to allow registration on this server. An '. + 'administrator may have recently disabled it.', $provider->getProviderName())); } } else { @@ -135,11 +138,12 @@ final class PhabricatorAuthLoginController if ($existing_accounts) { return $this->renderError( pht( - 'Your Phabricator account is already connected to an external '. - 'account on this provider ("%s"), but you are currently logged '. - 'in to the provider with a different account. Log out of the '. + 'Your %s account is already connected to an external '. + 'account on this service ("%s"), but you are currently logged '. + 'in to the service with a different account. Log out of the '. 'external service, then log back in with the correct account '. 'before refreshing the account link.', + PlatformSymbols::getPlatformServerName(), $provider->getProviderName())); } @@ -148,9 +152,9 @@ final class PhabricatorAuthLoginController } else { return $this->renderError( pht( - 'The external account ("%s") you just authenticated with is '. - 'not configured to allow account linking on this Phabricator '. - 'install. An administrator may have recently disabled it.', + 'The external service ("%s") you just authenticated with is '. + 'not configured to allow account linking on this server. An '. + 'administrator may have recently disabled it.', $provider->getProviderName())); } } @@ -169,7 +173,8 @@ final class PhabricatorAuthLoginController return $this->renderError( pht( 'The external account you just logged in with is not associated '. - 'with a valid Phabricator user.')); + 'with a valid %s user account.', + PlatformSymbols::getPlatformServerName())); } return $this->loginUser($user); diff --git a/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php b/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php index 259e4c6743..0f86614b19 100644 --- a/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php +++ b/src/applications/auth/controller/PhabricatorAuthNeedsMultiFactorController.php @@ -202,7 +202,7 @@ final class PhabricatorAuthNeedsMultiFactorController $messages = array(); $messages[] = pht( - 'Before you can use Phabricator, you need to add multi-factor '. + 'Before you can use this software, you need to add multi-factor '. 'authentication to your account. Multi-factor authentication helps '. 'secure your account by making it more difficult for attackers to '. 'gain access or take sensitive actions.'); diff --git a/src/applications/auth/controller/PhabricatorAuthSetExternalController.php b/src/applications/auth/controller/PhabricatorAuthSetExternalController.php index 51dfcab53f..8b0a44b9dc 100644 --- a/src/applications/auth/controller/PhabricatorAuthSetExternalController.php +++ b/src/applications/auth/controller/PhabricatorAuthSetExternalController.php @@ -42,10 +42,11 @@ final class PhabricatorAuthSetExternalController PhabricatorAuthLinkMessageType::MESSAGEKEY); if (!strlen($text)) { $text = pht( - 'You can link your Phabricator account to an external account to '. + 'You can link your %s account to an external account to '. 'allow you to log in more easily in the future. To continue, choose '. 'an account to link below. If you prefer not to link your account, '. - 'you can skip this step.'); + 'you can skip this step.', + PlatformSymbols::getPlatformServerName()); } $remarkup_view = new PHUIRemarkupView($viewer, $text); diff --git a/src/applications/auth/controller/PhabricatorAuthStartController.php b/src/applications/auth/controller/PhabricatorAuthStartController.php index 0c42f53556..5789740e14 100644 --- a/src/applications/auth/controller/PhabricatorAuthStartController.php +++ b/src/applications/auth/controller/PhabricatorAuthStartController.php @@ -90,11 +90,11 @@ final class PhabricatorAuthStartController return $this->renderError( pht( - 'This Phabricator install is not configured with any enabled '. - 'authentication providers which can be used to log in. If you '. - 'have accidentally locked yourself out by disabling all providers, '. - 'you can use `%s` to recover access to an account.', - 'phabricator/bin/auth recover ')); + 'This server is not configured with any enabled authentication '. + 'providers which can be used to log in. If you have accidentally '. + 'locked yourself out by disabling all providers, you can use `%s` '. + 'to recover access to an account.', + './bin/auth recover ')); } $next_uri = $request->getStr('next'); diff --git a/src/applications/auth/controller/PhabricatorAuthUnlinkController.php b/src/applications/auth/controller/PhabricatorAuthUnlinkController.php index ede9d9d94a..a4843a7ccd 100644 --- a/src/applications/auth/controller/PhabricatorAuthUnlinkController.php +++ b/src/applications/auth/controller/PhabricatorAuthUnlinkController.php @@ -86,7 +86,7 @@ final class PhabricatorAuthUnlinkController ->appendChild( pht( 'You can not unlink this account because the administrator has '. - 'configured Phabricator to make links to "%s" accounts permanent.', + 'configured this server to make links to "%s" accounts permanent.', $provider->getProviderName())) ->addCancelButton($done_uri); } @@ -123,7 +123,7 @@ final class PhabricatorAuthUnlinkController $title = pht('Unlink "%s" Account?', $provider->getProviderName()); $body = pht( 'You will no longer be able to use your %s account to '. - 'log in to Phabricator.', + 'log in.', $provider->getProviderName()); return $this->newDialog() diff --git a/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php b/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php index bf3410139d..2f15460eac 100644 --- a/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php +++ b/src/applications/auth/controller/PhabricatorMustVerifyEmailController.php @@ -34,8 +34,7 @@ final class PhabricatorMustVerifyEmailController $must_verify = pht( 'You must verify your email address to log in. You should have a '. - 'new email message from Phabricator with verification instructions '. - 'in your inbox (%s).', + 'new email message with verification instructions in your inbox (%s).', phutil_tag('strong', array(), $email_address)); $send_again = pht( diff --git a/src/applications/auth/controller/config/PhabricatorAuthDisableController.php b/src/applications/auth/controller/config/PhabricatorAuthDisableController.php index 252f159ec4..15b5461186 100644 --- a/src/applications/auth/controller/config/PhabricatorAuthDisableController.php +++ b/src/applications/auth/controller/config/PhabricatorAuthDisableController.php @@ -49,12 +49,12 @@ final class PhabricatorAuthDisableController if ($config->getShouldAllowRegistration()) { $body = pht( 'Do you want to enable this provider? Users will be able to use '. - 'their existing external accounts to register new Phabricator '. - 'accounts and log in using linked accounts.'); + 'their existing external accounts to register new accounts and '. + 'log in using linked accounts.'); } else { $body = pht( 'Do you want to enable this provider? Users will be able to log '. - 'in to Phabricator using linked accounts.'); + 'in using linked accounts.'); } $button = pht('Enable Provider'); } else { diff --git a/src/applications/auth/controller/config/PhabricatorAuthEditController.php b/src/applications/auth/controller/config/PhabricatorAuthEditController.php index f602c4fb24..693fc5bffd 100644 --- a/src/applications/auth/controller/config/PhabricatorAuthEditController.php +++ b/src/applications/auth/controller/config/PhabricatorAuthEditController.php @@ -220,7 +220,7 @@ final class PhabricatorAuthEditController } else { $registration_warning = pht( "NOTE: Any user who can browse to this install's login page will be ". - "able to register a Phabricator account. To restrict who can register ". + "able to register an account. To restrict who can register ". "an account, configure [[ %s | %s ]].", $config_href, $config_name); @@ -238,10 +238,9 @@ final class PhabricatorAuthEditController phutil_tag('strong', array(), pht('Allow Registration:')), ' ', pht( - 'Allow users to register new Phabricator accounts using this '. - 'provider. If you disable registration, users can still use this '. - 'provider to log in to existing accounts, but will not be able to '. - 'create new accounts.'), + 'Allow users to register new accounts using this provider. If you '. + 'disable registration, users can still use this provider to log in '. + 'to existing accounts, but will not be able to create new accounts.'), ); $str_link = hsprintf( @@ -249,29 +248,29 @@ final class PhabricatorAuthEditController pht('Allow Linking Accounts'), pht( 'Allow users to link account credentials for this provider to '. - 'existing Phabricator accounts. There is normally no reason to '. - 'disable this unless you are trying to move away from a provider '. - 'and want to stop users from creating new account links.')); + 'existing accounts. There is normally no reason to disable this '. + 'unless you are trying to move away from a provider and want to '. + 'stop users from creating new account links.')); $str_unlink = hsprintf( '%s: %s', pht('Allow Unlinking Accounts'), pht( 'Allow users to unlink account credentials for this provider from '. - 'existing Phabricator accounts. If you disable this, Phabricator '. - 'accounts will be permanently bound to provider accounts.')); + 'existing accounts. If you disable this, accounts will be '. + 'permanently bound to provider accounts.')); $str_trusted_email = hsprintf( '%s: %s', pht('Trust Email Addresses'), pht( - 'Phabricator will skip email verification for accounts registered '. + 'Skip email verification for accounts registered '. 'through this provider.')); $str_auto_login = hsprintf( '%s: %s', pht('Allow Auto Login'), pht( - 'Phabricator will automatically login with this provider if it is '. + 'Automatically log in with this provider if it is '. 'the only available provider.')); $form = id(new AphrontFormView()) diff --git a/src/applications/auth/controller/config/PhabricatorAuthListController.php b/src/applications/auth/controller/config/PhabricatorAuthListController.php index b25c791e27..690aa4e57c 100644 --- a/src/applications/auth/controller/config/PhabricatorAuthListController.php +++ b/src/applications/auth/controller/config/PhabricatorAuthListController.php @@ -53,8 +53,7 @@ final class PhabricatorAuthListController $list->setNoDataString( pht( '%s You have not added authentication providers yet. Use "%s" to add '. - 'a provider, which will let users register new Phabricator accounts '. - 'and log in.', + 'a provider, which will let users register new accounts and log in.', phutil_tag( 'strong', array(), diff --git a/src/applications/auth/guidance/PhabricatorAuthProvidersGuidanceEngineExtension.php b/src/applications/auth/guidance/PhabricatorAuthProvidersGuidanceEngineExtension.php index 32482a582a..d4d41f1d83 100644 --- a/src/applications/auth/guidance/PhabricatorAuthProvidersGuidanceEngineExtension.php +++ b/src/applications/auth/guidance/PhabricatorAuthProvidersGuidanceEngineExtension.php @@ -42,7 +42,7 @@ final class PhabricatorAuthProvidersGuidanceEngineExtension if ($domains_value) { $message = pht( - 'Phabricator is configured with an email domain whitelist (in %s), so '. + 'This server is configured with an email domain whitelist (in %s), so '. 'only users with a verified email address at one of these %s '. 'allowed domain(s) will be able to register an account: %s', $domains_link, @@ -53,7 +53,7 @@ final class PhabricatorAuthProvidersGuidanceEngineExtension ->setMessage($message); } else { $message = pht( - 'Anyone who can browse to this Phabricator install will be able to '. + 'Anyone who can browse to this this server will be able to '. 'register an account. To add email domain restrictions, configure '. '%s.', $domains_link);