🔄 some messaging refactor

This commit is contained in:
user
2025-10-21 18:44:21 +03:00
parent f9f743eb15
commit b6bdb6d7e8

View File

@@ -3,35 +3,35 @@
import { onDestroy, onMount } from "svelte";
const initialMessages = [
"Processing your payment securely...",
"Getting everything ready for you...",
"Setting up your transaction...",
"Starting the payment process...",
"Initiating secure payment...",
"Just a moment...",
"Please wait...",
"Processing...",
"Working on it...",
"One moment please...",
];
const fiveSecondMessages = [
"Almost there! Just finalizing your payment details...",
"Just a few more moments while we confirm everything...",
"We're processing your payment with care...",
"Double-checking all the details...",
"Making sure everything is in order...",
"Still processing...",
"Just a bit longer...",
"Almost there...",
"This may take a moment...",
"Thank you for waiting...",
];
const tenSecondMessages = [
"Thank you for your patience. We're making sure everything is perfect...",
"Still working on it thanks for being patient...",
"We're double-checking everything to ensure a smooth transaction...",
"Nearly there! Just completing the final security checks...",
"Your patience is appreciated while we process this securely...",
"Thanks for your patience...",
"Still working on it...",
"We appreciate your patience...",
"Processing securely...",
"Just a little longer...",
];
const twentySecondMessages = [
"Still working on it! Your transaction security is our top priority...",
"We appreciate your continued patience while we secure your transaction...",
"Taking extra care to process your payment safely...",
"Still working diligently to complete your transaction...",
"Thank you for waiting we're ensuring everything is processed correctly...",
"Thank you for waiting...",
"Still processing thanks for being patient...",
"We're working on it...",
"Your patience is appreciated...",
"Almost done...",
];
const getRandomMessage = (messages: string[]) => {