From b1c1da74b43abc3355a70dfc533ad5af8a5f47c9 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Sun, 14 Jan 2024 16:00:31 -0300
Subject: fix some wording

---
 packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

(limited to 'packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx')

diff --git a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx
index f7b81be48..d60b06dc3 100644
--- a/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx
+++ b/packages/demobank-ui/src/pages/PaytoWireTransferForm.tsx
@@ -330,7 +330,7 @@ export function PaytoWireTransferForm({
                   name="subject"
                   id="subject"
                   autocomplete="off"
-                  placeholder="subject"
+                  placeholder={i18n.str`subject`}
                   value={subject ?? ""}
                   required
                   onInput={(e): void => {
@@ -342,7 +342,9 @@ export function PaytoWireTransferForm({
                   isDirty={subject !== undefined}
                 />
               </div>
-              <p class="mt-2 text-sm text-gray-500" >some text to identify the transfer</p>
+              <p class="mt-2 text-sm text-gray-500" >
+                <i18n.Translate>some text to identify the transfer</i18n.Translate>
+              </p>
             </div>
 
             <div class="sm:col-span-5">
@@ -360,7 +362,9 @@ export function PaytoWireTransferForm({
                 message={errorsWire?.amount}
                 isDirty={trimmedAmountStr !== undefined}
               />
-              <p class="mt-2 text-sm text-gray-500" >amount to transfer</p>
+              <p class="mt-2 text-sm text-gray-500" >
+                <i18n.Translate>amount to transfer</i18n.Translate>
+              </p>
             </div>
 
           </div> :
@@ -377,6 +381,7 @@ export function PaytoWireTransferForm({
                   class="block overflow-hidden w-44 sm:w-96 rounded-md border-0 py-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"
                   value={rawPaytoInput ?? ""}
                   required
+                  title={i18n.str`uniform resource identifier of the target account`}
                   placeholder={i18n.str`payto://iban/[receiver-iban]?message=[subject]&amount=[${limit.currency}:X.Y]`}
                   onInput={(e): void => {
                     rawPaytoInputSetter(e.currentTarget.value);
-- 
cgit v1.2.3

