mirror of
https://github.com/silverstripe/silverstripe-translatable
synced 2024-10-22 11:05:59 +02:00
Line length fix for Travis
This commit is contained in:
parent
89955bafb3
commit
f8fdf06ef8
@ -1758,7 +1758,9 @@ class Translatable_Transformation extends FormTransformation {
|
||||
protected function transformCheckboxField(CheckboxField $nonEditableField, CheckboxField $originalField) {
|
||||
$label = $originalField->Title();
|
||||
$fieldName = $originalField->getName();
|
||||
$value = ($this->original->$fieldName) ? _t('Translatable_Transform.CheckboxValueYes', 'Yes') : _t('Translatable_Transform.CheckboxValueNo', 'No');
|
||||
$value = ($this->original->$fieldName)
|
||||
? _t('Translatable_Transform.CheckboxValueYes', 'Yes')
|
||||
: _t('Translatable_Transform.CheckboxValueNo', 'No');
|
||||
$originalLabel = _t(
|
||||
'Translatable_Transform.OriginalCheckboxLabel',
|
||||
'Original: {value}',
|
||||
|
Loading…
Reference in New Issue
Block a user