i18n: add translation

This commit is contained in:
carla 2026-02-02 13:41:59 +01:00
parent 12715f3d85
commit f5591c392a
4 changed files with 124 additions and 36 deletions

View file

@ -140,21 +140,19 @@ defmodule MvWeb.GlobalSettingsLive do
<div role="note" class="alert alert-info mb-4">
<.icon name="hero-information-circle" class="size-5" aria-hidden="true" />
<div>
<p class="font-semibold mb-1">
{gettext("Custom Fields in CSV Import")}
</p>
<p class="text-sm mb-2">
{gettext(
"Custom fields must be created in Mila before importing. Use the custom field name as the CSV column header. Unknown custom field columns will be ignored with a warning."
"Use the data field name as the CSV column header in your file. Data fields must exist in Mila before importing, so they must be listed in the list of memberdate (like e-mail or first name). Unknown data field columns will be ignored with a warning."
)}
</p>
<p class="text-sm">
<.link
href="#custom_fields"
class="link link-primary"
class="link"
data-testid="custom-fields-link"
>
{gettext("Manage Custom Fields")}
{gettext("Manage Memberdata")}
</.link>
</p>
</div>