1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00

Correct Transaction text when changing Diffusion URI I/O type

Summary:
After changing the I/O type of a Diffusion repository URI, the transaction history incorrectly shows a message which talks about changing the URI's Display type instead.

Closes T15648

Test Plan: Change the I/O type of a Diffusion repo URI and look at that URIs history.

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15648

Differential Revision: https://we.phorge.it/D25443
This commit is contained in:
Andre Klapper 2023-09-27 18:50:08 +02:00
parent 903d71e67d
commit 03afb97ff2

View file

@ -57,7 +57,7 @@ final class PhabricatorRepositoryURITransaction
$new_label = idx(idx($map, $new, array()), 'label', $new); $new_label = idx(idx($map, $new, array()), 'label', $new);
return pht( return pht(
'%s changed the display type for this URI from "%s" to "%s".', '%s changed the I/O type for this URI from "%s" to "%s".',
$this->renderHandleLink($author_phid), $this->renderHandleLink($author_phid),
$old_label, $old_label,
$new_label); $new_label);