- Fixed checking protected method usage in case when used translate function.
- Added test for this case.