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

@@ -18,8 +18,8 @@ export interface YearMonth {
export interface UserSettings {
/** user's ID */
userId: string;
/** first name */
firstName?: string | null;
/** owner name */
ownerName?: string | null;
/** street */
street?: string | null;
/** town */