1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Fix some issues with Phabricator i18n string extraction

Summary: Ref T5267. Fix one minor bug (paths were not being resolved properly) and one minor string issue (missing `%d` in a string).

Test Plan: Extracted strings, got a cleaner result.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T5267

Differential Revision: https://secure.phabricator.com/D16808
This commit is contained in:
epriestley 2016-11-06 10:45:58 -08:00
parent f4f3b90c87
commit 960c0be689
2 changed files with 2 additions and 2 deletions

View file

@ -156,7 +156,7 @@ final class PhabricatorWorkerActiveTask extends PhabricatorWorkerTask {
if ($this->getFailureCount() > $maximum_failures) {
throw new PhabricatorWorkerPermanentFailureException(
pht(
'Task % has exceeded the maximum number of failures (%d).',
'Task %d has exceeded the maximum number of failures (%d).',
$this->getID(),
$maximum_failures));
}

View file

@ -54,7 +54,7 @@ final class PhabricatorInternationalizationManagementExtractWorkflow
}
foreach ($libraries as $library) {
$targets[] = Filesystem::resolvePath(dirname($library)).'/';
$targets[] = Filesystem::resolvePath(dirname($path.'/'.$library)).'/';
}
}