Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Adds CHANGELOG entry for #188
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed May 16, 2018
1 parent 455ab01 commit c8ce65c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ All notable changes to this project will be documented in this file, in reverse

### Added

- Nothing.
- [#188](https://github.com/zendframework/zend-form/pull/188) adds a new method to the `FormElementErrors` view helper, `setTranslateMessages(bool $flag)`.
By default, the helper continues to translate error messages (if a translator
is present), as introduced in 2.11.0. However, using this method, you can
disable translation, which may be necessary to prevent double translation
and/or to reduce logs from missed translation lookups. Because the method
implements a fluent interface, you may do so in one line:

```php
echo $this->formElementErrors()->setTranslateMessages(false);
```

Note: you will need to reset the value afterwards if you want translations to occur
in later invocations.

### Changed

Expand Down

0 comments on commit c8ce65c

Please sign in to comment.