pht() for view and form elements
Summary: actually just wanted to `pht()` the //Cancel// button. includes `pht()`ed exceptions. refrained from `pht()`-ing `phabricator_relative_date()` since I wasn't too sure about the effects. Test Plan: visited all form elements that I remembered - looks reasonable Reviewers: epriestley, chad, btrahan Reviewed By: chad CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5175
This commit is contained in:
committed by
epriestley
parent
bedc06b1bc
commit
8e51764118
@@ -169,7 +169,7 @@ final class PhabricatorObjectItemView extends AphrontView {
|
||||
case null:
|
||||
break;
|
||||
default:
|
||||
throw new Exception("Invalid effect!");
|
||||
throw new Exception(pht("Invalid effect!"));
|
||||
}
|
||||
|
||||
$content = phutil_tag(
|
||||
|
||||
Reference in New Issue
Block a user