summaryrefslogtreecommitdiffstats
path: root/docusaurus/src/pages/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'docusaurus/src/pages/index.js')
-rw-r--r--docusaurus/src/pages/index.js71
1 files changed, 36 insertions, 35 deletions
diff --git a/docusaurus/src/pages/index.js b/docusaurus/src/pages/index.js
index 3c60c4d..0a4c7c0 100644
--- a/docusaurus/src/pages/index.js
+++ b/docusaurus/src/pages/index.js
@@ -2,44 +2,45 @@ import React from 'react';
import clsx from 'clsx';
import Layout from '@theme/Layout';
import Link from '@docusaurus/Link';
+import Translate, {translate} from '@docusaurus/Translate';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import useBaseUrl from '@docusaurus/useBaseUrl';
import styles from './styles.module.css';
const features = [
{
- title: <>Complete Platform</>,
+ title: <Translate>Complete Platform</Translate>,
imageUrl: 'img/complete-platform.svg',
description: (
<>
- PSP-UFU is a <b>cross-platform</b>, <b>multilingual</b>, <b>Free and Open-Source Software (FOSS)</b> with <b>advanced GUI (Graphical User Interface)</b> features and <b>CAD (Computer-Aided Design) tools</b> for electrical power system studies.
+ <Translate>PSP-UFU is a</Translate> <b><Translate>cross-platform, multilingual, Free and Open-Source Software (FOSS)</Translate></b> <Translate>with</Translate> <b><Translate>advanced GUI (Graphical User Interface) features</Translate></b> <Translate>and</Translate> <b><Translate>CAD (Computer-Aided Design) tools</Translate></b> <Translate>for electrical power system studies</Translate>.
</>
),
},
{
- title: <>Advanced CAD Features</>,
+ title: <><Translate>Advanced CAD Features</Translate></>,
imageUrl: 'img/advanced-cad.svg',
description: (
<>
- The software allows the construction of any electric <b>transmission network</b> and <b>control systems</b> through the deployment of visual elements.
+ <Translate>The software allows the construction of any</Translate> <b><Translate>electric transmission network</Translate></b> <Translate>and</Translate> <b><Translate>control systems</Translate></b> <Translate>through the deployment of visual elements</Translate>.
</>
),
},
{
- title: <>Easy Visualization</>,
+ title: <><Translate>Easy Visualization</Translate></>,
imageUrl: 'img/visualization.svg',
description: (
<>
- For the visualization of results, the program offers linked text elements in the main screen, voltage heatmap display, and also table and graph editors.
+ <Translate>For the visualization of results, the program offers linked text elements in the main screen, voltage heatmap display, and also table and graph editors.</Translate>
</>
),
},
{
- title: <>Application</>,
+ title: <><Translate>Application</Translate></>,
imageUrl: 'img/application.svg',
description: (
<>
- The PSP-UFU aims to provide efficient computer simulation tools for <b>research</b> and <b>education</b> purposes, in addition to <b>industrial applications</b> in electrical power systems.
+ <Translate>The PSP-UFU aims to provide efficient computer simulation tools for</Translate> <b><Translate>research and education purposes</Translate></b>, <Translate>in addition to</Translate> <b><Translate>industrial applications</Translate></b> <Translate>in electrical power systems</Translate>.
</>
),
},
@@ -47,46 +48,46 @@ const features = [
const studies = [
{
- title: <>Power Flow</>,
+ title: <><Translate>Power Flow</Translate></>,
//imageUrl: 'img/undraw_docusaurus_react.svg',
description: (
<ul>
<li>Newton-Raphson</li>
- <li>Gauss-Seidel</li>
- <li>Hybrid Newton-Gauss</li>
- <li>Three-phase induction motors included</li>
+ <li>Gauss-Seidel</li>
+ <li><Translate>Hybrid Newton-Gauss</Translate></li>
+ <li><Translate>Three-phase induction motors included</Translate></li>
</ul>
),
},
{
- title: <>Short-Circuit calculation</>,
+ title: <><Translate>Short-Circuit calculation</Translate></>,
//imageUrl: 'img/undraw_docusaurus_react.svg',
description: (
<ul>
- <li>Balanced</li>
- <li>Unbalanced</li>
- <li>Short-Circuit power in all system buses</li>
+ <li><Translate>Balanced</Translate></li>
+ <li><Translate>Unbalanced</Translate></li>
+ <li><Translate>Short-Circuit power in all system buses</Translate></li>
</ul>
),
},
{
- title: <>Harmonics</>,
+ title: <><Translate>Harmonics</Translate></>,
//imageUrl: 'img/undraw_docusaurus_react.svg',
description: (
<ul>
- <li>Harmonic voltages and THD (Total Harmonic Distortion) calculation</li>
- <li>Frequency scan</li>
+ <li><Translate>Harmonic voltages and THD (Total Harmonic Distortion) calculation</Translate></li>
+ <li><Translate>Frequency scan</Translate></li>
</ul>
),
},
{
- title: <>Transient and Dynamic Stability</>,
+ title: <><Translate>Transient and Dynamic Stability</Translate></>,
//imageUrl: 'img/undraw_docusaurus_react.svg',
description: (
<ul>
- <li>Several synchronous machine models automatically selected</li>
- <li>Three-phase induction motors</li>
- <li>User-defined machine controls, exciters and prime moves created using block diagrams (Exciters, AVR, PSS, Hydro and Thermal turbines, Speed Governor, etc.)</li>
+ <li><Translate>Several synchronous machine models automatically selected</Translate></li>
+ <li><Translate>Three-phase induction motors</Translate></li>
+ <li><Translate>User-defined machine controls, exciters and prime moves created using block diagrams (Exciters, AVR, PSS, Hydro and Thermal turbines, Speed Governor, etc.)</Translate></li>
</ul>
),
},
@@ -128,11 +129,11 @@ function Home() {
return (
<Layout
title={`${siteConfig.title}`}
- description="Power System Platform">
+ description="<Translate>Power System Platform</Translate>">
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
- <p className="hero__subtitle">{siteConfig.tagline}</p>
+ <p className="hero__subtitle"><Translate>Power System Platform of Federal University of Uberlândia</Translate></p>
<p><center>
<iframe src="https://ghbtns.com/github-btn.html?user=thales1330&repo=psp&type=star&count=true&size=large" frameborder="0" scrolling="0" width="130" height="30" title="GitHub"></iframe>
@@ -144,7 +145,7 @@ function Home() {
styles.getStarted,
)}
to={useBaseUrl('https://github.com/Thales1330/PSP/releases/latest')}>
- Download
+ <Translate>Download</Translate>
</Link>
</div>
<div className={styles.buttons}>
@@ -154,7 +155,7 @@ function Home() {
styles.getStarted,
)}
to={useBaseUrl('docs/')}>
- User Guide
+ <Translate>User Guide</Translate>
</Link>
</div>
<div className={styles.buttons}>
@@ -164,7 +165,7 @@ function Home() {
styles.getStarted,
)}
to={useBaseUrl('https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/Thales1330/PSP/tree/master/Project/data/samples')}>
- Samples
+ <Translate>Samples</Translate>
</Link>
</div>
</div>
@@ -183,7 +184,7 @@ function Home() {
)}
<div className="container">
- <h2>Studies Performed</h2>
+ <h2><Translate>Studies Performed</Translate></h2>
</div>
{studies && studies.length > 0 && (
@@ -199,8 +200,8 @@ function Home() {
)}
<div className="container">
- <h2>Published Papers</h2>
- Further details can be found in the published papers:
+ <h2><Translate>Published Papers</Translate></h2>
+ <Translate>Further details can be found in the published papers:</Translate>
<blockquote cite="https://doi.org/10.1002/2050-7038.12185">
Oliveira, T. L., Guimarães, G. C., & Silva, L. R. C. (2019). PSP-UFU: An open-source, graphical, and multiplatform software for power system studies. <i>International Transactions on Electrical Energy Systems</i>, e12185. doi: <a href="https://doi.org/10.1002/2050-7038.12185">10.1002/2050-7038.12185</a>
</blockquote>
@@ -210,17 +211,17 @@ function Home() {
</div>
<div className="container">
- <h2>Code Documentation</h2>
+ <h2><Translate>Code Documentation</Translate></h2>
<p>
- All detailed descriptions of the source-code can be found at <b><a href="https://thales1330.github.io/PSP/doxygen/html/index.html">Online Documentation</a></b>, generated by <a href="http://www.doxygen.org/">Doxygen</a>.
+ <Translate>All detailed descriptions of the source-code can be found at</Translate> <b><a href="https://thales1330.github.io/PSP/doxygen/html/index.html"><Translate>Online Documentation</Translate></a></b>, <Translate>generated by</Translate> <a href="http://www.doxygen.org/">Doxygen</a>.
</p>
</div>
<div className="container">
- <h2>Screenshots</h2>
+ <h2><Translate>Screenshots</Translate></h2>
<center>
<iframe src="gallery.html" style={{position: 'relative', width: '100%', height: '56.25vw', display: 'block', overflow: 'hidden', border: 'none'}}>
- Your browser doesn’t support the this feature.
+ <Translate>Your browser doesn’t support the this feature.</Translate>
</iframe>
</center>