mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 22:48:25 +08:00
Summary: We were using a locale-specific `toUpperCase()` for accessibility roles. In the Turkish locale, `"image".toUpperCase()` does not become `"IMAGE"`; it becomes some weird turkish alphabet word, and we throw an error. This diff uses US-locale to avoid the error. Reviewed By: YaoPersonal Differential Revision: D9402330 fbshipit-source-id: a3fd7c54eec4b313c7e9df9236adb7ae42854ed8