chore: rename custom to data field in the UI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
carla 2026-01-12 09:50:51 +01:00
parent 6311eebb0c
commit e38de7d690
7 changed files with 154 additions and 134 deletions

View file

@ -118,12 +118,12 @@ defmodule MvWeb.GlobalSettingsLive do
{:noreply,
socket
|> assign(:active_editing_section, nil)
|> put_flash(:info, gettext("Custom field %{action} successfully", action: action))}
|> put_flash(:info, gettext("Data field %{action} successfully", action: action))}
end
@impl true
def handle_info({:custom_field_deleted, _custom_field}, socket) do
{:noreply, put_flash(socket, :info, gettext("Custom field deleted successfully"))}
{:noreply, put_flash(socket, :info, gettext("Data field deleted successfully"))}
end
@impl true
@ -132,7 +132,7 @@ defmodule MvWeb.GlobalSettingsLive do
put_flash(
socket,
:error,
gettext("Failed to delete custom field: %{error}", error: inspect(error))
gettext("Failed to delete data field: %{error}", error: inspect(error))
)}
end