Add checklists to tasks on the job page

Tasks get an ordered checklist (spec 8.2, phase 3): items are checked
done with who and when recorded, also by subcontractors attached to the
job; others add, rename, reorder and remove items. Items go with their
task. The spec gets a phase 3 chapter (18.1), and open questions move
to chapter 19.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-24 16:38:08 +02:00
co-authored by Claude Opus 5.5
parent e521df647c
commit dfe4941f02
28 changed files with 1376 additions and 3 deletions
+32
View File
@@ -51,6 +51,38 @@ return [
'in_review' => 'Tarkastettavana',
'done' => 'Valmis',
],
'checklist' => [
'title' => 'Tarkistuslista',
'progress' => '(:done/:total tehty)',
'list_of' => 'Tarkistuslista: :title',
'empty' => 'Ei kohtia.',
'done' => 'tehty',
'not_done' => 'ei tehty',
'new_item' => 'Uusi kohta',
'text' => 'Kohdan teksti',
'add' => 'Lisää kohta',
'add_named' => 'Lisää kohta tehtävälle :title',
'save' => 'Tallenna',
'cancel' => 'Peruuta',
'rename_named' => 'Muokkaa kohtaa :text',
'move_up_named' => 'Siirrä ylös: :text',
'move_down_named' => 'Siirrä alas: :text',
'remove_named' => 'Poista kohta :text',
'added' => 'Kohta :text lisätty.',
'renamed' => 'Kohta :text tallennettu.',
'removed' => 'Kohta :text poistettu.',
'checked' => 'Kohta :text merkitty tehdyksi.',
'unchecked' => 'Kohta :text merkitty tekemättömäksi.',
'moved_up' => 'Kohta :text siirretty ylöspäin.',
'moved_down' => 'Kohta :text siirretty alaspäin.',
'already_first' => 'Kohta :text on jo ensimmäisenä.',
'already_last' => 'Kohta :text on jo viimeisenä.',
'not_found' => 'Kohtaa ei löytynyt. Päivitä sivu.',
'errors' => [
'text_required' => 'Anna kohdan teksti.',
'invalid_text' => 'Kohdan teksti voi olla enintään 255 merkkiä.',
],
],
'errors' => [
'title_required' => 'Anna tehtävän nimi.',
'invalid_title' => 'Nimen pituus voi olla enintään 255 merkkiä.',