Fix universal search shortcut modifier instructions
This commit is contained in:
@@ -200,7 +200,7 @@ defmodule MusicLibraryWeb.SearchComponents do
|
|||||||
<div class="p-8 text-center">
|
<div class="p-8 text-center">
|
||||||
<.icon name="hero-magnifying-glass" class="h-12 w-12 text-zinc-400 mx-auto mb-4" />
|
<.icon name="hero-magnifying-glass" class="h-12 w-12 text-zinc-400 mx-auto mb-4" />
|
||||||
<p class="text-sm text-zinc-500 dark:text-zinc-500 mt-2">
|
<p class="text-sm text-zinc-500 dark:text-zinc-500 mt-2">
|
||||||
<kbd class="px-2 py-1 bg-zinc-100 dark:bg-zinc-700 rounded text-xs">Ctrl+K</kbd>
|
<kbd class="px-2 py-1 bg-zinc-100 dark:bg-zinc-700 rounded text-xs">Cmd/Ctrl+K</kbd>
|
||||||
{gettext("to open this search")}
|
{gettext("to open this search")}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -35,12 +35,12 @@ defmodule MusicLibraryWeb.UniversalSearchLive.Index do
|
|||||||
<.button
|
<.button
|
||||||
id="universal-search-button"
|
id="universal-search-button"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
title={gettext("Search (Ctrl+K)")}
|
title={gettext("Search (Cmd/Ctrl+K)")}
|
||||||
phx-click="open_modal"
|
phx-click="open_modal"
|
||||||
phx-target="#universal-search"
|
phx-target="#universal-search"
|
||||||
phx-hook=".SearchGlobalShortcut"
|
phx-hook=".SearchGlobalShortcut"
|
||||||
>
|
>
|
||||||
<span class="sr-only">{gettext("Search (Ctrl+K)")}</span>
|
<span class="sr-only">{gettext("Search (Cmd/Ctrl+K)")}</span>
|
||||||
<.icon name="hero-magnifying-glass" class="h-5 w-5" />
|
<.icon name="hero-magnifying-glass" class="h-5 w-5" />
|
||||||
</.button>
|
</.button>
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -1135,11 +1135,6 @@ msgstr[1] ""
|
|||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/live/universal_search_live/index.ex
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Search (Ctrl+K)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/music_library_web/live/artist_live/form_component.ex
|
#: lib/music_library_web/live/artist_live/form_component.ex
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Artist image"
|
msgid "Artist image"
|
||||||
@@ -1309,3 +1304,8 @@ msgid "1 year ago"
|
|||||||
msgid_plural "%{count} years ago"
|
msgid_plural "%{count} years ago"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: lib/music_library_web/live/universal_search_live/index.ex
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "Search (Cmd/Ctrl+K)"
|
||||||
|
msgstr ""
|
||||||
|
|||||||
@@ -1135,11 +1135,6 @@ msgstr[1] ""
|
|||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/music_library_web/live/universal_search_live/index.ex
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Search (Ctrl+K)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/music_library_web/live/artist_live/form_component.ex
|
#: lib/music_library_web/live/artist_live/form_component.ex
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Artist image"
|
msgid "Artist image"
|
||||||
@@ -1309,3 +1304,8 @@ msgid "1 year ago"
|
|||||||
msgid_plural "%{count} years ago"
|
msgid_plural "%{count} years ago"
|
||||||
msgstr[0] ""
|
msgstr[0] ""
|
||||||
msgstr[1] ""
|
msgstr[1] ""
|
||||||
|
|
||||||
|
#: lib/music_library_web/live/universal_search_live/index.ex
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "Search (Cmd/Ctrl+K)"
|
||||||
|
msgstr ""
|
||||||
|
|||||||
Reference in New Issue
Block a user