Skip to content

Commit

Permalink
Always show queue count and change processing message (#10299)
Browse files Browse the repository at this point in the history
* always show queue count and change processing message

* Update en.yml

---------

Co-authored-by: Duncan <[email protected]>
  • Loading branch information
FinnIckler and dunkOnIT authored Nov 22, 2024
1 parent 9d20a53 commit 1c46647
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ export default function Processing({ competitionInfo, user, onProcessingComplete
{I18n.t('competitions.registration_v2.register.processing')}
</Modal.Header>
<Modal.Content>
{pollCounter > 3 && (
{pollCounter > 1 && (
<Message warning>
{I18n.t('competitions.registration_v2.register.processing_longer')}
</Message>
)}
{data && data.queueCount > 50 && (
{data && data.queue_count > 0 && (
<Message warning>
{I18n.t('competitions.registration_v2.register.processing_queue', {
queueCount: data.queueCount,
queueCount: data.queue_count,
})}
</Message>
)}
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@ en:
waiting_list: "You are on the Waiting List at position %{waiting_list_position}."
disclaimer: "Submission of Registration does not mean approval to compete"
processing: "Your registration is processing..."
processing_longer: "Processing is taking longer than usual, don't go away!"
processing_longer: "Your registration has been received, and will be processed soon - this can take a moment if our servers are busy."
processing_queue: "Lots of Registrations being processed, %{queueCount} in the queue."
event_limit: "This competition limits the amount of events you can register for to %{max_events}."
errors:
Expand Down

0 comments on commit 1c46647

Please sign in to comment.