🐛 Fix survey select default options

This commit is contained in:
Alejandro Alonso 2023-06-16 08:40:29 +02:00
parent 1c1397a5d8
commit ae4fe73ac9
3 changed files with 5 additions and 7 deletions

View file

@ -42,8 +42,8 @@
[:img.header-image {:src "images/form/use-for-1.png" :alt (tr "questions.lets-get-started")}]
[:h1 (tr "questions.lets-get-started")]
[:p.intro (tr "questions.your-feedback-will-help-us")]
[:h3 (tr "questions-how-are-you-planning-to-use-penpot")]
[:& fm/select {:options [{:label (tr "questions-how-are-you-planning-to-use-penpot") :value "" :key "questions-how-are-you-planning-to-use-penpot" :disabled true :hidden true}
[:h3 (tr "questions.questions-how-are-you-planning-to-use-penpot")]
[:& fm/select {:options [{:label (tr "questions.select-option") :value "" :key "questions-how-are-you-planning-to-use-penpot" :disabled true}
{:label (tr "questions.discover-more-about-penpot") :value "discover-more-about-penpot" :key "discover-more-about-penpot"}
{:label (tr "questions.test-penpot-to-see-if-its-a-fit-for-team") :value "test-penpot-to-see-if-its-a-fit-for-team" :key "test-penpot-to-see-if-its-a-fit-for-team"}
{:label (tr "questions.start-to-work-on-my-project") :value "start-to-work-on-my-project" :key "start-to-work-on-my-project"}
@ -51,7 +51,6 @@
{:label (tr "questions.leave-feedback-for-my-team-project") :value "leave-feedback-for-my-team-project" :key "leave-feedback-for-my-team-project"}
{:label (tr "questions.work-in-concept-ideas") :value "work-in-concept-ideas" :key "work-in-concept-ideas"}
{:label (tr "questions.try-out-before-using-penpot-on-premise") :value "try-out-before-using-penpot-on-premise" :key "try-out-before-using-penpot-on-premise"}]
:label (tr "questions.select-option")
:default ""
:name :planning}]])
@ -140,14 +139,13 @@
[:& fm/input {:name :role-other :label (tr "questions.other") :disabled (not= role "other")}]]
[:h3 (tr "questions.team-size")]
[:& fm/select {:options [{:label (tr "questions-how-are-you-planning-to-use-penpot") :value "" :key "questions-how-are-you-planning-to-use-penpot" :disabled true :hidden true}
[:& fm/select {:options [{:label (tr "questions.select-option") :value "" :key "team-size" :disabled true}
{:label (tr "questions.more-than-50") :value "more-than-50" :key "more-than-50"}
{:label (tr "questions.31-50") :value "31-50" :key "31-50"}
{:label (tr "questions.11-30") :value "11-30" :key "11-30"}
{:label (tr "questions.2-10") :value "2-10" :key "2-10"}
{:label (tr "questions.freelancer") :value "freelancer" :key "freelancer"}
{:label (tr "questions.personal-project") :value "personal-project" :key "personal-project"}]
:label (tr "questions.select-option")
:default ""
:name :team-size}]]))

View file

@ -4760,7 +4760,7 @@ msgid "questions.your-feedback-will-help-us"
msgstr "Your feedback will help us understand what your habits and preferences are so that we can keep making Penpot such a useful and enjoyable tool."
#: src/app/main/ui/onboarding/questions.cljs
msgid "questions-how-are-you-planning-to-use-penpot"
msgid "questions.questions-how-are-you-planning-to-use-penpot"
msgstr "How are you planning to use Penpot?"
#: src/app/main/ui/onboarding/questions.cljs

View file

@ -4878,7 +4878,7 @@ msgid "questions.your-feedback-will-help-us"
msgstr "Tus respuestas nos ayudarán a entender tus hábitos y preferencias, lo que nos ayudará a continuar mejorando Penpot"
#: src/app/main/ui/onboarding/questions.cljs
msgid "questions-how-are-you-planning-to-use-penpot"
msgid "questions.questions-how-are-you-planning-to-use-penpot"
msgstr "¿Qué uso piensas darle a Penpot?"
#: src/app/main/ui/onboarding/questions.cljs