mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
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
This commit is contained in:
parent
0c5ab2c164
commit
bc7f87591f
9 changed files with 14 additions and 15 deletions
|
@ -22,7 +22,7 @@ final class PhabricatorOlderInlinesSetting
|
||||||
|
|
||||||
protected function getControlInstructions() {
|
protected function getControlInstructions() {
|
||||||
return pht(
|
return pht(
|
||||||
'When a revision is updated, Phabricator attempts to bring inline '.
|
'When a revision is updated, this software attempts to bring inline '.
|
||||||
'comments on the older version forward to the new changes. You can '.
|
'comments on the older version forward to the new changes. You can '.
|
||||||
'disable this behavior if you prefer comments stay anchored in one '.
|
'disable this behavior if you prefer comments stay anchored in one '.
|
||||||
'place.');
|
'place.');
|
||||||
|
|
|
@ -22,9 +22,10 @@ final class PhabricatorTitleGlyphsSetting
|
||||||
|
|
||||||
protected function getControlInstructions() {
|
protected function getControlInstructions() {
|
||||||
return pht(
|
return pht(
|
||||||
'Phabricator uses unicode glyphs in page titles to provide a compact '.
|
'Some applications use unicode glyphs in page titles to provide a '.
|
||||||
'representation of the current application. You can substitute plain '.
|
'compact representation of the current application. You can '.
|
||||||
'text instead if these glyphs do not display on your system.');
|
'substitute plain text instead if these glyphs do not display on '.
|
||||||
|
'your system.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getSettingDefaultValue() {
|
public function getSettingDefaultValue() {
|
||||||
|
|
|
@ -22,8 +22,8 @@ final class PhabricatorUnifiedDiffsSetting
|
||||||
|
|
||||||
protected function getControlInstructions() {
|
protected function getControlInstructions() {
|
||||||
return pht(
|
return pht(
|
||||||
'Phabricator normally shows diffs in a side-by-side layout on large '.
|
'Diffs are normally shown in a side-by-side layout on large '.
|
||||||
'screens and automatically switches to a unified view on small '.
|
'screens and automatically switched to a unified view on small '.
|
||||||
'screens (like mobile phones). If you prefer unified diffs even on '.
|
'screens (like mobile phones). If you prefer unified diffs even on '.
|
||||||
'large screens, you can select them for use on all displays.');
|
'large screens, you can select them for use on all displays.');
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,8 +26,7 @@ final class PhabricatorSubscriptionsSubscribeEmailCommand
|
||||||
'command has no effect if you do not specify any subscribers.'.
|
'command has no effect if you do not specify any subscribers.'.
|
||||||
"\n\n".
|
"\n\n".
|
||||||
'Users who are CC\'d on the email itself are also automatically '.
|
'Users who are CC\'d on the email itself are also automatically '.
|
||||||
'subscribed if Phabricator knows which accounts are linked to their '.
|
'subscribed if their addresses are associated with a known account.',
|
||||||
'email addresses.',
|
|
||||||
'!subscribe alincoln #ios');
|
'!subscribe alincoln #ios');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,9 +109,8 @@ EOBANNER;
|
||||||
'projects and users.'.
|
'projects and users.'.
|
||||||
"\n\n".
|
"\n\n".
|
||||||
'These tattered edges are an expected consequence of destroying '.
|
'These tattered edges are an expected consequence of destroying '.
|
||||||
'objects, and the Phabricator upstream will not help you fix '.
|
'objects, and the upstream will not help you fix them. We '.
|
||||||
'them. We strongly recommend disabling or archiving objects '.
|
'strongly recommend disabling or archiving objects instead.')));
|
||||||
'instead.')));
|
|
||||||
|
|
||||||
$phids = mpull($named_objects, 'getPHID');
|
$phids = mpull($named_objects, 'getPHID');
|
||||||
$handles = PhabricatorUser::getOmnipotentUser()->loadHandles($phids);
|
$handles = PhabricatorUser::getOmnipotentUser()->loadHandles($phids);
|
||||||
|
|
|
@ -353,7 +353,7 @@ final class PhabricatorDatabaseRef
|
||||||
$ref->setConnectionMessage(
|
$ref->setConnectionMessage(
|
||||||
pht(
|
pht(
|
||||||
'No permission to run "SHOW SLAVE STATUS". Grant this user '.
|
'No permission to run "SHOW SLAVE STATUS". Grant this user '.
|
||||||
'"REPLICATION CLIENT" permission to allow Phabricator to '.
|
'"REPLICATION CLIENT" permission to allow this server to '.
|
||||||
'monitor replica health.'));
|
'monitor replica health.'));
|
||||||
} catch (AphrontInvalidCredentialsQueryException $ex) {
|
} catch (AphrontInvalidCredentialsQueryException $ex) {
|
||||||
$ref->setConnectionStatus(self::STATUS_AUTH);
|
$ref->setConnectionStatus(self::STATUS_AUTH);
|
||||||
|
|
|
@ -90,7 +90,7 @@ final class PhabricatorDatabaseRefParser
|
||||||
if (!is_array($partition)) {
|
if (!is_array($partition)) {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
pht(
|
pht(
|
||||||
'Phabricator is configured with multiple master databases, '.
|
'This server is configured with multiple master databases, '.
|
||||||
'but master "%s" is missing a "partition" configuration key to '.
|
'but master "%s" is missing a "partition" configuration key to '.
|
||||||
'define application partitioning.',
|
'define application partitioning.',
|
||||||
$ref->getRefKey()));
|
$ref->getRefKey()));
|
||||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorWorkerManagementFloodWorkflow
|
||||||
->setSynopsis(
|
->setSynopsis(
|
||||||
pht(
|
pht(
|
||||||
'Flood the queue with test tasks. This command is intended for '.
|
'Flood the queue with test tasks. This command is intended for '.
|
||||||
'use when developing and debugging Phabricator.'))
|
'use during development and debugging.'))
|
||||||
->setArguments(
|
->setArguments(
|
||||||
array(
|
array(
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -138,7 +138,7 @@ abstract class PhabricatorLiskDAO extends LiskDAO {
|
||||||
throw new PhabricatorClusterImproperWriteException(
|
throw new PhabricatorClusterImproperWriteException(
|
||||||
pht(
|
pht(
|
||||||
'Unable to establish a write-mode connection (to application '.
|
'Unable to establish a write-mode connection (to application '.
|
||||||
'database "%s") because Phabricator is in read-only mode. Whatever '.
|
'database "%s") because this server is in read-only mode. Whatever '.
|
||||||
'you are trying to do does not function correctly in read-only mode.',
|
'you are trying to do does not function correctly in read-only mode.',
|
||||||
$database));
|
$database));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue