Small UI fix

This commit is contained in:
Thoronium
2023-02-28 10:28:02 -07:00
parent 812aa64c5e
commit 098ba63066
15 changed files with 23 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cultivation",
"version": "1.0.20",
"version": "1.0.21",
"private": true,
"dependencies": {
"@tauri-apps/api": "^1.0.0-rc.5",

View File

@@ -56,6 +56,7 @@
"select_file": "选择文件或文件夹...",
"select_folder": "选择文件夹...",
"download": "下载",
"delete": "删除",
"install": "安装"
},
"news": {

View File

@@ -56,6 +56,7 @@
"select_file": "選擇檔案或資料夾...",
"select_folder": "選擇資料夾...",
"download": "下載",
"delete": "刪除",
"install": "安裝"
},
"news": {

View File

@@ -55,6 +55,7 @@
"select_file": "Datei oder Ordner auswählen...",
"select_folder": "Ordner auswählen...",
"download": "Herunterladen",
"delete": "Löschen",
"install": "Installieren"
},
"news": {

View File

@@ -56,6 +56,7 @@
"select_file": "Select file or folder...",
"select_folder": "Select folder...",
"download": "Download",
"delete": "Delete",
"install": "Install"
},
"news": {

View File

@@ -56,6 +56,7 @@
"select_file": "Seleccionar el archivo o carpeta...",
"select_folder": "Seleccionar la carpeta...",
"download": "Descargar",
"delete": "Borrar",
"install": "Instalar"
},
"news": {

View File

@@ -54,7 +54,9 @@
"components": {
"select_file": "choisir fichier ou dossier...",
"select_folder": "choisir dossier...",
"download": "Telecharger"
"download": "Telecharger",
"delete": "Supprimer",
"install": "Installer"
},
"news": {
"latest_commits": "Recents Commits",

View File

@@ -53,7 +53,8 @@
"components": {
"select_file": "Pilih File Atau Folder...",
"select_folder": "Pilih Folder...",
"download": "download"
"download": "download",
"delete": "Menghapus"
},
"news": {
"latest_commits": "Commit Terbaru",

View File

@@ -56,6 +56,7 @@
"select_file": "파일 또는 폴더 선택...",
"select_folder": "폴더 선택...",
"download": "다운로드",
"delete": "삭제",
"install": "설치"
},
"news": {

View File

@@ -52,7 +52,8 @@
"components": {
"select_file": "Izvēlēties failu vai mapu...",
"select_folder": "Izvēlēties mapu...",
"download": "Lejupielādēt"
"download": "Lejupielādēt",
"delete": "Dzēst"
},
"news": {
"latest_commits": "Nesen kommitus",

View File

@@ -55,6 +55,7 @@
"select_file": "Select file or folder...",
"select_folder": "Select folder...",
"download": "Download",
"delete": "Verwijder",
"install": "Install"
},
"news": {

View File

@@ -55,6 +55,7 @@
"select_file": "Выберите файл или папку...",
"select_folder": "Выберите папку...",
"download": "Скачать",
"delete": "Удалить",
"install": "Установить"
},
"news": {

View File

@@ -56,6 +56,7 @@
"select_file": "Chọn tập tin hoặc thư mục...",
"select_folder": "Chọn thư mục...",
"download": "Tải",
"delete": "Xóa bỏ",
"install": "Cài"
},
"news": {
@@ -72,9 +73,9 @@
"gc_dev_data": "Tải xuống tệp dữ liệu phiên bản mới nhất của Grasscutter. Bản này không đi kèm với tập tin jar, hữu dụng khi muốn cập nhật.",
"encryption": "Mục này nên được tắt.",
"resources": "Tài nguyên được yêu cầu để chạy máy chủ Grasscutter. Nút này sẽ có màu xám nếu bạn đã có sẵn một thư mục tài nguyên (resources) có nội dung bên trong",
"emergency_rsa": "Trong trường hợp gặp vấn đề, khôi phục lại RSA về phiên bản chính thức mới nhất.",
"use_proxy": "Sử dụng proxy nội bộ của Cultivation. Nên bật tùy chọn này trừ khi bạn đang sử dụng một ứng dụng khác, như Fiddler",
"patch_rsa": "Tự động vá và sửa lại RSA của game. Tùy chọn này nên được bật trừ khi bạn đang sử dụng phiên bản cũ, phiên bản không chính thức hoặc bạn đã tự vá rsa rồi."
"emergency_rsa": "Trong trường hợp gặp vấn đề, khôi phục lại RSA về phiên bản chính thức mới nhất.",
"use_proxy": "Sử dụng proxy nội bộ của Cultivation. Nên bật tùy chọn này trừ khi bạn đang sử dụng một ứng dụng khác, như Fiddler",
"patch_rsa": "Tự động vá và sửa lại RSA của game. Tùy chọn này nên được bật trừ khi bạn đang sử dụng phiên bản cũ, phiên bản không chính thức hoặc bạn đã tự vá rsa rồi."
},
"swag": {
"akebi_name": "Akebi",

View File

@@ -7,7 +7,7 @@
},
"package": {
"productName": "Cultivation",
"version": "1.0.20"
"version": "1.0.21"
},
"tauri": {
"allowlist": {

View File

@@ -316,7 +316,7 @@ export default class Options extends React.Component<IProps, IState> {
</div>
<div className="OptionValue" id="menuOptionsButtonmetaDownload">
<BigButton onClick={this.removeRSA} id="metaDownload">
<Tr text="components.download" />
<Tr text="components.delete" />
</BigButton>
</div>
</div>
@@ -326,11 +326,7 @@ export default class Options extends React.Component<IProps, IState> {
<HelpButton contents="help.patch_rsa" />
</div>
<div className="OptionValue" id="menuOptionsCheckboxPatchMeta">
<Checkbox
onChange={() => this.toggleOption('patch_rsa')}
checked={this.state?.patch_rsa}
id="patchMeta"
/>
<Checkbox onChange={() => this.toggleOption('patch_rsa')} checked={this.state?.patch_rsa} id="patchMeta" />
</div>
</div>
<div className="OptionSection" id="menuOptionsContainerUseProxy">