Show record status when scanning

For now it only imports new records - it should also purchase wishlisted
ones.
This commit is contained in:
Claudio Ortolina
2025-02-19 10:21:44 +00:00
parent 5ef05a94f5
commit ce75b42d06
3 changed files with 118 additions and 67 deletions
+13 -6
View File
@@ -343,11 +343,13 @@ msgstr ""
msgid "Choose which format to import"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:115
#: lib/music_library_web/live/stats_live/index.html.heex:141
#, elixir-autogen, elixir-format
msgid "Collected"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:114
#: lib/music_library_web/live/stats_live/index.html.heex:147
#, elixir-autogen, elixir-format
msgid "Wishlisted"
@@ -635,32 +637,37 @@ msgstr ""
msgid "Scan one or more barcodes"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:51
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:89
#, elixir-autogen, elixir-format
msgid "Open camera"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:66
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:54
#, elixir-autogen, elixir-format
msgid "Import releases"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:138
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:150
#, elixir-autogen, elixir-format
msgid "Failed to search release for barcode %{number}"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:131
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:143
#, elixir-autogen, elixir-format
msgid "No release found for barcode %{number}"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:63
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:51
#, elixir-autogen, elixir-format
msgid "Importing..."
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:161
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:175
#, elixir-autogen, elixir-format
msgid "Records imported successfully"
msgstr ""
#: lib/music_library_web/live/record_live/barcode_scanner_component.ex:113
#, elixir-autogen, elixir-format
msgid "New"
msgstr ""