@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

+10 -5
+2 -2
src/infrastructure/lint/linter/PhabricatorJavelinLinter.php
··· 20 20 public function getInfoDescription() { 21 21 return pht( 22 22 'This linter is intended for use with the Javelin JS library and '. 23 - 'extensions. Use `javelinsymbols` to run Javelin rules on Javascript '. 24 - 'source files.'); 23 + 'extensions. Use `%s` to run Javelin rules on Javascript source files.', 24 + 'javelinsymbols'); 25 25 } 26 26 27 27 private function getBinaryPath() {
+3 -1
src/infrastructure/markup/interpreter/PhabricatorRemarkupFigletBlockInterpreter.php
··· 10 10 public function markupContent($content, array $argv) { 11 11 if (!Filesystem::binaryExists('figlet')) { 12 12 return $this->markupError( 13 - pht('Unable to locate the `figlet` binary. Install figlet.')); 13 + pht( 14 + 'Unable to locate the `%s` binary. Install figlet.', 15 + 'figlet')); 14 16 } 15 17 16 18 $font = idx($argv, 'font', 'standard');
+5 -2
src/infrastructure/markup/interpreter/PhabricatorRemarkupGraphvizBlockInterpreter.php
··· 10 10 public function markupContent($content, array $argv) { 11 11 if (!Filesystem::binaryExists('dot')) { 12 12 return $this->markupError( 13 - pht('Unable to locate the `dot` binary. Install Graphviz.')); 13 + pht( 14 + 'Unable to locate the `%s` binary. Install Graphviz.', 15 + 'dot')); 14 16 } 15 17 16 18 $width = $this->parseDimension(idx($argv, 'width')); ··· 24 26 if ($err) { 25 27 return $this->markupError( 26 28 pht( 27 - 'Execution of `dot` failed (#%d), check your syntax: %s', 29 + 'Execution of `%s` failed (#%d), check your syntax: %s', 30 + 'dot', 28 31 $err, 29 32 $stderr)); 30 33 }