Merge pull request #3925 from Ocelot-Social-Community/supported-img-formats

feat: 🍰 Show Supported Image Formats Implemented
This commit is contained in:
Wolfgang Huß 2020-10-27 12:12:32 +01:00 committed by GitHub
commit dab21933af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 27 additions and 10 deletions

View File

@ -279,7 +279,7 @@ $size-avatar-large: 114px;
$size-image-max-height: 2000px;
$size-image-cropper-max-height: 600px;
$size-image-cropper-min-height: 400px;
$size-image-uploader-min-height: 200px;
$size-image-uploader-min-height: 250px;
/**
* @tokens Size Icons

View File

@ -20,6 +20,9 @@
:title="$t('actions.delete')"
@click.stop="deleteImage"
/>
<div v-if="!hasImage" class="supported-formats">
{{ $t('contribution.teaserImage.supportedFormats') }}
</div>
</vue-dropzone>
<div v-show="showCropper" class="crop-overlay">
<img id="cropping-image" />
@ -195,6 +198,11 @@ export default {
right: $space-small;
z-index: $z-index-surface;
}
> .supported-formats {
margin-top: 150px;
font-weight: bold;
}
}
}
</style>

View File

@ -258,7 +258,8 @@
"newPost": "Erstelle einen neuen Beitrag",
"success": "Gespeichert!",
"teaserImage": {
"cropperConfirm": "Bestätigen"
"cropperConfirm": "Bestätigen",
"supportedFormats": "Füge ein Bild im Dateiformat JPG, PNG oder GIF ein"
},
"title": "Titel"
},

View File

@ -258,7 +258,8 @@
"newPost": "Create a new Post",
"success": "Saved!",
"teaserImage": {
"cropperConfirm": "Confirm"
"cropperConfirm": "Confirm",
"supportedFormats": "Insert a picture of file format JPG , PNG or GIF"
},
"title": "Title"
},

View File

@ -256,7 +256,8 @@
"newPost": "Crear una nueva contribución",
"success": "¡Guardado!",
"teaserImage": {
"cropperConfirm": "Confirmar"
"cropperConfirm": "Confirmar",
"supportedFormats": "Insertar una imagen de formato de archivo JPG, PNG o GIF"
},
"title": "Título"
},

View File

@ -256,7 +256,8 @@
"newPost": "Créer un nouveau Post",
"success": "Enregistré!",
"teaserImage": {
"cropperConfirm": "Confirmer"
"cropperConfirm": "Confirmer",
"supportedFormats": "Insérer une image au format de fichier JPG, PNG ou GIF"
},
"title": "Titre"
},

View File

@ -261,7 +261,8 @@
"newPost": "",
"success": "",
"teaserImage": {
"cropperConfirm": "Confermare"
"cropperConfirm": "Confermare",
"supportedFormats": "Inserisci un'immagine in formato file JPG, PNG o GIF"
},
"title": ""
},

View File

@ -68,7 +68,8 @@
"delete": "Bijdrage verwijderen",
"edit": "Bijdrage bewerken",
"teaserImage": {
"cropperConfirm": "Bevestigen"
"cropperConfirm": "Bevestigen",
"supportedFormats": "Voeg een afbeelding in met het bestandsformaat JPG, PNG of GIF"
}
},
"disable": {

View File

@ -119,7 +119,8 @@
"newPost": "Utwórz nowy wpis",
"success": "Zapisano!",
"teaserImage": {
"cropperConfirm": "Potwierdzać"
"cropperConfirm": "Potwierdzać",
"supportedFormats": "Wstaw zdjęcie w formacie pliku JPG, PNG lub GIF"
}
},
"delete": {

View File

@ -252,7 +252,8 @@
"newPost": "Criar uma nova publicação",
"success": "Salvo!",
"teaserImage": {
"cropperConfirm": "Confirmar"
"cropperConfirm": "Confirmar",
"supportedFormats": "Insira uma imagem do formato JPG, PNG ou GIF"
},
"title": "Título"
},

View File

@ -256,7 +256,8 @@
"newPost": "Создать пост",
"success": "Сохранено!",
"teaserImage": {
"cropperConfirm": "Подтвердить"
"cropperConfirm": "Подтвердить",
"supportedFormats": "Вставьте изображение файла формата JPG, PNG или GIF"
},
"title": "Заголовок"
},