- Add multi-language support for registration and user menu components

- Refactor `TextEditor` to include book-closing functionality with updated toolbar buttons
- Replace `generateHTML` with a lightweight custom TipTap-to-HTML renderer
- Update and lock `esbuild` and related dependencies to latest versions
This commit is contained in:
natreex
2025-12-23 23:24:17 -05:00
parent 1f2513d565
commit 0366a2d444
10 changed files with 728 additions and 537 deletions

View File

@@ -44,6 +44,36 @@
},
"backToLogin": "Back to login"
},
"registerStepOne": {
"fields": {
"firstName": {
"label": "First Name",
"placeholder": "Your first name"
},
"lastName": {
"label": "Last Name",
"placeholder": "Your last name"
},
"username": {
"label": "Username",
"placeholder": "Choose a username",
"note": "Username must be at least 3 characters"
},
"email": {
"label": "Email Address",
"placeholder": "your.email@example.com"
},
"password": {
"label": "Password",
"placeholder": "••••••••"
},
"repeatPassword": {
"label": "Confirm Password",
"placeholder": "••••••••"
}
},
"next": "Next"
},
"resetPassword": {
"title": "Forgot password",
"subtitle": "Reset your password in a few simple steps",
@@ -429,6 +459,7 @@
"draftCompanion": "Draft Companion",
"save": "Save",
"saving": "Saving...",
"close": "Close",
"toolbar": {
"1": "1",
"2": "2",
@@ -901,6 +932,10 @@
"close": "Close"
}
},
"userMenu": {
"settings": "Settings",
"logout": "Logout"
},
"offline": {
"mode": {
"title": "Offline Mode",