improve templates

This commit is contained in:
shibao 2023-02-04 11:29:06 -05:00
parent 1726a1b72e
commit eb75937587
38 changed files with 745 additions and 764 deletions

View File

@ -1,5 +1,6 @@
# v0.1.8 # v0.1.8
- Fix bug with public registration - Fix bug with public registration
- Improve templates
# v0.1.7 # v0.1.7
- Update dependencies - Update dependencies

View File

@ -109,11 +109,13 @@ defmodule MemexWeb.Components.ContextsTableComponent do
~H""" ~H"""
<div class="flex flex-wrap justify-center space-x-1"> <div class="flex flex-wrap justify-center space-x-1">
<%= for tag <- @tags do %> <.link
<.link patch={Routes.context_index_path(Endpoint, :search, tag)} class="link"> :for={tag <- @tags}
<%= tag %> patch={Routes.context_index_path(Endpoint, :search, tag)}
</.link> class="link"
<% end %> >
<%= tag %>
</.link>
</div> </div>
""" """
end end

View File

@ -47,11 +47,9 @@ defmodule MemexWeb.Components.InviteCard do
<%= render_slot(@code_actions) %> <%= render_slot(@code_actions) %>
</div> </div>
<%= if @inner_block do %> <div :if={@inner_block} class="flex space-x-4 justify-center items-center">
<div class="flex space-x-4 justify-center items-center"> <%= render_slot(@inner_block) %>
<%= render_slot(@inner_block) %> </div>
</div>
<% end %>
</div> </div>
""" """
end end

View File

@ -109,11 +109,9 @@ defmodule MemexWeb.Components.NotesTableComponent do
~H""" ~H"""
<div class="flex flex-wrap justify-center space-x-1"> <div class="flex flex-wrap justify-center space-x-1">
<%= for tag <- @tags do %> <.link :for={tag <- @tags} patch={Routes.note_index_path(Endpoint, :search, tag)} class="link">
<.link patch={Routes.note_index_path(Endpoint, :search, tag)} class="link"> <%= tag %>
<%= tag %> </.link>
</.link>
<% end %>
</div> </div>
""" """
end end

View File

@ -122,11 +122,13 @@ defmodule MemexWeb.Components.PipelinesTableComponent do
~H""" ~H"""
<div class="flex flex-wrap justify-center space-x-1"> <div class="flex flex-wrap justify-center space-x-1">
<%= for tag <- @tags do %> <.link
<.link patch={Routes.pipeline_index_path(Endpoint, :search, tag)} class="link"> :for={tag <- @tags}
<%= tag %> patch={Routes.pipeline_index_path(Endpoint, :search, tag)}
</.link> class="link"
<% end %> >
<%= tag %>
</.link>
</div> </div>
""" """
end end

View File

@ -33,20 +33,19 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<%= for {values, i} <- @rows |> Enum.with_index() do %> <tr
<tr class={if i |> Integer.is_even(), do: @row_class, else: @alternate_row_class}> :for={{values, i} <- @rows |> Enum.with_index()}
<%= for %{key: key} = value <- @columns do %> class={if i |> Integer.is_even(), do: @row_class, else: @alternate_row_class}
<td class={["p-2", value[:class]]}> >
<%= case values |> Map.get(key) do %> <td :for={%{key: key} = value <- @columns} class={["p-2", value[:class]]}>
<% {_custom_sort_value, value} -> %> <%= case values |> Map.get(key) do %>
<%= value %> <% {_custom_sort_value, value} -> %>
<% value -> %> <%= value %>
<%= value %> <% value -> %>
<% end %> <%= value %>
</td>
<% end %> <% end %>
</tr> </td>
<% end %> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>

View File

@ -65,16 +65,14 @@ defmodule MemexWeb.Components.Topbar do
<li class="mx-2 my-1 border-left border border-primary-700"></li> <li class="mx-2 my-1 border-left border border-primary-700"></li>
<%= if @current_user do %> <%= if @current_user do %>
<%= if @current_user |> Accounts.is_already_admin?() do %> <li :if={@current_user |> Accounts.is_already_admin?()} class="mx-2 my-1">
<li class="mx-2 my-1"> <.link
<.link navigate={Routes.invite_index_path(Endpoint, :index)}
navigate={Routes.invite_index_path(Endpoint, :index)} class="text-primary-400 text-primary-400 hover:underline"
class="text-primary-400 text-primary-400 hover:underline" >
> <%= gettext("invites") %>
<%= gettext("invites") %> </.link>
</.link> </li>
</li>
<% end %>
<li class="mx-2 my-1"> <li class="mx-2 my-1">
<.link <.link
@ -95,27 +93,28 @@ defmodule MemexWeb.Components.Topbar do
</.link> </.link>
</li> </li>
<%= if @current_user.role == :admin and function_exported?(Routes, :live_dashboard_path, 2) do %> <li
<li class="mx-2 my-1"> :if={
<.link @current_user.role == :admin and function_exported?(Routes, :live_dashboard_path, 2)
navigate={Routes.live_dashboard_path(Endpoint, :home)} }
class="text-primary-400 text-primary-400 hover:underline" class="mx-2 my-1"
> >
<i class="fas fa-gauge"></i> <.link
</.link> navigate={Routes.live_dashboard_path(Endpoint, :home)}
</li> class="text-primary-400 text-primary-400 hover:underline"
<% end %> >
<i class="fas fa-gauge"></i>
</.link>
</li>
<% else %> <% else %>
<%= if Accounts.allow_registration?() do %> <li :if={Accounts.allow_registration?()} class="mx-2 my-1">
<li class="mx-2 my-1"> <.link
<.link navigate={Routes.user_registration_path(Endpoint, :new)}
navigate={Routes.user_registration_path(Endpoint, :new)} class="text-primary-400 text-primary-400 hover:underline truncate"
class="text-primary-400 text-primary-400 hover:underline truncate" >
> <%= dgettext("actions", "register") %>
<%= dgettext("actions", "register") %> </.link>
</.link> </li>
</li>
<% end %>
<li class="mx-2 my-1"> <li class="mx-2 my-1">
<.link <.link

View File

@ -10,8 +10,8 @@ defmodule MemexWeb.Components.UserCard do
<div <div
id={"user-#{@user.id}"} id={"user-#{@user.id}"}
class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center text-center class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center text-center
border border-gray-400 rounded-lg shadow-lg hover:shadow-md border border-gray-400 rounded-lg shadow-lg hover:shadow-md
transition-all duration-300 ease-in-out" transition-all duration-300 ease-in-out"
> >
<h1 class="px-4 py-2 rounded-lg title text-xl break-all"> <h1 class="px-4 py-2 rounded-lg title text-xl break-all">
<%= @user.email %> <%= @user.email %>
@ -39,11 +39,9 @@ defmodule MemexWeb.Components.UserCard do
</p> </p>
</h3> </h3>
<%= if @inner_block do %> <div :if={@inner_block} class="px-4 py-2 flex space-x-4 justify-center items-center">
<div class="px-4 py-2 flex space-x-4 justify-center items-center"> <%= render_slot(@inner_block) %>
<%= render_slot(@inner_block) %> </div>
</div>
<% end %>
</div> </div>
""" """
end end

View File

@ -30,46 +30,44 @@
contexts={@contexts} contexts={@contexts}
> >
<:actions :let={context}> <:actions :let={context}>
<%= if is_owner?(context, @current_user) do %> <.link
<.link :if={is_owner?(context, @current_user)}
patch={Routes.context_index_path(@socket, :edit, context.slug)} patch={Routes.context_index_path(@socket, :edit, context.slug)}
data-qa={"context-edit-#{context.id}"} data-qa={"context-edit-#{context.id}"}
> >
<%= dgettext("actions", "edit") %> <%= dgettext("actions", "edit") %>
</.link> </.link>
<% end %> <.link
<%= if is_owner_or_admin?(context, @current_user) do %> :if={is_owner_or_admin?(context, @current_user)}
<.link href="#"
href="#" phx-click="delete"
phx-click="delete" phx-value-id={context.id}
phx-value-id={context.id} data-confirm={dgettext("prompts", "are you sure?")}
data-confirm={dgettext("prompts", "are you sure?")} data-qa={"delete-context-#{context.id}"}
data-qa={"delete-context-#{context.id}"} >
> <%= dgettext("actions", "delete") %>
<%= dgettext("actions", "delete") %> </.link>
</.link>
<% end %>
</:actions> </:actions>
</.live_component> </.live_component>
<% end %> <% end %>
<%= if @current_user do %> <.link
<.link patch={Routes.context_index_path(@socket, :new)} class="self-end btn btn-primary"> :if={@current_user}
<%= dgettext("actions", "new context") %> patch={Routes.context_index_path(@socket, :new)}
</.link> class="self-end btn btn-primary"
<% end %> >
<%= dgettext("actions", "new context") %>
</.link>
</div> </div>
<%= if @live_action in [:new, :edit] do %> <.modal :if={@live_action in [:new, :edit]} return_to={Routes.context_index_path(@socket, :index)}>
<.modal return_to={Routes.context_index_path(@socket, :index)}> <.live_component
<.live_component module={MemexWeb.ContextLive.FormComponent}
module={MemexWeb.ContextLive.FormComponent} id={@context.id || :new}
id={@context.id || :new} current_user={@current_user}
current_user={@current_user} title={@page_title}
title={@page_title} action={@live_action}
action={@live_action} context={@context}
context={@context} return_to={Routes.context_index_path(@socket, :index)}
return_to={Routes.context_index_path(@socket, :index)} />
/> </.modal>
</.modal>
<% end %>

View File

