add note about ammo when deleting ammo type
This commit is contained in:
parent
7464947497
commit
5836a82ff7
@ -4,6 +4,7 @@
|
||||
- URL paths now reflect new names
|
||||
- Add pack and round count to container information
|
||||
- Add cute logo >:3 Thank you [kalli](https://twitter.com/t0kkuro)!
|
||||
- Add note about deleting an ammo type deleting all ammo of that type as well
|
||||
|
||||
# v0.5.3
|
||||
- Update French translation: Thank you [duponin](https://udongein.xyz/users/duponin)!
|
||||
|
@ -137,7 +137,7 @@ defmodule CanneryWeb.AmmoTypeLive.Index do
|
||||
phx_click: "delete",
|
||||
phx_value_id: ammo_type.id,
|
||||
data: [
|
||||
confirm: dgettext("prompts", "Are you sure you want to delete this ammo?"),
|
||||
confirm: dgettext("prompts", "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!", name: ammo_type.name),
|
||||
qa: "delete-#{ammo_type.id}"
|
||||
] do %>
|
||||
<i class="fa-lg fas fa-trash"></i>
|
||||
|
@ -24,7 +24,7 @@
|
||||
phx_click: "delete",
|
||||
data: [
|
||||
confirm:
|
||||
dgettext("prompts", "Are you sure you want to delete %{name}?", name: @ammo_type.name),
|
||||
dgettext("prompts", "Are you sure you want to delete %{name}? This will delete all %{name} type ammo as well!", name: @ammo_type.name),
|
||||
qa: "delete"
|
||||
] do %>
|
||||
<i class="fa-fw fa-lg fas fa-trash"></i>
|
||||
|
Loading…
Reference in New Issue
Block a user