mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Remove product literal strings in "pht()", part 16
Summary: Ref T13658. Test Plan: This plan is non-exhaustive. - Looked at config options. - Ran `bin/phd`. Maniphest Tasks: T13658 Differential Revision: https://secure.phabricator.com/D21782
This commit is contained in:
parent
ce1972bfae
commit
9df1bbd31d
8 changed files with 22 additions and 21 deletions
|
@ -28,7 +28,8 @@ final class PhabricatorSetupIssue extends Phobject {
|
|||
$message = pht(
|
||||
"Unable to connect to MySQL!\n\n".
|
||||
"%s\n\n".
|
||||
"Make sure Phabricator and MySQL are correctly configured.",
|
||||
"Make sure databases connection information and MySQL are ".
|
||||
"correctly configured.",
|
||||
$ex->getMessage());
|
||||
|
||||
$issue = id(new self())
|
||||
|
|
|
@ -42,7 +42,7 @@ final class PhabricatorAWSConfigOptions
|
|||
pht(
|
||||
'Explicit S3 endpoint to use. This should be the endpoint '.
|
||||
'which corresponds to the region you have selected in '.
|
||||
'`amazon-s3.region`. Phabricator can not determine the correct '.
|
||||
'`amazon-s3.region`. This software can not determine the correct '.
|
||||
'endpoint automatically because some endpoint locations are '.
|
||||
'irregular.'))
|
||||
->addExample(
|
||||
|
|
|
@ -73,8 +73,8 @@ final class PhabricatorAccessLogConfigOptions
|
|||
->setSummary(pht('Access log location.'))
|
||||
->setDescription(
|
||||
pht(
|
||||
"To enable the Phabricator access log, specify a path. The ".
|
||||
"Phabricator access than normal HTTP access logs (for instance, ".
|
||||
"To enable the HTTP access log, specify a path. This log is ".
|
||||
"more detailed than normal HTTP access logs (for instance, ".
|
||||
"it can show logged-in users, controllers, and other application ".
|
||||
"data).\n\n".
|
||||
"If not set, no log will be written."))
|
||||
|
@ -82,7 +82,7 @@ final class PhabricatorAccessLogConfigOptions
|
|||
null,
|
||||
pht('Disable access log.'))
|
||||
->addExample(
|
||||
'/var/log/phabricator/access.log',
|
||||
'/var/log/devtools/access.log',
|
||||
pht('Write access log here.')),
|
||||
$this->newOption(
|
||||
'log.access.format',
|
||||
|
@ -98,16 +98,16 @@ final class PhabricatorAccessLogConfigOptions
|
|||
->setSummary(pht('SSH log location.'))
|
||||
->setDescription(
|
||||
pht(
|
||||
"To enable the Phabricator SSH log, specify a path. The ".
|
||||
"access log can provide more detailed information about SSH ".
|
||||
"access than a normal SSH log (for instance, it can show ".
|
||||
"logged-in users, commands, and other application data).\n\n".
|
||||
"To enable the SSH log, specify a path. This log can provide ".
|
||||
"more detailed information about SSH access than a normal SSH ".
|
||||
"log (for instance, it can show logged-in users, commands, and ".
|
||||
"other application data).\n\n".
|
||||
"If not set, no log will be written."))
|
||||
->addExample(
|
||||
null,
|
||||
pht('Disable SSH log.'))
|
||||
->addExample(
|
||||
'/var/log/phabricator/ssh.log',
|
||||
'/var/log/devtools/ssh.log',
|
||||
pht('Write SSH log here.')),
|
||||
$this->newOption(
|
||||
'log.ssh.format',
|
||||
|
@ -121,14 +121,14 @@ final class PhabricatorAccessLogConfigOptions
|
|||
->setSummary(pht('SSH error log location.'))
|
||||
->setDescription(
|
||||
pht(
|
||||
'To enable the Phabricator SSH error log, specify a path. Errors '.
|
||||
'occurring in contexts where Phabricator is serving SSH requests '.
|
||||
'To enable the SSH error log, specify a path. Errors occurring '.
|
||||
'in contexts where this software is serving SSH requests '.
|
||||
'will be written to this log.'.
|
||||
"\n\n".
|
||||
'If not set, no log will be written.'))
|
||||
->addExample(null, pht('Disable SSH error log.'))
|
||||
->addExample(
|
||||
'/var/log/phabricator/ssh-error.log',
|
||||
'/var/log/devtools/ssh-error.log',
|
||||
pht('Write SSH error log here.')),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -44,14 +44,14 @@ final class PhabricatorAuthenticationConfigOptions
|
|||
pht('Require administrators to approve new accounts.'))
|
||||
->setDescription(
|
||||
pht(
|
||||
"Newly registered Phabricator accounts can either be placed ".
|
||||
"Newly registered accounts can either be placed ".
|
||||
"into a manual approval queue for administrative review, or ".
|
||||
"automatically activated immediately. The approval queue is ".
|
||||
"enabled by default because it gives you greater control over ".
|
||||
"who can register an account and access Phabricator.\n\n".
|
||||
"who can register an account and access the server.\n\n".
|
||||
"If your install is completely public, or on a VPN, or users can ".
|
||||
"only register with a trusted provider like LDAP, or you've ".
|
||||
"otherwise configured Phabricator to prevent unauthorized ".
|
||||
"otherwise configured the server to prevent unauthorized ".
|
||||
"registration, you can disable the queue to reduce administrative ".
|
||||
"overhead.\n\n".
|
||||
"NOTE: Before you disable the queue, make sure ".
|
||||
|
@ -107,7 +107,7 @@ final class PhabricatorAuthenticationConfigOptions
|
|||
'This option controls whether users can edit account email '.
|
||||
'addresses and profile real names.'.
|
||||
"\n\n".
|
||||
'If you set up Phabricator to automatically synchronize account '.
|
||||
'If you set things up to automatically synchronize account '.
|
||||
'information from some other authoritative system, you can '.
|
||||
'prevent users from making these edits to ensure information '.
|
||||
'remains consistent across both systems.')),
|
||||
|
|
|
@ -251,7 +251,7 @@ EOREMARKUP
|
|||
$this->newOption('phabricator.application-settings', 'wild', array())
|
||||
->setLocked(true)
|
||||
->setDescription(
|
||||
pht('Customized settings for Phabricator applications.')),
|
||||
pht('Customized settings for applications.')),
|
||||
$this->newOption('phabricator.cache-namespace', 'string', 'phabricator')
|
||||
->setLocked(true)
|
||||
->setDescription(pht('Cache namespace.')),
|
||||
|
|
|
@ -50,7 +50,7 @@ final class PhabricatorPHDConfigOptions
|
|||
pht(
|
||||
'Specify a system user to run the daemons as. Primarily, this '.
|
||||
'user will own the working copies of any repositories that '.
|
||||
'Phabricator imports or manages. This option is new and '.
|
||||
'this software imports or manages. This option is new and '.
|
||||
'experimental.')),
|
||||
$this->newOption('phd.garbage-collection', 'wild', array())
|
||||
->setLocked(true)
|
||||
|
|
|
@ -24,7 +24,7 @@ final class PhabricatorDaemonManagementRestartWorkflow
|
|||
'name' => 'force',
|
||||
'help' => pht(
|
||||
'Stop all daemon processes on this host, even if they belong '.
|
||||
'to another Phabricator instance.'),
|
||||
'to another instance.'),
|
||||
),
|
||||
array(
|
||||
'name' => 'gently',
|
||||
|
|
|
@ -8,7 +8,7 @@ final class PhabricatorDaemonManagementStartWorkflow
|
|||
->setName('start')
|
||||
->setSynopsis(
|
||||
pht(
|
||||
'Start the standard configured collection of Phabricator daemons. '.
|
||||
'Start the standard configured collection of daemons. '.
|
||||
'This is appropriate for most installs. Use **%s** to '.
|
||||
'customize which daemons are launched.',
|
||||
'phd launch'))
|
||||
|
|
Loading…
Reference in a new issue