Commit Graph

13 Commits (baa2350604392fcd6475e9a8f6da1c5691e70783)

Author SHA1 Message Date
Whymarrh Whitby 5d42a9b773
Fix require-unicode-regexp issues (#9212) 4 years ago
Whymarrh Whitby 548b0bbbd5
Fix no-eq-null issues (#9205) 4 years ago
Mark Stacey 4ac6e82cb6 Only log error on first occurrence of missing substitution (#9096) 4 years ago
Mark Stacey b7715f6e70
Only log error on first occurrence of missing substitution (#9096) 4 years ago
Mark Stacey 564f76584b
Tolerate missing or falsey substitutions (#8907) 4 years ago
Mark Stacey f5d4ab1cc1
Include relative time polyfill locale data (#8896) 4 years ago
Mark Stacey 4855d1b423
Allow localized messages to not use substitutions (#8895) 4 years ago
Mark Stacey 5ee1291662
Prevent accidental use of globals (#8340) 5 years ago
Dan J Miller 92e6338b78
Translation helper: substitute react components and component wrapping substrings (#8129) 5 years ago
Mark Stacey ac01c5c89a
Consistent jsdoc syntax (#7755) 5 years ago
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