Add badge for tracks whose albums cannot be imported

Includes a small optimization that removes "" release IDs from the list
of IDs checked against releases in the database.
This commit is contained in:
Claudio Ortolina
2024-11-23 22:57:25 +00:00
parent f157fbadee
commit 93b347ad8d
4 changed files with 61 additions and 17 deletions
+12 -7
View File
@@ -82,8 +82,8 @@ msgid "Edit"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:121
#: lib/music_library_web/live/stats_live/index.ex:70
#: lib/music_library_web/live/stats_live/index.ex:76
#: lib/music_library_web/live/stats_live/index.ex:67
#: lib/music_library_web/live/stats_live/index.ex:73
#: lib/music_library_web/live/wishlist_live/index.ex:117
#: lib/music_library_web/live/wishlist_live/index.ex:124
#, elixir-autogen, elixir-format
@@ -210,7 +210,7 @@ msgid "Purchased on"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:112
#: lib/music_library_web/live/stats_live/index.ex:62
#: lib/music_library_web/live/stats_live/index.ex:59
#: lib/music_library_web/live/wishlist_live/index.ex:109
#, elixir-autogen, elixir-format
msgid "Record imported successfully"
@@ -273,7 +273,7 @@ msgid "Something went wrong!"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex:7
#: lib/music_library_web/live/stats_live/index.ex:42
#: lib/music_library_web/live/stats_live/index.ex:39
#, elixir-autogen, elixir-format
msgid "Stats"
msgstr ""
@@ -368,17 +368,17 @@ msgid "Scrobble activity"
msgstr ""
#: lib/music_library_web/live/record_live/import_component.ex:80
#: lib/music_library_web/live/stats_live/index.html.heex:159
#: lib/music_library_web/live/stats_live/index.html.heex:173
#, elixir-autogen, elixir-format
msgid "Choose which format to import"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex:128
#: lib/music_library_web/live/stats_live/index.html.heex:141
#, elixir-autogen, elixir-format
msgid "Collected"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex:141
#: lib/music_library_web/live/stats_live/index.html.heex:154
#, elixir-autogen, elixir-format
msgid "Wishlisted"
msgstr ""
@@ -449,3 +449,8 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "Error refreshing cover"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex:128
#, elixir-autogen, elixir-format
msgid "No MusicBrainz ID"
msgstr ""