A language picked on a signed-out page is now stored on the account when the user signs in (StoreLocaleChosenBeforeLogin), so the app does not switch back to the account default. EnsureAccountIsUsable keeps the user's language for the login page when it ends a disabled account's session. ChangePreferredLocale runs in a transaction like the other use cases, the language names come from layout.languages instead of the Locale enum, and the translation test also compares fi.json with en.json and rejects English files without a Finnish counterpart. Co-Authored-By: Claude Opus 5.5 <[email protected]>
56 lines
1.7 KiB
PHP
56 lines
1.7 KiB
PHP
<?php
|
|
|
|
return [
|
|
'skip_to_content' => 'Siirry pääsisältöön',
|
|
'main_menu' => 'Päävalikko',
|
|
'home' => 'Etusivu',
|
|
'jobs' => 'Asiakastyöt',
|
|
'quick_intake' => 'Pikavastaanotto',
|
|
'board' => 'Kanban',
|
|
'calendar' => 'Kalenteri',
|
|
'time' => 'Tuntikirjaus',
|
|
'approvals' => 'Tuntien hyväksyntä',
|
|
'expenses' => 'Kulut',
|
|
'quick_sale' => 'Pikamyynti',
|
|
'billing' => 'Laskutus',
|
|
'customers' => 'Asiakkaat',
|
|
'users' => 'Käyttäjät',
|
|
'company' => 'Yritystiedot',
|
|
'holidays' => 'Arkipyhät',
|
|
'catalog' => 'Pohjatiedot',
|
|
'prices' => 'Hinnasto',
|
|
'logout' => 'Kirjaudu ulos',
|
|
'theme_toggle' => 'Tumma teema',
|
|
'cancel' => 'Peruuta',
|
|
'group_work' => 'Työt',
|
|
'group_own' => 'Oma kirjaus',
|
|
'group_sales' => 'Asiakkaat ja myynti',
|
|
'group_admin' => 'Hallinto',
|
|
'group_maintenance' => 'Ylläpito',
|
|
'new_job' => 'Uusi työ',
|
|
'sales_list' => 'Pikamyynnit ja kassapäivät',
|
|
'workflow_templates' => 'Työnkulkupohjat',
|
|
'price_list_admin' => 'Hinnaston ylläpito',
|
|
'current_section' => '(nykyinen osio)',
|
|
// Each language by its own name, the same in every language.
|
|
'languages' => [
|
|
'fi' => 'Suomi',
|
|
'en' => 'English',
|
|
],
|
|
'profile' => [
|
|
'menu' => 'Profiili: :name',
|
|
'language' => 'Kieli',
|
|
'theme' => 'Teema',
|
|
'theme_light' => 'Vaalea',
|
|
'theme_dark' => 'Tumma',
|
|
'theme_system' => 'Järjestelmän mukainen',
|
|
'selected' => '(valittu)',
|
|
],
|
|
'demo' => [
|
|
'title' => 'Toiminnanohjaus',
|
|
'intro' => 'Livewire ja TallStackUI toimivat. Tämä on väliaikainen kokeilusivu.',
|
|
'add_click' => 'Lisää klikkaus',
|
|
'clicked' => 'Klikattu :count kertaa',
|
|
],
|
|
];
|