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:
epriestley
2014-04-18 17:51:46 -07:00
parent ba956711a5
commit f1245f4f34
15 changed files with 27 additions and 81 deletions

View File

@@ -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,