updated i18n.js

This changes made from Popcorn Maker repo where we found a bug in gettext function and this PR will patch that.