@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 24

Summary: Ref T13658.

Test Plan: Static checks only.

Maniphest Tasks: T13658

Differential Revision: https://secure.phabricator.com/D21790

+14 -15
+1 -1
src/applications/settings/setting/PhabricatorOlderInlinesSetting.php
··· 22 22 23 23 protected function getControlInstructions() { 24 24 return pht( 25 - 'When a revision is updated, Phabricator attempts to bring inline '. 25 + 'When a revision is updated, this software attempts to bring inline '. 26 26 'comments on the older version forward to the new changes. You can '. 27 27 'disable this behavior if you prefer comments stay anchored in one '. 28 28 'place.');
+4 -3
src/applications/settings/setting/PhabricatorTitleGlyphsSetting.php
··· 22 22 23 23 protected function getControlInstructions() { 24 24 return pht( 25 - 'Phabricator uses unicode glyphs in page titles to provide a compact '. 26 - 'representation of the current application. You can substitute plain '. 27 - 'text instead if these glyphs do not display on your system.'); 25 + 'Some applications use unicode glyphs in page titles to provide a '. 26 + 'compact representation of the current application. You can '. 27 + 'substitute plain text instead if these glyphs do not display on '. 28 + 'your system.'); 28 29 } 29 30 30 31 public function getSettingDefaultValue() {
+2 -2
src/applications/settings/setting/PhabricatorUnifiedDiffsSetting.php
··· 22 22 23 23 protected function getControlInstructions() { 24 24 return pht( 25 - 'Phabricator normally shows diffs in a side-by-side layout on large '. 26 - 'screens and automatically switches to a unified view on small '. 25 + 'Diffs are normally shown in a side-by-side layout on large '. 26 + 'screens and automatically switched to a unified view on small '. 27 27 'screens (like mobile phones). If you prefer unified diffs even on '. 28 28 'large screens, you can select them for use on all displays.'); 29 29 }
+1 -2
src/applications/subscriptions/command/PhabricatorSubscriptionsSubscribeEmailCommand.php
··· 26 26 'command has no effect if you do not specify any subscribers.'. 27 27 "\n\n". 28 28 'Users who are CC\'d on the email itself are also automatically '. 29 - 'subscribed if Phabricator knows which accounts are linked to their '. 30 - 'email addresses.', 29 + 'subscribed if their addresses are associated with a known account.', 31 30 '!subscribe alincoln #ios'); 32 31 } 33 32
+2 -3
src/applications/system/management/PhabricatorSystemRemoveDestroyWorkflow.php
··· 109 109 'projects and users.'. 110 110 "\n\n". 111 111 'These tattered edges are an expected consequence of destroying '. 112 - 'objects, and the Phabricator upstream will not help you fix '. 113 - 'them. We strongly recommend disabling or archiving objects '. 114 - 'instead.'))); 112 + 'objects, and the upstream will not help you fix them. We '. 113 + 'strongly recommend disabling or archiving objects instead.'))); 115 114 116 115 $phids = mpull($named_objects, 'getPHID'); 117 116 $handles = PhabricatorUser::getOmnipotentUser()->loadHandles($phids);
+1 -1
src/infrastructure/cluster/PhabricatorDatabaseRef.php
··· 353 353 $ref->setConnectionMessage( 354 354 pht( 355 355 'No permission to run "SHOW SLAVE STATUS". Grant this user '. 356 - '"REPLICATION CLIENT" permission to allow Phabricator to '. 356 + '"REPLICATION CLIENT" permission to allow this server to '. 357 357 'monitor replica health.')); 358 358 } catch (AphrontInvalidCredentialsQueryException $ex) { 359 359 $ref->setConnectionStatus(self::STATUS_AUTH);
+1 -1
src/infrastructure/cluster/PhabricatorDatabaseRefParser.php
··· 90 90 if (!is_array($partition)) { 91 91 throw new Exception( 92 92 pht( 93 - 'Phabricator is configured with multiple master databases, '. 93 + 'This server is configured with multiple master databases, '. 94 94 'but master "%s" is missing a "partition" configuration key to '. 95 95 'define application partitioning.', 96 96 $ref->getRefKey()));
+1 -1
src/infrastructure/daemon/workers/management/PhabricatorWorkerManagementFloodWorkflow.php
··· 10 10 ->setSynopsis( 11 11 pht( 12 12 'Flood the queue with test tasks. This command is intended for '. 13 - 'use when developing and debugging Phabricator.')) 13 + 'use during development and debugging.')) 14 14 ->setArguments( 15 15 array( 16 16 array(
+1 -1
src/infrastructure/storage/lisk/PhabricatorLiskDAO.php
··· 138 138 throw new PhabricatorClusterImproperWriteException( 139 139 pht( 140 140 'Unable to establish a write-mode connection (to application '. 141 - 'database "%s") because Phabricator is in read-only mode. Whatever '. 141 + 'database "%s") because this server is in read-only mode. Whatever '. 142 142 'you are trying to do does not function correctly in read-only mode.', 143 143 $database)); 144 144 }