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:
Anh Nhan Nguyen
2013-03-01 15:37:32 -08:00
committed by epriestley
parent bedc06b1bc
commit 8e51764118
23 changed files with 78 additions and 63 deletions

View File

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