Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
0dfd8acf7a
|
@ -210,6 +210,7 @@ class LocaleController extends Zend_Controller_Action
|
||||||
//"Error code: " => _("Error code: "),
|
//"Error code: " => _("Error code: "),
|
||||||
//"Error msg: " => _("Error msg: "),
|
//"Error msg: " => _("Error msg: "),
|
||||||
"This show has no scheduled content." => _("This show has no scheduled content."),
|
"This show has no scheduled content." => _("This show has no scheduled content."),
|
||||||
|
"This show is not completely filled with content." => _("This show is not completely filled with content."),
|
||||||
//already in schedule/add-show.js
|
//already in schedule/add-show.js
|
||||||
//"The show instance doesn"t exist anymore!" => _("The show instance doesn"t exist anymore!"),
|
//"The show instance doesn"t exist anymore!" => _("The show instance doesn"t exist anymore!"),
|
||||||
//schedule/schedule.js
|
//schedule/schedule.js
|
||||||
|
|
|
@ -19,9 +19,9 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
|
||||||
'class' => 'big'
|
'class' => 'big'
|
||||||
))));
|
))));
|
||||||
|
|
||||||
|
$stringLengthValidator = Application_Form_Helper_ValidationTypes::overrideStringLengthValidator(6, 6);
|
||||||
$bg->setValidators(array(
|
$bg->setValidators(array(
|
||||||
'Hex',
|
'Hex', $stringLengthValidator
|
||||||
array('stringLength', false, array(6, 6))
|
|
||||||
));
|
));
|
||||||
|
|
||||||
// Add show color input
|
// Add show color input
|
||||||
|
@ -39,8 +39,7 @@ class Application_Form_AddShowStyle extends Zend_Form_SubForm
|
||||||
))));
|
))));
|
||||||
|
|
||||||
$c->setValidators(array(
|
$c->setValidators(array(
|
||||||
'Hex',
|
'Hex', $stringLengthValidator
|
||||||
array('stringLength', false, array(6, 6))
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
<span id="rg_modifier_value" style="border: 0; color: #f6931f; font-weight: bold;">
|
<span id="rg_modifier_value" style="border: 0; color: #f6931f; font-weight: bold;">
|
||||||
<?php echo $this->form->getElement('replayGainModifier')->getValue() ?>
|
<?php echo $this->form->getElement('replayGainModifier')->getValue() ?>
|
||||||
</span>
|
</span>
|
||||||
dB
|
<?php echo _("dB")?>
|
||||||
</dt>
|
</dt>
|
||||||
<dd id="replayGainModifier-element" class="block-display">
|
<dd id="replayGainModifier-element" class="block-display">
|
||||||
<?php echo $this->form->getElement('replayGainModifier') ?>
|
<?php echo $this->form->getElement('replayGainModifier') ?>
|
||||||
|
|
|
@ -74,7 +74,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
type = $('#obj_type').val();
|
type = $('#obj_type').val();
|
||||||
|
|
||||||
if (!isTimeValid(cueIn)){
|
if (!isTimeValid(cueIn)){
|
||||||
showError(span, $.i18n("please put in a time '00:00:00 (.0)'"));
|
showError(span, $.i18n._("please put in a time '00:00:00 (.0)'"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$.post(url,
|
$.post(url,
|
||||||
|
@ -111,7 +111,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
type = $('#obj_type').val();
|
type = $('#obj_type').val();
|
||||||
|
|
||||||
if (!isTimeValid(cueOut)){
|
if (!isTimeValid(cueOut)){
|
||||||
showError(span, $.i18n("please put in a time '00:00:00 (.0)'"));
|
showError(span, $.i18n._("please put in a time '00:00:00 (.0)'"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue