FilesApp: file list fails to draw due to invalid Hindi translations
util.bytesToString fails with an exception that prevents the file list from drawing for Hindi language users. The exception is due to invalid translation console translations of the SIZE_KB, SIZE_MB strings [1]. Mitigation: process these loadTimeData values before use. Convert them to valid values (prevents the JS exception) and do this once only. [1] The $1 portion of these message strings should not be touched, but translation console is effectively converting them to $one in Hindi. Bug: 908767 Change-Id: Ib5d741e501c3cf00e232b59366050778d732d906 Reviewed-on: https://chromium-review.googlesource.com/c/1353044 Commit-Queue: Noel Gordon <noel@chromium.org> Reviewed-by:Tatsuhisa Yamaguchi <yamaguchi@chromium.org> Reviewed-by:
Stuart Langley <slangley@chromium.org> Cr-Commit-Position: refs/heads/master@{#612149}
Showing
Please register or sign in to comment