Merge branch 'main' into patch-1

This commit is contained in:
Alexander-Ger-Reich
2025-12-10 00:21:30 +01:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -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',

View File

@@ -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>