forked from shibao/cannery
remove unnecessary auth check on invite page
This commit is contained in:
parent
440dc5061b
commit
daab051026
@ -6,21 +6,11 @@ defmodule CanneryWeb.InviteLive.Index do
|
|||||||
use CanneryWeb, :live_view
|
use CanneryWeb, :live_view
|
||||||
alias Cannery.Accounts
|
alias Cannery.Accounts
|
||||||
alias Cannery.Accounts.{Invite, Invites}
|
alias Cannery.Accounts.{Invite, Invites}
|
||||||
alias CanneryWeb.HomeLive
|
|
||||||
alias Phoenix.LiveView.JS
|
alias Phoenix.LiveView.JS
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def mount(_params, _session, %{assigns: %{current_user: current_user}} = socket) do
|
def mount(_params, _session, socket) do
|
||||||
socket =
|
{:ok, socket |> display_invites()}
|
||||||
if current_user |> Map.get(:role) == :admin do
|
|
||||||
socket |> display_invites()
|
|
||||||
else
|
|
||||||
prompt = dgettext("errors", "You are not authorized to view this page")
|
|
||||||
return_to = Routes.live_path(Endpoint, HomeLive)
|
|
||||||
socket |> put_flash(:error, prompt) |> push_redirect(to: return_to)
|
|
||||||
end
|
|
||||||
|
|
||||||
{:ok, socket}
|
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
|
@ -141,7 +141,7 @@ msgstr "Beschreibung:"
|
|||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
msgstr "Einfache Anwendung:"
|
msgstr "Einfache Anwendung:"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:33
|
#: lib/cannery_web/live/invite_live/index.ex:23
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit Invite"
|
msgid "Edit Invite"
|
||||||
msgstr "Einladung bearbeiten"
|
msgstr "Einladung bearbeiten"
|
||||||
@ -189,7 +189,7 @@ msgid "Invite Only"
|
|||||||
msgstr "Nur mit Einladung"
|
msgstr "Nur mit Einladung"
|
||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:41
|
#: lib/cannery_web/live/invite_live/index.ex:31
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invites"
|
msgid "Invites"
|
||||||
@ -256,7 +256,7 @@ msgstr "Neuer Munitionstyp"
|
|||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr "Neuer Behälter"
|
msgstr "Neuer Behälter"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:37
|
#: lib/cannery_web/live/invite_live/index.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Invite"
|
msgid "New Invite"
|
||||||
msgstr "Neue Einladung"
|
msgstr "Neue Einladung"
|
||||||
|
@ -112,11 +112,6 @@ msgstr "Unbefugt"
|
|||||||
msgid "User confirmation link is invalid or it has expired."
|
msgid "User confirmation link is invalid or it has expired."
|
||||||
msgstr "Nutzerkonto Bestätigungslink ist ungültig oder abgelaufen."
|
msgstr "Nutzerkonto Bestätigungslink ist ungültig oder abgelaufen."
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:18
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "You are not authorized to view this page"
|
|
||||||
msgstr "Sie sind nicht berechtigt, diese Seite aufzurufen"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_auth.ex:177
|
#: lib/cannery_web/controllers/user_auth.ex:177
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
|
@ -203,7 +203,7 @@ msgstr "%{email} erfolgreich bestätigt."
|
|||||||
msgid "Ammo moved to %{name} successfully"
|
msgid "Ammo moved to %{name} successfully"
|
||||||
msgstr "Munition erfolgreich zu %{name} verschoben"
|
msgstr "Munition erfolgreich zu %{name} verschoben"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:126
|
#: lib/cannery_web/live/invite_live/index.ex:116
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Copied to clipboard"
|
msgid "Copied to clipboard"
|
||||||
msgstr "Der Zwischenablage hinzugefügt"
|
msgstr "Der Zwischenablage hinzugefügt"
|
||||||
@ -268,27 +268,27 @@ msgstr "Sind Sie sicher, dass sie %{name} löschen möchten?"
|
|||||||
msgid "Register to setup Cannery"
|
msgid "Register to setup Cannery"
|
||||||
msgstr "Registrieren Sie sich, um %{name} zu bearbeiten"
|
msgstr "Registrieren Sie sich, um %{name} zu bearbeiten"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} deleted succesfully"
|
msgid "%{invite_name} deleted succesfully"
|
||||||
msgstr "%{name} erfolgreich gelöscht"
|
msgstr "%{name} erfolgreich gelöscht"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:114
|
#: lib/cannery_web/live/invite_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} disabled succesfully"
|
msgid "%{invite_name} disabled succesfully"
|
||||||
msgstr "%{name} erfolgreich deaktiviert"
|
msgstr "%{name} erfolgreich deaktiviert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:90
|
#: lib/cannery_web/live/invite_live/index.ex:80
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} enabled succesfully"
|
msgid "%{invite_name} enabled succesfully"
|
||||||
msgstr "%{name} erfolgreich aktiviert"
|
msgstr "%{name} erfolgreich aktiviert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:68
|
#: lib/cannery_web/live/invite_live/index.ex:58
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr "%{name} erfolgreich aktualisiert"
|
msgstr "%{name} erfolgreich aktualisiert"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:135
|
#: lib/cannery_web/live/invite_live/index.ex:125
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr "%{name} erfolgreich gelöscht"
|
msgstr "%{name} erfolgreich gelöscht"
|
||||||
|
@ -137,7 +137,7 @@ msgstr ""
|
|||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:33
|
#: lib/cannery_web/live/invite_live/index.ex:23
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit Invite"
|
msgid "Edit Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -185,7 +185,7 @@ msgid "Invite Only"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:41
|
#: lib/cannery_web/live/invite_live/index.ex:31
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invites"
|
msgid "Invites"
|
||||||
@ -252,7 +252,7 @@ msgstr ""
|
|||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:37
|
#: lib/cannery_web/live/invite_live/index.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Invite"
|
msgid "New Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -137,7 +137,7 @@ msgstr ""
|
|||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:33
|
#: lib/cannery_web/live/invite_live/index.ex:23
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit Invite"
|
msgid "Edit Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -185,7 +185,7 @@ msgid "Invite Only"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:41
|
#: lib/cannery_web/live/invite_live/index.ex:31
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invites"
|
msgid "Invites"
|
||||||
@ -252,7 +252,7 @@ msgstr ""
|
|||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:37
|
#: lib/cannery_web/live/invite_live/index.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Invite"
|
msgid "New Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -98,11 +98,6 @@ msgstr ""
|
|||||||
msgid "User confirmation link is invalid or it has expired."
|
msgid "User confirmation link is invalid or it has expired."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:18
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "You are not authorized to view this page"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_auth.ex:177
|
#: lib/cannery_web/controllers/user_auth.ex:177
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
|
@ -182,7 +182,7 @@ msgstr ""
|
|||||||
msgid "Ammo moved to %{name} successfully"
|
msgid "Ammo moved to %{name} successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:126
|
#: lib/cannery_web/live/invite_live/index.ex:116
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Copied to clipboard"
|
msgid "Copied to clipboard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -247,27 +247,27 @@ msgstr ""
|
|||||||
msgid "Register to setup Cannery"
|
msgid "Register to setup Cannery"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} deleted succesfully"
|
msgid "%{invite_name} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:114
|
#: lib/cannery_web/live/invite_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} disabled succesfully"
|
msgid "%{invite_name} disabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:90
|
#: lib/cannery_web/live/invite_live/index.ex:80
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} enabled succesfully"
|
msgid "%{invite_name} enabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:68
|
#: lib/cannery_web/live/invite_live/index.ex:58
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:135
|
#: lib/cannery_web/live/invite_live/index.ex:125
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -98,11 +98,6 @@ msgstr ""
|
|||||||
msgid "User confirmation link is invalid or it has expired."
|
msgid "User confirmation link is invalid or it has expired."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:18
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "You are not authorized to view this page"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_auth.ex:177
|
#: lib/cannery_web/controllers/user_auth.ex:177
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
|
@ -141,7 +141,7 @@ msgstr "Descripción:"
|
|||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
msgstr "Facil de Usar:"
|
msgstr "Facil de Usar:"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:33
|
#: lib/cannery_web/live/invite_live/index.ex:23
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit Invite"
|
msgid "Edit Invite"
|
||||||
msgstr "Editar Invitación"
|
msgstr "Editar Invitación"
|
||||||
@ -189,7 +189,7 @@ msgid "Invite Only"
|
|||||||
msgstr "Solo Invitación"
|
msgstr "Solo Invitación"
|
||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:41
|
#: lib/cannery_web/live/invite_live/index.ex:31
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invites"
|
msgid "Invites"
|
||||||
@ -256,7 +256,7 @@ msgstr "Nuevo tipo de Munición"
|
|||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr "Nuevo Contenedor"
|
msgstr "Nuevo Contenedor"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:37
|
#: lib/cannery_web/live/invite_live/index.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Invite"
|
msgid "New Invite"
|
||||||
msgstr "Nueva Invitación"
|
msgstr "Nueva Invitación"
|
||||||
|
@ -114,11 +114,6 @@ msgstr "No autorizado"
|
|||||||
msgid "User confirmation link is invalid or it has expired."
|
msgid "User confirmation link is invalid or it has expired."
|
||||||
msgstr "El enlace de confirmación de usuario no es válido o ha caducado."
|
msgstr "El enlace de confirmación de usuario no es válido o ha caducado."
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:18
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "You are not authorized to view this page"
|
|
||||||
msgstr "No está autorizado a ver esta página"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_auth.ex:177
|
#: lib/cannery_web/controllers/user_auth.ex:177
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
|
@ -202,7 +202,7 @@ msgstr "%{email} confirmado exitosamente."
|
|||||||
msgid "Ammo moved to %{name} successfully"
|
msgid "Ammo moved to %{name} successfully"
|
||||||
msgstr "Munición movida a %{name} exitosamente"
|
msgstr "Munición movida a %{name} exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:126
|
#: lib/cannery_web/live/invite_live/index.ex:116
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Copied to clipboard"
|
msgid "Copied to clipboard"
|
||||||
msgstr "Copiado al portapapeles"
|
msgstr "Copiado al portapapeles"
|
||||||
@ -269,27 +269,27 @@ msgstr ""
|
|||||||
msgid "Register to setup Cannery"
|
msgid "Register to setup Cannery"
|
||||||
msgstr "Regístrese para configurar %{name}"
|
msgstr "Regístrese para configurar %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} deleted succesfully"
|
msgid "%{invite_name} deleted succesfully"
|
||||||
msgstr "%{name} borrado exitosamente"
|
msgstr "%{name} borrado exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:114
|
#: lib/cannery_web/live/invite_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} disabled succesfully"
|
msgid "%{invite_name} disabled succesfully"
|
||||||
msgstr "%{name} desactivado exitosamente"
|
msgstr "%{name} desactivado exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:90
|
#: lib/cannery_web/live/invite_live/index.ex:80
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} enabled succesfully"
|
msgid "%{invite_name} enabled succesfully"
|
||||||
msgstr "%{name} activado exitosamente"
|
msgstr "%{name} activado exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:68
|
#: lib/cannery_web/live/invite_live/index.ex:58
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr "%{name} actualizado exitosamente"
|
msgstr "%{name} actualizado exitosamente"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:135
|
#: lib/cannery_web/live/invite_live/index.ex:125
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr "%{name} borrado exitosamente"
|
msgstr "%{name} borrado exitosamente"
|
||||||
|
@ -141,7 +141,7 @@ msgstr "Description :"
|
|||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
msgstr "Simple à utiliser :"
|
msgstr "Simple à utiliser :"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:33
|
#: lib/cannery_web/live/invite_live/index.ex:23
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit Invite"
|
msgid "Edit Invite"
|
||||||
msgstr "Modifier l’invitation"
|
msgstr "Modifier l’invitation"
|
||||||
@ -189,7 +189,7 @@ msgid "Invite Only"
|
|||||||
msgstr "Uniquement sur invitation"
|
msgstr "Uniquement sur invitation"
|
||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:41
|
#: lib/cannery_web/live/invite_live/index.ex:31
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invites"
|
msgid "Invites"
|
||||||
@ -256,7 +256,7 @@ msgstr "Nouveau type de munition"
|
|||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr "Nouveau conteneur"
|
msgstr "Nouveau conteneur"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:37
|
#: lib/cannery_web/live/invite_live/index.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Invite"
|
msgid "New Invite"
|
||||||
msgstr "Nouvelle invitation"
|
msgstr "Nouvelle invitation"
|
||||||
|
@ -113,11 +113,6 @@ msgstr "Non autorisé·e"
|
|||||||
msgid "User confirmation link is invalid or it has expired."
|
msgid "User confirmation link is invalid or it has expired."
|
||||||
msgstr "Le lien de confirmation d’utilisateur·ice est invalide ou a expiré."
|
msgstr "Le lien de confirmation d’utilisateur·ice est invalide ou a expiré."
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:18
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "You are not authorized to view this page"
|
|
||||||
msgstr "Vous n’êtes pas autorisé·e à voir cette page"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_auth.ex:177
|
#: lib/cannery_web/controllers/user_auth.ex:177
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
|
@ -204,7 +204,7 @@ msgstr "%{email} confirmé avec succès."
|
|||||||
msgid "Ammo moved to %{name} successfully"
|
msgid "Ammo moved to %{name} successfully"
|
||||||
msgstr "Munition déplacée à %{name} avec succès"
|
msgstr "Munition déplacée à %{name} avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:126
|
#: lib/cannery_web/live/invite_live/index.ex:116
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Copied to clipboard"
|
msgid "Copied to clipboard"
|
||||||
msgstr "Copié dans le presse-papier"
|
msgstr "Copié dans le presse-papier"
|
||||||
@ -269,27 +269,27 @@ msgstr "Êtes-vous certain·e de supprimer %{name} ?"
|
|||||||
msgid "Register to setup Cannery"
|
msgid "Register to setup Cannery"
|
||||||
msgstr "S’enregistrer pour mettre en place %{name}"
|
msgstr "S’enregistrer pour mettre en place %{name}"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} deleted succesfully"
|
msgid "%{invite_name} deleted succesfully"
|
||||||
msgstr "%{name} supprimé· avec succès"
|
msgstr "%{name} supprimé· avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:114
|
#: lib/cannery_web/live/invite_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} disabled succesfully"
|
msgid "%{invite_name} disabled succesfully"
|
||||||
msgstr "%{name} supprimé·e avec succès"
|
msgstr "%{name} supprimé·e avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:90
|
#: lib/cannery_web/live/invite_live/index.ex:80
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} enabled succesfully"
|
msgid "%{invite_name} enabled succesfully"
|
||||||
msgstr "%{name} activé·e avec succès"
|
msgstr "%{name} activé·e avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:68
|
#: lib/cannery_web/live/invite_live/index.ex:58
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr "%{name} mis à jour avec succès"
|
msgstr "%{name} mis à jour avec succès"
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:135
|
#: lib/cannery_web/live/invite_live/index.ex:125
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr "%{name} supprimé· avec succès"
|
msgstr "%{name} supprimé· avec succès"
|
||||||
|
@ -139,7 +139,7 @@ msgstr ""
|
|||||||
msgid "Easy to Use:"
|
msgid "Easy to Use:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:33
|
#: lib/cannery_web/live/invite_live/index.ex:23
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Edit Invite"
|
msgid "Edit Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -187,7 +187,7 @@ msgid "Invite Only"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
#: lib/cannery_web/components/core_components/topbar.html.heex:74
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:41
|
#: lib/cannery_web/live/invite_live/index.ex:31
|
||||||
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
#: lib/cannery_web/live/invite_live/index.html.heex:3
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Invites"
|
msgid "Invites"
|
||||||
@ -254,7 +254,7 @@ msgstr ""
|
|||||||
msgid "New Container"
|
msgid "New Container"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:37
|
#: lib/cannery_web/live/invite_live/index.ex:27
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "New Invite"
|
msgid "New Invite"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -114,11 +114,6 @@ msgstr "Níl cead agaibh"
|
|||||||
msgid "User confirmation link is invalid or it has expired."
|
msgid "User confirmation link is invalid or it has expired."
|
||||||
msgstr "Tá nasc an úsáideoir a deimhnigh neamhbailí nó as dáta."
|
msgstr "Tá nasc an úsáideoir a deimhnigh neamhbailí nó as dáta."
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:18
|
|
||||||
#, elixir-autogen, elixir-format
|
|
||||||
msgid "You are not authorized to view this page"
|
|
||||||
msgstr "Níl cead agaibh féachaint ar an leathanach seo"
|
|
||||||
|
|
||||||
#: lib/cannery_web/controllers/user_auth.ex:177
|
#: lib/cannery_web/controllers/user_auth.ex:177
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "You are not authorized to view this page."
|
msgid "You are not authorized to view this page."
|
||||||
|
@ -193,7 +193,7 @@ msgstr ""
|
|||||||
msgid "Ammo moved to %{name} successfully"
|
msgid "Ammo moved to %{name} successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:126
|
#: lib/cannery_web/live/invite_live/index.ex:116
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Copied to clipboard"
|
msgid "Copied to clipboard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -261,27 +261,27 @@ msgstr ""
|
|||||||
msgid "Register to setup Cannery"
|
msgid "Register to setup Cannery"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} deleted succesfully"
|
msgid "%{invite_name} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:114
|
#: lib/cannery_web/live/invite_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} disabled succesfully"
|
msgid "%{invite_name} disabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:90
|
#: lib/cannery_web/live/invite_live/index.ex:80
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} enabled succesfully"
|
msgid "%{invite_name} enabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:68
|
#: lib/cannery_web/live/invite_live/index.ex:58
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:135
|
#: lib/cannery_web/live/invite_live/index.ex:125
|
||||||
#, elixir-autogen, elixir-format, fuzzy
|
#, elixir-autogen, elixir-format, fuzzy
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -182,7 +182,7 @@ msgstr ""
|
|||||||
msgid "Ammo moved to %{name} successfully"
|
msgid "Ammo moved to %{name} successfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:126
|
#: lib/cannery_web/live/invite_live/index.ex:116
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "Copied to clipboard"
|
msgid "Copied to clipboard"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -247,27 +247,27 @@ msgstr ""
|
|||||||
msgid "Register to setup Cannery"
|
msgid "Register to setup Cannery"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:53
|
#: lib/cannery_web/live/invite_live/index.ex:43
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{invite_name} deleted succesfully"
|
msgid "%{invite_name} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:114
|
#: lib/cannery_web/live/invite_live/index.ex:104
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{invite_name} disabled succesfully"
|
msgid "%{invite_name} disabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:90
|
#: lib/cannery_web/live/invite_live/index.ex:80
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{invite_name} enabled succesfully"
|
msgid "%{invite_name} enabled succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:68
|
#: lib/cannery_web/live/invite_live/index.ex:58
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{invite_name} updated succesfully"
|
msgid "%{invite_name} updated succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/cannery_web/live/invite_live/index.ex:135
|
#: lib/cannery_web/live/invite_live/index.ex:125
|
||||||
#, elixir-autogen, elixir-format
|
#, elixir-autogen, elixir-format
|
||||||
msgid "%{user_email} deleted succesfully"
|
msgid "%{user_email} deleted succesfully"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
Loading…
Reference in New Issue
Block a user