Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add checking if empty string in method 'translate' #279

Closed
pulavska opened this issue Nov 6, 2014 · 0 comments
Closed

Add checking if empty string in method 'translate' #279

pulavska opened this issue Nov 6, 2014 · 0 comments
Assignees
Labels
Milestone

Comments

@pulavska
Copy link

pulavska commented Nov 6, 2014

Если передать в функцию перевода пустую строку: __(''); она возвращает заголовок .po файла. Как решение, можно добавить проверку на пустоту параметра $message в методе "translate".

@AntonShevchuk AntonShevchuk added this to the 0.8.0 milestone Nov 6, 2014
@AntonShevchuk AntonShevchuk self-assigned this Nov 6, 2014
AntonShevchuk pushed a commit that referenced this issue Nov 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants