mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge pull request #3925 from Ocelot-Social-Community/supported-img-formats
feat: 🍰 Show Supported Image Formats Implemented
This commit is contained in:
commit
dab21933af
@ -279,7 +279,7 @@ $size-avatar-large: 114px;
|
|||||||
$size-image-max-height: 2000px;
|
$size-image-max-height: 2000px;
|
||||||
$size-image-cropper-max-height: 600px;
|
$size-image-cropper-max-height: 600px;
|
||||||
$size-image-cropper-min-height: 400px;
|
$size-image-cropper-min-height: 400px;
|
||||||
$size-image-uploader-min-height: 200px;
|
$size-image-uploader-min-height: 250px;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @tokens Size Icons
|
* @tokens Size Icons
|
||||||
|
|||||||
@ -20,6 +20,9 @@
|
|||||||
:title="$t('actions.delete')"
|
:title="$t('actions.delete')"
|
||||||
@click.stop="deleteImage"
|
@click.stop="deleteImage"
|
||||||
/>
|
/>
|
||||||
|
<div v-if="!hasImage" class="supported-formats">
|
||||||
|
{{ $t('contribution.teaserImage.supportedFormats') }}
|
||||||
|
</div>
|
||||||
</vue-dropzone>
|
</vue-dropzone>
|
||||||
<div v-show="showCropper" class="crop-overlay">
|
<div v-show="showCropper" class="crop-overlay">
|
||||||
<img id="cropping-image" />
|
<img id="cropping-image" />
|
||||||
@ -195,6 +198,11 @@ export default {
|
|||||||
right: $space-small;
|
right: $space-small;
|
||||||
z-index: $z-index-surface;
|
z-index: $z-index-surface;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
> .supported-formats {
|
||||||
|
margin-top: 150px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -258,7 +258,8 @@
|
|||||||
"newPost": "Erstelle einen neuen Beitrag",
|
"newPost": "Erstelle einen neuen Beitrag",
|
||||||
"success": "Gespeichert!",
|
"success": "Gespeichert!",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Bestätigen"
|
"cropperConfirm": "Bestätigen",
|
||||||
|
"supportedFormats": "Füge ein Bild im Dateiformat JPG, PNG oder GIF ein"
|
||||||
},
|
},
|
||||||
"title": "Titel"
|
"title": "Titel"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -258,7 +258,8 @@
|
|||||||
"newPost": "Create a new Post",
|
"newPost": "Create a new Post",
|
||||||
"success": "Saved!",
|
"success": "Saved!",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Confirm"
|
"cropperConfirm": "Confirm",
|
||||||
|
"supportedFormats": "Insert a picture of file format JPG , PNG or GIF"
|
||||||
},
|
},
|
||||||
"title": "Title"
|
"title": "Title"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -256,7 +256,8 @@
|
|||||||
"newPost": "Crear una nueva contribución",
|
"newPost": "Crear una nueva contribución",
|
||||||
"success": "¡Guardado!",
|
"success": "¡Guardado!",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Confirmar"
|
"cropperConfirm": "Confirmar",
|
||||||
|
"supportedFormats": "Insertar una imagen de formato de archivo JPG, PNG o GIF"
|
||||||
},
|
},
|
||||||
"title": "Título"
|
"title": "Título"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -256,7 +256,8 @@
|
|||||||
"newPost": "Créer un nouveau Post",
|
"newPost": "Créer un nouveau Post",
|
||||||
"success": "Enregistré!",
|
"success": "Enregistré!",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Confirmer"
|
"cropperConfirm": "Confirmer",
|
||||||
|
"supportedFormats": "Insérer une image au format de fichier JPG, PNG ou GIF"
|
||||||
},
|
},
|
||||||
"title": "Titre"
|
"title": "Titre"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -261,7 +261,8 @@
|
|||||||
"newPost": "",
|
"newPost": "",
|
||||||
"success": "",
|
"success": "",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Confermare"
|
"cropperConfirm": "Confermare",
|
||||||
|
"supportedFormats": "Inserisci un'immagine in formato file JPG, PNG o GIF"
|
||||||
},
|
},
|
||||||
"title": ""
|
"title": ""
|
||||||
},
|
},
|
||||||
|
|||||||
@ -68,7 +68,8 @@
|
|||||||
"delete": "Bijdrage verwijderen",
|
"delete": "Bijdrage verwijderen",
|
||||||
"edit": "Bijdrage bewerken",
|
"edit": "Bijdrage bewerken",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Bevestigen"
|
"cropperConfirm": "Bevestigen",
|
||||||
|
"supportedFormats": "Voeg een afbeelding in met het bestandsformaat JPG, PNG of GIF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"disable": {
|
"disable": {
|
||||||
|
|||||||
@ -119,7 +119,8 @@
|
|||||||
"newPost": "Utwórz nowy wpis",
|
"newPost": "Utwórz nowy wpis",
|
||||||
"success": "Zapisano!",
|
"success": "Zapisano!",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Potwierdzać"
|
"cropperConfirm": "Potwierdzać",
|
||||||
|
"supportedFormats": "Wstaw zdjęcie w formacie pliku JPG, PNG lub GIF"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"delete": {
|
"delete": {
|
||||||
|
|||||||
@ -252,7 +252,8 @@
|
|||||||
"newPost": "Criar uma nova publicação",
|
"newPost": "Criar uma nova publicação",
|
||||||
"success": "Salvo!",
|
"success": "Salvo!",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Confirmar"
|
"cropperConfirm": "Confirmar",
|
||||||
|
"supportedFormats": "Insira uma imagem do formato JPG, PNG ou GIF"
|
||||||
},
|
},
|
||||||
"title": "Título"
|
"title": "Título"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -256,7 +256,8 @@
|
|||||||
"newPost": "Создать пост",
|
"newPost": "Создать пост",
|
||||||
"success": "Сохранено!",
|
"success": "Сохранено!",
|
||||||
"teaserImage": {
|
"teaserImage": {
|
||||||
"cropperConfirm": "Подтвердить"
|
"cropperConfirm": "Подтвердить",
|
||||||
|
"supportedFormats": "Вставьте изображение файла формата JPG, PNG или GIF"
|
||||||
},
|
},
|
||||||
"title": "Заголовок"
|
"title": "Заголовок"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user