@ -4,11 +4,13 @@
</h1> </h1>
<div class="flex flex-wrap space-x-1"> <div class="flex flex-wrap space-x-1">
<%= for tag <- @context.tags do %> <.link
<.link navigate={Routes.context_index_path(Endpoint, :search, tag)} class="link"> :for={tag <- @context.tags}
<%= tag %> navigate={Routes.context_index_path(Endpoint, :search, tag)}
</.link> class="link"
<% end %> >
<%= tag %>
</.link>
</div> </div>
<.context_content context={@context} /> <.context_content context={@context} />
@ -21,38 +23,37 @@
<.link class="btn btn-primary" navigate={Routes.context_index_path(@socket, :index)}> <.link class="btn btn-primary" navigate={Routes.context_index_path(@socket, :index)}>
<%= dgettext("actions", "back") %> <%= dgettext("actions", "back") %>
</.link> </.link>
<%= if is_owner?(@context, @current_user) do %> <.link
<.link :if={is_owner?(@context, @current_user)}
class="btn btn-primary" class="btn btn-primary"
patch={Routes.context_show_path(@socket, :edit, @context.slug)} patch={Routes.context_show_path(@socket, :edit, @context.slug)}
> >
<%= dgettext("actions", "edit") %> <%= dgettext("actions", "edit") %>
</.link> </.link>
<% end %> <button
<%= if is_owner_or_admin?(@context, @current_user) do %> :if={is_owner_or_admin?(@context, @current_user)}
<button type="button"
type="button" class="btn btn-primary"
class="btn btn-primary" phx-click="delete"
phx-click="delete" data-confirm={dgettext("prompts", "are you sure?")}
data-confirm={dgettext("prompts", "are you sure?")} data-qa={"delete-context-#{@context.id}"}
data-qa={"delete-context-#{@context.id}"} >
> <%= dgettext("actions", "delete") %>
<%= dgettext("actions", "delete") %> </button>
</button>
<% end %>
</div> </div>
</div> </div>
<%= if @live_action in [:edit] do %> <.modal
<.modal return_to={Routes.context_show_path(@socket, :show, @context.slug)}> if={@live_action == :edit}
<.live_component return_to={Routes.context_show_path(@socket, :show, @context.slug)}
module={MemexWeb.ContextLive.FormComponent} >
id={@context.id} <.live_component
current_user={@current_user} module={MemexWeb.ContextLive.FormComponent}
title={@page_title} id={@context.id}
action={@live_action} current_user={@current_user}
context={@context} title={@page_title}
return_to={Routes.context_show_path(@socket, :show, @context.slug)} action={@live_action}
/> context={@context}
</.modal> return_to={Routes.context_show_path(@socket, :show, @context.slug)}
<% end %> />
</.modal>

View File

@ -38,7 +38,7 @@
navigate={Routes.live_path(Endpoint, FaqLive)} navigate={Routes.live_path(Endpoint, FaqLive)}
class="link title text-primary-400 text-lg" class="link title text-primary-400 text-lg"
> >
<%= gettext("read more on how to use %{name}", name: "memEx") %> <%= gettext("read more on how to use memEx") %>
</.link> </.link>
</li> </li>
</ul> </ul>
@ -92,15 +92,13 @@
<p> <p>
<%= if @admins |> Enum.empty?() do %> <%= if @admins |> Enum.empty?() do %>
<.link href={Routes.user_registration_path(Endpoint, :new)} class="link"> <.link href={Routes.user_registration_path(Endpoint, :new)} class="link">
<%= dgettext("prompts", "register to setup %{name}", name: "memEx") %> <%= dgettext("prompts", "register to setup memEx") %>
</.link> </.link>
<% else %> <% else %>
<div class="flex flex-wrap justify-center space-x-2"> <div class="flex flex-wrap justify-center space-x-2">
<%= for admin <- @admins do %> <a :for={%{email: email} <- @admins} class="link" href={"mailto:#{email}"}>
<a class="link" href={"mailto:#{admin.email}"}> <%= email %>
<%= admin.email %> </a>
</a>
<% end %>
</div> </div>
<% end %> <% end %>
</p> </p>

View File

@ -11,11 +11,12 @@
phx-change="validate" phx-change="validate"
phx-submit="save" phx-submit="save"
> >
<%= if @changeset.action && not @changeset.valid? do %> <div
<div class="invalid-feedback col-span-3 text-center"> :if={@changeset.action && not @changeset.valid?()}
<%= changeset_errors(@changeset) %> class="invalid-feedback col-span-3 text-center"
</div> >
<% end %> <%= changeset_errors(@changeset) %>
</div>
<%= label(f, :name, gettext("Name"), class: "title text-lg text-primary-400") %> <%= label(f, :name, gettext("Name"), class: "title text-lg text-primary-400") %>
<%= text_input(f, :name, class: "input input-primary col-span-2") %> <%= text_input(f, :name, class: "input input-primary col-span-2") %>

View File

@ -18,69 +18,65 @@
<% end %> <% end %>
<div class="w-full flex flex-row flex-wrap justify-center items-center"> <div class="w-full flex flex-row flex-wrap justify-center items-center">
<%= for invite <- @invites do %> <.invite_card :for={invite <- @invites} invite={invite}>
<.invite_card invite={invite}> <:code_actions>
<:code_actions> <form phx-submit="copy_to_clipboard">
<form phx-submit="copy_to_clipboard"> <button
<button type="submit"
type="submit" class="mx-2 my-1 btn btn-primary"
class="mx-2 my-1 btn btn-primary" phx-click={JS.dispatch("memex:clipcopy", to: "#code-#{invite.id}")}
phx-click={JS.dispatch("memex:clipcopy", to: "#code-#{invite.id}")}
>
<%= dgettext("actions", "Copy to clipboard") %>
</button>
</form>
</:code_actions>
<.link
patch={Routes.invite_index_path(Endpoint, :edit, invite)}
class="text-primary-400 link"
data-qa={"edit-#{invite.id}"}
>
<i class="fa-fw fa-lg fas fa-edit"></i>
</.link>
<.link
href="#"
class="text-primary-400 link"
phx-click="delete_invite"
phx-value-id={invite.id}
data-confirm={
dgettext("prompts", "are you sure you want to delete the invite for %{invite_name}?",
invite_name: invite.name
)
}
data-qa={"delete-#{invite.id}"}
>
<i class="fa-fw fa-lg fas fa-trash"></i>
</.link>
<%= if invite.disabled_at |> is_nil() do %>
<a href="#" class="btn btn-primary" phx-click="disable_invite" phx-value-id={invite.id}>
<%= gettext("disable") %>
</a>
<% else %>
<a href="#" class="btn btn-primary" phx-click="enable_invite" phx-value-id={invite.id}>
<%= gettext("enable") %>
</a>
<% end %>
<%= if invite.disabled_at |> is_nil() and not (invite.uses_left |> is_nil()) do %>
<a
href="#"
class="btn btn-primary"
phx-click="set_unlimited"
phx-value-id={invite.id}
data-confirm={
dgettext("prompts", "are you sure you want to make %{invite_name} unlimited?",
invite_name: invite.name
)
}
> >
<%= gettext("set unlimited") %> <%= dgettext("actions", "Copy to clipboard") %>
</a> </button>
<% end %> </form>
</.invite_card> </:code_actions>
<% end %> <.link
patch={Routes.invite_index_path(Endpoint, :edit, invite)}
class="text-primary-400 link"
data-qa={"edit-#{invite.id}"}
>
<i class="fa-fw fa-lg fas fa-edit"></i>
</.link>
<.link
href="#"
class="text-primary-400 link"
phx-click="delete_invite"
phx-value-id={invite.id}
data-confirm={
dgettext("prompts", "are you sure you want to delete the invite for %{invite_name}?",
invite_name: invite.name
)
}
data-qa={"delete-#{invite.id}"}
>
<i class="fa-fw fa-lg fas fa-trash"></i>
</.link>
<a
href="#"
class="btn btn-primary"
phx-click={if invite.disabled_at, do: "enable_invite", else: "disable_invite"}
phx-value-id={invite.id}
>
<%= if invite.disabled_at, do: gettext("enable"), else: gettext("disable") %>
</a>
<a
:if={invite.disabled_at |> is_nil() and not (invite.uses_left |> is_nil())}
href="#"
class="btn btn-primary"
phx-click="set_unlimited"
phx-value-id={invite.id}
data-confirm={
dgettext("prompts", "are you sure you want to make %{invite_name} unlimited?",
invite_name: invite.name
)
}
>
<%= gettext("set unlimited") %>
</a>
</.invite_card>
</div> </div>
<%= unless @admins |> Enum.empty?() do %> <%= unless @admins |> Enum.empty?() do %>
@ -91,25 +87,23 @@
</h1> </h1>
<div class="w-full flex flex-row flex-wrap justify-center items-center"> <div class="w-full flex flex-row flex-wrap justify-center items-center">
<%= for admin <- @admins do %> <.user_card :for={admin <- @admins} user={admin}>
<.user_card user={admin}> <.link
<.link href="#"
href="#" class="text-primary-400 link"
class="text-primary-400 link" phx-click="delete_user"
phx-click="delete_user" phx-value-id={admin.id}
phx-value-id={admin.id} data-confirm={
data-confirm={ dgettext(
dgettext( "prompts",
"prompts", "are you sure you want to delete %{email}? This action is permanent!",
"are you sure you want to delete %{email}? This action is permanent!", email: admin.email
email: admin.email )
) }
} >
> <i class="fa-fw fa-lg fas fa-trash"></i>
<i class="fa-fw fa-lg fas fa-trash"></i> </.link>
</.link> </.user_card>
</.user_card>
<% end %>
</div> </div>
<% end %> <% end %>
@ -121,39 +115,35 @@
</h1> </h1>
<div class="w-full flex flex-row flex-wrap justify-center items-center"> <div class="w-full flex flex-row flex-wrap justify-center items-center">
<%= for user <- @users do %> <.user_card :for={user <- @users} user={user}>
<.user_card user={user}> <.link
<.link href="#"
href="#" class="text-primary-400 link"
class="text-primary-400 link" phx-click="delete_user"
phx-click="delete_user" phx-value-id={user.id}
phx-value-id={user.id} data-confirm={
data-confirm={ dgettext(
dgettext( "prompts",
"prompts", "are you sure you want to delete %{email}? This action is permanent!",
"are you sure you want to delete %{email}? This action is permanent!", email: user.email
email: user.email )
) }
} >
> <i class="fa-fw fa-lg fas fa-trash"></i>
<i class="fa-fw fa-lg fas fa-trash"></i> </.link>
</.link> </.user_card>
</.user_card>
<% end %>
</div> </div>
<% end %> <% end %>
</div> </div>
<%= if @live_action in [:new, :edit] do %> <.modal :if={@live_action in [:new, :edit]} return_to={Routes.invite_index_path(Endpoint, :index)}>
<.modal return_to={Routes.invite_index_path(Endpoint, :index)}> <.live_component
<.live_component module={MemexWeb.InviteLive.FormComponent}
module={MemexWeb.InviteLive.FormComponent} id={@invite.id || :new}
id={@invite.id || :new} title={@page_title}
title={@page_title} action={@live_action}
action={@live_action} invite={@invite}
invite={@invite} return_to={Routes.invite_index_path(Endpoint, :index)}
return_to={Routes.invite_index_path(Endpoint, :index)} current_user={@current_user}
current_user={@current_user} />
/> </.modal>
</.modal>
<% end %>

View File

