Skip to content

A local-first personal finance app

[WIP] [FIX] Translate Schedule '(No payee)' (#5777)

milanalexandre753a105b3dca
diff --git a/packages/desktop-client/src/components/transactions/TransactionsTable.tsx b/packages/desktop-client/src/components/transactions/TransactionsTable.tsx
index 13de2de1ca..79631606b3 100644
--- a/packages/desktop-client/src/components/transactions/TransactionsTable.tsx
+++ b/packages/desktop-client/src/components/transactions/TransactionsTable.tsx
@@ -510,6 +510,7 @@ function PayeeCell({
onNavigateToSchedule,
}: PayeeCellProps) {
const isCreatingPayee = useRef(false);
+ const { t } = useTranslation();
const dispatch = useDispatch();
@@ -639,7 +640,7 @@ function PayeeCell({
}}
formatter={() => {
if (!displayPayee && isPreview) {
- return '(No payee)';
+ return t('(No payee)');
}
return displayPayee;
}}
diff --git a/upcoming-release-notes/5777.md b/upcoming-release-notes/5777.md
new file mode 100644
index 0000000000..2c4cdadce3
--- /dev/null
+++ b/upcoming-release-notes/5777.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [milanalexandre]
+---
+
+Translated ‘(No payee)’ for a scheduled transaction