Skip to content

Commit

Permalink
#847 Error text instead of search button
Browse files Browse the repository at this point in the history
  • Loading branch information
mellelieuwes committed Jun 10, 2024
1 parent 2e300c5 commit b58548c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/frameworks/pixel/components/image_catalog_picker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ defmodule Frameworks.Pixel.ImageCatalogPicker do
type="search"
/>
<.spacing value="XS" direction="l" />
.submit label={"#{dgettext("eyra-imagecatalog", "search.image.button")}"} target={@myself} />
<Button.submit label={"#{dgettext("eyra-imagecatalog", "search.image.button")}"} target={@myself} />
</div>
</.form>
Expand Down
4 changes: 4 additions & 0 deletions core/priv/gettext/en/LC_MESSAGES/eyra-imagecatalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ msgid "page.info.message"
msgid_plural "page.info.message.%{count}"
msgstr[0] "1 image"
msgstr[1] "%{begin}-%{end} of %{count} images"

#, elixir-autogen, elixir-format, fuzzy
msgid "search.image.button"
msgstr "Search"
4 changes: 4 additions & 0 deletions core/priv/gettext/eyra-imagecatalog.pot
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ msgid "page.info.message"
msgid_plural "page.info.message.%{count}"
msgstr[0] ""
msgstr[1] ""

#, elixir-autogen, elixir-format
msgid "search.image.button"
msgstr ""
4 changes: 4 additions & 0 deletions core/priv/gettext/nl/LC_MESSAGES/eyra-imagecatalog.po
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ msgid "page.info.message"
msgid_plural "page.info.message.%{count}"
msgstr[0] "1 afbeelding"
msgstr[1] "%{begin}-%{end} van %{count} afbeeldingen"

#, elixir-autogen, elixir-format, fuzzy
msgid "search.image.button"
msgstr "Zoek"

0 comments on commit b58548c

Please sign in to comment.