@ -31,8 +31,8 @@ defmodule MemexWeb.LiveHelpers do
patch={@return_to} patch={@return_to}
id="modal-bg" id="modal-bg"
class="fade-in fixed z-10 left-0 top-0 class="fade-in fixed z-10 left-0 top-0
w-screen h-screen overflow-hidden w-screen h-screen overflow-hidden
p-8 flex flex-col justify-center items-center cursor-auto" p-8 flex flex-col justify-center items-center cursor-auto"
style="background-color: rgba(0,0,0,0.4);" style="background-color: rgba(0,0,0,0.4);"
phx-remove={hide_modal()} phx-remove={hide_modal()}
> >
@ -48,16 +48,16 @@ defmodule MemexWeb.LiveHelpers do
<div <div
id="modal-content" id="modal-content"
class="fade-in-scale max-w-3xl max-h-3xl relative w-full class="fade-in-scale max-w-3xl max-h-3xl relative w-full
pointer-events-auto overflow-hidden pointer-events-auto overflow-hidden
px-8 py-4 sm:py-8 flex flex-col justify-start items-stretch px-8 py-4 sm:py-8 flex flex-col justify-start items-stretch
bg-primary-800 text-primary-400 border-primary-900 border-2 rounded-lg" bg-primary-800 text-primary-400 border-primary-900 border-2 rounded-lg"
> >
<.link <.link
patch={@return_to} patch={@return_to}
id="close" id="close"
class="absolute top-8 right-10 class="absolute top-8 right-10
text-gray-500 hover:text-gray-800 text-gray-500 hover:text-gray-800
transition-all duration-500 ease-in-out" transition-all duration-500 ease-in-out"
phx-remove={hide_modal()} phx-remove={hide_modal()}
> >
<i class="fa-fw fa-lg fas fa-times"></i> <i class="fa-fw fa-lg fas fa-times"></i>

View File

@ -30,46 +30,44 @@
notes={@notes} notes={@notes}
> >
<:actions :let={note}> <:actions :let={note}>
<%= if is_owner?(note, @current_user) do %> <.link
<.link :if={is_owner?(note, @current_user)}
patch={Routes.note_index_path(@socket, :edit, note.slug)} patch={Routes.note_index_path(@socket, :edit, note.slug)}
data-qa={"note-edit-#{note.id}"} data-qa={"note-edit-#{note.id}"}
> >
<%= dgettext("actions", "edit") %> <%= dgettext("actions", "edit") %>
</.link> </.link>
<% end %> <.link
<%= if is_owner_or_admin?(note, @current_user) do %> :if={is_owner_or_admin?(note, @current_user)}
<.link href="#"
href="#" phx-click="delete"
phx-click="delete" phx-value-id={note.id}
phx-value-id={note.id} data-confirm={dgettext("prompts", "are you sure?")}
data-confirm={dgettext("prompts", "are you sure?")} data-qa={"delete-note-#{note.id}"}
data-qa={"delete-note-#{note.id}"} >
> <%= dgettext("actions", "delete") %>
<%= dgettext("actions", "delete") %> </.link>
</.link>
<% end %>
</:actions> </:actions>
</.live_component> </.live_component>
<% end %> <% end %>
<%= if @current_user do %> <.link
<.link patch={Routes.note_index_path(@socket, :new)} class="self-end btn btn-primary"> :if={@current_user}
<%= dgettext("actions", "new note") %> patch={Routes.note_index_path(@socket, :new)}
</.link> class="self-end btn btn-primary"
<% end %> >
<%= dgettext("actions", "new note") %>
</.link>
</div> </div>
<%= if @live_action in [:new, :edit] do %> <.modal :if={@live_action in [:new, :edit]} return_to={Routes.note_index_path(@socket, :index)}>
<.modal return_to={Routes.note_index_path(@socket, :index)}> <.live_component
<.live_component module={MemexWeb.NoteLive.FormComponent}
module={MemexWeb.NoteLive.FormComponent} id={@note.id || :new}
id={@note.id || :new} current_user={@current_user}
current_user={@current_user} title={@page_title}
title={@page_title} action={@live_action}
action={@live_action} note={@note}
note={@note} return_to={Routes.note_index_path(@socket, :index)}
return_to={Routes.note_index_path(@socket, :index)} />
/> </.modal>
</.modal>
<% end %>

View File

@ -4,11 +4,13 @@
</h1> </h1>
<div class="flex flex-wrap space-x-1"> <div class="flex flex-wrap space-x-1">
<%= for tag <- @note.tags do %> <.link
<.link navigate={Routes.note_index_path(Endpoint, :search, tag)} class="link"> :for={tag <- @note.tags}
<%= tag %> navigate={Routes.note_index_path(Endpoint, :search, tag)}
</.link> class="link"
<% end %> >
<%= tag %>
</.link>
</div> </div>
<.note_content note={@note} /> <.note_content note={@note} />
@ -21,35 +23,34 @@
<.link class="btn btn-primary" navigate={Routes.note_index_path(@socket, :index)}> <.link class="btn btn-primary" navigate={Routes.note_index_path(@socket, :index)}>
<%= dgettext("actions", "back") %> <%= dgettext("actions", "back") %>
</.link> </.link>
<%= if is_owner?(@note, @current_user) do %> <.link
<.link class="btn btn-primary" patch={Routes.note_show_path(@socket, :edit, @note.slug)}> :if={is_owner?(@note, @current_user)}
<%= dgettext("actions", "edit") %> class="btn btn-primary"
</.link> patch={Routes.note_show_path(@socket, :edit, @note.slug)}
<% end %> >
<%= if is_owner_or_admin?(@note, @current_user) do %> <%= dgettext("actions", "edit") %>
<button </.link>
type="button" <button
class="btn btn-primary" :if={is_owner_or_admin?(@note, @current_user)}
phx-click="delete" type="button"
data-confirm={dgettext("prompts", "are you sure?")} class="btn btn-primary"
data-qa={"delete-note-#{@note.id}"} phx-click="delete"
> data-confirm={dgettext("prompts", "are you sure?")}
<%= dgettext("actions", "delete") %> data-qa={"delete-note-#{@note.id}"}
</button> >
<% end %> <%= dgettext("actions", "delete") %>
</button>
</div> </div>
</div> </div>
<%= if @live_action in [:edit] do %> <.modal :if={@live_action == :edit} return_to={Routes.note_show_path(@socket, :show, @note.slug)}>
<.modal return_to={Routes.note_show_path(@socket, :show, @note.slug)}> <.live_component
<.live_component module={MemexWeb.NoteLive.FormComponent}
module={MemexWeb.NoteLive.FormComponent} id={@note.id}
id={@note.id} current_user={@current_user}
current_user={@current_user} title={@page_title}
title={@page_title} action={@live_action}
action={@live_action} note={@note}
note={@note} return_to={Routes.note_show_path(@socket, :show, @note.slug)}
return_to={Routes.note_show_path(@socket, :show, @note.slug)} />
/> </.modal>
</.modal>
<% end %>

View File

@ -30,46 +30,47 @@
pipelines={@pipelines} pipelines={@pipelines}
> >
<:actions :let={pipeline}> <:actions :let={pipeline}>
<%= if is_owner?(pipeline, @current_user) do %> <.link
<.link :if={is_owner?(pipeline, @current_user)}
patch={Routes.pipeline_index_path(@socket, :edit, pipeline.slug)} patch={Routes.pipeline_index_path(@socket, :edit, pipeline.slug)}
data-qa={"pipeline-edit-#{pipeline.id}"} data-qa={"pipeline-edit-#{pipeline.id}"}
> >
<%= dgettext("actions", "edit") %> <%= dgettext("actions", "edit") %>
</.link> </.link>
<% end %> <.link
<%= if is_owner_or_admin?(pipeline, @current_user) do %> :if={is_owner_or_admin?(pipeline, @current_user)}
<.link href="#"
href="#" phx-click="delete"
phx-click="delete" phx-value-id={pipeline.id}
phx-value-id={pipeline.id} data-confirm={dgettext("prompts", "are you sure?")}
data-confirm={dgettext("prompts", "are you sure?")} data-qa={"delete-pipeline-#{pipeline.id}"}
data-qa={"delete-pipeline-#{pipeline.id}"} >
> <%= dgettext("actions", "delete") %>
<%= dgettext("actions", "delete") %> </.link>
</.link>
<% end %>
</:actions> </:actions>
</.live_component> </.live_component>
<% end %> <% end %>
<%= if @current_user do %> <.link
<.link patch={Routes.pipeline_index_path(@socket, :new)} class="self-end btn btn-primary"> :if={@current_user}
<%= dgettext("actions", "new pipeline") %> patch={Routes.pipeline_index_path(@socket, :new)}
</.link> class="self-end btn btn-primary"
<% end %> >
<%= dgettext("actions", "new pipeline") %>
</.link>
</div> </div>
<%= if @live_action in [:new, :edit] do %> <.modal
<.modal return_to={Routes.pipeline_index_path(@socket, :index)}> :if={@live_action in [:new, :edit]}
<.live_component return_to={Routes.pipeline_index_path(@socket, :index)}
module={MemexWeb.PipelineLive.FormComponent} >
id={@pipeline.id || :new} <.live_component
current_user={@current_user} module={MemexWeb.PipelineLive.FormComponent}
title={@page_title} id={@pipeline.id || :new}
action={@live_action} current_user={@current_user}
pipeline={@pipeline} title={@page_title}
return_to={Routes.pipeline_index_path(@socket, :index)} action={@live_action}
/> pipeline={@pipeline}
</.modal> return_to={Routes.pipeline_index_path(@socket, :index)}
<% end %> />
</.modal>

View File

