@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
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

Summary: Ref T13658.

Test Plan:
This test plan is non-exhaustive.

- Ran `bin/storage databases`.
- Viewed Badges UI exmaples page.
- Used eval rule for `strings.platform.server.name`, got "Phabricator".

Maniphest Tasks: T13658

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

+16 -17
+1 -1
src/applications/transactions/view/PhabricatorApplicationEditHTTPParameterHelpView.php
··· 67 67 %s 68 68 ``` 69 69 70 - However, `your.install.com` will be the domain where your copy of Phabricator 70 + However, `your.install.com` will be the domain where your copy of this software 71 71 is installed, and `application/` will be the URI for an application. Some 72 72 applications have multiple forms for creating objects or URIs that look a little 73 73 different than this example, so the URI may not look exactly like this.
+2 -2
src/applications/uiexample/examples/PHUIBadgeExample.php
··· 56 56 $badges2 = array(); 57 57 $badges2[] = id(new PHUIBadgeView()) 58 58 ->setIcon('fa-user') 59 - ->setHeader(pht('Phabricator User')) 59 + ->setHeader(pht('User')) 60 60 ->setSubhead(pht('Confirmed your account.')) 61 61 ->setQuality(PhabricatorBadgesQuality::POOR) 62 62 ->setSource(pht('People (automatic)')) ··· 111 111 $badges2[] = id(new PHUIBadgeView()) 112 112 ->setIcon('fa-compass') 113 113 ->setHeader(pht('Lead Developer')) 114 - ->setSubhead(pht('Lead Developer of Phabricator')) 114 + ->setSubhead(pht('Lead Developer of Software')) 115 115 ->setQuality(PhabricatorBadgesQuality::HEIRLOOM) 116 116 ->setSource(pht('Direct Award')) 117 117 ->addByline(pht('Dec 31, 1969'))
+1 -1
src/applications/uiexample/examples/PHUIHovercardUIExample.php
··· 39 39 $task_handle = $this->createBasicDummyHandle( 40 40 'T123', 41 41 ManiphestTaskPHIDType::TYPECONST, 42 - pht('Improve Mobile Experience for Phabricator')); 42 + pht('Improve Mobile Experience')); 43 43 44 44 $tag = id(new PHUITagView()) 45 45 ->setType(PHUITagView::TYPE_STATE)
+1 -1
src/applications/uiexample/examples/PhabricatorProjectBuiltinsExample.php
··· 7 7 } 8 8 9 9 public function getDescription() { 10 - return pht('Builtin Project Images that ship with Phabricator.'); 10 + return pht('Builtin Project Images.'); 11 11 } 12 12 13 13 public function getCategory() {
+1 -1
src/infrastructure/contentsource/PhabricatorContentSource.php
··· 42 42 } else { 43 43 throw new Exception( 44 44 pht( 45 - 'Content source type "%s" is not known to Phabricator!', 45 + 'Content source type "%s" is unknown.', 46 46 $source)); 47 47 } 48 48 }
+5 -5
src/infrastructure/env/PhabricatorEnv.php
··· 554 554 switch ($reason) { 555 555 case self::READONLY_MASTERLESS: 556 556 return pht( 557 - 'Phabricator is in read-only mode (no writable database '. 557 + 'This server is in read-only mode (no writable database '. 558 558 'is configured).'); 559 559 case self::READONLY_UNREACHABLE: 560 560 return pht( 561 - 'Phabricator is in read-only mode (unreachable master).'); 561 + 'This server is in read-only mode (unreachable master).'); 562 562 case self::READONLY_SEVERED: 563 563 return pht( 564 - 'Phabricator is in read-only mode (major interruption).'); 564 + 'This server is in read-only mode (major interruption).'); 565 565 } 566 566 567 - return pht('Phabricator is in read-only mode.'); 567 + return pht('This server is in read-only mode.'); 568 568 } 569 569 570 570 public static function getReadOnlyURI() { ··· 884 884 if (!$cluster_addresses) { 885 885 throw new Exception( 886 886 pht( 887 - 'Phabricator is not configured to serve cluster requests. '. 887 + 'This server is not configured to serve cluster requests. '. 888 888 'Set `cluster.addresses` in the configuration to whitelist '. 889 889 'cluster hosts before sending requests that use a cluster '. 890 890 'authentication mechanism.'));
+1 -2
src/infrastructure/export/format/PhabricatorExcelExportFormat.php
··· 33 33 34 34 return pht(<<<EOHELP 35 35 Data can not be exported to Excel because the PHPExcel library is not 36 - installed. This software component is required for Phabricator to create 37 - Excel files. 36 + installed. This software component is required to create Excel files. 38 37 39 38 You can install PHPExcel from GitHub: 40 39
+2 -2
src/infrastructure/markup/markuprule/PhutilRemarkupEvalRule.php
··· 67 67 'strings' => array( 68 68 'platform' => array( 69 69 'server' => array( 70 - 'name' => pht('Phabricator'), 70 + 'name' => PlatformSymbols::getPlatformServerName(), 71 71 'path' => pht('phabricator/'), 72 72 ), 73 73 'client' => array( 74 - 'name' => pht('Arcanist'), 74 + 'name' => PlatformSymbols::getPlatformClientName(), 75 75 'path' => pht('arcanist/'), 76 76 ), 77 77 ),
+1 -1
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDatabasesWorkflow.php
··· 7 7 $this 8 8 ->setName('databases') 9 9 ->setExamples('**databases** [__options__]') 10 - ->setSynopsis(pht('List Phabricator databases.')); 10 + ->setSynopsis(pht('List databases.')); 11 11 } 12 12 13 13 protected function isReadOnlyWorkflow() {
+1 -1
src/infrastructure/util/PhabricatorHash.php
··· 22 22 if (!$key) { 23 23 throw new Exception( 24 24 pht( 25 - "Set a '%s' in your Phabricator configuration!", 25 + "Set a '%s' in your configuration!", 26 26 'security.hmac-key')); 27 27 } 28 28