mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-14 08:04:52 +01:00
translate main bar text
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
"launch_button": "Launch",
|
||||
"gc_enable": "Connect via Grasscutter",
|
||||
"ip_placeholder": "Server Address...",
|
||||
"port_placeholder": "Port..."
|
||||
"port_placeholder": "Port...",
|
||||
"files_downloading": "Files Downloading: ",
|
||||
"files_extracting": "Files Extracting: "
|
||||
},
|
||||
"options": {
|
||||
"game_exec": "Set Game Executable",
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import React from 'react'
|
||||
import DownloadHandler from '../../../utils/download'
|
||||
import Tr from '../../../utils/language'
|
||||
import './ProgressBar.css'
|
||||
|
||||
interface IProps {
|
||||
@@ -67,9 +68,9 @@ export default class ProgressBar extends React.Component<IProps, IState> {
|
||||
</div>
|
||||
|
||||
<div className="MainProgressText">
|
||||
Files Downloading: {this.state.files} ({this.state.speed})
|
||||
<Tr text="main.files_downloading" /> {this.state.files} ({this.state.speed})
|
||||
<br />
|
||||
Files Extracting: {this.state.extracting}
|
||||
<Tr text="main.files_extracting" /> {this.state.extracting}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user