Shorten counter titles in stats

This commit is contained in:
Claudio Ortolina
2025-09-02 12:36:22 +03:00
parent ad335961f8
commit 3316df1861
3 changed files with 10 additions and 26 deletions
@@ -10,13 +10,13 @@
class="col-span-3 sm:col-span-2"
/>
<.counter
title={gettext("Total collection")}
title={gettext("Collection")}
count={@collection_count}
path={~p"/collection"}
/>
<.counter title={gettext("Total wishlist")} count={@wishlist_count} path={~p"/wishlist"} />
<.counter title={gettext("Wishlist")} count={@wishlist_count} path={~p"/wishlist"} />
<.counter
title={gettext("Total scrobbles")}
title={gettext("Scrobbles")}
count={to_compact(@scrobble_count)}
tooltip={@scrobble_count}
/>
+3 -11
View File
@@ -24,6 +24,7 @@ msgstr ""
#: lib/music_library_web/live/artist_live/show.html.heex
#: lib/music_library_web/live/collection_live/index.ex
#: lib/music_library_web/live/collection_live/show.ex
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Collection"
msgstr ""
@@ -195,16 +196,6 @@ msgstr ""
msgid "The application has been updated, please reload."
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Total collection"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Total wishlist"
msgstr ""
#: lib/music_library_web/components/record_form_component.ex
#, elixir-autogen, elixir-format
msgid "Type"
@@ -228,6 +219,7 @@ msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex
#: lib/music_library_web/live/artist_live/show.html.heex
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/wishlist_live/index.ex
#: lib/music_library_web/live/wishlist_live/show.ex
#, elixir-autogen, elixir-format
@@ -1311,5 +1303,5 @@ msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Total scrobbles"
msgid "Scrobbles"
msgstr ""
+4 -12
View File
@@ -24,6 +24,7 @@ msgstr ""
#: lib/music_library_web/live/artist_live/show.html.heex
#: lib/music_library_web/live/collection_live/index.ex
#: lib/music_library_web/live/collection_live/show.ex
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Collection"
msgstr ""
@@ -195,16 +196,6 @@ msgstr ""
msgid "The application has been updated, please reload."
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Total collection"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Total wishlist"
msgstr ""
#: lib/music_library_web/components/record_form_component.ex
#, elixir-autogen, elixir-format
msgid "Type"
@@ -228,6 +219,7 @@ msgstr ""
#: lib/music_library_web/components/layouts/app.html.heex
#: lib/music_library_web/live/artist_live/show.html.heex
#: lib/music_library_web/live/stats_live/index.html.heex
#: lib/music_library_web/live/wishlist_live/index.ex
#: lib/music_library_web/live/wishlist_live/show.ex
#, elixir-autogen, elixir-format
@@ -1310,6 +1302,6 @@ msgid "Search (Cmd/Ctrl+K)"
msgstr ""
#: lib/music_library_web/live/stats_live/index.html.heex
#, elixir-autogen, elixir-format
msgid "Total scrobbles"
#, elixir-autogen, elixir-format, fuzzy
msgid "Scrobbles"
msgstr ""