@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator

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

+22 -21
+2 -1
src/applications/config/issue/PhabricatorSetupIssue.php
··· 28 28 $message = pht( 29 29 "Unable to connect to MySQL!\n\n". 30 30 "%s\n\n". 31 - "Make sure Phabricator and MySQL are correctly configured.", 31 + "Make sure databases connection information and MySQL are ". 32 + "correctly configured.", 32 33 $ex->getMessage()); 33 34 34 35 $issue = id(new self())
+1 -1
src/applications/config/option/PhabricatorAWSConfigOptions.php
··· 42 42 pht( 43 43 'Explicit S3 endpoint to use. This should be the endpoint '. 44 44 'which corresponds to the region you have selected in '. 45 - '`amazon-s3.region`. Phabricator can not determine the correct '. 45 + '`amazon-s3.region`. This software can not determine the correct '. 46 46 'endpoint automatically because some endpoint locations are '. 47 47 'irregular.')) 48 48 ->addExample(
+11 -11
src/applications/config/option/PhabricatorAccessLogConfigOptions.php
··· 73 73 ->setSummary(pht('Access log location.')) 74 74 ->setDescription( 75 75 pht( 76 - "To enable the Phabricator access log, specify a path. The ". 77 - "Phabricator access than normal HTTP access logs (for instance, ". 76 + "To enable the HTTP access log, specify a path. This log is ". 77 + "more detailed than normal HTTP access logs (for instance, ". 78 78 "it can show logged-in users, controllers, and other application ". 79 79 "data).\n\n". 80 80 "If not set, no log will be written.")) ··· 82 82 null, 83 83 pht('Disable access log.')) 84 84 ->addExample( 85 - '/var/log/phabricator/access.log', 85 + '/var/log/devtools/access.log', 86 86 pht('Write access log here.')), 87 87 $this->newOption( 88 88 'log.access.format', ··· 98 98 ->setSummary(pht('SSH log location.')) 99 99 ->setDescription( 100 100 pht( 101 - "To enable the Phabricator SSH log, specify a path. The ". 102 - "access log can provide more detailed information about SSH ". 103 - "access than a normal SSH log (for instance, it can show ". 104 - "logged-in users, commands, and other application data).\n\n". 101 + "To enable the SSH log, specify a path. This log can provide ". 102 + "more detailed information about SSH access than a normal SSH ". 103 + "log (for instance, it can show logged-in users, commands, and ". 104 + "other application data).\n\n". 105 105 "If not set, no log will be written.")) 106 106 ->addExample( 107 107 null, 108 108 pht('Disable SSH log.')) 109 109 ->addExample( 110 - '/var/log/phabricator/ssh.log', 110 + '/var/log/devtools/ssh.log', 111 111 pht('Write SSH log here.')), 112 112 $this->newOption( 113 113 'log.ssh.format', ··· 121 121 ->setSummary(pht('SSH error log location.')) 122 122 ->setDescription( 123 123 pht( 124 - 'To enable the Phabricator SSH error log, specify a path. Errors '. 125 - 'occurring in contexts where Phabricator is serving SSH requests '. 124 + 'To enable the SSH error log, specify a path. Errors occurring '. 125 + 'in contexts where this software is serving SSH requests '. 126 126 'will be written to this log.'. 127 127 "\n\n". 128 128 'If not set, no log will be written.')) 129 129 ->addExample(null, pht('Disable SSH error log.')) 130 130 ->addExample( 131 - '/var/log/phabricator/ssh-error.log', 131 + '/var/log/devtools/ssh-error.log', 132 132 pht('Write SSH error log here.')), 133 133 ); 134 134 }
+4 -4
src/applications/config/option/PhabricatorAuthenticationConfigOptions.php
··· 44 44 pht('Require administrators to approve new accounts.')) 45 45 ->setDescription( 46 46 pht( 47 - "Newly registered Phabricator accounts can either be placed ". 47 + "Newly registered accounts can either be placed ". 48 48 "into a manual approval queue for administrative review, or ". 49 49 "automatically activated immediately. The approval queue is ". 50 50 "enabled by default because it gives you greater control over ". 51 - "who can register an account and access Phabricator.\n\n". 51 + "who can register an account and access the server.\n\n". 52 52 "If your install is completely public, or on a VPN, or users can ". 53 53 "only register with a trusted provider like LDAP, or you've ". 54 - "otherwise configured Phabricator to prevent unauthorized ". 54 + "otherwise configured the server to prevent unauthorized ". 55 55 "registration, you can disable the queue to reduce administrative ". 56 56 "overhead.\n\n". 57 57 "NOTE: Before you disable the queue, make sure ". ··· 107 107 'This option controls whether users can edit account email '. 108 108 'addresses and profile real names.'. 109 109 "\n\n". 110 - 'If you set up Phabricator to automatically synchronize account '. 110 + 'If you set things up to automatically synchronize account '. 111 111 'information from some other authoritative system, you can '. 112 112 'prevent users from making these edits to ensure information '. 113 113 'remains consistent across both systems.')),
+1 -1
src/applications/config/option/PhabricatorCoreConfigOptions.php
··· 251 251 $this->newOption('phabricator.application-settings', 'wild', array()) 252 252 ->setLocked(true) 253 253 ->setDescription( 254 - pht('Customized settings for Phabricator applications.')), 254 + pht('Customized settings for applications.')), 255 255 $this->newOption('phabricator.cache-namespace', 'string', 'phabricator') 256 256 ->setLocked(true) 257 257 ->setDescription(pht('Cache namespace.')),
+1 -1
src/applications/config/option/PhabricatorPHDConfigOptions.php
··· 50 50 pht( 51 51 'Specify a system user to run the daemons as. Primarily, this '. 52 52 'user will own the working copies of any repositories that '. 53 - 'Phabricator imports or manages. This option is new and '. 53 + 'this software imports or manages. This option is new and '. 54 54 'experimental.')), 55 55 $this->newOption('phd.garbage-collection', 'wild', array()) 56 56 ->setLocked(true)
+1 -1
src/applications/daemon/management/PhabricatorDaemonManagementRestartWorkflow.php
··· 24 24 'name' => 'force', 25 25 'help' => pht( 26 26 'Stop all daemon processes on this host, even if they belong '. 27 - 'to another Phabricator instance.'), 27 + 'to another instance.'), 28 28 ), 29 29 array( 30 30 'name' => 'gently',
+1 -1
src/applications/daemon/management/PhabricatorDaemonManagementStartWorkflow.php
··· 8 8 ->setName('start') 9 9 ->setSynopsis( 10 10 pht( 11 - 'Start the standard configured collection of Phabricator daemons. '. 11 + 'Start the standard configured collection of daemons. '. 12 12 'This is appropriate for most installs. Use **%s** to '. 13 13 'customize which daemons are launched.', 14 14 'phd launch'))