Fixed the I18n deprecation warning

Created by: jvanbaarsen

Fixed the deprecation warning when running specs and started the app

合并请求报告