Dollar on course for weekly gain; kiwi leaps with inflation