Fix invitations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-10-02 16:19:15 +02:00
parent 4896036cd1
commit afb7d75307
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
22 changed files with 298 additions and 100 deletions

View File

@ -14,7 +14,6 @@ import { ACCEPT_INVITATION, REJECT_INVITATION } from "@/graphql/member";
import { IMember } from "@/types/actor"; import { IMember } from "@/types/actor";
import { Component, Prop, Vue } from "vue-property-decorator"; import { Component, Prop, Vue } from "vue-property-decorator";
import InvitationCard from "@/components/Group/InvitationCard.vue"; import InvitationCard from "@/components/Group/InvitationCard.vue";
import { SnackbarProgrammatic as Snackbar } from "buefy";
@Component({ @Component({
components: { components: {
@ -33,10 +32,13 @@ export default class Invitations extends Vue {
}, },
}); });
if (data) { if (data) {
this.$emit("acceptInvitation", data.acceptInvitation); this.$emit("accept-invitation", data.acceptInvitation);
}
} catch (error) {
console.error(error);
if (error.graphQLErrors && error.graphQLErrors.length > 0) {
this.$notifier.error(error.graphQLErrors[0].message);
} }
} catch (e) {
Snackbar.open({ message: e.message, type: "is-danger", position: "is-bottom" });
} }
} }
@ -49,10 +51,13 @@ export default class Invitations extends Vue {
}, },
}); });
if (data) { if (data) {
this.$emit("rejectInvitation", data.rejectInvitation); this.$emit("reject-invitation", data.rejectInvitation);
}
} catch (error) {
console.error(error);
if (error.graphQLErrors && error.graphQLErrors.length > 0) {
this.$notifier.error(error.graphQLErrors[0].message);
} }
} catch (e) {
Snackbar.open({ message: e.message, type: "is-danger", position: "is-bottom" });
} }
} }
} }

View File

