Correct JS i18n in UploadField (fixes #2370)