fix i18n deprecation warning
Merge pull request #4 from pgolm/fix/i18n

fix i18n deprecation warning