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 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() {
|
||||
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 '.
|
||||
'disable this behavior if you prefer comments stay anchored in one '.
|
||||
'place.');
|
||||
|
|
|
@ -22,9 +22,10 @@ final class PhabricatorTitleGlyphsSetting
|
|||
|
||||
protected function getControlInstructions() {
|
||||
return pht(
|
||||
'Phabricator uses unicode glyphs in page titles to provide a compact '.
|
||||
'representation of the current application. You can substitute plain '.
|
||||
'text instead if these glyphs do not display on your system.');
|
||||
'Some applications use unicode glyphs in page titles to provide a '.
|
||||
'compact representation of the current application. You can '.
|
||||
'substitute plain text instead if these glyphs do not display on '.
|
||||
'your system.');
|
||||
}
|
||||
|
||||
public function getSettingDefaultValue() {
|
||||
|
|
|
@ -22,8 +22,8 @@ final class PhabricatorUnifiedDiffsSetting
|
|||
|
||||
protected function getControlInstructions() {
|
||||
return pht(
|
||||
'Phabricator normally shows diffs in a side-by-side layout on large '.
|
||||
'screens and automatically switches to a unified view on small '.
|
||||
'Diffs are normally shown in a side-by-side layout on large '.
|
||||
'screens and automatically switched to a unified view on small '.
|
||||
'screens (like mobile phones). If you prefer unified diffs even on '.
|
||||
'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.'.
|
||||
"\n\n".
|
||||
'Users who are CC\'d on the email itself are also automatically '.
|
||||
'subscribed if Phabricator knows which accounts are linked to their '.
|
||||
'email addresses.',
|
||||
'subscribed if their addresses are associated with a known account.',
|
||||
'!subscribe alincoln #ios');
|
||||
}
|
||||
|
||||
|
|
|
@ -109,9 +109,8 @@ EOBANNER;
|
|||
'projects and users.'.
|
||||
"\n\n".
|
||||
'These tattered edges are an expected consequence of destroying '.
|
||||
'objects, and the Phabricator upstream will not help you fix '.
|
||||
'them. We strongly recommend disabling or archiving objects '.
|
||||
'instead.')));
|
||||
'objects, and the upstream will not help you fix them. We '.
|
||||
'strongly recommend disabling or archiving objects instead.')));
|
||||
|
||||
$phids = mpull($named_objects, 'getPHID');
|
||||
$handles = PhabricatorUser::getOmnipotentUser()->loadHandles($phids);
|
||||
|
|
|
@ -353,7 +353,7 @@ final class PhabricatorDatabaseRef
|
|||
$ref->setConnectionMessage(
|
||||
pht(
|
||||
'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.'));
|
||||
} catch (AphrontInvalidCredentialsQueryException $ex) {
|
||||
$ref->setConnectionStatus(self::STATUS_AUTH);
|
||||
|
|
|
@ -90,7 +90,7 @@ final class PhabricatorDatabaseRefParser
|
|||
if (!is_array($partition)) {
|
||||
throw new Exception(
|
||||
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 '.
|
||||
'define application partitioning.',
|
||||
$ref->getRefKey()));
|
||||
|
|
|
@ -10,7 +10,7 @@ final class PhabricatorWorkerManagementFloodWorkflow
|
|||
->setSynopsis(
|
||||
pht(
|
||||
'Flood the queue with test tasks. This command is intended for '.
|
||||
'use when developing and debugging Phabricator.'))
|
||||
'use during development and debugging.'))
|
||||
->setArguments(
|
||||
array(
|
||||
array(
|
||||
|
|
|
@ -138,7 +138,7 @@ abstract class PhabricatorLiskDAO extends LiskDAO {
|
|||
throw new PhabricatorClusterImproperWriteException(
|
||||
pht(
|
||||
'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.',
|
||||
$database));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue