Remove flavor text for action buttons
Summary: A small but appreciable number of users find flavor on buttons confusing. Remove this flavor. This retains flavor in headers, error messages, etc., which doesn't cause confusion. Test Plan: Looked at a revision, task, paste, macro, etc. Reviewers: chad, btrahan Reviewed By: btrahan Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D8812
This commit is contained in:
@@ -99,10 +99,6 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||
? pht('Add Comment')
|
||||
: pht('Question File Integrity');
|
||||
|
||||
$submit_button_name = $is_serious
|
||||
? pht('Add Comment')
|
||||
: pht('Debate the Bits');
|
||||
|
||||
$draft = PhabricatorDraft::newFromUserAndKey($user, $file->getPHID());
|
||||
|
||||
$add_comment_form = id(new PhabricatorApplicationTransactionCommentView())
|
||||
@@ -111,7 +107,7 @@ final class PhabricatorFileInfoController extends PhabricatorFileController {
|
||||
->setDraft($draft)
|
||||
->setHeaderText($add_comment_header)
|
||||
->setAction($this->getApplicationURI('/comment/'.$file->getID().'/'))
|
||||
->setSubmitButtonName($submit_button_name);
|
||||
->setSubmitButtonName(pht('Add Comment'));
|
||||
|
||||
return array(
|
||||
$timeline,
|
||||
|
||||
Reference in New Issue
Block a user