David Baker
1bada070ca
Make gen-i18n support 'HTML'
...
Where by 'HTML' I mean just run the same regex as riot does over
some text.
Also make it walk multiple paths.
This mostly means it can be used for riot-web.
8 years ago
David Baker
2bbac903f1
'base file' is a bit overloaded by weblate
8 years ago
David Baker
caa4979e37
Comment ignoring getTKey returning null
8 years ago
David Baker
63a7d37f5a
commented logging
8 years ago
David Baker
a2bfdd8925
missing saemi
8 years ago
David Baker
f759467193
Get English plural strings from an input file
8 years ago
David Baker
11761f535d
Copyright
8 years ago
David Baker
8370c823b6
Script to generate the translations base file
...
Also replaces the translations base file with the output of the
script.
8 years ago
Luke Barnard
07b6040c39
Update travis script to use lintwithexclusions
8 years ago
Luke Barnard
2de4dd7b71
Filter out unsupported emoji from the emoji meta data
...
Because apparently emojione provides meta data for more than the emojis it supports itself.
Fixes https://github.com/vector-im/riot-web/issues/4504
9 years ago
Luke Barnard
982b009b90
Implement ascii emoji tab completion
...
When a fully plaintext, ascii emoji is typed like ";-)", pressing tab will suggest emojione to replace it with based off of the meta data provided by emojione.
e.g. the aliases_ascii for `😃 ` are [":D",":-D","=D"] so typing ":D *tab*" will insert a real 😃
9 years ago
Luke Barnard
48eb6f251b
Update comment
9 years ago
Luke Barnard
30f80b57f2
Instead of making this part of the build process, let the devs generate stripped-emoji.json
...
With the expectation that when the file needs to be regenerated to include other keys, the developer will run this script.
9 years ago
Luke Barnard
2b8da85726
Strip the emoji meta-data for the data we need
...
This is done at build time by parsing emojione/emoji.json, stripping it and then writing to ./lib/stripped-emoji.json.
9 years ago
David Baker
431b482d18
Don't put in spurious newline
9 years ago
David Baker
aab87233c3
Add script to copy translations between files
...
So we can fill in missing translations from different dialects
Use it to fill in missing strings in pt from pt_BR
9 years ago
David Baker
4eb7419335
Don't put in spurious newline
9 years ago
David Baker
89c7477bd6
Add script to copy translations between files
...
So we can fill in missing translations from different dialects
Use it to fill in missing strings in pt from pt_BR
9 years ago
Matthew Hodgson
74e4260556
fix fullstops
9 years ago
Richard van der Hoff
9bda212cb1
Make travis/jenkins check for lint on files which are clean to start with
9 years ago
Matthew Hodgson
fe487232ad
sync fullstops everywhere
9 years ago
Matthew Hodgson
650d45466c
fix up missing strings caused by punctuation changes
9 years ago
Matthew Hodgson
b4284cf000
fix up Can't connect to HS i18n with _tJsx
9 years ago
Matthew Hodgson
85f830db71
warn for duplicate translation keys
9 years ago
Matthew Hodgson
dba35f4901
extend script to check for broken variables
9 years ago
Matthew Hodgson
796158422c
list the strings remaining to be translated
9 years ago
Matthew Hodgson
b697c0472f
fix fullstop
9 years ago
Matthew Hodgson
bc433bc2a2
ignore country codes
9 years ago
Matthew Hodgson
8d79ab6ce2
track entries that exist in en_EN but not in the src...
9 years ago
Matthew Hodgson
3302fc690f
fix all missing translations picked up by check-i18n.pl
9 years ago
Matthew Hodgson
1305fd619e
fix quoting
9 years ago
Matthew Hodgson
f442a665c8
fix more i18n punctuation fails
9 years ago
Matthew Hodgson
730258bd3c
fix punctuation on e2e warning
9 years ago
Matthew Hodgson
e684cd5d28
track broken i18n files
9 years ago
Matthew Hodgson
44f8ee44e6
check for missing src strings too
9 years ago
Matthew Hodgson
c8dab3ae65
script for checking health of i18n
9 years ago
Matthew Hodgson
c34edbec3e
include fullstop fixup
9 years ago
Matthew Hodgson
0cacf5b1a0
script to make punctuation consistent in i18n strings
9 years ago
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.
9 years ago
Luke Barnard
15201d86aa
Prevent reskindex -w from running when file names have not changed
9 years ago
Luke Barnard
9af9603373
Only watch indexed files
9 years ago
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`
9 years ago
David Baker
396b38512c
Remove babelcheck
...
Nobody is likley to be upgrading from babel 5 any more, so this
can go away now.
9 years ago
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.
9 years ago
David Baker
0931f746d8
Move scripts into scripts/
9 years ago
David Baker
5b4b81f7dc
Revert "Switch to babel 6"
9 years ago
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.
9 years ago
David Baker
89ca18b556
Move scripts into scripts/
9 years ago