Add images to tasks
Everyone who may comment on a task sends images to it, e.g. photos taken with a phone. The server stores an upright, at most 2560 px JPEG without EXIF data (no location) and a 400 px thumbnail on the private disk, served only to those who see the job. Uploaders change captions (also the alt text) and remove their own images; admin and management may remove anyone's (jobs.remove-any-task-image). Removing a task also removes its image files. Livewire's temporary upload limit is raised to PHP's 40 MB so that the page's own 12 MB limit gives a translated message. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -147,6 +147,42 @@ return [
|
||||
'not_author' => 'Voit muokata ja poistaa vain omia kommenttejasi.',
|
||||
],
|
||||
],
|
||||
'images' => [
|
||||
'title' => 'Kuvat',
|
||||
'list_of' => 'Kuvat: :title',
|
||||
'empty' => 'Ei kuvia.',
|
||||
'new' => 'Lähetä kuva',
|
||||
'hint' => 'JPEG, PNG, WebP tai GIF, enintään :size Mt. Puhelimessa voit ottaa kuvan kameralla.',
|
||||
'caption' => 'Kuvateksti',
|
||||
'caption_optional' => 'Kuvateksti (vapaaehtoinen)',
|
||||
'add' => 'Lähetä kuva',
|
||||
'add_named' => 'Lähetä kuva tehtävälle :title',
|
||||
'uploading' => 'Ladataan kuvaa…',
|
||||
'saving' => 'Tallennetaan kuvaa…',
|
||||
'alt' => 'Kuva :number, lähettänyt :uploader :at',
|
||||
'opens_in_new_tab' => '(avautuu uuteen välilehteen)',
|
||||
'download' => 'Lataa',
|
||||
'download_named' => 'Lataa kuva: :image',
|
||||
'edit_caption' => 'Muokkaa kuvatekstiä',
|
||||
'edit_caption_named' => 'Muokkaa kuvatekstiä: :image',
|
||||
'save' => 'Tallenna',
|
||||
'cancel' => 'Peruuta',
|
||||
'remove' => 'Poista',
|
||||
'remove_named' => 'Poista kuva: :image',
|
||||
'remove_title' => 'Poistetaanko kuva?',
|
||||
'remove_question' => 'Kuva poistetaan pysyvästi.',
|
||||
'added' => 'Kuva lähetetty.',
|
||||
'caption_saved' => 'Kuvateksti tallennettu.',
|
||||
'removed' => 'Kuva poistettu.',
|
||||
'not_found' => 'Kuvaa ei löytynyt. Päivitä sivu.',
|
||||
'errors' => [
|
||||
'photo_required' => 'Valitse kuva.',
|
||||
'not_image' => 'Tiedosto ei ole kuva. Valitse JPEG-, PNG-, WebP- tai GIF-kuva.',
|
||||
'too_large' => 'Kuva voi olla enintään :size Mt.',
|
||||
'invalid_caption' => 'Kuvateksti voi olla enintään 255 merkkiä.',
|
||||
'not_uploader' => 'Voit muokata ja poistaa vain itse lähettämiäsi kuvia.',
|
||||
],
|
||||
],
|
||||
'errors' => [
|
||||
'title_required' => 'Anna tehtävän nimi.',
|
||||
'invalid_title' => 'Nimen pituus voi olla enintään 255 merkkiä.',
|
||||
|
||||
Reference in New Issue
Block a user