Commit Graph

4 Commits (b9757f5563568fb4914d1211071ae22e73f33002)

Author SHA1 Message Date
Whymarrh Whitby 92971d3c87
Migrate codebase to use ESM (#7730) 5 years ago
Mark Stacey f100d753cf
Report missing `en` locale messages to Sentry (#7197) 5 years ago
Mark Stacey 5363d6aa2a
Prevent multiple warnings for the same locale message (#7091) 5 years ago
Chi Kei Chan 31175625b4 Folder restructure (#6304) 6 years ago
Whymarrh Whitby bd35728041 Lower i18n-helper#getMessage log level from error to warning 6 years ago
Alexander Tseung e5ca2aac6f Allow more than 2 variable substitutions in the translation function 6 years ago
Whymarrh Whitby 94489b544a Fallback to English and then the key for I18nProvider#t 6 years ago
Whymarrh Whitby 2526f8a1d8 Inline locale variable in fetchLocale fn 6 years ago
Dan 6bc8cc819a Merge branch 'develop' into i3725-refactor-send-component- 7 years ago
kumavis ee8b91262d
i18n-helper - wrap fallback in brackets to help indicate something is wrong 7 years ago
Dan Finlay b2fbc6399a Return key instead of empty string on i18n fail 7 years ago
kumavis 3500689ed0
i18n-helper - abort on i18n failure 7 years ago
kumavis ecbab14cae app - warn on fetch errors instead of spamming sentry 7 years ago
kumavis 8760dc6bda ui - use relative url for i18n-helper fetching locales 7 years ago
Dan 0d71dd7ca0 i18n helper fetchLocale handles 404 gracefully 7 years ago
Dan 3c144302d6 Remove console.logs 7 years ago
Dan d24a0590d3 i18n redux solution doesn't require importing t() and passing state to each t() call; t is just available on props. 7 years ago
Dan 2ddc2cc1fb Lint fixes. 7 years ago
Dan 09260f9c5e Fixed t() calls where localeMessages is missing; and fix incorrect connect reference. 7 years ago
Dan 5fe0be722b Handle i18n with redux. 7 years ago