feat: locale

This commit is contained in:
2026-05-21 21:32:20 +02:00
parent 19e65e36f3
commit 8e5a50dd2b
21 changed files with 337 additions and 32 deletions
+5
View File
@@ -18,6 +18,7 @@ return [
'id' => 'ID',
'name' => 'Name',
'email' => 'Email address',
'locale' => 'Language',
'email_verified_at' => 'Email verified at',
'account_verified_at' => 'Account verified at',
'avatar' => 'Avatar',
@@ -38,6 +39,10 @@ return [
'created_at' => 'Created at',
'updated_at' => 'Updated at',
],
'locales' => [
'en' => 'English',
'fr' => 'French',
],
'filters' => [
'email_verified' => 'Email verified',
'account_verified' => 'Account verified',
+36
View File
@@ -0,0 +1,36 @@
<?php
return [
'verify_account' => [
'subject' => 'Verify your Bowli account',
'title' => 'Verify your account',
'greeting' => 'Hi :name,',
'default_name' => 'there',
'intro' => 'Confirm your email address to activate your account and access Bowli.',
'action' => 'Verify my account',
'expires' => 'This link expires in :minutes minutes.',
'ignore' => 'If you did not create a Bowli account, you can ignore this email.',
],
'reset_password' => [
'subject' => 'Reset your Bowli password',
'title' => 'Reset your password',
'greeting' => 'Hi :name,',
'default_name' => 'there',
'intro' => 'Click the button below to create a new password. The link opens a secure Bowli API page.',
'action' => 'Choose a new password',
'expires' => 'This link expires in :minutes minutes.',
'copy_link' => 'If the button does not work, copy this link into your browser:',
'ignore' => 'If you did not request a password reset, you can ignore this email.',
],
'reset_password_form' => [
'page_title' => 'New password',
'success_title' => 'Password updated',
'title' => 'New password',
'intro' => 'Choose a new password to secure your account.',
'success' => 'Your password has been reset. You can return to the app and sign in.',
'email' => 'Email',
'password' => 'New password',
'password_confirmation' => 'Confirm password',
'submit' => 'Update password',
],
];