Page MenuHomePhabricator

D13270.id32068.diff
No OneTemporary

D13270.id32068.diff

diff --git a/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php b/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php
--- a/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php
+++ b/src/infrastructure/lint/linter/PhabricatorJavelinLinter.php
@@ -20,8 +20,8 @@
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() {
diff --git a/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php b/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php
--- a/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php
+++ b/src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php
@@ -10,7 +10,9 @@
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');
diff --git a/src/infrastructure/markup/interpreter/PhabricatorRemarkupGraphvizBlockInterpreter.php b/src/infrastructure/markup/interpreter/PhabricatorRemarkupGraphvizBlockInterpreter.php
--- a/src/infrastructure/markup/interpreter/PhabricatorRemarkupGraphvizBlockInterpreter.php
+++ b/src/infrastructure/markup/interpreter/PhabricatorRemarkupGraphvizBlockInterpreter.php
@@ -10,7 +10,9 @@
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 @@
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));
}

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 18, 3:49 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6720050
Default Alt Text
D13270.id32068.diff (2 KB)

Event Timeline