Fixes #4785, replace gettext with translate for extraction/replacement.
Merge pull request #3895 from waldenraines/bug-4785

Fixes #4785, replace gettext with translate for extraction/replacement.