Skip to content

Commit

Permalink
Merge pull request Fabrik#1425 from trob/j3-form-translations
Browse files Browse the repository at this point in the history
Translate form/details title, intro, outro
  • Loading branch information
cheesegrits committed Apr 1, 2015
2 parents 856a10f + 710b29a commit 0421c46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/com_fabrik/views/form/view.base.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ public function display($tpl = null)

$this->editable = $model->isEditable();

$form->label = $model->getLabel();
$form->intro = $model->getIntro();
$form->outro = $model->getOutro();
$form->label = FText::_($model->getLabel());
$form->intro = FText::_($model->getIntro());
$form->outro = FText::_($model->getOutro());
$form->action = $model->getAction();
$form->class = $model->getFormClass();
$form->formid = $model->isEditable() ? 'form_' . $model->getId() : 'details_' . $model->getId();
Expand Down

0 comments on commit 0421c46

Please sign in to comment.