@ -4,23 +4,24 @@
</h1> </h1>
<div class="flex flex-wrap space-x-1"> <div class="flex flex-wrap space-x-1">
<%= for tag <- @pipeline.tags do %> <.link
<.link navigate={Routes.pipeline_index_path(Endpoint, :search, tag)} class="link"> :for={tag <- @pipeline.tags}
<%= tag %> navigate={Routes.pipeline_index_path(Endpoint, :search, tag)}
</.link> class="link"
<% end %> >
<%= tag %>
</.link>
</div> </div>
<%= if @pipeline.description do %> <textarea
<textarea :if={@pipeline.description}
id="show-pipeline-description" id="show-pipeline-description"
class="input input-primary h-32 min-h-32" class="input input-primary h-32 min-h-32"
phx-hook="MaintainAttrs" phx-hook="MaintainAttrs"
phx-update="ignore" phx-update="ignore"
readonly readonly
phx-no-format phx-no-format
><%= @pipeline.description %></textarea> ><%= @pipeline.description %></textarea>
<% end %>
<p class="self-end"> <p class="self-end">
<%= gettext("Visibility: %{visibility}", visibility: @pipeline.visibility) %> <%= gettext("Visibility: %{visibility}", visibility: @pipeline.visibility) %>
@ -30,25 +31,23 @@
<.link class="btn btn-primary" navigate={Routes.pipeline_index_path(@socket, :index)}> <.link class="btn btn-primary" navigate={Routes.pipeline_index_path(@socket, :index)}>
<%= dgettext("actions", "back") %> <%= dgettext("actions", "back") %>
</.link> </.link>
<%= if is_owner?(@pipeline, @current_user) do %> <.link
<.link :if={is_owner?(@pipeline, @current_user)}
class="btn btn-primary" class="btn btn-primary"
patch={Routes.pipeline_show_path(@socket, :edit, @pipeline.slug)} patch={Routes.pipeline_show_path(@socket, :edit, @pipeline.slug)}
> >
<%= dgettext("actions", "edit") %> <%= dgettext("actions", "edit") %>
</.link> </.link>
<% end %> <button
<%= if is_owner_or_admin?(@pipeline, @current_user) do %> :if={is_owner_or_admin?(@pipeline, @current_user)}
<button type="button"
type="button" class="btn btn-primary"
class="btn btn-primary" phx-click="delete"
phx-click="delete" data-confirm={dgettext("prompts", "are you sure?")}
data-confirm={dgettext("prompts", "are you sure?")} data-qa={"delete-pipeline-#{@pipeline.id}"}
data-qa={"delete-pipeline-#{@pipeline.id}"} >
> <%= dgettext("actions", "delete") %>
<%= dgettext("actions", "delete") %> </button>
</button>
<% end %>
</div> </div>
<hr class="hr" /> <hr class="hr" />
@ -126,15 +125,14 @@
<% end %> <% end %>
<% end %> <% end %>
<%= if is_owner?(@pipeline, @current_user) do %> <.link
<.link :if={is_owner?(@pipeline, @current_user)}
class="self-end btn btn-primary" class="self-end btn btn-primary"
patch={Routes.pipeline_show_path(@socket, :add_step, @pipeline.slug)} patch={Routes.pipeline_show_path(@socket, :add_step, @pipeline.slug)}
data-qa={"add-step-#{@pipeline.id}"} data-qa={"add-step-#{@pipeline.id}"}
> >
<%= dgettext("actions", "add step") %> <%= dgettext("actions", "add step") %>
</.link> </.link>
<% end %>
</div> </div>
<%= case @live_action do %> <%= case @live_action do %>
@ -150,20 +148,7 @@
return_to={Routes.pipeline_show_path(@socket, :show, @pipeline.slug)} return_to={Routes.pipeline_show_path(@socket, :show, @pipeline.slug)}
/> />
</.modal> </.modal>
<% :add_step -> %> <% action when action in [:add_step, :edit_step] -> %>
<.modal return_to={Routes.pipeline_show_path(@socket, :show, @pipeline.slug)}>
<.live_component
module={MemexWeb.StepLive.FormComponent}
id={@pipeline.id || :new}
current_user={@current_user}
title={@page_title}
action={@live_action}
pipeline={@pipeline}
step={@step}
return_to={Routes.pipeline_show_path(@socket, :show, @pipeline.slug)}
/>
</.modal>
<% :edit_step -> %>
<.modal return_to={Routes.pipeline_show_path(@socket, :show, @pipeline.slug)}> <.modal return_to={Routes.pipeline_show_path(@socket, :show, @pipeline.slug)}>
<.live_component <.live_component
module={MemexWeb.StepLive.FormComponent} module={MemexWeb.StepLive.FormComponent}

View File

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title> <title>
<%= dgettext("errors", "Error") %> | memEx <%= dgettext("errors", "Error") %> | <%= gettext("memEx") %>
</title> </title>
<link rel="stylesheet" href="/css/app.css" /> <link rel="stylesheet" href="/css/app.css" />
<script defer type="text/javascript" src="/js/app.js"> <script defer type="text/javascript" src="/js/app.js">

View File

@ -3,16 +3,12 @@
<.topbar current_user={assigns[:current_user]}></.topbar> <.topbar current_user={assigns[:current_user]}></.topbar>
<div class="mx-8 my-2 flex flex-col space-y-4 text-center"> <div class="mx-8 my-2 flex flex-col space-y-4 text-center">
<%= if get_flash(@conn, :info) do %> <p :if={get_flash(@conn, :info)} class="alert alert-info" role="alert">
<p class="alert alert-info" role="alert"> <%= get_flash(@conn, :info) %>
<%= get_flash(@conn, :info) %> </p>
</p> <p :if={get_flash(@conn, :error)} class="alert alert-danger" role="alert">
<% end %> <%= get_flash(@conn, :error) %>
<%= if get_flash(@conn, :error) do %> </p>
<p class="alert alert-danger" role="alert">
<%= get_flash(@conn, :error) %>
</p>
<% end %>
</div> </div>
</header> </header>

View File

@ -3,22 +3,25 @@
<.topbar current_user={assigns[:current_user]}></.topbar> <.topbar current_user={assigns[:current_user]}></.topbar>
<div class="mx-8 my-2 flex flex-col space-y-4 text-center"> <div class="mx-8 my-2 flex flex-col space-y-4 text-center">
<%= if @flash && @flash |> Map.has_key?("info") do %> <p
<p class="alert alert-info" role="alert" phx-click="lv:clear-flash" phx-value-key="info"> :if={@flash && @flash |> Map.has_key?("info")}
<%= live_flash(@flash, "info") %> class="alert alert-info"
</p> role="alert"
<% end %> phx-click="lv:clear-flash"
phx-value-key="info"
>
<%= live_flash(@flash, "info") %>
</p>
<%= if @flash && @flash |> Map.has_key?("error") do %> <p
<p :if={@flash && @flash |> Map.has_key?("error")}
class="alert alert-danger" class="alert alert-danger"
role="alert" role="alert"
phx-click="lv:clear-flash" phx-click="lv:clear-flash"
phx-value-key="error" phx-value-key="error"
> >
<%= live_flash(@flash, "error") %> <%= live_flash(@flash, "error") %>
</p> </p>
<% end %>
</div> </div>
</header> </header>

View File

@ -20,11 +20,13 @@
<hr class="hr" /> <hr class="hr" />
<div class="flex flex-row justify-center items-center space-x-4"> <div class="flex flex-row justify-center items-center space-x-4">
<%= if Accounts.allow_registration?() do %> <.link
<.link href={Routes.user_registration_path(@conn, :new)} class="btn btn-primary"> :if={Accounts.allow_registration?()}
<%= dgettext("actions", "register") %> href={Routes.user_registration_path(@conn, :new)}
</.link> class="btn btn-primary"
<% end %> >
<%= dgettext("actions", "register") %>
</.link>
<.link href={Routes.user_session_path(@conn, :new)} class="btn btn-primary"> <.link href={Routes.user_session_path(@conn, :new)} class="btn btn-primary">
<%= dgettext("actions", "log in") %> <%= dgettext("actions", "log in") %>
</.link> </.link>

View File

@ -9,13 +9,11 @@
action={Routes.user_registration_path(@conn, :create)} action={Routes.user_registration_path(@conn, :create)}
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
> >
<%= if @changeset.action && not @changeset.valid? do %> <div :if={@changeset.action && not @changeset.valid?()} class="alert alert-danger col-span-3">
<div class="alert alert-danger col-span-3"> <p>
<p> <%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %> </p>
</p> </div>
</div>
<% end %>
<%= if @invite do %> <%= if @invite do %>
<%= hidden_input(f, :invite_token, value: @invite.token) %> <%= hidden_input(f, :invite_token, value: @invite.token) %>

View File

@ -9,13 +9,11 @@
action={Routes.user_reset_password_path(@conn, :update, @token)} action={Routes.user_reset_password_path(@conn, :update, @token)}
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
> >
<%= if @changeset.action && not @changeset.valid? do %> <div :if={@changeset.action && not @changeset.valid?()} class="alert alert-danger col-span-3">
<div class="alert alert-danger col-span-3"> <p>
<p> <%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %> </p>
</p> </div>
</div>
<% end %>
<%= label(f, :password, "new password", class: "title text-lg text-primary-400") %> <%= label(f, :password, "new password", class: "title text-lg text-primary-400") %>
<%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %> <%= password_input(f, :password, required: true, class: "input input-primary col-span-2") %>
@ -38,11 +36,13 @@
<hr class="hr" /> <hr class="hr" />
<div class="flex flex-row justify-center items-center space-x-4"> <div class="flex flex-row justify-center items-center space-x-4">
<%= if Accounts.allow_registration?() do %> <.link
<.link href={Routes.user_registration_path(@conn, :new)} class="btn btn-primary"> :if={Accounts.allow_registration?()}
<%= dgettext("actions", "register") %> href={Routes.user_registration_path(@conn, :new)}
</.link> class="btn btn-primary"
<% end %> >
<%= dgettext("actions", "register") %>
</.link>
<.link href={Routes.user_session_path(@conn, :new)} class="btn btn-primary"> <.link href={Routes.user_session_path(@conn, :new)} class="btn btn-primary">
<%= dgettext("actions", "log in") %> <%= dgettext("actions", "log in") %>
</.link> </.link>

View File

@ -20,11 +20,13 @@
<hr class="hr" /> <hr class="hr" />
<div class="flex flex-row justify-center items-center space-x-4"> <div class="flex flex-row justify-center items-center space-x-4">
<%= if Accounts.allow_registration?() do %> <.link
<.link href={Routes.user_registration_path(@conn, :new)} class="btn btn-primary"> :if={Accounts.allow_registration?()}
<%= dgettext("actions", "register") %> href={Routes.user_registration_path(@conn, :new)}
</.link> class="btn btn-primary"
<% end %> >
<%= dgettext("actions", "register") %>
</.link>
<.link href={Routes.user_session_path(@conn, :new)} class="btn btn-primary"> <.link href={Routes.user_session_path(@conn, :new)} class="btn btn-primary">
<%= dgettext("actions", "log in") %> <%= dgettext("actions", "log in") %>
</.link> </.link>

View File

@ -10,13 +10,11 @@
as="user" as="user"
class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center"
> >
<%= if @error_message do %> <div :if={@error_message} class="alert alert-danger col-span-3">
<div class="alert alert-danger col-span-3"> <p>
<p> <%= @error_message %>
<%= @error_message %> </p>
</p> </div>
</div>
<% end %>
<%= label(f, :email, class: "title text-lg text-primary-400") %> <%= label(f, :email, class: "title text-lg text-primary-400") %>
<%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
@ -35,11 +33,13 @@
<hr class="hr" /> <hr class="hr" />
<div class="flex flex-row justify-center items-center space-x-4"> <div class="flex flex-row justify-center items-center space-x-4">
<%= if Accounts.allow_registration?() do %> <.link
<.link href={Routes.user_registration_path(@conn, :new)} class="btn btn-primary"> :if={Accounts.allow_registration?()}
<%= dgettext("actions", "register") %> href={Routes.user_registration_path(@conn, :new)}
</.link> class="btn btn-primary"
<% end %> >
<%= dgettext("actions", "register") %>
</.link>
<.link href={Routes.user_reset_password_path(@conn, :new)} class="btn btn-primary"> <.link href={Routes.user_reset_password_path(@conn, :new)} class="btn btn-primary">
<%= dgettext("actions", "forgot your password?") %> <%= dgettext("actions", "forgot your password?") %>
</.link> </.link>

View File

