Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVJ-186 - Continuebutton loading text from sending to saving #138

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions src/areaSearch/areaSearchSpecsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,16 +520,10 @@ const AreaSearchSpecsPage = ({
variant="primary"
onClick={(e) => onSubmit(e)}
isLoading={isSubmittingAreaSearch}
loadingText={t(
'areaSearch.specs.submitting',
'Submitting...',
)}
loadingText={t('areaSearch.specs.saving', 'Saving...')}
disabled={hasSubmitErrors && !valid}
>
{t(
'areaSearch.specs.continueButton',
'Apply for this area',
)}
{t('areaSearch.specs.continueButton', 'Continue')}
</Button>
{lastSubmissionError && (
<Notification
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"loginButton": "Log in",
"notLoggedIn": "First, log in to see available area rentals.",
"pageTitle": "Area rental",
"submitting": "Submitting..."
"saving": "Saving..."
},
"targetCard": {
"showFullDesc": {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/fi/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"loginButton": "Kirjaudu sisään",
"notLoggedIn": "Kirjaudu ensin sisään tehdäksesi aluehaun.",
"pageTitle": "Aluehaku",
"submitting": "Lähetetään..."
"saving": "Tallennetaan..."
},
"targetCard": {
"showFullDesc": {
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/sv/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
"loginButton": "Logga in",
"notLoggedIn": "För att ansöka om att hyra ett område ska du först logga in.",
"pageTitle": "Ansökan om att hyra ett område",
"submitting": "Skickas..."
"saving": "Sparas..."
},
"targetCard": {
"showFullDesc": {
Expand Down
Loading