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

Summary: Ref T13658.

Test Plan: Static checks only.

Maniphest Tasks: T13658

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

+19 -17
+1 -1
src/applications/repository/xaction/PhabricatorRepositoryVCSTransaction.php
··· 48 48 $errors[] = $this->newInvalidError( 49 49 pht( 50 50 'Specified version control system must be a VCS '. 51 - 'recognized by Phabricator. Valid systems are: %s.', 51 + 'recognized by this software. Valid systems are: %s.', 52 52 implode(', ', array_keys($vcs_map))), 53 53 $xaction); 54 54 }
+2 -1
src/applications/settings/panel/PhabricatorEmailAddressesSettingsPanel.php
··· 398 398 ->setTitle(pht('Change primary email address?')) 399 399 ->appendParagraph( 400 400 pht( 401 - 'If you change your primary address, Phabricator will send all '. 401 + 'If you change your primary address, %s will send all '. 402 402 'email to %s.', 403 + PlatformSymbols::getPlatformServerName(), 403 404 $address)) 404 405 ->appendParagraph( 405 406 pht(
+7 -6
src/applications/settings/panel/PhabricatorNotificationsSettingsPanel.php
··· 68 68 'span', 69 69 array(), 70 70 array( 71 - pht('This browser has not yet granted permission to send desktop '. 72 - 'notifications for this Phabricator instance.'), 71 + pht( 72 + 'Your browser has not yet granted this server permission to send '. 73 + 'desktop notifications.'), 73 74 phutil_tag('br'), 74 75 phutil_tag('br'), 75 76 javelin_tag( ··· 83 84 $granted_status = phutil_tag( 84 85 'span', 85 86 array(), 86 - pht('This browser has been granted permission to send desktop '. 87 - 'notifications for this Phabricator instance.')); 87 + pht('Your browser has granted this server permission to send desktop '. 88 + 'notifications.')); 88 89 $denied_status = phutil_tag( 89 90 'span', 90 91 array(), 91 92 pht('This browser has denied permission to send desktop notifications '. 92 - 'for this Phabricator instance. Consult your browser settings / '. 93 + 'to this server. Consult your browser settings / '. 93 94 'documentation to figure out how to clear this setting, do so, '. 94 95 'and then re-visit this page to grant permission.')); 95 96 ··· 146 147 ->setOptions(PhabricatorNotificationsSetting::getOptionsMap()) 147 148 ->setCaption( 148 149 pht( 149 - 'Phabricator can send real-time notifications to your web browser '. 150 + 'This server can send real-time notifications to your web browser '. 150 151 'or to your desktop. Select where you want to receive these '. 151 152 'real-time updates.')) 152 153 ->initBehavior(
+2 -2
src/applications/settings/setting/PhabricatorAccessibilitySetting.php
··· 19 19 20 20 protected function getControlInstructions() { 21 21 return pht( 22 - 'If you have difficulty reading the Phabricator UI, this setting '. 23 - 'may make Phabricator more accessible.'); 22 + 'If you have difficulty reading the UI, this setting '. 23 + 'may help.'); 24 24 } 25 25 26 26 public function getSettingDefaultValue() {
+1 -1
src/applications/settings/setting/PhabricatorDarkConsoleSetting.php
··· 27 27 protected function getControlInstructions() { 28 28 return pht( 29 29 'DarkConsole is a debugging console for developing and troubleshooting '. 30 - 'Phabricator applications. After enabling DarkConsole, press the '. 30 + 'applications. After enabling DarkConsole, press the '. 31 31 '{nav `} key on your keyboard to toggle it on or off.'); 32 32 } 33 33
+2 -2
src/applications/settings/setting/PhabricatorEditorSetting.php
··· 21 21 return pht( 22 22 "Many text editors can be configured as URI handlers for special ". 23 23 "protocols like `editor://`. If you have installed and configured ". 24 - "such an editor, Phabricator can generate links that you can click ". 25 - "to open files locally.". 24 + "such an editor, some applications can generate links that you can ". 25 + "click to open files locally.". 26 26 "\n\n". 27 27 "Provide a URI pattern for building external editor URIs in your ". 28 28 "environment. For example, if you use TextMate on macOS, the pattern ".
+2 -2
src/applications/settings/setting/PhabricatorEmailFormatSetting.php
··· 22 22 23 23 protected function getControlInstructions() { 24 24 return pht( 25 - 'You can opt to receive plain text email from Phabricator instead '. 26 - 'of HTML email. Plain text email works better with some clients.'); 25 + 'You can opt to receive plain text email instead of HTML email. '. 26 + 'Plain text email works better with some clients.'); 27 27 } 28 28 29 29 public function getSettingDefaultValue() {
+1 -1
src/applications/settings/setting/PhabricatorEmailNotificationsSetting.php
··· 22 22 23 23 protected function getControlInstructions() { 24 24 return pht( 25 - 'If you disable **Email Notifications**, Phabricator will never '. 25 + 'If you disable **Email Notifications**, this server will never '. 26 26 'send email to notify you about events. This preference overrides '. 27 27 'all your other settings.'. 28 28 "\n\n".
+1 -1
src/applications/settings/setting/PhabricatorEmailSelfActionsSetting.php
··· 22 22 23 23 protected function getControlInstructions() { 24 24 return pht( 25 - 'If you disable **Self Actions**, Phabricator will not notify '. 25 + 'If you disable **Self Actions**, this server will not notify '. 26 26 'you about actions you take.'); 27 27 } 28 28