@ -15,13 +15,14 @@
<%= dgettext("actions", "change email") %> <%= dgettext("actions", "change email") %>
</h3> </h3>
<%= if @email_changeset.action && not @email_changeset.valid? do %> <div
<div class="alert alert-danger col-span-3"> :if={@email_changeset.action && not @email_changeset.valid?()}
<p> class="alert alert-danger col-span-3"
<%= dgettext("errors", "oops, something went wrong! Please check the errors below") %> >
</p> <p>
</div> <%= dgettext("errors", "oops, something went wrong! Please check the errors below") %>
<% end %> </p>
</div>
<%= hidden_input(f, :action, name: "action", value: "update_email") %> <%= hidden_input(f, :action, name: "action", value: "update_email") %>
@ -58,13 +59,14 @@
<%= dgettext("actions", "change password") %> <%= dgettext("actions", "change password") %>
</h3> </h3>
<%= if @password_changeset.action && not @password_changeset.valid? do %> <div
<div class="alert alert-danger col-span-3"> :if={@password_changeset.action && not @password_changeset.valid?()}
<p> class="alert alert-danger col-span-3"
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %> >
</p> <p>
</div> <%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>
<% end %> </p>
</div>
<%= hidden_input(f, :action, name: "action", value: "update_password") %> <%= hidden_input(f, :action, name: "action", value: "update_password") %>
@ -113,13 +115,14 @@
<%= dgettext("actions", "change language") %> <%= dgettext("actions", "change language") %>
</h3> </h3>
<%= if @locale_changeset.action && not @locale_changeset.valid? do %> <div
<div class="alert alert-danger"> :if={@locale_changeset.action && not @locale_changeset.valid?()}
<p> class="alert alert-danger"
<%= dgettext("errors", "oops, something went wrong! Please check the errors below") %> >
</p> <p>
</div> <%= dgettext("errors", "oops, something went wrong! Please check the errors below") %>
<% end %> </p>
</div>
<%= hidden_input(f, :action, name: "action", value: "update_locale") %> <%= hidden_input(f, :action, name: "action", value: "update_locale") %>

View File

@ -17,11 +17,13 @@ defmodule MemexWeb.ErrorHelpers do
assigns = %{extra_class: extra_class, form: form, field: field} assigns = %{extra_class: extra_class, form: form, field: field}
~H""" ~H"""
<%= for error <- Keyword.get_values(@form.errors, @field) do %> <span
<span class={["invalid-feedback", @extra_class]} phx-feedback-for={input_name(@form, @field)}> :for={error <- Keyword.get_values(@form.errors, @field)}
<%= translate_error(error) %> class={["invalid-feedback", @extra_class]}
</span> phx-feedback-for={input_name(@form, @field)}
<% end %> >
<%= translate_error(error) %>
</span>
""" """
end end

View File

@ -7,6 +7,11 @@ defmodule MemexWeb.LayoutView do
# so we instruct Elixir to not warn if the dashboard route is missing. # so we instruct Elixir to not warn if the dashboard route is missing.
@compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}} @compile {:no_warn_undefined, {Routes, :live_dashboard_path, 2}}
def get_title(%{assigns: %{title: title}}), do: gettext("memEx | %{title}", title: title) def get_title(%{assigns: %{title: title}}) do
def get_title(_conn), do: gettext("memEx") gettext("memEx | %{title}", title: title)
end
def get_title(_conn) do
gettext("memEx")
end
end end

View File

