mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 16:29:47 +02:00
Enable Translations for docusaurus.io (#548)
There are some translations for Spanish for Docusaurus -- not complete, but still a good start to enable for our site.
I figure it is time to enable all the crucial features that the project provides for its main site, huh? 😄
This commit is contained in:
parent
2779bf3d0f
commit
4f669ccca2
6 changed files with 70 additions and 58 deletions
|
@ -6,11 +6,10 @@
|
|||
*/
|
||||
|
||||
const React = require('react');
|
||||
|
||||
const CompLibrary = require('../../core/CompLibrary.js');
|
||||
const Container = CompLibrary.Container;
|
||||
|
||||
const siteConfig = require(process.cwd() + '/siteConfig.js');
|
||||
const translate = require("../../server/translate.js").translate;
|
||||
|
||||
class Users extends React.Component {
|
||||
render() {
|
||||
|
@ -43,23 +42,25 @@ class Users extends React.Component {
|
|||
<Container padding={['bottom', 'top']}>
|
||||
<div className="showcaseSection">
|
||||
<div className="prose">
|
||||
<h1>Who is using Docusaurus?</h1>
|
||||
<h1><translate>Who is using Docusaurus?</translate></h1>
|
||||
<p>
|
||||
<translate>
|
||||
Docusaurus powers some of Facebook's popular{' '}
|
||||
<a href="https://code.facebook.com/projects/">
|
||||
open source projects
|
||||
</a>.
|
||||
</translate>
|
||||
</p>
|
||||
</div>
|
||||
<div className="logos">{fbShowcase}</div>
|
||||
<div className="prose">
|
||||
<p>
|
||||
Docusaurus is also used by open source projects of all sizes.
|
||||
<translate>Docusaurus is also used by open source projects of all sizes.</translate>
|
||||
</p>
|
||||
</div>
|
||||
<div className="logos">{showcase}</div>
|
||||
<div className="prose">
|
||||
<p>Is your project using Docusaurus?</p>
|
||||
<p><translate>Is your project using Docusaurus?</translate></p>
|
||||
<p>
|
||||
Edit this page with a{' '}
|
||||
<a href="https://github.com/facebook/docusaurus/edit/master/website/siteConfig.js">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue