Made several reoccurring strings into application constants and altered any static strings containing them to use these constants in string format calls.

This commit is contained in:
Duncan Sommerville 2014-11-06 18:24:29 -05:00
parent 62a915f109
commit 795e239ff3
14 changed files with 101 additions and 67 deletions

View file

@ -7,7 +7,7 @@ class Application_Form_AddShowLiveStream extends Zend_Form_SubForm
public function init()
{
$cb_airtime_auth = new Zend_Form_Element_Checkbox("cb_airtime_auth");
$cb_airtime_auth->setLabel(_("Use Airtime Authentication:"))
$cb_airtime_auth->setLabel(sprintf(_("Use %s Authentication:"), PRODUCT_NAME))
->setRequired(false)
->setDecorators(array('ViewHelper'));
$this->addElement($cb_airtime_auth);