From ff677c1964b15d61cf9a4ddd727c1da97b63fe00 Mon Sep 17 00:00:00 2001 From: epriestley Date: Thu, 10 Nov 2016 06:20:13 -0800 Subject: [PATCH] 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 --- src/applications/diffusion/editor/DiffusionURIEditor.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/applications/diffusion/editor/DiffusionURIEditor.php b/src/applications/diffusion/editor/DiffusionURIEditor.php index 0b7096db3c..b8eabb9ef1 100644 --- a/src/applications/diffusion/editor/DiffusionURIEditor.php +++ b/src/applications/diffusion/editor/DiffusionURIEditor.php @@ -304,8 +304,9 @@ final class DiffusionURIEditor $type, pht('Invalid'), 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.', + $new, implode(', ', array_keys($available))), $xaction); continue; @@ -418,6 +419,7 @@ final class DiffusionURIEditor pht( 'Value "%s" is not a valid display setting for this URI. '. 'Available types for this URI are: %s.', + $new, implode(', ', array_keys($available)))); } } -- 2.51.2