refactor: sync English translations with Croatian and clean up landing page

- Restructure login-page content to match Croatian version (remove card-3, add disclaimer)
- Update main-card text structure from text-1/text-2 to single text field
- Update image references and add image-alt attributes
- Add missing translation fields in home-page and location-edit-form
- Remove duplicate card-2.text render in landing page

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-12-24 21:41:14 +01:00
parent 68b2591f40
commit dc6fa0971e
2 changed files with 19 additions and 23 deletions

View File

@@ -56,7 +56,6 @@ const Page: FC = async () => {
<h2 className={`${h2ClassName} text-xl`}>{t.rich("card-2.title", paragraphFormat)}</h2>
{t.rich("card-2.text", paragraphFormat)}
{t.rich("card-2.text", paragraphFormat, {})}
<EnterOrSignInButton session={session} locale={locale} providers={providers} />

View File

@@ -19,35 +19,28 @@
"login-page": {
"main-card": {
"title": "Bill management made easy<indigo> for landlords</indigo>",
"text-1": "These are the questions this simple and free app will help you with ...",
"text-2": "... try it & use it completly free!",
"text": "<p>The best part of renting out an apartment or house is when the <strong>rent hits your account</strong>. Dealing with utility bills, though? <strong>Not so much.</strong></p><p>Bills show up one by one, <strong>papers start piling up</strong>, and suddenly you're sorting, checking what came in, what's paid, and what's still outstanding...</p><p>Then you've got to gather everything, send it to the tenant, and keep track of whether they paid. <strong>It's boring, and it needs you to be annoyingly precise.</strong></p>",
"go-to-app": "Go to the App",
"in-app-browser-warning": "<strong>WARNING:</strong> we detected you're using an in-app browser.<br></br>This might prevent this app to work properly.<hint>Please use a regular browser to sign in (rezije.app) 😉</hint>",
"in-app-browser-warning": "<strong>WARNING!</strong> We detected that the website is opened in an in-app browser. This may cause issues with this web application. <hint>Please open the web application in a regular web browser (rezije.app) 😉</hint>",
"image-url": "/man-burried-under-paper.png",
"image-alt": "Man buried under papers",
"video-url": "/welcome-demo-vp9-25fps-1500bps.webm",
"image-url": "/hero.png",
"video-title": "Demo osnovnih koraka u aplikaciji"
"video-title": "Demo of basic steps in the application"
},
"card-1": {
"title": "Easy copy of expenditures",
"text": "All your realestate and utilitys are automatically copied to the next month, so you don't neeed to do it by hand.",
"title": "Can it get better?",
"text": "<p>You're in luck - <strong>rezije.app</strong> is a free tool built to <strong>solve exactly these problems</strong>!</p><p>This tool will enable you to easily and <strong>clearly track due and paid bills</strong>. All digital, efficient, and meticulous!</p><p>In addition, this tool offers the possibility of <strong>automatic sending</strong> of monthly statements to tenants, which includes a barcode for quick <strong>payment of rent and utilities to your IBAN or Revolut.</strong></p>",
"video-url": "/kopiranje-mjeseca-demo.webm",
"image-url": "/status-color-demo.png",
"video-title": "Demo kopiranja mjeseca"
"image-url": "/robot-sorting-papers.png",
"image-alt": "Robot sorting papers",
"video-title": "Demo of month copying"
},
"card-2": {
"title": "Color signals status",
"text": "Each of the utility bills is color coded - at a glance you can see which bill was received and which one is payed.",
"image-url": "/bar-code-demo.png",
"image-alt": "Boje označavaju status računa"
"title": "What do I need to get started?",
"text": "<p>You don't need to fill out registration forms or confirm your email address.</p><p>All you need is a <strong>Gmail account to sign in</strong> and you can start using the tool right away - <strong>turnkey solution!</strong></p>"
},
"card-3": {
"title": "Color signals status",
"text": "If the attached dokument contains a 2D bar code, it is automatically extracted and shown on the page, so you can scan it without opening the PDF document.",
"video-url": "/welcome-demo-vp9-25fps-1500bps.webm",
"image-url": "/bar-code-demo.png",
"video-title": "Demo osnovnih koraka u aplikaciji"
},
"sign-in-button": "Sign in with"
"sign-in-button": "Sign in with",
"disclaimer": "<disclaimer><bold>Note:</bold> by signing in to this web application, you accept the <linkTermsOfService>Terms of Service</linkTermsOfService> and <linkPrivacyPolicy>Privacy Policy</linkPrivacyPolicy>.</disclaimer>"
},
"home-page": {
"add-location-button": {
@@ -105,7 +98,9 @@
"bill-deleted-message": "Bill deleted successfully",
"location-saved-message": "Location saved successfully",
"location-deleted-message": "Location deleted successfully",
"bill-multi-edit-save-success-message": "Changes saved successfully"
"bill-multi-edit-save-success-message": "Changes saved successfully",
"bill-multi-edit-save-error-message": "Error saving changes",
"bill-multi-edit-load-error-message": "Error loading data"
},
"bill-delete-form": {
"text": "Please confirm deletion of bill \"<strong>{bill_name}</strong>\" at \"<strong>{location_name}</strong>\".",
@@ -173,6 +168,8 @@
"tenant-payment-instructions-method--iban-disabled": "payment via IBAN - disabled in app settings",
"tenant-payment-instructions-method--revolut": "🅡 payment via Revolut",
"tenant-payment-instructions-method--revolut-disabled": "payment via Revolut - disabled in app settings",
"tenant-payment-instructions-method--disabled-message": "This option is unavailable because it is not enabled in the application settings.",
"iban-payment--form-title": "Payment information for IBAN",
"iban-payment--tenant-name-label": "Tenant First and Last Name",
"iban-payment--tenant-name-placeholder": "enter tenant's first and last name",
"iban-payment--tenant-street-label": "Tenant Street and House Number",