diff --git a/app/ui/LocationCard.tsx b/app/ui/LocationCard.tsx index ce257ca..067ca2e 100644 --- a/app/ui/LocationCard.tsx +++ b/app/ui/LocationCard.tsx @@ -38,7 +38,7 @@ export const LocationCard:FC = ({location: { _id, name, yearM { monthlyExpense > 0 ?

- { t("payed-total") } ${formatCurrency(monthlyExpense)} + { t("payed-total-label") } ${formatCurrency(monthlyExpense)}

: null } diff --git a/messages/en.json b/messages/en.json index 14a8549..a1ffba3 100644 --- a/messages/en.json +++ b/messages/en.json @@ -53,7 +53,7 @@ "location-card": { "edit-card-tooltip": "Edit realestate", "add-bill-button-tooltip": "Add a new bill", - "payed-total": "Payed total:" + "payed-total-label": "Payed total:" }, "month-card": { "payed-total-label": "Total monthly expenditure:" diff --git a/messages/hr.json b/messages/hr.json index c8a3e1c..6d623ec 100644 --- a/messages/hr.json +++ b/messages/hr.json @@ -53,7 +53,7 @@ "location-card": { "edit-card-tooltip": "Izmjeni nekretninu", "add-bill-button-tooltip": "Dodaj novi račun", - "payed-total": "Ukupno plaćeno: {amount}" + "payed-total-label": "Ukupno plaćeno:" }, "month-card": { "payed-total-label": "Ukupni mjesečni trošak:"