1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Remove product literal strings in "pht()", part 19

Summary: Ref T13658.

Test Plan: Static checks only.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13658

Differential Revision: https://secure.phabricator.com/D21785
This commit is contained in:
epriestley 2022-04-25 16:07:58 -07:00
parent 2f95330c5a
commit 2f4ac2a804
7 changed files with 14 additions and 13 deletions

View file

@ -512,9 +512,10 @@ final class DoorkeeperAsanaFeedWorker extends DoorkeeperFeedWorker {
private function getSynchronizationWarning() {
return pht(
"\xE2\x9A\xA0 DO NOT EDIT THIS TASK \xE2\x9A\xA0\n".
"\xE2\x98\xA0 Your changes will not be reflected in Phabricator.\n".
"\xE2\x98\xA0 Your changes will not be reflected in %s.\n".
"\xE2\x98\xA0 Your changes will be destroyed the next time state ".
"is synchronized.");
"is synchronized.",
PlatformSymbols::getPlatformServerName());
}
private function lookupAsanaUserIDs($all_phids) {

View file

@ -391,7 +391,7 @@ final class DrydockLandRepositoryOperation
'title' => pht('Staging Unavailable'),
'body' => pht(
'When this diff was generated, the server was running an older '.
'version of Phabricator which did not support staging areas, so '.
'version of the software which did not support staging areas, so '.
'the change was not pushed to staging. Changes must be pushed '.
'to staging before they can be landed from the web.'),
);
@ -400,7 +400,7 @@ final class DrydockLandRepositoryOperation
'title' => pht('Repository Unsupported'),
'body' => pht(
'When this diff was generated, the server was running an older '.
'version of Phabricator which did not support staging areas for '.
'version of the software which did not support staging areas for '.
'this version control system, so the change was not pushed to '.
'staging. Changes must be pushed to staging before they can be '.
'landed from the web.'),
@ -432,8 +432,9 @@ final class DrydockLandRepositoryOperation
'When this diff was generated, it was not pushed to staging for '.
'an unknown reason (the status code was "%s"). Changes must be '.
'pushed to staging before they can be landed from the web. '.
'The server may be running an out-of-date version of Phabricator, '.
'and updating may provide more information about this error.',
'The server may be running an out-of-date version of this '.
'software, and updating may provide more information about this '.
'error.',
$status),
);
}

View file

@ -181,7 +181,7 @@ final class PhabricatorFilesConfigOptions
->setSummary(pht('Local storage disk path.'))
->setDescription(
pht(
"Phabricator provides a local disk storage engine, which just ".
"This software provides a local disk storage engine, which just ".
"writes files to some directory on local disk. The webserver ".
"must have read/write permissions on this directory. This is ".
"straightforward and suitable for most installs, but will not ".

View file

@ -46,7 +46,7 @@ final class PhabricatorFileUploadController extends PhabricatorFileController {
pht('Drag and Drop:'),
pht(
'You can also upload files by dragging and dropping them from your '.
'desktop onto this page or the Phabricator home page.')));
'desktop onto this page or the home page.')));
$policies = id(new PhabricatorPolicyQuery())
->setViewer($viewer)

View file

@ -10,8 +10,7 @@ final class HarbormasterFileArtifact extends HarbormasterArtifact {
public function getArtifactTypeDescription() {
return pht(
'Stores a reference to file data which has been uploaded to '.
'Phabricator.');
'Stores a reference to file data.');
}
public function getArtifactParameterSpecification() {

View file

@ -84,7 +84,7 @@ final class HarbormasterPlanRunController extends HarbormasterPlanController {
"example, `rX123456` or `D123`).\n\n".
"For more detailed output, you can also run manual builds from ".
"the command line:\n\n".
" phabricator/ $ ./bin/harbormaster build <object> --plan %s",
" $ ./bin/harbormaster build <object> --plan %s",
$plan->getID()))
->appendChild(
id(new AphrontFormTextControl())

View file

@ -30,8 +30,8 @@ final class HarbormasterBuildStepCoreCustomField
'After completing this build step Harbormaster can continue the '.
'build normally, or it can pause the build and wait for a message. '.
'If you are using this build step to trigger some work in an '.
'external system, you may want to have Phabricator wait for that '.
'system to perform the work and report results back.'.
'external system, you may want wait for that system to perform '.
'the work and report results back.'.
"\n\n".
'If you select **Continue Build Normally**, the build plan will '.
'proceed once this step finishes.'.