From 2ef1495ab319ed6459fa837357244448aaa91a76 Mon Sep 17 00:00:00 2001 From: Giuseppe Criscione <18699708+giuscris@users.noreply.github.com> Date: Sat, 8 Jun 2024 22:55:45 +0200 Subject: [PATCH] Add placeholder to allowed extensions option --- formwork/schemes/config/system.yaml | 1 + panel/translations/de.yaml | 1 + panel/translations/en.yaml | 1 + panel/translations/es.yaml | 1 + panel/translations/fr.yaml | 1 + panel/translations/it.yaml | 1 + panel/translations/pt.yaml | 1 + panel/translations/ru.yaml | 1 + 8 files changed, 8 insertions(+) diff --git a/formwork/schemes/config/system.yaml b/formwork/schemes/config/system.yaml index 5acd254c..bbd14d1b 100644 --- a/formwork/schemes/config/system.yaml +++ b/formwork/schemes/config/system.yaml @@ -99,6 +99,7 @@ fields: type: tags icon: file-exclamation label: '{{panel.options.system.files.allowedExtensions}}' + placeholder: '{{panel.options.system.files.allowedExtensions.noExtensions}}' pattern: '^\.[a-zA-Z0-9]+$' options@: mimeTypes.extensionTypes diff --git a/panel/translations/de.yaml b/panel/translations/de.yaml index 2b444744..9f0e82a1 100644 --- a/panel/translations/de.yaml +++ b/panel/translations/de.yaml @@ -112,6 +112,7 @@ panel.options.system.debug.mode.disabled: Deaktiviert panel.options.system.debug.mode.enabled: Aktiviert panel.options.system.files: Dateien panel.options.system.files.allowedExtensions: Erlaubte Dateierweiterungen +panel.options.system.files.allowedExtensions.noExtensions: Keine Erweiterungen (keine Dateien erlaubt) panel.options.system.images: Bilder panel.options.system.images.clearCacheByDefault: Bilder-Cache standardmäßig löschen panel.options.system.images.clearCacheByDefault.disabled: Deaktiviert diff --git a/panel/translations/en.yaml b/panel/translations/en.yaml index ea1032f6..bc407bcb 100644 --- a/panel/translations/en.yaml +++ b/panel/translations/en.yaml @@ -112,6 +112,7 @@ panel.options.system.debug.mode.disabled: Disabled panel.options.system.debug.mode.enabled: Enabled panel.options.system.files: Files panel.options.system.files.allowedExtensions: Allowed extensions +panel.options.system.files.allowedExtensions.noExtensions: No extensions (no file allowed) panel.options.system.images: Images panel.options.system.images.clearCacheByDefault: Clear images cache by default panel.options.system.images.clearCacheByDefault.disabled: Disabled diff --git a/panel/translations/es.yaml b/panel/translations/es.yaml index 62dde9c9..24db2a4c 100644 --- a/panel/translations/es.yaml +++ b/panel/translations/es.yaml @@ -112,6 +112,7 @@ panel.options.system.debug.mode.disabled: Deshabilitado panel.options.system.debug.mode.enabled: Habilitado panel.options.system.files: Archivos panel.options.system.files.allowedExtensions: Extensiones permitidas +panel.options.system.files.allowedExtensions.noExtensions: Sin extensiones (ningún archivo permitido) panel.options.system.images: Imágenes panel.options.system.images.clearCacheByDefault: Borrar caché de imágenes por defecto panel.options.system.images.clearCacheByDefault.disabled: Deshabilitado diff --git a/panel/translations/fr.yaml b/panel/translations/fr.yaml index 7bcab0f2..d9f49bcb 100644 --- a/panel/translations/fr.yaml +++ b/panel/translations/fr.yaml @@ -112,6 +112,7 @@ panel.options.system.debug.mode.disabled: Désactivé panel.options.system.debug.mode.enabled: Activé panel.options.system.files: Fichiers panel.options.system.files.allowedExtensions: Extensions autorisées +panel.options.system.files.allowedExtensions.noExtensions: Aucune extension (aucun fichier autorisé) panel.options.system.images: Images panel.options.system.images.clearCacheByDefault: Effacer le cache des images par défaut panel.options.system.images.clearCacheByDefault.disabled: Désactivé diff --git a/panel/translations/it.yaml b/panel/translations/it.yaml index a892f81c..cddd928c 100644 --- a/panel/translations/it.yaml +++ b/panel/translations/it.yaml @@ -112,6 +112,7 @@ panel.options.system.debug.mode.disabled: Disabilitata panel.options.system.debug.mode.enabled: Abilitata panel.options.system.files: File panel.options.system.files.allowedExtensions: Estensioni consentite +panel.options.system.files.allowedExtensions.noExtensions: Nessuna estensione (nessun file consentito) panel.options.system.images: Immagini panel.options.system.images.clearCacheByDefault: Cancella la cache delle immagini per impostazione predefinita panel.options.system.images.clearCacheByDefault.disabled: Disabilitato diff --git a/panel/translations/pt.yaml b/panel/translations/pt.yaml index 2e8b486d..cb07bf15 100644 --- a/panel/translations/pt.yaml +++ b/panel/translations/pt.yaml @@ -112,6 +112,7 @@ panel.options.system.debug.mode.disabled: Desativado panel.options.system.debug.mode.enabled: Ativado panel.options.system.files: Ficheiros panel.options.system.files.allowedExtensions: Extensões permitidas +panel.options.system.files.allowedExtensions.noExtensions: Sem extensões (nenhum arquivo permitido) panel.options.system.images: Imagens panel.options.system.images.clearCacheByDefault: Limpar cache de imagens por padrão panel.options.system.images.clearCacheByDefault.disabled: Desativado diff --git a/panel/translations/ru.yaml b/panel/translations/ru.yaml index de2effb7..3032af70 100644 --- a/panel/translations/ru.yaml +++ b/panel/translations/ru.yaml @@ -112,6 +112,7 @@ panel.options.system.debug.mode.disabled: Отключено panel.options.system.debug.mode.enabled: Включено panel.options.system.files: Файлы panel.options.system.files.allowedExtensions: Допустимые расширения +panel.options.system.files.allowedExtensions.noExtensions: Нет расширений (файлы не разрешены) panel.options.system.images: Картинки panel.options.system.images.clearCacheByDefault: Очищать кэш изображений по умолчанию panel.options.system.images.clearCacheByDefault.disabled: Отключено