minor code style fixes
This commit is contained in:
parent
2d0f6eefab
commit
a0d3fb09f3
@ -1,16 +1,18 @@
|
|||||||
defmodule MemexWeb.ContextLive.FormComponent do
|
defmodule MemexWeb.ContextLive.FormComponent do
|
||||||
use MemexWeb, :live_component
|
use MemexWeb, :live_component
|
||||||
|
alias Ecto.Changeset
|
||||||
alias Memex.Contexts
|
alias Memex.Contexts
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def update(%{context: context, current_user: current_user} = assigns, socket) do
|
def update(%{context: context, current_user: current_user} = assigns, socket) do
|
||||||
changeset = Contexts.change_context(context, current_user)
|
changeset = Contexts.change_context(context, current_user)
|
||||||
|
|
||||||
{:ok,
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(assigns)
|
|> assign(assigns)
|
||||||
|> assign(:changeset, changeset)}
|
|> assign(:changeset, changeset)
|
||||||
|
|
||||||
|
{:ok, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -19,10 +21,13 @@ defmodule MemexWeb.ContextLive.FormComponent do
|
|||||||
%{"context" => context_params},
|
%{"context" => context_params},
|
||||||
%{assigns: %{context: context, current_user: current_user}} = socket
|
%{assigns: %{context: context, current_user: current_user}} = socket
|
||||||
) do
|
) do
|
||||||
|
changeset = context |> Contexts.change_context(context_params, current_user)
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
context
|
case changeset |> Changeset.apply_action(:validate) do
|
||||||
|> Contexts.change_context(context_params, current_user)
|
{:ok, _data} -> changeset
|
||||||
|> Map.put(:action, :validate)
|
{:error, changeset} -> changeset
|
||||||
|
end
|
||||||
|
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
{:noreply, assign(socket, :changeset, changeset)}
|
||||||
end
|
end
|
||||||
@ -37,16 +42,18 @@ defmodule MemexWeb.ContextLive.FormComponent do
|
|||||||
:edit,
|
:edit,
|
||||||
context_params
|
context_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Contexts.update_context(context, context_params, current_user) do
|
case Contexts.update_context(context, context_params, current_user) do
|
||||||
{:ok, %{slug: slug}} ->
|
{:ok, %{slug: slug}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{slug} saved", slug: slug))
|
|> put_flash(:info, gettext("%{slug} saved", slug: slug))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp save_context(
|
defp save_context(
|
||||||
@ -54,15 +61,17 @@ defmodule MemexWeb.ContextLive.FormComponent do
|
|||||||
:new,
|
:new,
|
||||||
context_params
|
context_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Contexts.create_context(context_params, current_user) do
|
case Contexts.create_context(context_params, current_user) do
|
||||||
{:ok, %{slug: slug}} ->
|
{:ok, %{slug: slug}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{slug} created", slug: slug))
|
|> put_flash(:info, gettext("%{slug} created", slug: slug))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, changeset: changeset)}
|
assign(socket, changeset: changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -64,8 +64,8 @@ defmodule MemexWeb.ContextLive.Index do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def handle_event("search", %{"search" => %{"search_term" => search_term}}, socket) do
|
def handle_event("search", %{"search" => %{"search_term" => search_term}}, socket) do
|
||||||
{:noreply,
|
redirect_to = Routes.context_index_path(Endpoint, :search, search_term)
|
||||||
socket |> push_patch(to: Routes.context_index_path(Endpoint, :search, search_term))}
|
{:noreply, socket |> push_patch(to: redirect_to)}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp display_contexts(%{assigns: %{current_user: current_user, search: search}} = socket)
|
defp display_contexts(%{assigns: %{current_user: current_user, search: search}} = socket)
|
||||||
|
@ -19,7 +19,7 @@ defmodule MemexWeb.InviteLive.FormComponent do
|
|||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def handle_event("validate", %{"invite" => invite_params}, socket) do
|
def handle_event("validate", %{"invite" => invite_params}, socket) do
|
||||||
{:noreply, socket |> assign_changeset(invite_params)}
|
{:noreply, socket |> assign_changeset(invite_params, :validate)}
|
||||||
end
|
end
|
||||||
|
|
||||||
def handle_event("save", %{"invite" => invite_params}, %{assigns: %{action: action}} = socket) do
|
def handle_event("save", %{"invite" => invite_params}, %{assigns: %{action: action}} = socket) do
|
||||||
@ -28,22 +28,23 @@ defmodule MemexWeb.InviteLive.FormComponent do
|
|||||||
|
|
||||||
defp assign_changeset(
|
defp assign_changeset(
|
||||||
%{assigns: %{action: action, current_user: user, invite: invite}} = socket,
|
%{assigns: %{action: action, current_user: user, invite: invite}} = socket,
|
||||||
invite_params
|
invite_params,
|
||||||
|
changeset_action \\ nil
|
||||||
) do
|
) do
|
||||||
changeset_action =
|
default_action =
|
||||||
case action do
|
case action do
|
||||||
:new -> :insert
|
:new -> :insert
|
||||||
:edit -> :update
|
:edit -> :update
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
case action do
|
case default_action do
|
||||||
:new -> Invite.create_changeset(user, "example_token", invite_params)
|
:insert -> Invite.create_changeset(user, "example_token", invite_params)
|
||||||
:edit -> invite |> Invite.update_changeset(invite_params)
|
:update -> invite |> Invite.update_changeset(invite_params)
|
||||||
end
|
end
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
case changeset |> Changeset.apply_action(changeset_action) do
|
case changeset |> Changeset.apply_action(changeset_action || default_action) do
|
||||||
{:ok, _data} -> changeset
|
{:ok, _data} -> changeset
|
||||||
{:error, changeset} -> changeset
|
{:error, changeset} -> changeset
|
||||||
end
|
end
|
||||||
|
@ -26,12 +26,12 @@
|
|||||||
<%= number_input(f, :uses_left, min: 0, class: "input input-primary col-span-2") %>
|
<%= number_input(f, :uses_left, min: 0, class: "input input-primary col-span-2") %>
|
||||||
<%= error_tag(f, :uses_left, "col-span-3") %>
|
<%= error_tag(f, :uses_left, "col-span-3") %>
|
||||||
<span class="col-span-3 text-primary-500 italic text-center">
|
<span class="col-span-3 text-primary-500 italic text-center">
|
||||||
<%= gettext(~s/Leave "Uses left" blank to make invite unlimited/) %>
|
<%= gettext(~s/leave "uses left" blank to make invite unlimited/) %>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<%= submit(dgettext("actions", "Save"),
|
<%= submit(dgettext("actions", "save"),
|
||||||
class: "mx-auto btn btn-primary col-span-3",
|
class: "mx-auto btn btn-primary col-span-3",
|
||||||
phx_disable_with: dgettext("prompts", "Saving...")
|
phx_disable_with: dgettext("prompts", "saving...")
|
||||||
) %>
|
) %>
|
||||||
</.form>
|
</.form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -133,9 +133,7 @@ defmodule MemexWeb.InviteLive.Index do
|
|||||||
%{assigns: %{current_user: current_user}} = socket
|
%{assigns: %{current_user: current_user}} = socket
|
||||||
) do
|
) do
|
||||||
%{email: user_email} = Accounts.get_user!(id) |> Accounts.delete_user!(current_user)
|
%{email: user_email} = Accounts.get_user!(id) |> Accounts.delete_user!(current_user)
|
||||||
|
|
||||||
prompt = dgettext("prompts", "%{user_email} deleted succesfully", user_email: user_email)
|
prompt = dgettext("prompts", "%{user_email} deleted succesfully", user_email: user_email)
|
||||||
|
|
||||||
{:noreply, socket |> put_flash(:info, prompt) |> display_invites()}
|
{:noreply, socket |> put_flash(:info, prompt) |> display_invites()}
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -150,7 +148,6 @@ defmodule MemexWeb.InviteLive.Index do
|
|||||||
|
|
||||||
use_counts = invites |> Invites.get_use_counts(current_user)
|
use_counts = invites |> Invites.get_use_counts(current_user)
|
||||||
users = all_users |> Map.get(:user, [])
|
users = all_users |> Map.get(:user, [])
|
||||||
|
|
||||||
socket |> assign(invites: invites, use_counts: use_counts, admins: admins, users: users)
|
socket |> assign(invites: invites, use_counts: use_counts, admins: admins, users: users)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
defmodule MemexWeb.NoteLive.FormComponent do
|
defmodule MemexWeb.NoteLive.FormComponent do
|
||||||
use MemexWeb, :live_component
|
use MemexWeb, :live_component
|
||||||
|
alias Ecto.Changeset
|
||||||
alias Memex.Notes
|
alias Memex.Notes
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def update(%{note: note, current_user: current_user} = assigns, socket) do
|
def update(%{note: note, current_user: current_user} = assigns, socket) do
|
||||||
changeset = Notes.change_note(note, current_user)
|
changeset = Notes.change_note(note, current_user)
|
||||||
|
|
||||||
{:ok,
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(assigns)
|
|> assign(assigns)
|
||||||
|> assign(:changeset, changeset)}
|
|> assign(:changeset, changeset)
|
||||||
|
|
||||||
|
{:ok, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -19,10 +21,13 @@ defmodule MemexWeb.NoteLive.FormComponent do
|
|||||||
%{"note" => note_params},
|
%{"note" => note_params},
|
||||||
%{assigns: %{note: note, current_user: current_user}} = socket
|
%{assigns: %{note: note, current_user: current_user}} = socket
|
||||||
) do
|
) do
|
||||||
|
changeset = note |> Notes.change_note(note_params, current_user)
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
note
|
case changeset |> Changeset.apply_action(:validate) do
|
||||||
|> Notes.change_note(note_params, current_user)
|
{:ok, _data} -> changeset
|
||||||
|> Map.put(:action, :validate)
|
{:error, changeset} -> changeset
|
||||||
|
end
|
||||||
|
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
{:noreply, assign(socket, :changeset, changeset)}
|
||||||
end
|
end
|
||||||
@ -36,16 +41,18 @@ defmodule MemexWeb.NoteLive.FormComponent do
|
|||||||
:edit,
|
:edit,
|
||||||
note_params
|
note_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Notes.update_note(note, note_params, current_user) do
|
case Notes.update_note(note, note_params, current_user) do
|
||||||
{:ok, %{slug: slug}} ->
|
{:ok, %{slug: slug}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{slug} saved", slug: slug))
|
|> put_flash(:info, gettext("%{slug} saved", slug: slug))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp save_note(
|
defp save_note(
|
||||||
@ -53,15 +60,17 @@ defmodule MemexWeb.NoteLive.FormComponent do
|
|||||||
:new,
|
:new,
|
||||||
note_params
|
note_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Notes.create_note(note_params, current_user) do
|
case Notes.create_note(note_params, current_user) do
|
||||||
{:ok, %{slug: slug}} ->
|
{:ok, %{slug: slug}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{slug} created", slug: slug))
|
|> put_flash(:info, gettext("%{slug} created", slug: slug))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, changeset: changeset)}
|
assign(socket, changeset: changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
defmodule MemexWeb.PipelineLive.FormComponent do
|
defmodule MemexWeb.PipelineLive.FormComponent do
|
||||||
use MemexWeb, :live_component
|
use MemexWeb, :live_component
|
||||||
|
alias Ecto.Changeset
|
||||||
alias Memex.Pipelines
|
alias Memex.Pipelines
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def update(%{pipeline: pipeline, current_user: current_user} = assigns, socket) do
|
def update(%{pipeline: pipeline, current_user: current_user} = assigns, socket) do
|
||||||
changeset = Pipelines.change_pipeline(pipeline, current_user)
|
changeset = Pipelines.change_pipeline(pipeline, current_user)
|
||||||
|
|
||||||
{:ok,
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(assigns)
|
|> assign(assigns)
|
||||||
|> assign(:changeset, changeset)}
|
|> assign(:changeset, changeset)
|
||||||
|
|
||||||
|
{:ok, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -19,10 +21,13 @@ defmodule MemexWeb.PipelineLive.FormComponent do
|
|||||||
%{"pipeline" => pipeline_params},
|
%{"pipeline" => pipeline_params},
|
||||||
%{assigns: %{pipeline: pipeline, current_user: current_user}} = socket
|
%{assigns: %{pipeline: pipeline, current_user: current_user}} = socket
|
||||||
) do
|
) do
|
||||||
|
changeset = pipeline |> Pipelines.change_pipeline(pipeline_params, current_user)
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
pipeline
|
case changeset |> Changeset.apply_action(:validate) do
|
||||||
|> Pipelines.change_pipeline(pipeline_params, current_user)
|
{:ok, _data} -> changeset
|
||||||
|> Map.put(:action, :validate)
|
{:error, changeset} -> changeset
|
||||||
|
end
|
||||||
|
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
{:noreply, assign(socket, :changeset, changeset)}
|
||||||
end
|
end
|
||||||
@ -41,16 +46,18 @@ defmodule MemexWeb.PipelineLive.FormComponent do
|
|||||||
:edit,
|
:edit,
|
||||||
pipeline_params
|
pipeline_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Pipelines.update_pipeline(pipeline, pipeline_params, current_user) do
|
case Pipelines.update_pipeline(pipeline, pipeline_params, current_user) do
|
||||||
{:ok, %{slug: slug}} ->
|
{:ok, %{slug: slug}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{slug} saved", slug: slug))
|
|> put_flash(:info, gettext("%{slug} saved", slug: slug))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp save_pipeline(
|
defp save_pipeline(
|
||||||
@ -58,15 +65,17 @@ defmodule MemexWeb.PipelineLive.FormComponent do
|
|||||||
:new,
|
:new,
|
||||||
pipeline_params
|
pipeline_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Pipelines.create_pipeline(pipeline_params, current_user) do
|
case Pipelines.create_pipeline(pipeline_params, current_user) do
|
||||||
{:ok, %{slug: slug}} ->
|
{:ok, %{slug: slug}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{slug} created", slug: slug))
|
|> put_flash(:info, gettext("%{slug} created", slug: slug))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, changeset: changeset)}
|
assign(socket, changeset: changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -64,8 +64,8 @@ defmodule MemexWeb.PipelineLive.Index do
|
|||||||
end
|
end
|
||||||
|
|
||||||
def handle_event("search", %{"search" => %{"search_term" => search_term}}, socket) do
|
def handle_event("search", %{"search" => %{"search_term" => search_term}}, socket) do
|
||||||
{:noreply,
|
redirect_to = Routes.pipeline_index_path(Endpoint, :search, search_term)
|
||||||
socket |> push_patch(to: Routes.pipeline_index_path(Endpoint, :search, search_term))}
|
{:noreply, socket |> push_patch(to: redirect_to)}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp display_pipelines(%{assigns: %{current_user: current_user, search: search}} = socket)
|
defp display_pipelines(%{assigns: %{current_user: current_user, search: search}} = socket)
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
defmodule MemexWeb.StepLive.FormComponent do
|
defmodule MemexWeb.StepLive.FormComponent do
|
||||||
use MemexWeb, :live_component
|
use MemexWeb, :live_component
|
||||||
|
alias Ecto.Changeset
|
||||||
alias Memex.Pipelines.Steps
|
alias Memex.Pipelines.Steps
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def update(%{step: step, current_user: current_user, pipeline: _pipeline} = assigns, socket) do
|
def update(%{step: step, current_user: current_user, pipeline: _pipeline} = assigns, socket) do
|
||||||
changeset = Steps.change_step(step, current_user)
|
changeset = Steps.change_step(step, current_user)
|
||||||
|
|
||||||
{:ok,
|
socket =
|
||||||
socket
|
socket
|
||||||
|> assign(assigns)
|
|> assign(assigns)
|
||||||
|> assign(:changeset, changeset)}
|
|> assign(:changeset, changeset)
|
||||||
|
|
||||||
|
{:ok, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
@ -19,10 +21,13 @@ defmodule MemexWeb.StepLive.FormComponent do
|
|||||||
%{"step" => step_params},
|
%{"step" => step_params},
|
||||||
%{assigns: %{step: step, current_user: current_user}} = socket
|
%{assigns: %{step: step, current_user: current_user}} = socket
|
||||||
) do
|
) do
|
||||||
|
changeset = step |> Steps.change_step(step_params, current_user)
|
||||||
|
|
||||||
changeset =
|
changeset =
|
||||||
step
|
case changeset |> Changeset.apply_action(:validate) do
|
||||||
|> Steps.change_step(step_params, current_user)
|
{:ok, _data} -> changeset
|
||||||
|> Map.put(:action, :validate)
|
{:error, changeset} -> changeset
|
||||||
|
end
|
||||||
|
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
{:noreply, assign(socket, :changeset, changeset)}
|
||||||
end
|
end
|
||||||
@ -36,16 +41,18 @@ defmodule MemexWeb.StepLive.FormComponent do
|
|||||||
:edit_step,
|
:edit_step,
|
||||||
step_params
|
step_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Steps.update_step(step, step_params, current_user) do
|
case Steps.update_step(step, step_params, current_user) do
|
||||||
{:ok, %{title: title}} ->
|
{:ok, %{title: title}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{title} saved", title: title))
|
|> put_flash(:info, gettext("%{title} saved", title: title))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, :changeset, changeset)}
|
assign(socket, :changeset, changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
|
|
||||||
defp save_step(
|
defp save_step(
|
||||||
@ -60,15 +67,17 @@ defmodule MemexWeb.StepLive.FormComponent do
|
|||||||
:add_step,
|
:add_step,
|
||||||
step_params
|
step_params
|
||||||
) do
|
) do
|
||||||
|
socket =
|
||||||
case Steps.create_step(step_params, position, pipeline, current_user) do
|
case Steps.create_step(step_params, position, pipeline, current_user) do
|
||||||
{:ok, %{title: title}} ->
|
{:ok, %{title: title}} ->
|
||||||
{:noreply,
|
|
||||||
socket
|
socket
|
||||||
|> put_flash(:info, gettext("%{title} created", title: title))
|
|> put_flash(:info, gettext("%{title} created", title: title))
|
||||||
|> push_navigate(to: return_to)}
|
|> push_navigate(to: return_to)
|
||||||
|
|
||||||
{:error, %Ecto.Changeset{} = changeset} ->
|
{:error, %Changeset{} = changeset} ->
|
||||||
{:noreply, assign(socket, changeset: changeset)}
|
assign(socket, changeset: changeset)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
{:noreply, socket}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -22,11 +22,6 @@ msgstr ""
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Save"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:15
|
#: lib/memex_web/templates/user_settings/edit.html.heex:15
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:43
|
#: lib/memex_web/templates/user_settings/edit.html.heex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -120,6 +115,7 @@ msgid "register"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:40
|
#: lib/memex_web/live/note_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:40
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:28
|
#: lib/memex_web/live/step_live/form_component.html.heex:28
|
||||||
|
@ -22,11 +22,6 @@ msgstr ""
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Save"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:15
|
#: lib/memex_web/templates/user_settings/edit.html.heex:15
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:43
|
#: lib/memex_web/templates/user_settings/edit.html.heex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -120,6 +115,7 @@ msgid "register"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:40
|
#: lib/memex_web/live/note_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:40
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:28
|
#: lib/memex_web/live/step_live/form_component.html.heex:28
|
||||||
|
@ -352,9 +352,9 @@ msgstr ""
|
|||||||
msgid "no pipelines found"
|
msgid "no pipelines found"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.ex:61
|
#: lib/memex_web/live/context_live/form_component.ex:68
|
||||||
#: lib/memex_web/live/note_live/form_component.ex:60
|
#: lib/memex_web/live/note_live/form_component.ex:67
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.ex:65
|
#: lib/memex_web/live/pipeline_live/form_component.ex:72
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} created"
|
msgid "%{slug} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -369,9 +369,9 @@ msgstr ""
|
|||||||
msgid "%{slug} deleted"
|
msgid "%{slug} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.ex:44
|
#: lib/memex_web/live/context_live/form_component.ex:49
|
||||||
#: lib/memex_web/live/note_live/form_component.ex:43
|
#: lib/memex_web/live/note_live/form_component.ex:48
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.ex:48
|
#: lib/memex_web/live/pipeline_live/form_component.ex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} saved"
|
msgid "%{slug} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -439,7 +439,7 @@ msgstr ""
|
|||||||
msgid "%{position}. %{title}"
|
msgid "%{position}. %{title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/step_live/form_component.ex:67
|
#: lib/memex_web/live/step_live/form_component.ex:74
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} created"
|
msgid "%{title} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -449,7 +449,7 @@ msgstr ""
|
|||||||
msgid "%{title} deleted"
|
msgid "%{title} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/step_live/form_component.ex:43
|
#: lib/memex_web/live/step_live/form_component.ex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} saved"
|
msgid "%{title} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -644,11 +644,6 @@ msgstr ""
|
|||||||
msgid "Email"
|
msgid "Email"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:29
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/index.html.heex:102
|
#: lib/memex_web/live/invite_live/index.html.heex:102
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "admins"
|
msgid "admins"
|
||||||
@ -674,3 +669,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "uses left"
|
msgid "uses left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:29
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "leave \"uses left\" blank to make invite unlimited"
|
||||||
|
msgstr ""
|
||||||
|
@ -35,7 +35,7 @@ msgstr ""
|
|||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/index.ex:137
|
#: lib/memex_web/live/invite_live/index.ex:136
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -55,11 +55,6 @@ msgstr ""
|
|||||||
msgid "Password reset successfully."
|
msgid "Password reset successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:34
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Saving..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:130
|
#: lib/memex_web/templates/user_settings/edit.html.heex:130
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure you want to change your language?"
|
msgid "are you sure you want to change your language?"
|
||||||
@ -111,12 +106,12 @@ msgstr ""
|
|||||||
msgid "register to setup memEx"
|
msgid "register to setup memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.ex:80
|
#: lib/memex_web/live/invite_live/form_component.ex:81
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.ex:62
|
#: lib/memex_web/live/invite_live/form_component.ex:63
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{name} updated successfully"
|
msgid "%{name} updated successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -156,3 +151,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:34
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "saving..."
|
||||||
|
msgstr ""
|
||||||
|
@ -350,9 +350,9 @@ msgstr ""
|
|||||||
msgid "no pipelines found"
|
msgid "no pipelines found"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.ex:61
|
#: lib/memex_web/live/context_live/form_component.ex:68
|
||||||
#: lib/memex_web/live/note_live/form_component.ex:60
|
#: lib/memex_web/live/note_live/form_component.ex:67
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.ex:65
|
#: lib/memex_web/live/pipeline_live/form_component.ex:72
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} created"
|
msgid "%{slug} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -367,9 +367,9 @@ msgstr ""
|
|||||||
msgid "%{slug} deleted"
|
msgid "%{slug} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.ex:44
|
#: lib/memex_web/live/context_live/form_component.ex:49
|
||||||
#: lib/memex_web/live/note_live/form_component.ex:43
|
#: lib/memex_web/live/note_live/form_component.ex:48
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.ex:48
|
#: lib/memex_web/live/pipeline_live/form_component.ex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} saved"
|
msgid "%{slug} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -437,7 +437,7 @@ msgstr ""
|
|||||||
msgid "%{position}. %{title}"
|
msgid "%{position}. %{title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/step_live/form_component.ex:67
|
#: lib/memex_web/live/step_live/form_component.ex:74
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} created"
|
msgid "%{title} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -447,7 +447,7 @@ msgstr ""
|
|||||||
msgid "%{title} deleted"
|
msgid "%{title} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/step_live/form_component.ex:43
|
#: lib/memex_web/live/step_live/form_component.ex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} saved"
|
msgid "%{title} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -642,11 +642,6 @@ msgstr ""
|
|||||||
msgid "Email"
|
msgid "Email"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:29
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/index.html.heex:102
|
#: lib/memex_web/live/invite_live/index.html.heex:102
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "admins"
|
msgid "admins"
|
||||||
@ -672,3 +667,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left"
|
msgid "uses left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:29
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "leave \"uses left\" blank to make invite unlimited"
|
||||||
|
msgstr ""
|
||||||
|
@ -23,11 +23,6 @@ msgstr ""
|
|||||||
msgid "Reset password"
|
msgid "Reset password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Save"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:15
|
#: lib/memex_web/templates/user_settings/edit.html.heex:15
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:43
|
#: lib/memex_web/templates/user_settings/edit.html.heex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
@ -121,6 +116,7 @@ msgid "register"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
#: lib/memex_web/live/context_live/form_component.html.heex:40
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:32
|
||||||
#: lib/memex_web/live/note_live/form_component.html.heex:40
|
#: lib/memex_web/live/note_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.html.heex:40
|
#: lib/memex_web/live/pipeline_live/form_component.html.heex:40
|
||||||
#: lib/memex_web/live/step_live/form_component.html.heex:28
|
#: lib/memex_web/live/step_live/form_component.html.heex:28
|
||||||
|
@ -351,9 +351,9 @@ msgstr ""
|
|||||||
msgid "no pipelines found"
|
msgid "no pipelines found"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.ex:61
|
#: lib/memex_web/live/context_live/form_component.ex:68
|
||||||
#: lib/memex_web/live/note_live/form_component.ex:60
|
#: lib/memex_web/live/note_live/form_component.ex:67
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.ex:65
|
#: lib/memex_web/live/pipeline_live/form_component.ex:72
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} created"
|
msgid "%{slug} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -368,9 +368,9 @@ msgstr ""
|
|||||||
msgid "%{slug} deleted"
|
msgid "%{slug} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/context_live/form_component.ex:44
|
#: lib/memex_web/live/context_live/form_component.ex:49
|
||||||
#: lib/memex_web/live/note_live/form_component.ex:43
|
#: lib/memex_web/live/note_live/form_component.ex:48
|
||||||
#: lib/memex_web/live/pipeline_live/form_component.ex:48
|
#: lib/memex_web/live/pipeline_live/form_component.ex:53
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{slug} saved"
|
msgid "%{slug} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -438,7 +438,7 @@ msgstr ""
|
|||||||
msgid "%{position}. %{title}"
|
msgid "%{position}. %{title}"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/step_live/form_component.ex:67
|
#: lib/memex_web/live/step_live/form_component.ex:74
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} created"
|
msgid "%{title} created"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -448,7 +448,7 @@ msgstr ""
|
|||||||
msgid "%{title} deleted"
|
msgid "%{title} deleted"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/step_live/form_component.ex:43
|
#: lib/memex_web/live/step_live/form_component.ex:48
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{title} saved"
|
msgid "%{title} saved"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -643,11 +643,6 @@ msgstr ""
|
|||||||
msgid "Email"
|
msgid "Email"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:29
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Leave \"Uses left\" blank to make invite unlimited"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/index.html.heex:102
|
#: lib/memex_web/live/invite_live/index.html.heex:102
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "admins"
|
msgid "admins"
|
||||||
@ -673,3 +668,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "uses left"
|
msgid "uses left"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:29
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "leave \"uses left\" blank to make invite unlimited"
|
||||||
|
msgstr ""
|
||||||
|
@ -36,7 +36,7 @@ msgstr ""
|
|||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/index.ex:137
|
#: lib/memex_web/live/invite_live/index.ex:136
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -56,11 +56,6 @@ msgstr ""
|
|||||||
msgid "Password reset successfully."
|
msgid "Password reset successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:34
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Saving..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:130
|
#: lib/memex_web/templates/user_settings/edit.html.heex:130
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure you want to change your language?"
|
msgid "are you sure you want to change your language?"
|
||||||
@ -112,12 +107,12 @@ msgstr ""
|
|||||||
msgid "register to setup memEx"
|
msgid "register to setup memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.ex:80
|
#: lib/memex_web/live/invite_live/form_component.ex:81
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.ex:62
|
#: lib/memex_web/live/invite_live/form_component.ex:63
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} updated successfully"
|
msgid "%{name} updated successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -157,3 +152,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:34
|
||||||
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
|
msgid "saving..."
|
||||||
|
msgstr ""
|
||||||
|
@ -35,7 +35,7 @@ msgstr ""
|
|||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/index.ex:137
|
#: lib/memex_web/live/invite_live/index.ex:136
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -55,11 +55,6 @@ msgstr ""
|
|||||||
msgid "Password reset successfully."
|
msgid "Password reset successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.html.heex:34
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "Saving..."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/memex_web/templates/user_settings/edit.html.heex:130
|
#: lib/memex_web/templates/user_settings/edit.html.heex:130
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure you want to change your language?"
|
msgid "are you sure you want to change your language?"
|
||||||
@ -111,12 +106,12 @@ msgstr ""
|
|||||||
msgid "register to setup memEx"
|
msgid "register to setup memEx"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.ex:80
|
#: lib/memex_web/live/invite_live/form_component.ex:81
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} created successfully"
|
msgid "%{name} created successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/memex_web/live/invite_live/form_component.ex:62
|
#: lib/memex_web/live/invite_live/form_component.ex:63
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{name} updated successfully"
|
msgid "%{name} updated successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -156,3 +151,8 @@ msgstr ""
|
|||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
msgid "are you sure you want to delete %{email}? this action is permanent!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/memex_web/live/invite_live/form_component.html.heex:34
|
||||||
|
#, elixir-autogen, elixir-format
|
||||||
|
msgid "saving..."
|
||||||
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user