mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
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
This commit is contained in:
parent
7fd8263185
commit
0c5ab2c164
9 changed files with 19 additions and 17 deletions
|
@ -48,7 +48,7 @@ final class PhabricatorRepositoryVCSTransaction
|
|||
$errors[] = $this->newInvalidError(
|
||||
pht(
|
||||
'Specified version control system must be a VCS '.
|
||||
'recognized by Phabricator. Valid systems are: %s.',
|
||||
'recognized by this software. Valid systems are: %s.',
|
||||
implode(', ', array_keys($vcs_map))),
|
||||
$xaction);
|
||||
}
|
||||
|
|
|
@ -398,8 +398,9 @@ final class PhabricatorEmailAddressesSettingsPanel
|
|||
->setTitle(pht('Change primary email address?'))
|
||||
->appendParagraph(
|
||||
pht(
|
||||
'If you change your primary address, Phabricator will send all '.
|
||||
'If you change your primary address, %s will send all '.
|
||||
'email to %s.',
|
||||
PlatformSymbols::getPlatformServerName(),
|
||||
$address))
|
||||
->appendParagraph(
|
||||
pht(
|
||||
|
|
|
@ -68,8 +68,9 @@ final class PhabricatorNotificationsSettingsPanel
|
|||
'span',
|
||||
array(),
|
||||
array(
|
||||
pht('This browser has not yet granted permission to send desktop '.
|
||||
'notifications for this Phabricator instance.'),
|
||||
pht(
|
||||
'Your browser has not yet granted this server permission to send '.
|
||||
'desktop notifications.'),
|
||||
phutil_tag('br'),
|
||||
phutil_tag('br'),
|
||||
javelin_tag(
|
||||
|
@ -83,13 +84,13 @@ final class PhabricatorNotificationsSettingsPanel
|
|||
$granted_status = phutil_tag(
|
||||
'span',
|
||||
array(),
|
||||
pht('This browser has been granted permission to send desktop '.
|
||||
'notifications for this Phabricator instance.'));
|
||||
pht('Your browser has granted this server permission to send desktop '.
|
||||
'notifications.'));
|
||||
$denied_status = phutil_tag(
|
||||
'span',
|
||||
array(),
|
||||
pht('This browser has denied permission to send desktop notifications '.
|
||||
'for this Phabricator instance. Consult your browser settings / '.
|
||||
'to this server. Consult your browser settings / '.
|
||||
'documentation to figure out how to clear this setting, do so, '.
|
||||
'and then re-visit this page to grant permission.'));
|
||||
|
||||
|
@ -146,7 +147,7 @@ final class PhabricatorNotificationsSettingsPanel
|
|||
->setOptions(PhabricatorNotificationsSetting::getOptionsMap())
|
||||
->setCaption(
|
||||
pht(
|
||||
'Phabricator can send real-time notifications to your web browser '.
|
||||
'This server can send real-time notifications to your web browser '.
|
||||
'or to your desktop. Select where you want to receive these '.
|
||||
'real-time updates.'))
|
||||
->initBehavior(
|
||||
|
|
|
@ -19,8 +19,8 @@ final class PhabricatorAccessibilitySetting
|
|||
|
||||
protected function getControlInstructions() {
|
||||
return pht(
|
||||
'If you have difficulty reading the Phabricator UI, this setting '.
|
||||
'may make Phabricator more accessible.');
|
||||
'If you have difficulty reading the UI, this setting '.
|
||||
'may help.');
|
||||
}
|
||||
|
||||
public function getSettingDefaultValue() {
|
||||
|
|
|
@ -27,7 +27,7 @@ final class PhabricatorDarkConsoleSetting
|
|||
protected function getControlInstructions() {
|
||||
return pht(
|
||||
'DarkConsole is a debugging console for developing and troubleshooting '.
|
||||
'Phabricator applications. After enabling DarkConsole, press the '.
|
||||
'applications. After enabling DarkConsole, press the '.
|
||||
'{nav `} key on your keyboard to toggle it on or off.');
|
||||
}
|
||||
|
||||
|
|
|
@ -21,8 +21,8 @@ final class PhabricatorEditorSetting
|
|||
return pht(
|
||||
"Many text editors can be configured as URI handlers for special ".
|
||||
"protocols like `editor://`. If you have installed and configured ".
|
||||
"such an editor, Phabricator can generate links that you can click ".
|
||||
"to open files locally.".
|
||||
"such an editor, some applications can generate links that you can ".
|
||||
"click to open files locally.".
|
||||
"\n\n".
|
||||
"Provide a URI pattern for building external editor URIs in your ".
|
||||
"environment. For example, if you use TextMate on macOS, the pattern ".
|
||||
|
|
|
@ -22,8 +22,8 @@ final class PhabricatorEmailFormatSetting
|
|||
|
||||
protected function getControlInstructions() {
|
||||
return pht(
|
||||
'You can opt to receive plain text email from Phabricator instead '.
|
||||
'of HTML email. Plain text email works better with some clients.');
|
||||
'You can opt to receive plain text email instead of HTML email. '.
|
||||
'Plain text email works better with some clients.');
|
||||
}
|
||||
|
||||
public function getSettingDefaultValue() {
|
||||
|
|
|
@ -22,7 +22,7 @@ final class PhabricatorEmailNotificationsSetting
|
|||
|
||||
protected function getControlInstructions() {
|
||||
return pht(
|
||||
'If you disable **Email Notifications**, Phabricator will never '.
|
||||
'If you disable **Email Notifications**, this server will never '.
|
||||
'send email to notify you about events. This preference overrides '.
|
||||
'all your other settings.'.
|
||||
"\n\n".
|
||||
|
|
|
@ -22,7 +22,7 @@ final class PhabricatorEmailSelfActionsSetting
|
|||
|
||||
protected function getControlInstructions() {
|
||||
return pht(
|
||||
'If you disable **Self Actions**, Phabricator will not notify '.
|
||||
'If you disable **Self Actions**, this server will not notify '.
|
||||
'you about actions you take.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue