Skip to content

Commit

Permalink
Merge pull request penpot#4921 from penpot/eva-fix-search-label
Browse files Browse the repository at this point in the history
🐛  Fix search label in translations
  • Loading branch information
niwinz authored Jul 24, 2024
2 parents 08c8c47 + 1f80827 commit cb26f34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### :bug: Bugs fixed

- Fix the “search” label in translations [Taiga #8402](https://tree.taiga.io/project/penpot/issue/8402)
- Fix pencil loader [Taiga #8348](https://tree.taiga.io/project/penpot/issue/8348)

## 2.1.0 - Things can only get better!
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/app/main/ui/onboarding/questions.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,9 @@
(mf/with-memo []
(-> (shuffle [{:label (tr "labels.youtube") :value "youtube"}
{:label (tr "labels.event") :value "event"}
{:label (tr "labels.search") :value "search"}
{:label (tr "labels.social") :value "social"}
{:label (tr "labels.article") :value "article"}])
{:label (tr "onboarding.questions.referer.search") :value "search"}
{:label (tr "onboarding.questions.referer.social") :value "social"}
{:label (tr "onboarding.questions.referer.article") :value "article"}])
(conj {:label (tr "labels.other-short") :value "other"})))

current-referer
Expand Down
6 changes: 3 additions & 3 deletions frontend/translations/en.po
Original file line number Diff line number Diff line change
Expand Up @@ -2581,15 +2581,15 @@ msgid "labels.event"
msgstr "Event"

#: src/app/main/ui/onboarding/questions.cljs
msgid "labels.search"
msgid "onboarding.questions.referer.search"
msgstr "Search Engine (Google, Yahoo, Bing)"

#: src/app/main/ui/onboarding/questions.cljs
msgid "labels.social"
msgid "onboarding.questions.referer.social"
msgstr "Social Media (X, Linkedin, FB, etc)"

#: src/app/main/ui/onboarding/questions.cljs
msgid "labels.article"
msgid "onboarding.questions.referer.article"
msgstr "Article (Blog, Post, Newsletter)"

#: src/app/main/ui/onboarding/questions.cljs
Expand Down

0 comments on commit cb26f34

Please sign in to comment.