Update donation success screen with translations and improved functionality

Add Arabic and English translations for the donation success screen, including receipt and reference numbers. Implement client-side generation of these numbers with copy-to-clipboard functionality. Update memory data with testing notes regarding donation cases.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 1fa9329f-0cec-4a2f-80e8-e26dbae3142e
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: a89849bc-f826-44f3-8055-c4618b5fd918
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/4d696b13-86f2-4c9d-be0d-95b293430047/1fa9329f-0cec-4a2f-80e8-e26dbae3142e/4KPAtBh
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
Replit Agent
2026-06-06 09:20:10 +00:00
parent f1e44084f3
commit 8aecc02cbe
4 changed files with 154 additions and 21 deletions
@@ -357,6 +357,12 @@ export const en = {
backToDetails: "Back to Details",
paymentTitle: "Payment Details",
selectAmountError: "Please select or enter a valid amount.",
successTitle: "Thank you for your generous donation",
successSubtitle: "Your donation has been completed successfully!",
receiptNumber: "Receipt Number",
referenceNumber: "Transaction Reference Number",
refundNote: "To make refunds easy, please keep the transaction reference number.",
copied: "Copied",
},
cart: {
title: "Your Donation Cart",
@@ -806,6 +812,12 @@ export const ar = {
backToDetails: "رجوع للتفاصيل",
paymentTitle: "بيانات الدفع",
selectAmountError: "الرجاء اختيار أو إدخال مبلغ صحيح.",
successTitle: "شكرا على تبرعك الكريم",
successSubtitle: "لقد تم إتمام عملية تبرعك بنجاح!",
receiptNumber: "رقم الإيصال",
referenceNumber: "الرقم المرجعي للعملية",
refundNote: "لتتم عملية الإسترداد بسهولة، نأمل حفظ الرقم المرجعي للعملية",
copied: "تم النسخ",
},
cart: {
title: "سلة تبرعاتك",