From ae4fe73ac9ce1517adee0f7d7562d17d38a993ce Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Fri, 16 Jun 2023 08:40:29 +0200 Subject: [PATCH] :bug: Fix survey select default options --- frontend/src/app/main/ui/onboarding/questions.cljs | 8 +++----- frontend/translations/en.po | 2 +- frontend/translations/es.po | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/app/main/ui/onboarding/questions.cljs b/frontend/src/app/main/ui/onboarding/questions.cljs index 473e4dd4a..f926909ea 100644 --- a/frontend/src/app/main/ui/onboarding/questions.cljs +++ b/frontend/src/app/main/ui/onboarding/questions.cljs @@ -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}]])) diff --git a/frontend/translations/en.po b/frontend/translations/en.po index bb2723180..b0efcf81f 100644 --- a/frontend/translations/en.po +++ b/frontend/translations/en.po @@ -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 diff --git a/frontend/translations/es.po b/frontend/translations/es.po index 5942376e6..1c2465988 100644 --- a/frontend/translations/es.po +++ b/frontend/translations/es.po @@ -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