-
- Downloads
i18n: do not remove missing plural from translation (#17799)
The ttag library expect the plural array to be exactly the size as the number of plural forms defined in the header. If we remove empty plural, the array will have the wrong size and the library will crash when the trying to use the non-existent plural. By leaving the empty string there, the ttag library will correctly detect it and use the English version for the missing variant. This does not affect the backend because the backend does not support plurals. Fixes #16323
Showing
- bin/i18n/src/i18n/common.clj 1 addition, 1 deletionbin/i18n/src/i18n/common.clj
- bin/i18n/test/i18n/create_artifacts/frontend_test.clj 5 additions, 1 deletionbin/i18n/test/i18n/create_artifacts/frontend_test.clj
- bin/i18n/test/i18n/create_artifacts/test_common.clj 12 additions, 1 deletionbin/i18n/test/i18n/create_artifacts/test_common.clj
Please register or sign in to comment