Feature: improve transfer matcher UI copy (#1526)

* refactor: improve UI copy for transaction matcher drawer

* refactor: transfer matcher UI copy

* fix: improvement

* feat: use i18n
This commit is contained in:
Roger Saner
2026-04-20 08:17:38 +02:00
committed by GitHub
parent 9a8b3be0c4
commit 1297078f7e
4 changed files with 10 additions and 2 deletions

View File

@@ -349,7 +349,7 @@
<div class="flex items-center justify-between gap-4 p-3">
<div class="text-sm space-y-1">
<h4 class="text-primary">Transfer or Debt Payment?</h4>
<p class="text-secondary">Transfers and payments are special types of transactions that indicate money movement between 2 accounts.</p>
<p class="text-secondary"><%= t(".transfer_matcher_description") %></p>
</div>
<%= render DS::Link.new(
text: "Open matcher",

View File

@@ -1,5 +1,5 @@
<%= render DS::Dialog.new do |dialog| %>
<% dialog.with_header(title: "Match transfer or payment") %>
<% dialog.with_header(title: t(".header.title"), subtitle: t(".header.subtitle")) %>
<% dialog.with_body do %>
<%= styled_form_with(
url: transaction_transfer_match_path(@entry),

View File

@@ -45,6 +45,7 @@ en:
convert_to_trade_title: Convert to Security Trade
convert_to_trade_description: Convert this transaction into a Buy or Sell trade with security details for portfolio tracking.
convert_to_trade_button: Convert to Trade
transfer_matcher_description: Connect this transaction to its counterpart in another account.
pending_duplicate_merger_title: Duplicate of Posted Transaction?
pending_duplicate_merger_description: Manually merge this pending transaction with its posted version.
pending_duplicate_merger_button: Open merger

View File

@@ -0,0 +1,7 @@
---
en:
transfer_matches:
new:
header:
title: Match transfer or payment
subtitle: Match the corresponding transaction in another account or create one if it doesn't exist.