Fix i18n usage
i18n() is a lot more strict than qsTr() regarding what argument values it accepts, so we need to be more careful with missing values there.