From ead74511706a32048553f2980a083b54e754ea72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Mon, 24 Nov 2025 14:50:54 +0100 Subject: [PATCH] (refactor) LocationEditForm: renaming localization string names --- app/ui/LocationEditForm.tsx | 20 ++++++++++---------- messages/en.json | 23 +++++++++++++---------- messages/hr.json | 23 +++++++++++++---------- 3 files changed, 36 insertions(+), 30 deletions(-) diff --git a/app/ui/LocationEditForm.tsx b/app/ui/LocationEditForm.tsx index 9d21193..3267c99 100644 --- a/app/ui/LocationEditForm.tsx +++ b/app/ui/LocationEditForm.tsx @@ -80,8 +80,8 @@ export const LocationEditForm: FC = ({ location, yearMont
- {t("tenant-2d-code-legend")} - {t("tenant-2d-code-info")} + {t("tenant-payment-instructions-legend")} + {t("tenant-payment-instructions-code-info")}
@@ -100,14 +100,14 @@ export const LocationEditForm: FC = ({ location, yearMont <>
handleTenantFieldChange("tenantName", e.target.value)} @@ -124,14 +124,14 @@ export const LocationEditForm: FC = ({ location, yearMont
handleTenantFieldChange("tenantStreet", e.target.value)} @@ -148,14 +148,14 @@ export const LocationEditForm: FC = ({ location, yearMont
handleTenantFieldChange("tenantTown", e.target.value)} @@ -169,7 +169,7 @@ export const LocationEditForm: FC = ({ location, yearMont ))}
- {t("tenant-2d-code-note")} + {t("tenant--payment-instructions-note")} )}
diff --git a/messages/en.json b/messages/en.json index 61ff01e..6e116ef 100644 --- a/messages/en.json +++ b/messages/en.json @@ -141,16 +141,19 @@ "location-name-legend": "Realestate name", "location-name-placeholder": "enter realestate name", "notes-placeholder": "notes", - "tenant-2d-code-legend": "PAYMENT INSTRUCTIONS", - "tenant-2d-code-info": "When the tenant opens the link to the statement for the given month, the application can show payment instructions for utility costs to your IBAN, as well as a 2D code they can scan.", - "tenant-2d-code-toggle-label": "show payment instructions to the tenant", - "tenant-2d-code-note": "IMPORTANT: for this to work you will also need to go into app settings and enter your name and IBAN.", - "tenant-name-label": "Tenant First and Last Name", - "tenant-name-placeholder": "enter tenant's first and last name", - "tenant-street-label": "Tenant Street and House Number", - "tenant-street-placeholder": "enter tenant's street", - "tenant-town-label": "Tenant Postal Code and Town", - "tenant-town-placeholder": "enter tenant's town", + + "tenant-payment-instructions-legend": "PAYMENT INSTRUCTIONS", + "tenant-payment-instructions-code-info": "When the tenant opens the link to the statement for the given month, the application can show payment instructions for utility costs to your IBAN, as well as a 2D code they can scan.", + "tenant-payment-instructions-toggle-label": "show payment instructions to the tenant", + "tenant--payment-instructions-note": "IMPORTANT: for this to work you will also need to go into app settings and enter your name and 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", + "iban-payment--tenant-street-placeholder": "enter tenant's street", + "iban-payment--tenant-town-label": "Tenant Postal Code and Town", + "iban-payment--tenant-town-placeholder": "enter tenant's town", + "auto-utility-bill-forwarding-legend": "AUTOMATIC UTILITY BILL FORWARDING", "auto-utility-bill-forwarding-info": "This option enables automatic forwarding of utility bills to the tenant via email according to the selected forwarding strategy.", "auto-utility-bill-forwarding-toggle-label": "forward utility bills", diff --git a/messages/hr.json b/messages/hr.json index 43fd3ef..635ca3c 100644 --- a/messages/hr.json +++ b/messages/hr.json @@ -140,16 +140,19 @@ "location-name-legend": "Realestate name", "location-name-placeholder": "unesite naziv nekretnine", "notes-placeholder": "bilješke", - "tenant-2d-code-legend": "UPUTE ZA UPLATU", - "tenant-2d-code-info": "Kada podstanar otvori poveznicu na obračun za zadani mjesec aplikacija mu može prikazati upute za uplatu troškova režija na vaš IBAN, kao i 2D koji može skenirati.", - "tenant-2d-code-toggle-label": "podstanaru prikaži upute za uplatu", - "tenant-2d-code-note": "VAŽNO: za ovu funkcionalnost potrebno je otvoriti postavke aplikacije, te unijeti vaše ime i IBAN.", - "tenant-name-label": "Ime i prezime podstanara", - "tenant-name-placeholder": "unesite ime i prezime podstanara", - "tenant-street-label": "Ulica podstanara i kućni broj", - "tenant-street-placeholder": "unesite ulicu podstanara", - "tenant-town-label": "Poštanski broj i Grad podstanara", - "tenant-town-placeholder": "unesite poštanski broj i grad podstanara", + + "tenant-payment-instructions-legend": "UPUTE ZA UPLATU", + "tenant-payment-instructions-code-info": "Kada podstanar otvori poveznicu na obračun za zadani mjesec aplikacija mu može prikazati upute za uplatu troškova režija na vaš IBAN, kao i 2D koji može skenirati.", + "tenant-payment-instructions-toggle-label": "podstanaru prikaži upute za uplatu", + "tenant--payment-instructions-note": "VAŽNO: za ovu funkcionalnost potrebno je otvoriti postavke aplikacije, te unijeti vaše ime i IBAN.", + + "iban-payment--tenant-name-label": "Ime i prezime podstanara", + "iban-payment--tenant-name-placeholder": "unesite ime i prezime podstanara", + "iban-payment--tenant-street-label": "Ulica podstanara i kućni broj", + "iban-payment--tenant-street-placeholder": "unesite ulicu podstanara", + "iban-payment--tenant-town-label": "Poštanski broj i Grad podstanara", + "iban-payment--tenant-town-placeholder": "unesite poštanski broj i grad podstanara", + "auto-utility-bill-forwarding-legend": "AUTOMATSKO PROSLJEĐIVANJE REŽIJA", "auto-utility-bill-forwarding-info": "Ova opcija omogućuje automatsko prosljeđivanje režija podstanaru putem emaila u skladu s odabranom strategijom.", "auto-utility-bill-forwarding-toggle-label": "proslijedi režije automatski",