From 15e1dc707908f01e157e52a408ec0beb713ba2a3 Mon Sep 17 00:00:00 2001 From: Olaf Braun Date: Tue, 1 Oct 2024 15:03:45 +0200 Subject: [PATCH] Rename language variable to `wcf.upload.error.adopt` --- .../system/form/builder/field/FileProcessorFormField.class.php | 2 +- wcfsetup/install/lang/de.xml | 2 +- wcfsetup/install/lang/en.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/FileProcessorFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/FileProcessorFormField.class.php index 2093900ac9..c1a229ad56 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/FileProcessorFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/FileProcessorFormField.class.php @@ -208,7 +208,7 @@ final class FileProcessorFormField extends AbstractFormField $this->addValidationError( new FormFieldValidationError( 'adopt', - 'wcf.form.field.fileProcessor.error.adopt', + 'wcf.upload.error.adopt', ['file' => $file] ) ); diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index dc89e19e1a..461b3fff93 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -4099,7 +4099,6 @@ Dateianhänge: getFilename()}“ darf maximal {#$maximumImageHeight} Pixel hoch sein.]]> 1}{#$minimum} Dateien{else}eine Datei{/if} hochladen.]]> 1}{#$maximum} Dateien{else}eine Datei{/if} hochladen.]]> - filename}“ kann nicht zugewiesen werden.]]> @@ -5567,6 +5566,7 @@ Benachrichtigungen auf {PAGE_TITLE|phra + filename}“ kann nicht zugewiesen werden.]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index da60a803d6..c6877efa42 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -4045,7 +4045,6 @@ Attachments: getFilename()}” may have a maximum height of {#$maximumImageHeight} pixels.]]> 1}{#$minimum} files{else}one file{/if}.]]> 1}{#$maximum} files{else}one file{/if}.]]> - filename}“ cannot be assigned.]]> @@ -5569,6 +5568,7 @@ your notifications on {PAGE_TITLE|phras + filename}“ cannot be assigned.]]> -- 2.20.1