Commit Graph

14 Commits

Author SHA1 Message Date
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 ea4a4f6fe3 Fix hardcoded port number 2017-07-12 14:43:24 -07:00
Frank Li 2d2f324c7d Add new translate functionality to dev server 2017-07-12 11:38:02 -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 0f6800df10 Allow server port to be chosen and update example 2017-07-11 14:48:57 -07:00
Frank Li 3033688d40 Fix translate module 2017-07-10 16:45:36 -07:00
Frank Li fbae29b0ff Run Prettier 2017-07-10 16:38:35 -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
Frank Li ed648074f2 Fix and move writeTranslations.js file to write-translations.js, move tagline property of en.json inside localized-strings 2017-07-10 10:53:38 -07:00
Frank Li dbbfecaf62 Remove find-strings-plugin 2017-07-07 18:34:09 -07:00
Frank Li 6e1d5579fc Merge branch 'deltice' of https://github.com/facebookexperimental/Docusaurus into deltice 2017-07-07 18:27:52 -07:00
Frank Li d620f2e6dd Use babylon and babel-traverse directly to find strings to translate 2017-07-07 18:15:06 -07:00
Frank Li fe7d386f67 Add translation babel plugins and module to generate json strings file 2017-07-07 15:18:52 -07:00
Joel Marcey e3139eea2f Initial commit 2017-07-07 10:28:29 -07:00