Skip to content

Commit

Permalink
Fix/Change options name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryczko authored Jan 13, 2024
1 parent d87d170 commit 1b22c7d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"cancelButton": "Cancel"
},
"surveyOptionsModal": {
"title": "Survey options",
"title": "Display options",
"OneQuestionPerStep": "One question per step",
"DisplayTitle":"Display title"
"DisplayTitle": "Display title"
}
}
3 changes: 2 additions & 1 deletion locales/en/surveyCreate.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
"surveyCreationSuccess": "Survey created succesfully",
"fillRequiredFields": "Please fill all required fields",
"surveyCreationSucessCopiedCorrectly": "and link copied to clipboard",
"signInToCreateSurvey": "Sign in to create survey"
"signInToCreateSurvey": "Sign in to create survey",
"options": "Display options"
}
4 changes: 2 additions & 2 deletions src/pages/survey/create/[[...surveyId]].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ function SurveyCreatePage({
</div>

<Button
className="h-[42px] border border-transparent sm:mt-2"
className="h-[42px] whitespace-nowrap border border-transparent sm:mt-2"
variant={ButtonVariant.PRIMARY}
onClick={openOptionsSurveyModal}
icon={<CogIcon className="h-5 w-5" />}
data-test-id="options-button"
>
Options
{t('options')}
</Button>
</div>

Expand Down

0 comments on commit 1b22c7d

Please sign in to comment.