Yangshun Tay
a7a214fb3a
ESLintify Part 3 ( #846 )
...
* ESLintify Part 3
* ESLintify Part 3
* ESLintify Part 3
2018-07-11 18:21:31 +08:00
Yangshun Tay
5ac2cee658
ESLintify Part 2 ( #841 )
...
* ESLintify Part 2
* Fix
* Fix tests
* Fix tests
* Fix tests
2018-07-10 21:53:08 -07:00
Joel Marcey
5a77f186b9
Check English translation if language doesn't exist ( #361 )
...
Need this because of https://github.com/facebook/Docusaurus/pull/316
2017-12-27 15:18:58 -08:00
Joel Marcey
a12ebcd401
Don't translate if we do not have a language
...
This will most likely be because we have not enabled translation
2017-12-19 17:58:49 -08:00
Héctor Ramos
65421db62e
Add Prettier Formatting ( #258 )
...
* Add Prettier formatting to source files and example files, and check that Prettier formatting is maintained on PRs
* Remove trailing-comma as we are using Node 6 on Circle
* Use latest Node 6 LTS version in Circle
* Remove unused test
2017-12-04 19:21:02 -08:00
Eric Nakagawa
d8b55fffa4
Fall back to English when strings are missing ( #151 )
2017-10-19 16:41:20 -07:00
Eric Nakagawa
bcba05ae03
Adds sitemap.xml. Adds 'Help Translate' to translatable strings. Error messages and fn name cleanups. ( #136 )
...
* added a note about needing more than one language to be enabled to allow for a drop down
* Removing debug statements
* Add 'Help Translate' to translatable strings, improves error messages around missing translated strings, calls write-translations on some routes
* Adds sitemap.xml to live server and build. Versioning not supported. -- Also did some file name and module cache cleanups.
2017-10-18 12:55:58 -07:00
Eric Nakagawa
8ac191a331
Fixes #104 by providing a useful error message.
...
Next step will be to run 'write-translations' on 'yarn start' and 'yarn build' (#119 )
2017-10-06 12:16:27 -07:00
Joel Marcey
77535d80f2
The complete move to MIT license ( #115 )
...
- headers in .js files
- update README and LICENSE year
Testing:
grep BSD, Patents, patents turned up nothing
2017-10-05 11:14:49 -07:00
Frank Li
523d824651
Fix translation functionality to properly condense whitespace and parse escaped characters ( #17 )
2017-07-16 20:34:26 -07:00
Frank Li
099a13a264
Move references to languages and translated strings out of siteConfig.js into new translation.js module
2017-07-11 17:03:27 -07:00
Frank Li
3033688d40
Fix translate module
2017-07-10 16:45:36 -07:00
Frank Li
30a8ff329a
Integrate handling of translation tag into static html building, add default description to translate tags
2017-07-10 14:08:00 -07:00