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 18
Summary: Ref T13658. Test Plan: Static checks only. Maniphest Tasks: T13658 Differential Revision: https://secure.phabricator.com/D21784
This commit is contained in:
parent
55770a2ca8
commit
2f95330c5a
10 changed files with 31 additions and 26 deletions
|
@ -45,7 +45,7 @@ final class DiffusionRepositoryEditUpdateController
|
||||||
->setTitle(pht('Update Repository Now'))
|
->setTitle(pht('Update Repository Now'))
|
||||||
->appendParagraph(
|
->appendParagraph(
|
||||||
pht(
|
pht(
|
||||||
'Normally, Phabricator automatically updates repositories '.
|
'Normally, repositories are automatically updated '.
|
||||||
'based on how much time has elapsed since the last commit. '.
|
'based on how much time has elapsed since the last commit. '.
|
||||||
'This helps reduce load if you have a large number of mostly '.
|
'This helps reduce load if you have a large number of mostly '.
|
||||||
'inactive repositories, which is common.'))
|
'inactive repositories, which is common.'))
|
||||||
|
@ -57,7 +57,7 @@ final class DiffusionRepositoryEditUpdateController
|
||||||
'repository.'))
|
'repository.'))
|
||||||
->appendParagraph(
|
->appendParagraph(
|
||||||
pht(
|
pht(
|
||||||
'To learn more about how Phabricator updates repositories, '.
|
'To learn more about how repositories are updated, '.
|
||||||
'read %s in the documentation.',
|
'read %s in the documentation.',
|
||||||
$doc_link))
|
$doc_link))
|
||||||
->addCancelButton($panel_uri)
|
->addCancelButton($panel_uri)
|
||||||
|
|
|
@ -38,10 +38,10 @@ final class DiffusionRepositoryURICredentialController
|
||||||
->setTitle(pht('Builtin URIs Do Not Use Credentials'))
|
->setTitle(pht('Builtin URIs Do Not Use Credentials'))
|
||||||
->appendParagraph(
|
->appendParagraph(
|
||||||
pht(
|
pht(
|
||||||
'You can not set a credential for builtin URIs which Phabricator '.
|
'You can not set a credential for builtin URIs which this '.
|
||||||
'hosts and serves. Phabricator does not fetch from these URIs or '.
|
'server hosts. These URIs are not fetched from or pushed to, '.
|
||||||
'push to these URIs, and does not need credentials to '.
|
'and credentials are not required to authenticate any '.
|
||||||
'authenticate any activity against them.'))
|
'activity against them.'))
|
||||||
->addCancelButton($view_uri);
|
->addCancelButton($view_uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -421,7 +421,7 @@ final class DiffusionServeController extends DiffusionController {
|
||||||
$result = new PhabricatorVCSResponse(
|
$result = new PhabricatorVCSResponse(
|
||||||
500,
|
500,
|
||||||
pht(
|
pht(
|
||||||
'Phabricator does not support HTTP access to Subversion '.
|
'This server does not support HTTP access to Subversion '.
|
||||||
'repositories.'));
|
'repositories.'));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -217,7 +217,7 @@ final class DiffusionRepositoryEditEngine
|
||||||
$permanent_value = $object->getPermanentRefRules();
|
$permanent_value = $object->getPermanentRefRules();
|
||||||
|
|
||||||
$automation_instructions = pht(
|
$automation_instructions = pht(
|
||||||
"Configure **Repository Automation** to allow Phabricator to ".
|
"Configure **Repository Automation** to allow this server to ".
|
||||||
"write to this repository.".
|
"write to this repository.".
|
||||||
"\n\n".
|
"\n\n".
|
||||||
"IMPORTANT: This feature is new, experimental, and not supported. ".
|
"IMPORTANT: This feature is new, experimental, and not supported. ".
|
||||||
|
@ -234,7 +234,7 @@ final class DiffusionRepositoryEditEngine
|
||||||
|
|
||||||
$subpath_instructions = pht(
|
$subpath_instructions = pht(
|
||||||
'If you want to import only part of a repository, like `trunk/`, '.
|
'If you want to import only part of a repository, like `trunk/`, '.
|
||||||
'you can set a path in **Import Only**. Phabricator will ignore '.
|
'you can set a path in **Import Only**. The import process will ignore '.
|
||||||
'commits which do not affect this path.');
|
'commits which do not affect this path.');
|
||||||
|
|
||||||
$filesize_warning = null;
|
$filesize_warning = null;
|
||||||
|
@ -256,7 +256,7 @@ final class DiffusionRepositoryEditEngine
|
||||||
$track_instructions = pht(
|
$track_instructions = pht(
|
||||||
'WARNING: The "Track Only" feature is deprecated. Use "Fetch Refs" '.
|
'WARNING: The "Track Only" feature is deprecated. Use "Fetch Refs" '.
|
||||||
'and "Permanent Refs" instead. This feature will be removed in a '.
|
'and "Permanent Refs" instead. This feature will be removed in a '.
|
||||||
'future version of Phabricator.');
|
'future version of this software.');
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
id(new PhabricatorSelectEditField())
|
id(new PhabricatorSelectEditField())
|
||||||
|
|
|
@ -114,7 +114,7 @@ final class DiffusionSetPasswordSettingsPanel extends PhabricatorSettingsPanel {
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
->appendRemarkupInstructions(
|
->appendRemarkupInstructions(
|
||||||
pht(
|
pht(
|
||||||
'To access repositories hosted by Phabricator over HTTP, you must '.
|
'To access repositories hosted on this server over HTTP, you must '.
|
||||||
'set a version control password. This password should be unique.'.
|
'set a version control password. This password should be unique.'.
|
||||||
"\n\n".
|
"\n\n".
|
||||||
"This password applies to all repositories available over ".
|
"This password applies to all repositories available over ".
|
||||||
|
|
|
@ -273,9 +273,10 @@ final class DiffusionRepositoryClusterEngine extends Phobject {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
pht(
|
pht(
|
||||||
'Repository "%s" exists on more than one device, but no device '.
|
'Repository "%s" exists on more than one device, but no device '.
|
||||||
'has any repository version information. Phabricator can not '.
|
'has any repository version information. There is no way for the '.
|
||||||
'guess which copy of the existing data is authoritative. Promote '.
|
'software to determine which copy of the existing data is '.
|
||||||
'a device or see "Ambiguous Leaders" in the documentation.',
|
'authoritative. Promote a device or see "Ambiguous Leaders" in '.
|
||||||
|
'the documentation.',
|
||||||
$repository->getDisplayName()));
|
$repository->getDisplayName()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -563,7 +563,7 @@ abstract class DiffusionRequest extends Phobject {
|
||||||
throw new DiffusionSetupException(
|
throw new DiffusionSetupException(
|
||||||
pht(
|
pht(
|
||||||
'The working copy for this repository ("%s") has not been cloned yet '.
|
'The working copy for this repository ("%s") has not been cloned yet '.
|
||||||
'on this machine ("%s"). Make sure you havestarted the Phabricator '.
|
'on this machine ("%s"). Make sure you have started the '.
|
||||||
'daemons. If this problem persists for longer than a clone should '.
|
'daemons. If this problem persists for longer than a clone should '.
|
||||||
'take, check the daemon logs (in the Daemon Console) to see if there '.
|
'take, check the daemon logs (in the Daemon Console) to see if there '.
|
||||||
'were errors cloning the repository. Consult the "Diffusion User '.
|
'were errors cloning the repository. Consult the "Diffusion User '.
|
||||||
|
|
|
@ -117,7 +117,7 @@ abstract class DiffusionSSHWorkflow extends PhabricatorSSHWorkflow {
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
pht(
|
pht(
|
||||||
'Unable to determine the username to connect with when trying '.
|
'Unable to determine the username to connect with when trying '.
|
||||||
'to proxy an SSH request within the Phabricator cluster.'));
|
'to proxy an SSH request within the cluster.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$port = $uri->getPort();
|
$port = $uri->getPort();
|
||||||
|
|
|
@ -48,18 +48,20 @@ final class DivinerMainController extends DivinerController {
|
||||||
$document->appendChild($list);
|
$document->appendChild($list);
|
||||||
} else {
|
} else {
|
||||||
$text = pht(
|
$text = pht(
|
||||||
"(NOTE) **Looking for Phabricator documentation?** ".
|
"(NOTE) **Looking for documentation?** ".
|
||||||
"If you're looking for help and information about Phabricator, ".
|
"If you're looking for help and information about %s, ".
|
||||||
"you can [[https://secure.phabricator.com/diviner/ | ".
|
"you can [[https://secure.phabricator.com/diviner/ | ".
|
||||||
"browse the public Phabricator documentation]] on the live site.\n\n".
|
"browse the public %s documentation]] on the live site.\n\n".
|
||||||
"Diviner is the documentation generator used to build the ".
|
"Diviner is the documentation generator used to build this ".
|
||||||
"Phabricator documentation.\n\n".
|
"documentation.\n\n".
|
||||||
"You haven't generated any Diviner documentation books yet, so ".
|
"You haven't generated any Diviner documentation books yet, so ".
|
||||||
"there's nothing to show here. If you'd like to generate your own ".
|
"there's nothing to show here. If you'd like to generate your own ".
|
||||||
"local copy of the Phabricator documentation and have it appear ".
|
"local copy of the documentation and have it appear ".
|
||||||
"here, run this command:\n\n".
|
"here, run this command:\n\n".
|
||||||
" %s\n\n",
|
" %s\n\n",
|
||||||
'phabricator/ $ ./bin/diviner generate');
|
PlatformSymbols::getPlatformServerName(),
|
||||||
|
PlatformSymbols::getPlatformServerName(),
|
||||||
|
'$ ./bin/diviner generate');
|
||||||
|
|
||||||
$text = new PHUIRemarkupView($viewer, $text);
|
$text = new PHUIRemarkupView($viewer, $text);
|
||||||
$document->appendChild($text);
|
$document->appendChild($text);
|
||||||
|
|
|
@ -33,12 +33,14 @@ final class PhabricatorAsanaConfigOptions
|
||||||
->setSummary(pht('Optional Asana projects to use as application tags.'))
|
->setSummary(pht('Optional Asana projects to use as application tags.'))
|
||||||
->setDescription(
|
->setDescription(
|
||||||
pht(
|
pht(
|
||||||
'When Phabricator creates tasks in Asana, it can add the tasks '.
|
'When %s creates tasks in Asana, it can add the tasks '.
|
||||||
'to Asana projects based on which application the corresponding '.
|
'to Asana projects based on which application the corresponding '.
|
||||||
'object in Phabricator comes from. For example, you can add code '.
|
'object in %s comes from. For example, you can add code '.
|
||||||
'reviews in Asana to a "Differential" project.'.
|
'reviews in Asana to a "Differential" project.'.
|
||||||
"\n\n".
|
"\n\n".
|
||||||
'NOTE: This feature is new and experimental.')),
|
'NOTE: This feature is new and experimental.',
|
||||||
|
PlatformSymbols::getPlatformServerName(),
|
||||||
|
PlatformSymbols::getPlatformServerName())),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue