Rename firstName to ownerName with updated validation

- Renamed firstName to ownerName in UserSettings interface
- Updated UserSettingsForm field to accept full name (first and last)
- Set maximum length to 25 characters for owner name field
- Updated all database operations to use ownerName
- Changed English label from "First Name" to "Your First and Last Name"
- Updated Croatian translations to match (Vaše ime i prezime)
- Updated form validation schema and error messages
- Removed old lastName-related translations
- Updated ViewLocationCard to use ownerName for recipient

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-11-22 22:31:07 +01:00
parent c1762f7157
commit db1df76ed6
6 changed files with 29 additions and 34 deletions

View File

@@ -189,10 +189,8 @@
"info-box-message": "By activating this option, a 2D barcode will be included in the monthly statement sent to the tenant, allowing them to make a direct payment to your bank account.",
"tenant-2d-code-legend": "TENANT 2D CODE",
"tenant-2d-code-toggle-label": "include 2D code in monthly statements",
"first-name-label": "First Name",
"first-name-placeholder": "enter your first name",
"last-name-label": "Last Name",
"last-name-placeholder": "enter your last name",
"owner-name-label": "Your First and Last Name",
"owner-name-placeholder": "enter your first and last name",
"street-label": "Street",
"street-placeholder": "enter your street",
"town-label": "Town",
@@ -203,8 +201,7 @@
"save-button": "Save",
"cancel-button": "Cancel",
"validation": {
"first-name-required": "First name is mandatory",
"last-name-required": "Last name is mandatory",
"owner-name-required": "Name is mandatory",
"street-required": "Street is mandatory",
"town-required": "Town is mandatory",
"iban-required": "Valid IBAN is mandatory",

View File

@@ -188,10 +188,8 @@
"info-box-message": "Ako uključite ovu opciji na mjesečnom obračunu koji se šalje podstanaru biti će prikazan 2D bar kod, putem kojeg će moći izvršiti izravnu uplatu na vaš bankovni račun.",
"tenant-2d-code-legend": "2D BARKOD ZA PODSTANARA",
"tenant-2d-code-toggle-label": "prikazuj 2D barkod u mjesečnom obračunu",
"first-name-label": "Ime",
"first-name-placeholder": "unesite svoje ime",
"last-name-label": "Prezime",
"last-name-placeholder": "unesite svoje prezime",
"owner-name-label": "Vaše ime i prezime",
"owner-name-placeholder": "unesite svoje ime i prezime",
"street-label": "Ulica i kućni broj",
"street-placeholder": "unesite ulicu i kućni broj",
"town-label": "Poštanski broj i Grad",
@@ -202,8 +200,7 @@
"save-button": "Spremi",
"cancel-button": "Odbaci",
"validation": {
"first-name-required": "Ime je obavezno",
"last-name-required": "Prezime je obavezno",
"owner-name-required": "Ime i prezime je obavezno",
"street-required": "Ulica je obavezna",
"town-required": "Grad je obavezan",
"iban-required": "Ispravan IBAN je obavezan",