Skip to content

Commit

Permalink
chore: move translation keys to ui system
Browse files Browse the repository at this point in the history
  • Loading branch information
MelchiorKokernoot committed Sep 26, 2024
1 parent b8bff56 commit decd264
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions core/frameworks/pixel/components/confirmation_modal.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ defmodule Frameworks.Pixel.ConfirmationModal do
~H"""
<div>
<Text.title2>
<%= dgettext("eyra-assignment", "confirmation_modal.title") %>
<%= dgettext("eyra-ui", "confirmation_modal.title") %>
</Text.title2>
<.spacing value="M" />
<Text.body_large>
<%= dgettext("eyra-assignment", "confirmation_modal.body") %>
<%= dgettext("eyra-ui", "confirmation_modal.body") %>
</Text.body_large>
<.spacing value="M" />
Expand Down
8 changes: 0 additions & 8 deletions core/priv/gettext/de/LC_MESSAGES/eyra-assignment.po
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,3 @@ msgstr "Go to storage"
#, elixir-autogen, elixir-format
msgid "storage.not_available.warning"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr ""
8 changes: 8 additions & 0 deletions core/priv/gettext/de/LC_MESSAGES/eyra-ui.po
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,11 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy
msgid "confirm.button"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr ""
8 changes: 0 additions & 8 deletions core/priv/gettext/en/LC_MESSAGES/eyra-assignment.po
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,3 @@ msgstr "Go to data storage"
#, elixir-autogen, elixir-format
msgid "storage.not_available.warning"
msgstr "Please setup connection to a data storage"

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr "Are you sure you would like to skip this page? Your text will be deleted."

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr "Are you sure?"
8 changes: 8 additions & 0 deletions core/priv/gettext/en/LC_MESSAGES/eyra-ui.po
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,11 @@ msgstr "My workspace"
#, elixir-autogen, elixir-format, fuzzy
msgid "confirm.button"
msgstr "Confirm"

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr "Are you sure you would like to skip this page? Your text will be deleted."

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr "Are you sure?"
8 changes: 0 additions & 8 deletions core/priv/gettext/eyra-assignment.pot
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,3 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "storage.not_available.warning"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr ""
8 changes: 8 additions & 0 deletions core/priv/gettext/eyra-ui.pot
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,11 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "confirm.button"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr ""
8 changes: 0 additions & 8 deletions core/priv/gettext/nl/LC_MESSAGES/eyra-assignment.po
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,3 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "storage.not_available.warning"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr ""
8 changes: 8 additions & 0 deletions core/priv/gettext/nl/LC_MESSAGES/eyra-ui.po
Original file line number Diff line number Diff line change
Expand Up @@ -197,3 +197,11 @@ msgstr "Mijn werkplek"
#, elixir-autogen, elixir-format, fuzzy
msgid "confirm.button"
msgstr "Klaar"

#, elixir-autogen, elixir-format
msgid "confirmation_modal.body"
msgstr ""

#, elixir-autogen, elixir-format
msgid "confirmation_modal.title"
msgstr ""

0 comments on commit decd264

Please sign in to comment.