1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 01:10:58 +01:00

Tidy up some translation strings

Summary: Parameterize command names in translation strings.

Test Plan: Eyeball it.

Reviewers: #blessed_reviewers, epriestley, eadler

Reviewed By: #blessed_reviewers, epriestley, eadler

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13270
This commit is contained in:
Joshua Spence 2015-06-14 14:13:15 +10:00
parent a1aedff90a
commit 57e7c7c706
3 changed files with 10 additions and 5 deletions

View file

@ -20,8 +20,8 @@ final class PhabricatorJavelinLinter extends ArcanistLinter {
public function getInfoDescription() {
return pht(
'This linter is intended for use with the Javelin JS library and '.
'extensions. Use `javelinsymbols` to run Javelin rules on Javascript '.
'source files.');
'extensions. Use `%s` to run Javelin rules on Javascript source files.',
'javelinsymbols');
}
private function getBinaryPath() {

View file

@ -10,7 +10,9 @@ final class PhabricatorRemarkupFigletBlockInterpreter
public function markupContent($content, array $argv) {
if (!Filesystem::binaryExists('figlet')) {
return $this->markupError(
pht('Unable to locate the `figlet` binary. Install figlet.'));
pht(
'Unable to locate the `%s` binary. Install figlet.',
'figlet'));
}
$font = idx($argv, 'font', 'standard');

View file

@ -10,7 +10,9 @@ final class PhabricatorRemarkupGraphvizBlockInterpreter
public function markupContent($content, array $argv) {
if (!Filesystem::binaryExists('dot')) {
return $this->markupError(
pht('Unable to locate the `dot` binary. Install Graphviz.'));
pht(
'Unable to locate the `%s` binary. Install Graphviz.',
'dot'));
}
$width = $this->parseDimension(idx($argv, 'width'));
@ -24,7 +26,8 @@ final class PhabricatorRemarkupGraphvizBlockInterpreter
if ($err) {
return $this->markupError(
pht(
'Execution of `dot` failed (#%d), check your syntax: %s',
'Execution of `%s` failed (#%d), check your syntax: %s',
'dot',
$err,
$stderr));
}