mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01: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:
parent
f4f3b90c87
commit
960c0be689
2 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ final class PhabricatorInternationalizationManagementExtractWorkflow
|
|||
}
|
||||
|
||||
foreach ($libraries as $library) {
|
||||
$targets[] = Filesystem::resolvePath(dirname($library)).'/';
|
||||
$targets[] = Filesystem::resolvePath(dirname($path.'/'.$library)).'/';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue