Commit graph

176 commits

Author SHA1 Message Date
Matthew Hodgson
b4284cf000 fix up Can't connect to HS i18n with _tJsx 2017-06-01 01:17:39 +01:00
Matthew Hodgson
85f830db71 warn for duplicate translation keys 2017-05-28 21:28:11 +01:00
Matthew Hodgson
dba35f4901 extend script to check for broken variables 2017-05-27 20:14:52 +01:00
Matthew Hodgson
796158422c list the strings remaining to be translated 2017-05-27 19:03:26 +01:00
Matthew Hodgson
b697c0472f fix fullstop 2017-05-27 18:41:43 +01:00
Matthew Hodgson
bc433bc2a2 ignore country codes 2017-05-27 18:38:37 +01:00
Matthew Hodgson
8d79ab6ce2 track entries that exist in en_EN but not in the src... 2017-05-27 18:35:34 +01:00
Matthew Hodgson
3302fc690f fix all missing translations picked up by check-i18n.pl 2017-05-27 18:20:44 +01:00
Matthew Hodgson
1305fd619e fix quoting 2017-05-27 17:42:58 +01:00
Matthew Hodgson
f442a665c8 fix more i18n punctuation fails 2017-05-27 17:36:02 +01:00
Matthew Hodgson
730258bd3c fix punctuation on e2e warning 2017-05-27 17:30:32 +01:00
Matthew Hodgson
e684cd5d28 track broken i18n files 2017-05-27 17:27:58 +01:00
Matthew Hodgson
44f8ee44e6 check for missing src strings too 2017-05-27 17:13:17 +01:00
Matthew Hodgson
c8dab3ae65 script for checking health of i18n 2017-05-27 16:47:15 +01:00
Matthew Hodgson
c34edbec3e include fullstop fixup 2017-05-27 16:02:51 +01:00
Matthew Hodgson
0cacf5b1a0 script to make punctuation consistent in i18n strings 2017-05-27 15:02:05 +01:00
Richard van der Hoff
4df51a2b0b Reskindex to a temp file, to confuse the babel watcher less (#908)
I'm seeing a lot of instances where the babel watcher picks up a half-written src/component-index,
and generates an empty lib file - which it then doesn't update when src/component-index is updated.

Empirically, this seems to make it better.
2017-05-19 11:44:04 +01:00
Luke Barnard
15201d86aa Prevent reskindex -w from running when file names have not changed 2017-05-15 10:16:47 +01:00
Luke Barnard
9af9603373 Only watch indexed files 2017-05-08 16:29:53 +01:00
Luke Barnard
2eaaa97451 Give reskindex.js a watch mode (-w)
`scripts/reskindex.js -w` will run reskindex in watch mode whereby FS events will cause a reskindex to occur.

This depends on `chokidar`
2017-05-08 15:07:05 +01:00
David Baker
396b38512c Remove babelcheck
Nobody is likley to be upgrading from babel 5 any more, so this
can go away now.
2017-05-04 16:50:47 +01:00
David Baker
923d2264dd Ignore components with no default export
InteractiveAuthEntryComponents is not a single component and
doesn't really fit into the structure: ignore it, otherwise
we crash when loading the skin.
2016-10-17 16:24:09 +01:00
David Baker
0931f746d8 Move scripts into scripts/ 2016-10-17 16:23:27 +01:00
David Baker
5b4b81f7dc Revert "Switch to babel 6" 2016-10-14 18:49:52 +01:00
David Baker
1336fe7490 Ignore components with no default export
InteractiveAuthEntryComponents is not a single component and
doesn't really fit into the structure: ignore it, otherwise
we crash when loading the skin.
2016-10-13 10:36:11 +01:00
David Baker
89ca18b556 Move scripts into scripts/ 2016-10-13 09:45:07 +01:00