1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Fix two error strings in the diffusion.uri.edit Conduit method

Summary: Fixes T11839. Both are missing a parameter and one is a copy/paste slop.

Test Plan:
{F1913812}

{F1913813}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11839

Differential Revision: https://secure.phabricator.com/D16837
This commit is contained in:
epriestley 2016-11-10 06:20:13 -08:00
parent 9a1d59ad5b
commit ff677c1964

View file

@ -304,8 +304,9 @@ final class DiffusionURIEditor
$type, $type,
pht('Invalid'), pht('Invalid'),
pht( pht(
'Value "%s" is not a valid display setting for this URI. '. 'Value "%s" is not a valid IO setting for this URI. '.
'Available types for this URI are: %s.', 'Available types for this URI are: %s.',
$new,
implode(', ', array_keys($available))), implode(', ', array_keys($available))),
$xaction); $xaction);
continue; continue;
@ -418,6 +419,7 @@ final class DiffusionURIEditor
pht( pht(
'Value "%s" is not a valid display setting for this URI. '. 'Value "%s" is not a valid display setting for this URI. '.
'Available types for this URI are: %s.', 'Available types for this URI are: %s.',
$new,
implode(', ', array_keys($available)))); implode(', ', array_keys($available))));
} }
} }