Files
Toiminnanohjaus/lang/fi/customers.php
T
petriandClaude Opus 5.5 90d6f5bd66 Replace Flux UI with TallStackUI 4
Rewrite the layout and all Customers and Users pages with TallStackUI
components and remove livewire/flux and its Boost skill.

Fix the TallStackUI accessibility gaps found by the axe tests:
- password reveal and theme switch have no accessible name: add
  <x-password-field> and keep the own theme toggle button
- select.native label is not tied to the control: add aria-label
- contrast: darker primary palette, soft-customized error colours and
  published alert/link colour classes; neutral buttons use subtle black
- follow the system theme by default (localStorage key dark-theme)

Load TallStackUI assets from the app URL so they work in the XAMPP
subfolder, add Finnish TallStackUI strings, and drop inputmode=numeric
from the business ID field so iOS keyboards show the hyphen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-22 12:22:03 +02:00

42 lines
1.3 KiB
PHP

<?php
return [
'title' => 'Asiakkaat',
'create_title' => 'Uusi asiakas',
'edit_title' => 'Muokkaa asiakasta',
'new' => 'Uusi asiakas',
'edit' => 'Muokkaa',
'actions' => 'Toiminnot',
'save' => 'Tallenna',
'cancel' => 'Peruuta',
'search' => 'Hae asiakasta',
'search_description' => 'Hae nimellä tai Y-tunnuksella.',
'empty' => 'Asiakkaita ei löytynyt.',
'result_count' => '{0} Ei asiakkaita|{1} :count asiakas|[2,*] :count asiakasta',
'created' => 'Asiakas :name lisätty.',
'updated' => 'Asiakkaan :name tiedot tallennettu.',
'fields' => [
'name' => 'Nimi',
'type' => 'Asiakastyyppi',
'business_id' => 'Y-tunnus',
'business_id_description' => 'Muodossa 1234567-8. Ei pakollinen.',
],
'types' => [
'company' => 'Yritys',
'consumer' => 'Kuluttaja',
],
'errors' => [
'name_required' => 'Anna asiakkaan nimi.',
'invalid_name' => 'Nimen pituus voi olla enintään 255 merkkiä.',
'type_required' => 'Valitse asiakastyyppi.',
'invalid_business_id' => 'Y-tunnus ei ole kelvollinen. Tarkista numerot ja muoto 1234567-8.',
'consumer_business_id' => 'Kuluttaja-asiakkaalla ei voi olla Y-tunnusta.',
'business_id_taken' => 'Tällä Y-tunnuksella on jo asiakas.',
],
];