diff --git a/packages/app/src/locales/en.json b/packages/app/src/locales/en.json index cba7ceff64..679fe2f4dd 100644 --- a/packages/app/src/locales/en.json +++ b/packages/app/src/locales/en.json @@ -127,15 +127,15 @@ "value": "Value", "valueTooltip": "Amount of Ether being transferred from one address to another within a transaction.", "fee": "Fee", - "paidByPaymaster": "Paid by paymaster", + "paidByPaymaster": "Paid by Paymaster", "feeDetails": { "moreDetails": "More Details", "closeDetails": "Close Details", "initial": "Initial:", "refunded": "Refunded:", "refunds": "Refunds:", - "whyRefunded": "Why I'm being refunded?", - "whyPaymasterRefunded": "Why paymaster is being refunded?", + "whyRefunded": "Why am I being refunded?", + "whyPaymasterRefunded": "Why is Paymaster being refunded?", "whatIsPaymaster": "What is Paymaster?", "paymaster": "Paymaster" }, diff --git a/packages/app/tests/components/FeeData.spec.ts b/packages/app/tests/components/FeeData.spec.ts index 5f0a7c1d19..dc3fcdea2e 100644 --- a/packages/app/tests/components/FeeData.spec.ts +++ b/packages/app/tests/components/FeeData.spec.ts @@ -192,7 +192,7 @@ describe("FeeToken", () => { "https://era.zksync.io/docs/dev/developer-guides/transactions/fee-model.html#refunds" ); expect(link?.getAttribute("target")).toBe("_blank"); - expect(link?.textContent).toBe("Why I'm being refunded?"); + expect(link?.textContent).toBe("Why am I being refunded?"); }); }); @@ -204,7 +204,7 @@ describe("FeeToken", () => { feeData: feeDataPaymaster as FeeData, }, }); - expect(container.querySelector(".payed-by-paymaster-label")?.textContent).toBe("Paid by paymaster"); + expect(container.querySelector(".payed-by-paymaster-label")?.textContent).toBe("Paid by Paymaster"); }); it("displays the refunds when expanded", async () => { @@ -243,7 +243,7 @@ describe("FeeToken", () => { "https://era.zksync.io/docs/dev/developer-guides/transactions/fee-model.html#refunds" ); expect(refundedLink?.getAttribute("target")).toBe("_blank"); - expect(refundedLink?.textContent).toBe("Why paymaster is being refunded?"); + expect(refundedLink?.textContent).toBe("Why is Paymaster being refunded?"); const paymasterLink = container.querySelector(".paymaster-link"); expect(paymasterLink?.getAttribute("href")).toBe(