Add import component translations
This commit is contained in:
@@ -19,8 +19,8 @@ defmodule MusicLibraryWeb.RecordLive.ImportComponent do
|
|||||||
name={:mb_query}
|
name={:mb_query}
|
||||||
field={@form[:mb_query]}
|
field={@form[:mb_query]}
|
||||||
type="text"
|
type="text"
|
||||||
label="Search for a record on MusicBrainz"
|
label={gettext("Search for a record on MusicBrainz")}
|
||||||
prompt="Search for records"
|
prompt={gettext("Search for records")}
|
||||||
phx-debounce="500"
|
phx-debounce="500"
|
||||||
/>
|
/>
|
||||||
</.simple_form>
|
</.simple_form>
|
||||||
@@ -31,7 +31,7 @@ defmodule MusicLibraryWeb.RecordLive.ImportComponent do
|
|||||||
:if={@release_groups == []}
|
:if={@release_groups == []}
|
||||||
class="flex items-center justify-center h-32 text-sm text-gray-500"
|
class="flex items-center justify-center h-32 text-sm text-gray-500"
|
||||||
>
|
>
|
||||||
No results
|
<%= gettext("No results") %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -165,3 +165,18 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Type"
|
msgid "Type"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/music_library_web/live/record_live/import_component.ex:34
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "No results"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/music_library_web/live/record_live/import_component.ex:22
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Search for a record on MusicBrainz"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/music_library_web/live/record_live/import_component.ex:23
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Search for records"
|
||||||
|
msgstr ""
|
||||||
|
|||||||
Reference in New Issue
Block a user