Skip to content

Commit

Permalink
Merge pull request octobercms#1297 from bombozama/patch-1
Browse files Browse the repository at this point in the history
Translatable prompt on recordfinder
  • Loading branch information
daftspunk committed Jul 25, 2015
2 parents 5dcbd8c + 13606ac commit 04deb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/backend/formwidgets/RecordFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function prepareVars()
$this->vars['descriptionValue'] = $this->getDescriptionValue();
$this->vars['listWidget'] = $this->listWidget;
$this->vars['searchWidget'] = $this->searchWidget;
$this->vars['prompt'] = str_replace('%s', '<i class="icon-th-list"></i>', $this->prompt);
$this->vars['prompt'] = str_replace('%s', '<i class="icon-th-list"></i>', e(trans($this->prompt)));
}

/**
Expand Down

0 comments on commit 04deb50

Please sign in to comment.