|
| 1 | +///////////////////////////////////////////////////////////// |
| 2 | +// |
| 3 | +// pgAdmin 4 - PostgreSQL Tools |
| 4 | +// |
| 5 | +// Copyright (C) 2013 - 2026, The pgAdmin Development Team |
| 6 | +// This software is released under the PostgreSQL Licence |
| 7 | +// |
| 8 | +////////////////////////////////////////////////////////////// |
| 9 | + |
| 10 | +import gettext from 'sources/gettext'; |
| 11 | + |
| 12 | +// Fun elephant-themed processing messages (avoid anything that sounds |
| 13 | +// like a real database operation, as that can be misleading). |
| 14 | +const THINKING_MESSAGES = [ |
| 15 | + gettext('Consulting the elephant...'), |
| 16 | + gettext('Joining the herds...'), |
| 17 | + gettext('Querying the watering hole...'), |
| 18 | + gettext('Rolling back the peanuts...'), |
| 19 | + gettext('Trumpeting for answers...'), |
| 20 | + gettext('Herding the elephants...'), |
| 21 | + gettext('Foraging for ideas...'), |
| 22 | + gettext('Pondering pachyderm thoughts...'), |
| 23 | + gettext('Charging through the tall grass...'), |
| 24 | + gettext('Flapping those big ears...'), |
| 25 | + gettext('Stomping through the jungle...'), |
| 26 | + gettext('Swishing the trunk...'), |
| 27 | + gettext('Calling the herd...'), |
| 28 | + gettext('Splashing in the watering hole...'), |
| 29 | + gettext('Following the elephant trail...'), |
| 30 | + gettext('Munching on some peanuts...'), |
| 31 | + gettext('Doing a trunk stand...'), |
| 32 | + gettext('Remembering everything...'), |
| 33 | + gettext('Migrating across the plains...'), |
| 34 | + gettext('Shaking off the dust...'), |
| 35 | + gettext('Tiptoeing through the tulips...'), |
| 36 | + gettext('Taking a mud bath...'), |
| 37 | + gettext('Polishing the tusks...'), |
| 38 | + gettext('Stretching the trunk...'), |
| 39 | + gettext('Packing the trunk...'), |
| 40 | + gettext('Wading through the river...'), |
| 41 | + gettext('Gathering the herd...'), |
| 42 | + gettext('Tromping through the underbrush...'), |
| 43 | + gettext('Listening with big ears...'), |
| 44 | + gettext('Raising the trunk in triumph...'), |
| 45 | + gettext('Thundering across the savanna...'), |
| 46 | + gettext('Napping under the baobab tree...'), |
| 47 | +]; |
| 48 | + |
| 49 | +export function getRandomThinkingMessage() { |
| 50 | + return THINKING_MESSAGES[Math.floor(Math.random() * THINKING_MESSAGES.length)]; |
| 51 | +} |
0 commit comments