@ -16,8 +16,8 @@
<b-loading :active.sync="$apollo.loading"></b-loading> <b-loading :active.sync="$apollo.loading"></b-loading>
<invitations <invitations
:invitations="invitations" :invitations="invitations"
@acceptInvitation="acceptInvitation" @accept-invitation="acceptInvitation"
@rejectInvitation="rejectInvitation" @reject-invitation="rejectInvitation"
/> />
<section v-if="memberships && memberships.length > 0"> <section v-if="memberships && memberships.length > 0">
<GroupMemberCard <GroupMemberCard
@ -43,7 +43,6 @@ import Invitations from "@/components/Group/Invitations.vue";
import { Paginate } from "@/types/paginate"; import { Paginate } from "@/types/paginate";
import { IGroup, IMember, MemberRole, usernameWithDomain } from "@/types/actor"; import { IGroup, IMember, MemberRole, usernameWithDomain } from "@/types/actor";
import { Route } from "vue-router"; import { Route } from "vue-router";
import { ApolloError } from "apollo-client";
import RouteName from "../../router/name"; import RouteName from "../../router/name";
@Component({ @Component({

View File

@ -107,6 +107,9 @@ defmodule Mobilizon.GraphQL.Resolvers.Member do
# Launch an async task to refresh the group profile, fetch resources, discussions, members # Launch an async task to refresh the group profile, fetch resources, discussions, members
Refresher.fetch_group(member.parent.url, actor) Refresher.fetch_group(member.parent.url, actor)
{:ok, member} {:ok, member}
else
{:is_same_actor, false} ->
{:error, dgettext("errors", "You can't accept this invitation with this profile.")}
end end
end end
@ -121,6 +124,9 @@ defmodule Mobilizon.GraphQL.Resolvers.Member do
true true
) do ) do
{:ok, member} {:ok, member}
else
{:is_same_actor, false} ->
{:error, dgettext("errors", "You can't reject this invitation with this profile.")}
end end
end end

View File

@ -598,7 +598,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -634,7 +634,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -828,7 +828,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -843,12 +843,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -572,7 +572,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -608,7 +608,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -802,7 +802,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -817,12 +817,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -566,7 +566,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -796,7 +796,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -811,12 +811,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -572,7 +572,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -608,7 +608,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -802,7 +802,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -817,12 +817,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -566,7 +566,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -796,7 +796,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -811,12 +811,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -576,7 +576,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -612,7 +612,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -806,7 +806,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -821,12 +821,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -573,7 +573,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -827,3 +827,13 @@ msgstr ""
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -579,7 +579,7 @@ msgid "You are not a member of this group"
msgstr "no eres un miembro de este grupo" msgstr "no eres un miembro de este grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "No eres moderador ni administrador de este grupo" msgstr "No eres moderador ni administrador de este grupo"
@ -617,7 +617,7 @@ msgstr ""
"evento" "evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
"No puede establecerse en un rol de miembro inferior para este grupo porque " "No puede establecerse en un rol de miembro inferior para este grupo porque "
@ -824,7 +824,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "Informe no encontrado" msgstr "Informe no encontrado"
@ -839,12 +839,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "No tienes permiso para eliminar este token" msgstr "No tienes permiso para eliminar este token"
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "Debes iniciar sesión para eliminar su cuenta" msgstr "Debes iniciar sesión para eliminar su cuenta"
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -573,7 +573,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -803,7 +803,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -818,12 +818,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -8,7 +8,7 @@
# # to merge POT files into PO files. # # to merge POT files into PO files.
msgid "" msgid ""
msgstr "" msgstr ""
"PO-Revision-Date: 2020-10-02 09:46+0200\n" "PO-Revision-Date: 2020-10-02 11:16+0200\n"
"Last-Translator: Thomas Citharel <thomas.citharel@framasoft.org>\n" "Last-Translator: Thomas Citharel <thomas.citharel@framasoft.org>\n"
"Language-Team: French <https://weblate.framasoft.org/projects/mobilizon/backend-errors/fr/>\n" "Language-Team: French <https://weblate.framasoft.org/projects/mobilizon/backend-errors/fr/>\n"
"Language: fr\n" "Language: fr\n"
@ -477,7 +477,7 @@ msgstr "Vous n'êtes pas un membre du groupe dans lequel se fait la discussion"
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "Vous êtes déjà membre de ce groupe" msgstr "Vous êtes déjà membre de ce groupe"
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "Vous n'êtes pas administrateur·ice ou modérateur·ice de ce groupe" msgstr "Vous n'êtes pas administrateur·ice ou modérateur·ice de ce groupe"
@ -505,7 +505,7 @@ msgstr "Vous n'êtes pas autorisé·e à mettre à jour un commentaire si non co
msgid "You can't leave event because you're the only event creator participant" msgid "You can't leave event because you're the only event creator participant"
msgstr "Vous ne pouvez pas quitter cet événement car vous en êtes le ou la seule créateur·ice participant" msgstr "Vous ne pouvez pas quitter cet événement car vous en êtes le ou la seule créateur·ice participant"
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
"Vous ne pouvez pas vous définir avec un rôle de membre inférieur pour ce groupe car vous en êtes le ou la seul·e " "Vous ne pouvez pas vous définir avec un rôle de membre inférieur pour ce groupe car vous en êtes le ou la seul·e "
@ -682,3 +682,11 @@ msgstr "Vous n'avez pas la permission de faire ceci"
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "Vous devez être connecté·e" msgstr "Vous devez être connecté·e"
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr "Vous ne pouvez pas accepter cette invitation avec ce profil."
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr "Vous ne pouvez pas rejeter cette invitation avec ce profil."

View File

@ -573,7 +573,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -803,7 +803,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "Segnalazione non trovata" msgstr "Segnalazione non trovata"
@ -818,12 +818,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -560,7 +560,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -596,7 +596,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -790,7 +790,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -805,12 +805,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -566,7 +566,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -796,7 +796,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -811,12 +811,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -573,7 +573,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -803,7 +803,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -818,12 +818,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -580,7 +580,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -616,7 +616,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -810,7 +810,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -825,12 +825,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -566,7 +566,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -796,7 +796,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -811,12 +811,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -566,7 +566,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -796,7 +796,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -811,12 +811,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -572,7 +572,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -608,7 +608,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -802,7 +802,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -817,12 +817,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""

View File

@ -573,7 +573,7 @@ msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:143
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:141 #: lib/graphql/resolvers/member.ex:147
msgid "You can't set yourself to a lower member role for this group because you are the only administrator" msgid "You can't set yourself to a lower member role for this group because you are the only administrator"
msgstr "" msgstr ""
@ -803,7 +803,7 @@ msgstr ""
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:86 #: lib/graphql/error.ex:86
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
@ -818,12 +818,22 @@ msgstr ""
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:84 #: lib/graphql/error.ex:84
msgid "You don't have permission to do this" msgid "You don't have permission to do this"
msgstr "" msgstr ""
#, elixir-format, fuzzy #, elixir-format
#: lib/graphql/error.ex:76 #: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:112
msgid "You can't accept this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:129
msgid "You can't reject this invitation with this profile."
msgstr ""