From e38de7d6908db674dcb400de2a767717057653ed Mon Sep 17 00:00:00 2001 From: carla Date: Mon, 12 Jan 2026 09:50:51 +0100 Subject: [PATCH] chore: rename custom to data field in the UI --- .../live/custom_field_live/form_component.ex | 6 +- .../live/custom_field_live/index_component.ex | 4 +- .../live/custom_field_value_live/show.ex | 6 +- lib/mv_web/live/global_settings_live.ex | 6 +- priv/gettext/de/LC_MESSAGES/default.po | 92 ++++++++++--------- priv/gettext/default.pot | 82 ++++++++--------- priv/gettext/en/LC_MESSAGES/default.po | 92 ++++++++++--------- 7 files changed, 154 insertions(+), 134 deletions(-) diff --git a/lib/mv_web/live/custom_field_live/form_component.ex b/lib/mv_web/live/custom_field_live/form_component.ex index 172cfd3..71bdd03 100644 --- a/lib/mv_web/live/custom_field_live/form_component.ex +++ b/lib/mv_web/live/custom_field_live/form_component.ex @@ -26,12 +26,12 @@ defmodule MvWeb.CustomFieldLive.FormComponent do type="button" phx-click="cancel" phx-target={@myself} - aria-label={gettext("Back to custom field overview")} + aria-label={gettext("Back to settings")} > <.icon name="hero-arrow-left" class="w-4 h-4" />

- {if @custom_field, do: gettext("Edit Custom Field"), else: gettext("New Custom Field")} + {if @custom_field, do: gettext("Edit Data Field"), else: gettext("New Data Field")}

@@ -66,7 +66,7 @@ defmodule MvWeb.CustomFieldLive.FormComponent do {gettext("Cancel")} <.button phx-disable-with={gettext("Saving...")} variant="primary"> - {gettext("Save Custom Field")} + {gettext("Save Data Field")} diff --git a/lib/mv_web/live/custom_field_live/index_component.ex b/lib/mv_web/live/custom_field_live/index_component.ex index a11cc57..5f26f78 100644 --- a/lib/mv_web/live/custom_field_live/index_component.ex +++ b/lib/mv_web/live/custom_field_live/index_component.ex @@ -29,7 +29,7 @@ defmodule MvWeb.CustomFieldLive.IndexComponent do phx-click="new_custom_field" phx-target={@myself} > - <.icon name="hero-plus" /> {gettext("New Custom Field")} + <.icon name="hero-plus" /> {gettext("New Data Field")} @@ -111,7 +111,7 @@ defmodule MvWeb.CustomFieldLive.IndexComponent do <%!-- Delete Confirmation Modal --%>