add multi language support

This commit is contained in:
2022-07-22 11:52:06 +08:00
parent ff85724982
commit ba1e96db26
25 changed files with 494 additions and 252 deletions

View File

@@ -1,4 +1,5 @@
import FileEntry from "./FileEntry";
import { Tr } from "../translate";
function FilesTable(props) {
if (props.files.length === 0) {
@@ -8,9 +9,9 @@ function FilesTable(props) {
<table>
<thead>
<tr>
<th>Filename</th>
<th>Folder Name</th>
<th>Size</th>
<th>{Tr("Filename")}</th>
<th>{Tr("Folder Name")}</th>
<th>{Tr("Size")}</th>
</tr>
</thead>
<tbody>