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