mirror of
https://github.com/sipeed/NanoKVM.git
synced 2026-09-12 10:07:38 -05:00
Merge branch 'main' into patch-1
This commit is contained in:
@@ -183,7 +183,8 @@ const en = {
|
||||
title: 'Image Downloader',
|
||||
input: 'Please enter a remote image URL',
|
||||
ok: 'Ok',
|
||||
disabled: '/data partition is RO, so we cannot download the image'
|
||||
disabled: '/data partition is RO, so we cannot download the image',
|
||||
uploadbox: "Drop file here or click to select"
|
||||
},
|
||||
power: {
|
||||
title: 'Power',
|
||||
|
||||
@@ -175,8 +175,8 @@ export const DownloadImage = () => {
|
||||
}}
|
||||
onClick={() => document.getElementById("file-upload")?.click()}
|
||||
>
|
||||
<span className="text-neutral-100 text-sm">
|
||||
{selectedFile ? selectedFile.name : "Datei hier ablegen oder klicken zum Auswählen"}
|
||||
<span className="text-neutral-100 text-sm p-1">
|
||||
{selectedFile ? selectedFile.name : t('download.uploadbox')}
|
||||
</span>
|
||||
|
||||
<Input
|
||||
@@ -193,7 +193,7 @@ export const DownloadImage = () => {
|
||||
onClick={() => upload(selectedFile)}
|
||||
disabled={status === 'in_progress' || !selectedFile}
|
||||
>
|
||||
{t('upload.ok')}
|
||||
{t('download.ok')}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user