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

Fix string construction of submit button in Flag

Summary: Fixes T3674.

Test Plan: Clicked "flag for later"; checked error log.

Reviewers: btrahan, chad

Reviewed By: chad

CC: aran

Maniphest Tasks: T3674

Differential Revision: https://secure.phabricator.com/D6669
This commit is contained in:
epriestley 2013-08-04 08:16:09 -07:00
parent 37a5c4b11a
commit 0de3b351b2

View file

@ -82,7 +82,7 @@ final class PhabricatorFlagEditController extends PhabricatorFlagController {
$dialog->addCancelButton($handle->getURI());
$dialog->addSubmitButton(
$is_new ? pht("Flag %s") : pht('Save'));
$is_new ? pht("Create Flag") : pht('Save'));
return id(new AphrontDialogResponse())->setDialog($dialog);
}