Improve page titles

- When showing a single record, use record details
- Split title into logical breadcrumbs
This commit is contained in:
Claudio Ortolina
2024-11-26 21:00:53 +00:00
parent b8a89a041d
commit 2e40cbd5da
6 changed files with 116 additions and 42 deletions
+38 -27
View File
@@ -51,7 +51,9 @@ msgid "Choose a value"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex:13
#: lib/music_library_web/live/collection_live/index.ex:74
#: lib/music_library_web/live/collection_live/index.ex:77
#: lib/music_library_web/live/collection_live/show.ex:102
#: lib/music_library_web/live/collection_live/show.ex:119
#, elixir-autogen, elixir-format
msgid "Collection"
msgstr ""
@@ -69,23 +71,21 @@ msgstr ""
msgid "Delete"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:55
#: lib/music_library_web/live/collection_live/index.html.heex:176
#: lib/music_library_web/live/collection_live/show.ex:92
#: lib/music_library_web/live/collection_live/show.ex:126
#: lib/music_library_web/live/collection_live/show.html.heex:32
#: lib/music_library_web/live/wishlist_live/index.ex:55
#: lib/music_library_web/live/wishlist_live/index.html.heex:176
#: lib/music_library_web/live/wishlist_live/show.ex:90
#: lib/music_library_web/live/wishlist_live/show.ex:109
#: lib/music_library_web/live/wishlist_live/show.html.heex:32
#, elixir-autogen, elixir-format
msgid "Edit"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:121
#: lib/music_library_web/live/collection_live/index.ex:124
#: 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
#: lib/music_library_web/live/wishlist_live/index.ex:120
#: lib/music_library_web/live/wishlist_live/index.ex:127
#, elixir-autogen, elixir-format
msgid "Error importing record"
msgstr ""
@@ -122,19 +122,13 @@ msgstr ""
msgid "Import"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:41
#: lib/music_library_web/live/wishlist_live/index.ex:41
#, elixir-autogen, elixir-format
msgid "Import from MusicBrainz"
msgstr ""
#: lib/music_library_web/live/collection_live/show.html.heex:136
#: lib/music_library_web/live/wishlist_live/show.html.heex:129
#, elixir-autogen, elixir-format
msgid "Inserted at"
msgstr ""
#: lib/music_library_web/controllers/session_controller.ex:19
#: lib/music_library_web/controllers/session_controller.ex:23
#, elixir-autogen, elixir-format
msgid "Invalid password"
msgstr ""
@@ -144,6 +138,7 @@ msgstr ""
msgid "Latest purchase"
msgstr ""
#: lib/music_library_web/controllers/session_controller.ex:10
#: lib/music_library_web/controllers/session_html/new.html.heex:44
#, elixir-autogen, elixir-format
msgid "Login"
@@ -209,15 +204,15 @@ msgstr ""
msgid "Purchased on"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:112
#: lib/music_library_web/live/collection_live/index.ex:115
#: lib/music_library_web/live/stats_live/index.ex:59
#: lib/music_library_web/live/wishlist_live/index.ex:109
#: lib/music_library_web/live/wishlist_live/index.ex:112
#, elixir-autogen, elixir-format
msgid "Record imported successfully"
msgstr ""
#: lib/music_library_web/live/record_live/form_component.ex:123
#: lib/music_library_web/live/wishlist_live/index.ex:137
#: lib/music_library_web/live/wishlist_live/index.ex:140
#, elixir-autogen, elixir-format
msgid "Record updated successfully"
msgstr ""
@@ -254,9 +249,9 @@ msgid "Search for records"
msgstr ""
#: lib/music_library_web/live/collection_live/index.html.heex:156
#: lib/music_library_web/live/collection_live/show.ex:91
#: lib/music_library_web/live/collection_live/show.ex:125
#: lib/music_library_web/live/wishlist_live/index.html.heex:156
#: lib/music_library_web/live/wishlist_live/show.ex:89
#: lib/music_library_web/live/wishlist_live/show.ex:108
#, elixir-autogen, elixir-format
msgid "Show"
msgstr ""
@@ -283,9 +278,9 @@ msgstr ""
msgid "Success!"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:18
#: lib/music_library_web/live/collection_live/index.ex:19
#: lib/music_library_web/live/collection_live/show.ex:19
#: lib/music_library_web/live/wishlist_live/index.ex:18
#: lib/music_library_web/live/wishlist_live/index.ex:19
#: lib/music_library_web/live/wishlist_live/show.ex:19
#, elixir-autogen, elixir-format
msgid "The application has been updated, please reload."
@@ -334,7 +329,8 @@ msgid "Welcome to your Music Library"
msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex:19
#: lib/music_library_web/live/wishlist_live/index.ex:72
#: lib/music_library_web/live/wishlist_live/index.ex:75
#: lib/music_library_web/live/wishlist_live/show.ex:102
#, elixir-autogen, elixir-format
msgid "Wishlist"
msgstr ""
@@ -398,13 +394,13 @@ msgid "Includes"
msgstr ""
#: lib/music_library_web/live/collection_live/show.ex:61
#: lib/music_library_web/live/wishlist_live/show.ex:59
#: lib/music_library_web/live/wishlist_live/show.ex:61
#, elixir-autogen, elixir-format
msgid "Error refreshing MusicBrainz data"
msgstr ""
#: lib/music_library_web/live/collection_live/show.ex:53
#: lib/music_library_web/live/wishlist_live/show.ex:51
#: lib/music_library_web/live/wishlist_live/show.ex:53
#, elixir-autogen, elixir-format
msgid "MusicBrainz data refreshed successfully"
msgstr ""
@@ -415,7 +411,7 @@ msgid "Refresh LastFm Feed"
msgstr ""
#: lib/music_library_web/live/collection_live/show.ex:73
#: lib/music_library_web/live/wishlist_live/show.ex:71
#: lib/music_library_web/live/wishlist_live/show.ex:73
#, elixir-autogen, elixir-format
msgid "Cover refreshed successfully"
msgstr ""
@@ -440,7 +436,7 @@ msgstr ""
msgid "Refresh"
msgstr ""
#: lib/music_library_web/live/wishlist_live/show.ex:79
#: lib/music_library_web/live/wishlist_live/show.ex:81
#, elixir-autogen, elixir-format
msgid "Error refreshing Cover"
msgstr ""
@@ -454,3 +450,18 @@ msgstr ""
#, elixir-autogen, elixir-format
msgid "No MB ID"
msgstr ""
#: lib/music_library_web/live/collection_live/show.ex:100
#, elixir-autogen, elixir-format
msgid "Details"
msgstr ""
#: lib/music_library_web/live/collection_live/index.ex:42
#, elixir-autogen, elixir-format
msgid "Import from MusicBrainz · Collection"
msgstr ""
#: lib/music_library_web/live/wishlist_live/index.ex:42
#, elixir-autogen, elixir-format
msgid "Import from MusicBrainz · Wishlist"
msgstr ""