@ -16,19 +16,18 @@ defmodule MemexWeb.ViewHelpers do
def datetime(assigns) do def datetime(assigns) do
~H""" ~H"""
<%= if @datetime do %> <time
<time :if={@datetime}
datetime={cast_datetime(@datetime)} datetime={cast_datetime(@datetime)}
x-data={"{ x-data={"{
datetime: datetime:
Intl.DateTimeFormat([], {dateStyle: 'short', timeStyle: 'long'}) Intl.DateTimeFormat([], {dateStyle: 'short', timeStyle: 'long'})
.format(new Date(\"#{cast_datetime(@datetime)}\")) .format(new Date(\"#{cast_datetime(@datetime)}\"))
}"} }"}
x-text="datetime" x-text="datetime"
> >
<%= cast_datetime(@datetime) %> <%= cast_datetime(@datetime) %>
</time> </time>
<% end %>
""" """
end end
@ -48,19 +47,18 @@ defmodule MemexWeb.ViewHelpers do
def date(assigns) do def date(assigns) do
~H""" ~H"""
<%= if @date do %> <time
<time :if={@date}
datetime={@date |> Date.to_iso8601(:extended)} datetime={@date |> Date.to_iso8601(:extended)}
x-data={"{ x-data={"{
date: date:
Intl.DateTimeFormat([], {timeZone: 'Etc/UTC', dateStyle: 'short'}) Intl.DateTimeFormat([], {timeZone: 'Etc/UTC', dateStyle: 'short'})
.format(new Date(\"#{@date |> Date.to_iso8601(:extended)}\")) .format(new Date(\"#{@date |> Date.to_iso8601(:extended)}\"))
}"} }"}
x-text="date" x-text="date"
> >
<%= @date |> Date.to_iso8601(:extended) %> <%= @date |> Date.to_iso8601(:extended) %>
</time> </time>
<% end %>
""" """
end end

View File

@ -10,7 +10,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:30 #: lib/memex_web/live/invite_live/index.html.heex:29
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Copy to clipboard" msgid "Copy to clipboard"
msgstr "" msgstr ""
@ -22,30 +22,30 @@ msgid "Resend confirmation instructions"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_reset_password/edit.html.heex:3 #: lib/memex_web/templates/user_reset_password/edit.html.heex:3
#: lib/memex_web/templates/user_reset_password/edit.html.heex:33 #: lib/memex_web/templates/user_reset_password/edit.html.heex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Reset password" msgid "Reset password"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:28 #: lib/memex_web/live/invite_live/form_component.html.heex:29
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Save" msgid "Save"
msgstr "" 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:44 #: lib/memex_web/templates/user_settings/edit.html.heex:45
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "change email" msgid "change email"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:113 #: lib/memex_web/templates/user_settings/edit.html.heex:115
#: lib/memex_web/templates/user_settings/edit.html.heex:131 #: lib/memex_web/templates/user_settings/edit.html.heex:134
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "change language" msgid "change language"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:58 #: lib/memex_web/templates/user_settings/edit.html.heex:59
#: lib/memex_web/templates/user_settings/edit.html.heex:99 #: lib/memex_web/templates/user_settings/edit.html.heex:101
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "change password" msgid "change password"
msgstr "" msgstr ""
@ -55,29 +55,29 @@ msgstr ""
msgid "create invite" msgid "create invite"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:49 #: lib/memex_web/live/context_live/index.html.heex:48
#: lib/memex_web/live/context_live/show.html.heex:40 #: lib/memex_web/live/context_live/show.html.heex:41
#: lib/memex_web/live/note_live/index.html.heex:49 #: lib/memex_web/live/note_live/index.html.heex:48
#: lib/memex_web/live/note_live/show.html.heex:37 #: lib/memex_web/live/note_live/show.html.heex:41
#: lib/memex_web/live/pipeline_live/index.html.heex:49 #: lib/memex_web/live/pipeline_live/index.html.heex:48
#: lib/memex_web/live/pipeline_live/show.html.heex:49 #: lib/memex_web/live/pipeline_live/show.html.heex:49
#: lib/memex_web/live/pipeline_live/show.html.heex:119 #: lib/memex_web/live/pipeline_live/show.html.heex:118
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "delete" msgid "delete"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:154 #: lib/memex_web/templates/user_settings/edit.html.heex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "delete user" msgid "delete user"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:38 #: lib/memex_web/live/context_live/index.html.heex:38
#: lib/memex_web/live/context_live/show.html.heex:29 #: lib/memex_web/live/context_live/show.html.heex:31
#: lib/memex_web/live/note_live/index.html.heex:38 #: lib/memex_web/live/note_live/index.html.heex:38
#: lib/memex_web/live/note_live/show.html.heex:26 #: lib/memex_web/live/note_live/show.html.heex:31
#: lib/memex_web/live/pipeline_live/index.html.heex:38 #: lib/memex_web/live/pipeline_live/index.html.heex:38
#: lib/memex_web/live/pipeline_live/show.html.heex:38 #: lib/memex_web/live/pipeline_live/show.html.heex:39
#: lib/memex_web/live/pipeline_live/show.html.heex:108 #: lib/memex_web/live/pipeline_live/show.html.heex:107
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "edit" msgid "edit"
msgstr "" msgstr ""
@ -87,39 +87,39 @@ msgstr ""
msgid "invite someone new!" msgid "invite someone new!"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:125 #: lib/memex_web/components/topbar.ex:124
#: lib/memex_web/templates/user_confirmation/new.html.heex:29 #: lib/memex_web/templates/user_confirmation/new.html.heex:31
#: lib/memex_web/templates/user_registration/new.html.heex:48 #: lib/memex_web/templates/user_registration/new.html.heex:46
#: lib/memex_web/templates/user_reset_password/edit.html.heex:47 #: lib/memex_web/templates/user_reset_password/edit.html.heex:47
#: lib/memex_web/templates/user_reset_password/new.html.heex:29 #: lib/memex_web/templates/user_reset_password/new.html.heex:31
#: lib/memex_web/templates/user_session/new.html.heex:3 #: lib/memex_web/templates/user_session/new.html.heex:3
#: lib/memex_web/templates/user_session/new.html.heex:32 #: lib/memex_web/templates/user_session/new.html.heex:30
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "log in" msgid "log in"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:58 #: lib/memex_web/live/context_live/index.html.heex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new context" msgid "new context"
msgstr "" msgstr ""
#: lib/memex_web/live/note_live/index.html.heex:58 #: lib/memex_web/live/note_live/index.html.heex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new note" msgid "new note"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/index.html.heex:58 #: lib/memex_web/live/pipeline_live/index.html.heex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new pipeline" msgid "new pipeline"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:115 #: lib/memex_web/components/topbar.ex:115
#: lib/memex_web/templates/user_confirmation/new.html.heex:25 #: lib/memex_web/templates/user_confirmation/new.html.heex:28
#: lib/memex_web/templates/user_registration/new.html.heex:3 #: lib/memex_web/templates/user_registration/new.html.heex:3
#: lib/memex_web/templates/user_registration/new.html.heex:41 #: lib/memex_web/templates/user_registration/new.html.heex:39
#: lib/memex_web/templates/user_reset_password/edit.html.heex:43 #: lib/memex_web/templates/user_reset_password/edit.html.heex:44
#: lib/memex_web/templates/user_reset_password/new.html.heex:25 #: lib/memex_web/templates/user_reset_password/new.html.heex:28
#: lib/memex_web/templates/user_session/new.html.heex:40 #: lib/memex_web/templates/user_session/new.html.heex:41
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "register" msgid "register"
msgstr "" msgstr ""
@ -132,19 +132,19 @@ msgstr ""
msgid "save" msgid "save"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/show.html.heex:22 #: lib/memex_web/live/context_live/show.html.heex:24
#: lib/memex_web/live/note_live/show.html.heex:22 #: lib/memex_web/live/note_live/show.html.heex:24
#: lib/memex_web/live/pipeline_live/show.html.heex:31 #: lib/memex_web/live/pipeline_live/show.html.heex:32
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "back" msgid "back"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:135 #: lib/memex_web/live/pipeline_live/show.html.heex:134
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "add step" msgid "add step"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:51 #: lib/memex_web/templates/user_registration/new.html.heex:49
#: lib/memex_web/templates/user_reset_password/new.html.heex:3 #: lib/memex_web/templates/user_reset_password/new.html.heex:3
#: lib/memex_web/templates/user_session/new.html.heex:44 #: lib/memex_web/templates/user_session/new.html.heex:44
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
@ -156,7 +156,7 @@ msgstr ""
msgid "send instructions to reset password" msgid "send instructions to reset password"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:145 #: lib/memex_web/templates/user_settings/edit.html.heex:148
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "export data as json" msgid "export data as json"
msgstr "" msgstr ""

View File

@ -10,7 +10,7 @@ msgid ""
msgstr "" msgstr ""
"Language: de\n" "Language: de\n"
#: lib/memex_web/live/invite_live/index.html.heex:30 #: lib/memex_web/live/invite_live/index.html.heex:29
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Copy to clipboard" msgid "Copy to clipboard"
msgstr "" msgstr ""
@ -22,30 +22,30 @@ msgid "Resend confirmation instructions"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_reset_password/edit.html.heex:3 #: lib/memex_web/templates/user_reset_password/edit.html.heex:3
#: lib/memex_web/templates/user_reset_password/edit.html.heex:33 #: lib/memex_web/templates/user_reset_password/edit.html.heex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Reset password" msgid "Reset password"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:28 #: lib/memex_web/live/invite_live/form_component.html.heex:29
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Save" msgid "Save"
msgstr "" 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:44 #: lib/memex_web/templates/user_settings/edit.html.heex:45
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "change email" msgid "change email"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:113 #: lib/memex_web/templates/user_settings/edit.html.heex:115
#: lib/memex_web/templates/user_settings/edit.html.heex:131 #: lib/memex_web/templates/user_settings/edit.html.heex:134
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "change language" msgid "change language"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:58 #: lib/memex_web/templates/user_settings/edit.html.heex:59
#: lib/memex_web/templates/user_settings/edit.html.heex:99 #: lib/memex_web/templates/user_settings/edit.html.heex:101
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "change password" msgid "change password"
msgstr "" msgstr ""
@ -55,29 +55,29 @@ msgstr ""
msgid "create invite" msgid "create invite"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:49 #: lib/memex_web/live/context_live/index.html.heex:48
#: lib/memex_web/live/context_live/show.html.heex:40 #: lib/memex_web/live/context_live/show.html.heex:41
#: lib/memex_web/live/note_live/index.html.heex:49 #: lib/memex_web/live/note_live/index.html.heex:48
#: lib/memex_web/live/note_live/show.html.heex:37 #: lib/memex_web/live/note_live/show.html.heex:41
#: lib/memex_web/live/pipeline_live/index.html.heex:49 #: lib/memex_web/live/pipeline_live/index.html.heex:48
#: lib/memex_web/live/pipeline_live/show.html.heex:49 #: lib/memex_web/live/pipeline_live/show.html.heex:49
#: lib/memex_web/live/pipeline_live/show.html.heex:119 #: lib/memex_web/live/pipeline_live/show.html.heex:118
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "delete" msgid "delete"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:154 #: lib/memex_web/templates/user_settings/edit.html.heex:157
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "delete user" msgid "delete user"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:38 #: lib/memex_web/live/context_live/index.html.heex:38
#: lib/memex_web/live/context_live/show.html.heex:29 #: lib/memex_web/live/context_live/show.html.heex:31
#: lib/memex_web/live/note_live/index.html.heex:38 #: lib/memex_web/live/note_live/index.html.heex:38
#: lib/memex_web/live/note_live/show.html.heex:26 #: lib/memex_web/live/note_live/show.html.heex:31
#: lib/memex_web/live/pipeline_live/index.html.heex:38 #: lib/memex_web/live/pipeline_live/index.html.heex:38
#: lib/memex_web/live/pipeline_live/show.html.heex:38 #: lib/memex_web/live/pipeline_live/show.html.heex:39
#: lib/memex_web/live/pipeline_live/show.html.heex:108 #: lib/memex_web/live/pipeline_live/show.html.heex:107
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "edit" msgid "edit"
msgstr "" msgstr ""
@ -87,39 +87,39 @@ msgstr ""
msgid "invite someone new!" msgid "invite someone new!"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:125 #: lib/memex_web/components/topbar.ex:124
#: lib/memex_web/templates/user_confirmation/new.html.heex:29 #: lib/memex_web/templates/user_confirmation/new.html.heex:31
#: lib/memex_web/templates/user_registration/new.html.heex:48 #: lib/memex_web/templates/user_registration/new.html.heex:46
#: lib/memex_web/templates/user_reset_password/edit.html.heex:47 #: lib/memex_web/templates/user_reset_password/edit.html.heex:47
#: lib/memex_web/templates/user_reset_password/new.html.heex:29 #: lib/memex_web/templates/user_reset_password/new.html.heex:31
#: lib/memex_web/templates/user_session/new.html.heex:3 #: lib/memex_web/templates/user_session/new.html.heex:3
#: lib/memex_web/templates/user_session/new.html.heex:32 #: lib/memex_web/templates/user_session/new.html.heex:30
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "log in" msgid "log in"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:58 #: lib/memex_web/live/context_live/index.html.heex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new context" msgid "new context"
msgstr "" msgstr ""
#: lib/memex_web/live/note_live/index.html.heex:58 #: lib/memex_web/live/note_live/index.html.heex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new note" msgid "new note"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/index.html.heex:58 #: lib/memex_web/live/pipeline_live/index.html.heex:59
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new pipeline" msgid "new pipeline"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:115 #: lib/memex_web/components/topbar.ex:115
#: lib/memex_web/templates/user_confirmation/new.html.heex:25 #: lib/memex_web/templates/user_confirmation/new.html.heex:28
#: lib/memex_web/templates/user_registration/new.html.heex:3 #: lib/memex_web/templates/user_registration/new.html.heex:3
#: lib/memex_web/templates/user_registration/new.html.heex:41 #: lib/memex_web/templates/user_registration/new.html.heex:39
#: lib/memex_web/templates/user_reset_password/edit.html.heex:43 #: lib/memex_web/templates/user_reset_password/edit.html.heex:44
#: lib/memex_web/templates/user_reset_password/new.html.heex:25 #: lib/memex_web/templates/user_reset_password/new.html.heex:28
#: lib/memex_web/templates/user_session/new.html.heex:40 #: lib/memex_web/templates/user_session/new.html.heex:41
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "register" msgid "register"
msgstr "" msgstr ""
@ -132,19 +132,19 @@ msgstr ""
msgid "save" msgid "save"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/show.html.heex:22 #: lib/memex_web/live/context_live/show.html.heex:24
#: lib/memex_web/live/note_live/show.html.heex:22 #: lib/memex_web/live/note_live/show.html.heex:24
#: lib/memex_web/live/pipeline_live/show.html.heex:31 #: lib/memex_web/live/pipeline_live/show.html.heex:32
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "back" msgid "back"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:135 #: lib/memex_web/live/pipeline_live/show.html.heex:134
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "add step" msgid "add step"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:51 #: lib/memex_web/templates/user_registration/new.html.heex:49
#: lib/memex_web/templates/user_reset_password/new.html.heex:3 #: lib/memex_web/templates/user_reset_password/new.html.heex:3
#: lib/memex_web/templates/user_session/new.html.heex:44 #: lib/memex_web/templates/user_session/new.html.heex:44
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
@ -156,7 +156,7 @@ msgstr ""
msgid "send instructions to reset password" msgid "send instructions to reset password"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:145 #: lib/memex_web/templates/user_settings/edit.html.heex:148
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "export data as json" msgid "export data as json"
msgstr "" msgstr ""

View File

@ -21,7 +21,7 @@ msgstr ""
## Run "mix gettext.extract" to bring this file up to ## Run "mix gettext.extract" to bring this file up to
## date. Leave "msgstr"s empty as changing them here has no ## date. Leave "msgstr"s empty as changing them here has no
## effect: edit them in PO (.po) files instead. ## effect: edit them in PO (.po) files instead.
#: lib/memex_web/live/invite_live/index.html.heex:90 #: lib/memex_web/live/invite_live/index.html.heex:86
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins" msgid "Admins"
msgstr "" msgstr ""
@ -31,17 +31,17 @@ msgstr ""
msgid "Confirm your account" msgid "Confirm your account"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_session/new.html.heex:27 #: lib/memex_web/templates/user_session/new.html.heex:25
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Keep me logged in for 60 days" msgid "Keep me logged in for 60 days"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:20 #: lib/memex_web/live/invite_live/form_component.html.heex:21
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Name" msgid "Name"
msgstr "" msgstr ""
#: lib/memex_web/templates/layout/live.html.heex:40 #: lib/memex_web/templates/layout/live.html.heex:43
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Reconnecting..." msgid "Reconnecting..."
msgstr "" msgstr ""
@ -56,14 +56,14 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:24 #: lib/memex_web/live/invite_live/form_component.html.heex:25
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Uses left" msgid "Uses left"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/show.html.heex:17 #: lib/memex_web/live/context_live/show.html.heex:19
#: lib/memex_web/live/note_live/show.html.heex:17 #: lib/memex_web/live/note_live/show.html.heex:19
#: lib/memex_web/live/pipeline_live/show.html.heex:26 #: lib/memex_web/live/pipeline_live/show.html.heex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Visibility: %{visibility}" msgid "Visibility: %{visibility}"
msgstr "" msgstr ""
@ -83,7 +83,7 @@ msgstr ""
msgid "built with sharing and collaboration in mind" msgid "built with sharing and collaboration in mind"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:78 #: lib/memex_web/templates/user_settings/edit.html.heex:80
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "confirm new password" msgid "confirm new password"
msgstr "" msgstr ""
@ -111,13 +111,13 @@ msgstr ""
msgid "convenient:" msgid "convenient:"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:32 #: lib/memex_web/templates/user_settings/edit.html.heex:33
#: lib/memex_web/templates/user_settings/edit.html.heex:87 #: lib/memex_web/templates/user_settings/edit.html.heex:89
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "current password" msgid "current password"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:59 #: lib/memex_web/live/invite_live/index.html.heex:62
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "disable" msgid "disable"
msgstr "" msgstr ""
@ -137,7 +137,7 @@ msgstr ""
msgid "edit invite" msgid "edit invite"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:28 #: lib/memex_web/templates/user_settings/edit.html.heex:29
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "email" msgid "email"
msgstr "" msgstr ""
@ -147,13 +147,13 @@ msgstr ""
msgid "email unconfirmed" msgid "email unconfirmed"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:63 #: lib/memex_web/live/invite_live/index.html.heex:62
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "enable" msgid "enable"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:36 #: lib/memex_web/templates/user_registration/new.html.heex:34
#: lib/memex_web/templates/user_settings/edit.html.heex:126 #: lib/memex_web/templates/user_settings/edit.html.heex:129
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "english" msgid "english"
msgstr "" msgstr ""
@ -163,12 +163,12 @@ msgstr ""
msgid "features" msgid "features"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:137 #: lib/memex_web/live/home_live.html.heex:135
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "get involved!" msgid "get involved!"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:158 #: lib/memex_web/live/home_live.html.heex:156
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "help translate" msgid "help translate"
msgstr "" msgstr ""
@ -183,12 +183,12 @@ msgstr ""
msgid "invite disabled" msgid "invite disabled"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:114 #: lib/memex_web/live/home_live.html.heex:112
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "invite only" msgid "invite only"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:74 #: lib/memex_web/components/topbar.ex:73
#: lib/memex_web/live/invite_live/index.ex:41 #: lib/memex_web/live/invite_live/index.ex:41
#: lib/memex_web/live/invite_live/index.html.heex:3 #: lib/memex_web/live/invite_live/index.html.heex:3
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
@ -210,7 +210,7 @@ msgstr ""
msgid "new invite" msgid "new invite"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:71 #: lib/memex_web/templates/user_settings/edit.html.heex:73
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new password" msgid "new password"
msgstr "" msgstr ""
@ -266,7 +266,7 @@ msgstr ""
msgid "provide context around a single topic and hotlink to your notes" msgid "provide context around a single topic and hotlink to your notes"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:113 #: lib/memex_web/live/home_live.html.heex:111
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "public signups" msgid "public signups"
msgstr "" msgstr ""
@ -276,12 +276,12 @@ msgstr ""
msgid "register" msgid "register"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:110 #: lib/memex_web/live/home_live.html.heex:108
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "registration:" msgid "registration:"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:169 #: lib/memex_web/live/home_live.html.heex:167
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "report bugs or request features" msgid "report bugs or request features"
msgstr "" msgstr ""
@ -301,7 +301,7 @@ msgstr ""
msgid "select privacy" msgid "select privacy"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:79 #: lib/memex_web/live/invite_live/index.html.heex:77
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "set unlimited" msgid "set unlimited"
msgstr "" msgstr ""
@ -325,17 +325,17 @@ msgstr ""
msgid "tags" msgid "tags"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:120 #: lib/memex_web/live/invite_live/index.html.heex:114
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "users" msgid "users"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:120 #: lib/memex_web/live/home_live.html.heex:118
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "version:" msgid "version:"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:147 #: lib/memex_web/live/home_live.html.heex:145
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "view the source code" msgid "view the source code"
msgstr "" msgstr ""
@ -454,24 +454,20 @@ msgstr ""
#: lib/memex_web/components/topbar.ex:23 #: lib/memex_web/components/topbar.ex:23
#: lib/memex_web/live/home_live.html.heex:3 #: lib/memex_web/live/home_live.html.heex:3
#: lib/memex_web/templates/error/error.html.heex:8
#: lib/memex_web/templates/layout/root.html.heex:8 #: lib/memex_web/templates/layout/root.html.heex:8
#: lib/memex_web/templates/layout/root.html.heex:9 #: lib/memex_web/templates/layout/root.html.heex:9
#: lib/memex_web/views/layout_view.ex:11 #: lib/memex_web/views/layout_view.ex:15
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "memEx" msgid "memEx"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:41
#, elixir-autogen, elixir-format
msgid "read more on how to use %{name}"
msgstr ""
#: lib/memex_web/live/faq_live.html.heex:11 #: lib/memex_web/live/faq_live.html.heex:11
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "what is this?" msgid "what is this?"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:68 #: lib/memex_web/live/pipeline_live/show.html.heex:67
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "%{position}. %{title}" msgid "%{position}. %{title}"
msgstr "" msgstr ""
@ -496,12 +492,12 @@ msgstr ""
msgid "add step to %{slug}" msgid "add step to %{slug}"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:62 #: lib/memex_web/live/pipeline_live/show.html.heex:61
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "no steps" msgid "no steps"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:57 #: lib/memex_web/live/pipeline_live/show.html.heex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "steps:" msgid "steps:"
msgstr "" msgstr ""
@ -606,7 +602,7 @@ msgstr ""
msgid "zettelkasten" msgid "zettelkasten"
msgstr "" msgstr ""
#: lib/memex_web/views/layout_view.ex:10 #: lib/memex_web/views/layout_view.ex:11
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "memEx | %{title}" msgid "memEx | %{title}"
msgstr "" msgstr ""
@ -636,7 +632,7 @@ msgstr ""
msgid "while memEx fully supports multiple users, each memEx instance should be treated as a single cohesive and collaborative document." msgid "while memEx fully supports multiple users, each memEx instance should be treated as a single cohesive and collaborative document."
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:32 #: lib/memex_web/templates/user_registration/new.html.heex:30
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "language" msgid "language"
msgstr "" msgstr ""
@ -660,3 +656,8 @@ msgstr ""
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "uses left: unlimited" msgid "uses left: unlimited"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:41
#, elixir-autogen, elixir-format, fuzzy
msgid "read more on how to use memEx"
msgstr ""

View File

@ -25,9 +25,9 @@ msgstr ""
msgid "Invalid email or password" msgid "Invalid email or password"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:15 #: lib/memex_web/templates/user_registration/new.html.heex:14
#: lib/memex_web/templates/user_reset_password/edit.html.heex:15 #: lib/memex_web/templates/user_reset_password/edit.html.heex:14
#: lib/memex_web/templates/user_settings/edit.html.heex:64 #: lib/memex_web/templates/user_settings/edit.html.heex:67
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Oops, something went wrong! Please check the errors below." msgid "Oops, something went wrong! Please check the errors below."
msgstr "" msgstr ""
@ -95,8 +95,8 @@ msgstr ""
msgid "must have the @ sign and no spaces" msgid "must have the @ sign and no spaces"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:21 #: lib/memex_web/templates/user_settings/edit.html.heex:23
#: lib/memex_web/templates/user_settings/edit.html.heex:119 #: lib/memex_web/templates/user_settings/edit.html.heex:123
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "oops, something went wrong! Please check the errors below" msgid "oops, something went wrong! Please check the errors below"
msgstr "" msgstr ""

View File

@ -90,7 +90,7 @@ msgstr ""
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:30 #: lib/memex_web/live/invite_live/form_component.html.heex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Saving..." msgid "Saving..."
msgstr "" msgstr ""
@ -100,53 +100,48 @@ msgstr ""
msgid "Your account has been deleted" msgid "Your account has been deleted"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:133 #: lib/memex_web/templates/user_settings/edit.html.heex:136
#, 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?"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:102 #: lib/memex_web/live/invite_live/index.html.heex:97
#: lib/memex_web/live/invite_live/index.html.heex:132 #: lib/memex_web/live/invite_live/index.html.heex:125
#, 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/index.html.heex:48 #: lib/memex_web/live/invite_live/index.html.heex:47
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to delete the invite for %{invite_name}?" msgid "are you sure you want to delete the invite for %{invite_name}?"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:152 #: lib/memex_web/templates/user_settings/edit.html.heex:155
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to delete your account?" msgid "are you sure you want to delete your account?"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:92 #: lib/memex_web/components/topbar.ex:90
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to log out?" msgid "are you sure you want to log out?"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:74 #: lib/memex_web/live/invite_live/index.html.heex:72
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to make %{invite_name} unlimited?" msgid "are you sure you want to make %{invite_name} unlimited?"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:46 #: lib/memex_web/live/context_live/index.html.heex:45
#: lib/memex_web/live/context_live/show.html.heex:37 #: lib/memex_web/live/context_live/show.html.heex:38
#: lib/memex_web/live/note_live/index.html.heex:46 #: lib/memex_web/live/note_live/index.html.heex:45
#: lib/memex_web/live/note_live/show.html.heex:34 #: lib/memex_web/live/note_live/show.html.heex:38
#: lib/memex_web/live/pipeline_live/index.html.heex:46 #: lib/memex_web/live/pipeline_live/index.html.heex:45
#: lib/memex_web/live/pipeline_live/show.html.heex:46 #: lib/memex_web/live/pipeline_live/show.html.heex:46
#: lib/memex_web/live/pipeline_live/show.html.heex:116 #: lib/memex_web/live/pipeline_live/show.html.heex:115
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure?" msgid "are you sure?"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:95
#, elixir-autogen, elixir-format
msgid "register to setup %{name}"
msgstr ""
#: lib/memex_web/controllers/user_session_controller.ex:23 #: lib/memex_web/controllers/user_session_controller.ex:23
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "logged out successfully." msgid "logged out successfully."
@ -156,3 +151,8 @@ msgstr ""
#, elixir-autogen, elixir-format, fuzzy #, elixir-autogen, elixir-format, fuzzy
msgid "language updated successfully." msgid "language updated successfully."
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:95
#, elixir-autogen, elixir-format, fuzzy
msgid "register to setup memEx"
msgstr ""

View File

@ -10,7 +10,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:90 #: lib/memex_web/live/invite_live/index.html.heex:86
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Admins" msgid "Admins"
msgstr "" msgstr ""
@ -20,17 +20,17 @@ msgstr ""
msgid "Confirm your account" msgid "Confirm your account"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_session/new.html.heex:27 #: lib/memex_web/templates/user_session/new.html.heex:25
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Keep me logged in for 60 days" msgid "Keep me logged in for 60 days"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:20 #: lib/memex_web/live/invite_live/form_component.html.heex:21
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Name" msgid "Name"
msgstr "" msgstr ""
#: lib/memex_web/templates/layout/live.html.heex:40 #: lib/memex_web/templates/layout/live.html.heex:43
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Reconnecting..." msgid "Reconnecting..."
msgstr "" msgstr ""
@ -45,14 +45,14 @@ msgstr ""
msgid "Settings" msgid "Settings"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:24 #: lib/memex_web/live/invite_live/form_component.html.heex:25
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Uses left" msgid "Uses left"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/show.html.heex:17 #: lib/memex_web/live/context_live/show.html.heex:19
#: lib/memex_web/live/note_live/show.html.heex:17 #: lib/memex_web/live/note_live/show.html.heex:19
#: lib/memex_web/live/pipeline_live/show.html.heex:26 #: lib/memex_web/live/pipeline_live/show.html.heex:27
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Visibility: %{visibility}" msgid "Visibility: %{visibility}"
msgstr "" msgstr ""
@ -72,7 +72,7 @@ msgstr ""
msgid "built with sharing and collaboration in mind" msgid "built with sharing and collaboration in mind"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:78 #: lib/memex_web/templates/user_settings/edit.html.heex:80
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "confirm new password" msgid "confirm new password"
msgstr "" msgstr ""
@ -100,13 +100,13 @@ msgstr ""
msgid "convenient:" msgid "convenient:"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:32 #: lib/memex_web/templates/user_settings/edit.html.heex:33
#: lib/memex_web/templates/user_settings/edit.html.heex:87 #: lib/memex_web/templates/user_settings/edit.html.heex:89
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "current password" msgid "current password"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:59 #: lib/memex_web/live/invite_live/index.html.heex:62
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "disable" msgid "disable"
msgstr "" msgstr ""
@ -126,7 +126,7 @@ msgstr ""
msgid "edit invite" msgid "edit invite"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:28 #: lib/memex_web/templates/user_settings/edit.html.heex:29
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "email" msgid "email"
msgstr "" msgstr ""
@ -136,13 +136,13 @@ msgstr ""
msgid "email unconfirmed" msgid "email unconfirmed"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:63 #: lib/memex_web/live/invite_live/index.html.heex:62
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "enable" msgid "enable"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:36 #: lib/memex_web/templates/user_registration/new.html.heex:34
#: lib/memex_web/templates/user_settings/edit.html.heex:126 #: lib/memex_web/templates/user_settings/edit.html.heex:129
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "english" msgid "english"
msgstr "" msgstr ""
@ -152,12 +152,12 @@ msgstr ""
msgid "features" msgid "features"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:137 #: lib/memex_web/live/home_live.html.heex:135
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "get involved!" msgid "get involved!"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:158 #: lib/memex_web/live/home_live.html.heex:156
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "help translate" msgid "help translate"
msgstr "" msgstr ""
@ -172,12 +172,12 @@ msgstr ""
msgid "invite disabled" msgid "invite disabled"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:114 #: lib/memex_web/live/home_live.html.heex:112
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "invite only" msgid "invite only"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:74 #: lib/memex_web/components/topbar.ex:73
#: lib/memex_web/live/invite_live/index.ex:41 #: lib/memex_web/live/invite_live/index.ex:41
#: lib/memex_web/live/invite_live/index.html.heex:3 #: lib/memex_web/live/invite_live/index.html.heex:3
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
@ -199,7 +199,7 @@ msgstr ""
msgid "new invite" msgid "new invite"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:71 #: lib/memex_web/templates/user_settings/edit.html.heex:73
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "new password" msgid "new password"
msgstr "" msgstr ""
@ -255,7 +255,7 @@ msgstr ""
msgid "provide context around a single topic and hotlink to your notes" msgid "provide context around a single topic and hotlink to your notes"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:113 #: lib/memex_web/live/home_live.html.heex:111
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "public signups" msgid "public signups"
msgstr "" msgstr ""
@ -265,12 +265,12 @@ msgstr ""
msgid "register" msgid "register"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:110 #: lib/memex_web/live/home_live.html.heex:108
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "registration:" msgid "registration:"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:169 #: lib/memex_web/live/home_live.html.heex:167
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "report bugs or request features" msgid "report bugs or request features"
msgstr "" msgstr ""
@ -290,7 +290,7 @@ msgstr ""
msgid "select privacy" msgid "select privacy"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:79 #: lib/memex_web/live/invite_live/index.html.heex:77
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "set unlimited" msgid "set unlimited"
msgstr "" msgstr ""
@ -314,17 +314,17 @@ msgstr ""
msgid "tags" msgid "tags"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:120 #: lib/memex_web/live/invite_live/index.html.heex:114
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "users" msgid "users"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:120 #: lib/memex_web/live/home_live.html.heex:118
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "version:" msgid "version:"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:147 #: lib/memex_web/live/home_live.html.heex:145
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "view the source code" msgid "view the source code"
msgstr "" msgstr ""
@ -443,24 +443,20 @@ msgstr ""
#: lib/memex_web/components/topbar.ex:23 #: lib/memex_web/components/topbar.ex:23
#: lib/memex_web/live/home_live.html.heex:3 #: lib/memex_web/live/home_live.html.heex:3
#: lib/memex_web/templates/error/error.html.heex:8
#: lib/memex_web/templates/layout/root.html.heex:8 #: lib/memex_web/templates/layout/root.html.heex:8
#: lib/memex_web/templates/layout/root.html.heex:9 #: lib/memex_web/templates/layout/root.html.heex:9
#: lib/memex_web/views/layout_view.ex:11 #: lib/memex_web/views/layout_view.ex:15
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "memEx" msgid "memEx"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:41
#, elixir-autogen, elixir-format
msgid "read more on how to use %{name}"
msgstr ""
#: lib/memex_web/live/faq_live.html.heex:11 #: lib/memex_web/live/faq_live.html.heex:11
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "what is this?" msgid "what is this?"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:68 #: lib/memex_web/live/pipeline_live/show.html.heex:67
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "%{position}. %{title}" msgid "%{position}. %{title}"
msgstr "" msgstr ""
@ -485,12 +481,12 @@ msgstr ""
msgid "add step to %{slug}" msgid "add step to %{slug}"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:62 #: lib/memex_web/live/pipeline_live/show.html.heex:61
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "no steps" msgid "no steps"
msgstr "" msgstr ""
#: lib/memex_web/live/pipeline_live/show.html.heex:57 #: lib/memex_web/live/pipeline_live/show.html.heex:56
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "steps:" msgid "steps:"
msgstr "" msgstr ""
@ -595,7 +591,7 @@ msgstr ""
msgid "zettelkasten" msgid "zettelkasten"
msgstr "" msgstr ""
#: lib/memex_web/views/layout_view.ex:10 #: lib/memex_web/views/layout_view.ex:11
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "memEx | %{title}" msgid "memEx | %{title}"
msgstr "" msgstr ""
@ -625,7 +621,7 @@ msgstr ""
msgid "while memEx fully supports multiple users, each memEx instance should be treated as a single cohesive and collaborative document." msgid "while memEx fully supports multiple users, each memEx instance should be treated as a single cohesive and collaborative document."
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:32 #: lib/memex_web/templates/user_registration/new.html.heex:30
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "language" msgid "language"
msgstr "" msgstr ""
@ -649,3 +645,8 @@ msgstr ""
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "uses left: unlimited" msgid "uses left: unlimited"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:41
#, elixir-autogen, elixir-format
msgid "read more on how to use memEx"
msgstr ""

View File

@ -25,9 +25,9 @@ msgstr ""
msgid "Invalid email or password" msgid "Invalid email or password"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_registration/new.html.heex:15 #: lib/memex_web/templates/user_registration/new.html.heex:14
#: lib/memex_web/templates/user_reset_password/edit.html.heex:15 #: lib/memex_web/templates/user_reset_password/edit.html.heex:14
#: lib/memex_web/templates/user_settings/edit.html.heex:64 #: lib/memex_web/templates/user_settings/edit.html.heex:67
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Oops, something went wrong! Please check the errors below." msgid "Oops, something went wrong! Please check the errors below."
msgstr "" msgstr ""
@ -95,8 +95,8 @@ msgstr ""
msgid "must have the @ sign and no spaces" msgid "must have the @ sign and no spaces"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:21 #: lib/memex_web/templates/user_settings/edit.html.heex:23
#: lib/memex_web/templates/user_settings/edit.html.heex:119 #: lib/memex_web/templates/user_settings/edit.html.heex:123
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "oops, something went wrong! Please check the errors below" msgid "oops, something went wrong! Please check the errors below"
msgstr "" msgstr ""

View File

@ -90,7 +90,7 @@ msgstr ""
msgid "Please check your email to verify your account" msgid "Please check your email to verify your account"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/form_component.html.heex:30 #: lib/memex_web/live/invite_live/form_component.html.heex:31
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "Saving..." msgid "Saving..."
msgstr "" msgstr ""
@ -100,53 +100,48 @@ msgstr ""
msgid "Your account has been deleted" msgid "Your account has been deleted"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:133 #: lib/memex_web/templates/user_settings/edit.html.heex:136
#, 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?"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:102 #: lib/memex_web/live/invite_live/index.html.heex:97
#: lib/memex_web/live/invite_live/index.html.heex:132 #: lib/memex_web/live/invite_live/index.html.heex:125
#, 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/index.html.heex:48 #: lib/memex_web/live/invite_live/index.html.heex:47
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to delete the invite for %{invite_name}?" msgid "are you sure you want to delete the invite for %{invite_name}?"
msgstr "" msgstr ""
#: lib/memex_web/templates/user_settings/edit.html.heex:152 #: lib/memex_web/templates/user_settings/edit.html.heex:155
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to delete your account?" msgid "are you sure you want to delete your account?"
msgstr "" msgstr ""
#: lib/memex_web/components/topbar.ex:92 #: lib/memex_web/components/topbar.ex:90
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to log out?" msgid "are you sure you want to log out?"
msgstr "" msgstr ""
#: lib/memex_web/live/invite_live/index.html.heex:74 #: lib/memex_web/live/invite_live/index.html.heex:72
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure you want to make %{invite_name} unlimited?" msgid "are you sure you want to make %{invite_name} unlimited?"
msgstr "" msgstr ""
#: lib/memex_web/live/context_live/index.html.heex:46 #: lib/memex_web/live/context_live/index.html.heex:45
#: lib/memex_web/live/context_live/show.html.heex:37 #: lib/memex_web/live/context_live/show.html.heex:38
#: lib/memex_web/live/note_live/index.html.heex:46 #: lib/memex_web/live/note_live/index.html.heex:45
#: lib/memex_web/live/note_live/show.html.heex:34 #: lib/memex_web/live/note_live/show.html.heex:38
#: lib/memex_web/live/pipeline_live/index.html.heex:46 #: lib/memex_web/live/pipeline_live/index.html.heex:45
#: lib/memex_web/live/pipeline_live/show.html.heex:46 #: lib/memex_web/live/pipeline_live/show.html.heex:46
#: lib/memex_web/live/pipeline_live/show.html.heex:116 #: lib/memex_web/live/pipeline_live/show.html.heex:115
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "are you sure?" msgid "are you sure?"
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:95
#, elixir-autogen, elixir-format
msgid "register to setup %{name}"
msgstr ""
#: lib/memex_web/controllers/user_session_controller.ex:23 #: lib/memex_web/controllers/user_session_controller.ex:23
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "logged out successfully." msgid "logged out successfully."
@ -156,3 +151,8 @@ msgstr ""
#, elixir-autogen, elixir-format #, elixir-autogen, elixir-format
msgid "language updated successfully." msgid "language updated successfully."
msgstr "" msgstr ""
#: lib/memex_web/live/home_live.html.heex:95
#, elixir-autogen, elixir-format
msgid "register to setup memEx"
msgstr ""