This commit is contained in:
parent
7cdb8af690
commit
f94ef0a2ca
@ -2,6 +2,7 @@
|
|||||||
- Code quality fixes
|
- Code quality fixes
|
||||||
- Fix error/404 pages not rendering properly
|
- Fix error/404 pages not rendering properly
|
||||||
- Update dependencies
|
- Update dependencies
|
||||||
|
- Fix Range page title
|
||||||
|
|
||||||
# v0.9.3
|
# v0.9.3
|
||||||
- Update dependencies
|
- Update dependencies
|
||||||
|
@ -44,7 +44,7 @@ defmodule CanneryWeb.RangeLive.Index do
|
|||||||
defp apply_action(socket, :new, _params) do
|
defp apply_action(socket, :new, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(
|
|> assign(
|
||||||
page_title: gettext("New Shot Records"),
|
page_title: gettext("Record Shots"),
|
||||||
shot_record: %ShotRecord{}
|
shot_record: %ShotRecord{}
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
@ -52,7 +52,7 @@ defmodule CanneryWeb.RangeLive.Index do
|
|||||||
defp apply_action(socket, :index, _params) do
|
defp apply_action(socket, :index, _params) do
|
||||||
socket
|
socket
|
||||||
|> assign(
|
|> assign(
|
||||||
page_title: gettext("Shot Records"),
|
page_title: gettext("Range"),
|
||||||
search: nil,
|
search: nil,
|
||||||
shot_record: nil
|
shot_record: nil
|
||||||
)
|
)
|
||||||
@ -62,7 +62,7 @@ defmodule CanneryWeb.RangeLive.Index do
|
|||||||
defp apply_action(socket, :search, %{"search" => search}) do
|
defp apply_action(socket, :search, %{"search" => search}) do
|
||||||
socket
|
socket
|
||||||
|> assign(
|
|> assign(
|
||||||
page_title: gettext("Shot Records"),
|
page_title: gettext("Range"),
|
||||||
search: search,
|
search: search,
|
||||||
shot_record: nil
|
shot_record: nil
|
||||||
)
|
)
|
||||||
|
@ -426,6 +426,8 @@ msgstr "Keine Tags für diesen Behälter"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
||||||
#: lib/cannery_web/components/pack_table_component.ex:80
|
#: lib/cannery_web/components/pack_table_component.ex:80
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:55
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:65
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr "Schießplatz"
|
msgstr "Schießplatz"
|
||||||
@ -459,11 +461,6 @@ msgstr "Keine Munition selektiert"
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Schüsse dokumentieren"
|
msgstr "Schüsse dokumentieren"
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:47
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "New Shot Records"
|
|
||||||
msgstr "Neue Schießkladde"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:52
|
#: lib/cannery_web/live/range_live/index.html.heex:52
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:119
|
#: lib/cannery_web/live/range_live/index.html.heex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -477,12 +474,6 @@ msgstr "Keine Schüsse dokumentiert"
|
|||||||
msgid "Rounds shot"
|
msgid "Rounds shot"
|
||||||
msgstr "Patronen abgefeuert"
|
msgstr "Patronen abgefeuert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:55
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:65
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Shot Records"
|
|
||||||
msgstr "Schießkladde"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/index.ex:43
|
#: lib/cannery_web/live/pack_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
@ -657,6 +648,7 @@ msgstr "Passwort zurücksetzen"
|
|||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/show.ex:40
|
#: lib/cannery_web/live/pack_live/show.ex:40
|
||||||
#: lib/cannery_web/live/range_live/index.ex:31
|
#: lib/cannery_web/live/range_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record Shots"
|
msgid "Record Shots"
|
||||||
msgstr "Schüsse dokumentieren"
|
msgstr "Schüsse dokumentieren"
|
||||||
|
@ -420,6 +420,8 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
||||||
#: lib/cannery_web/components/pack_table_component.ex:80
|
#: lib/cannery_web/components/pack_table_component.ex:80
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:55
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:65
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -453,11 +455,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:47
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "New Shot Records"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:52
|
#: lib/cannery_web/live/range_live/index.html.heex:52
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:119
|
#: lib/cannery_web/live/range_live/index.html.heex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -471,12 +468,6 @@ msgstr ""
|
|||||||
msgid "Rounds shot"
|
msgid "Rounds shot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:55
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:65
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Shot Records"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/index.ex:43
|
#: lib/cannery_web/live/pack_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
@ -651,6 +642,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/show.ex:40
|
#: lib/cannery_web/live/pack_live/show.ex:40
|
||||||
#: lib/cannery_web/live/range_live/index.ex:31
|
#: lib/cannery_web/live/range_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record Shots"
|
msgid "Record Shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -420,6 +420,8 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
||||||
#: lib/cannery_web/components/pack_table_component.ex:80
|
#: lib/cannery_web/components/pack_table_component.ex:80
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:55
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:65
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -453,11 +455,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:47
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "New Shot Records"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:52
|
#: lib/cannery_web/live/range_live/index.html.heex:52
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:119
|
#: lib/cannery_web/live/range_live/index.html.heex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -471,12 +468,6 @@ msgstr ""
|
|||||||
msgid "Rounds shot"
|
msgid "Rounds shot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:55
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:65
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Shot Records"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/index.ex:43
|
#: lib/cannery_web/live/pack_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
@ -651,6 +642,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/show.ex:40
|
#: lib/cannery_web/live/pack_live/show.ex:40
|
||||||
#: lib/cannery_web/live/range_live/index.ex:31
|
#: lib/cannery_web/live/range_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:47
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "Record Shots"
|
msgid "Record Shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -427,6 +427,8 @@ msgstr "Contenedor sin etiquetas"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
||||||
#: lib/cannery_web/components/pack_table_component.ex:80
|
#: lib/cannery_web/components/pack_table_component.ex:80
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:55
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:65
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr "Campo de tiro"
|
msgstr "Campo de tiro"
|
||||||
@ -460,11 +462,6 @@ msgstr "No hay munición preparada"
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Tiros récord"
|
msgstr "Tiros récord"
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:47
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "New Shot Records"
|
|
||||||
msgstr "Nuevos Tiros Récord"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:52
|
#: lib/cannery_web/live/range_live/index.html.heex:52
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:119
|
#: lib/cannery_web/live/range_live/index.html.heex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -478,12 +475,6 @@ msgstr "No se han grabado tiros"
|
|||||||
msgid "Rounds shot"
|
msgid "Rounds shot"
|
||||||
msgstr "Balas disparadas"
|
msgstr "Balas disparadas"
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:55
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:65
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Shot Records"
|
|
||||||
msgstr "Récords de Tiro"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/index.ex:43
|
#: lib/cannery_web/live/pack_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
@ -658,6 +649,7 @@ msgstr "Reestablecer contraseña"
|
|||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/show.ex:40
|
#: lib/cannery_web/live/pack_live/show.ex:40
|
||||||
#: lib/cannery_web/live/range_live/index.ex:31
|
#: lib/cannery_web/live/range_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record Shots"
|
msgid "Record Shots"
|
||||||
msgstr "Tiros Récord"
|
msgstr "Tiros Récord"
|
||||||
|
@ -428,6 +428,8 @@ msgstr "Aucun tag pour ce conteneur"
|
|||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
||||||
#: lib/cannery_web/components/pack_table_component.ex:80
|
#: lib/cannery_web/components/pack_table_component.ex:80
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:55
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:65
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr "Portée"
|
msgstr "Portée"
|
||||||
@ -461,11 +463,6 @@ msgstr "Aucune munition sélectionnée"
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr "Tirs enregistrés"
|
msgstr "Tirs enregistrés"
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:47
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "New Shot Records"
|
|
||||||
msgstr "Nouveaux enregistrements de tir"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:52
|
#: lib/cannery_web/live/range_live/index.html.heex:52
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:119
|
#: lib/cannery_web/live/range_live/index.html.heex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -479,12 +476,6 @@ msgstr "Aucun tir enregistré"
|
|||||||
msgid "Rounds shot"
|
msgid "Rounds shot"
|
||||||
msgstr "Cartouches tirées"
|
msgstr "Cartouches tirées"
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:55
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:65
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Shot Records"
|
|
||||||
msgstr "Enregistrements de tir"
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/index.ex:43
|
#: lib/cannery_web/live/pack_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
@ -659,6 +650,7 @@ msgstr "Réinitialiser votre mot de passe"
|
|||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/show.ex:40
|
#: lib/cannery_web/live/pack_live/show.ex:40
|
||||||
#: lib/cannery_web/live/range_live/index.ex:31
|
#: lib/cannery_web/live/range_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record Shots"
|
msgid "Record Shots"
|
||||||
msgstr "Enregistrer des tirs"
|
msgstr "Enregistrer des tirs"
|
||||||
|
@ -422,6 +422,8 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
#: lib/cannery_web/components/core_components/topbar.html.heex:48
|
||||||
#: lib/cannery_web/components/pack_table_component.ex:80
|
#: lib/cannery_web/components/pack_table_component.ex:80
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:55
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:65
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Range"
|
msgid "Range"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -455,11 +457,6 @@ msgstr ""
|
|||||||
msgid "Record shots"
|
msgid "Record shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:47
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "New Shot Records"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:52
|
#: lib/cannery_web/live/range_live/index.html.heex:52
|
||||||
#: lib/cannery_web/live/range_live/index.html.heex:119
|
#: lib/cannery_web/live/range_live/index.html.heex:119
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -473,12 +470,6 @@ msgstr ""
|
|||||||
msgid "Rounds shot"
|
msgid "Rounds shot"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:55
|
|
||||||
#: lib/cannery_web/live/range_live/index.ex:65
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Shot Records"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/index.ex:43
|
#: lib/cannery_web/live/pack_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Move ammo"
|
msgid "Move ammo"
|
||||||
@ -653,6 +644,7 @@ msgstr ""
|
|||||||
|
|
||||||
#: lib/cannery_web/live/pack_live/show.ex:40
|
#: lib/cannery_web/live/pack_live/show.ex:40
|
||||||
#: lib/cannery_web/live/range_live/index.ex:31
|
#: lib/cannery_web/live/range_live/index.ex:31
|
||||||
|
#: lib/cannery_web/live/range_live/index.ex:47
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Record Shots"
|
msgid "Record Shots"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user