diff --git a/js/src/components/Group/Invitations.vue b/js/src/components/Group/Invitations.vue index 09259685..f11916ec 100644 --- a/js/src/components/Group/Invitations.vue +++ b/js/src/components/Group/Invitations.vue @@ -14,7 +14,6 @@ import { ACCEPT_INVITATION, REJECT_INVITATION } from "@/graphql/member"; import { IMember } from "@/types/actor"; import { Component, Prop, Vue } from "vue-property-decorator"; import InvitationCard from "@/components/Group/InvitationCard.vue"; -import { SnackbarProgrammatic as Snackbar } from "buefy"; @Component({ components: { @@ -33,10 +32,13 @@ export default class Invitations extends Vue { }, }); 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) { - 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" }); } } } diff --git a/js/src/views/Group/MyGroups.vue b/js/src/views/Group/MyGroups.vue index 06051349..a09232a3 100644 --- a/js/src/views/Group/MyGroups.vue +++ b/js/src/views/Group/MyGroups.vue @@ -16,8 +16,8 @@
+ {:error, dgettext("errors", "You can't accept this invitation with this profile.")} end end @@ -121,6 +124,9 @@ defmodule Mobilizon.GraphQL.Resolvers.Member do true ) do {:ok, member} + else + {:is_same_actor, false} -> + {:error, dgettext("errors", "You can't reject this invitation with this profile.")} end end diff --git a/priv/gettext/ar/LC_MESSAGES/errors.po b/priv/gettext/ar/LC_MESSAGES/errors.po index 0ea5c3f3..e7702b6b 100644 --- a/priv/gettext/ar/LC_MESSAGES/errors.po +++ b/priv/gettext/ar/LC_MESSAGES/errors.po @@ -598,7 +598,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -634,7 +634,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -828,7 +828,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -843,12 +843,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/be/LC_MESSAGES/errors.po b/priv/gettext/be/LC_MESSAGES/errors.po index 9aae9af0..3cb65b28 100644 --- a/priv/gettext/be/LC_MESSAGES/errors.po +++ b/priv/gettext/be/LC_MESSAGES/errors.po @@ -572,7 +572,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -608,7 +608,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -802,7 +802,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -817,12 +817,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/ca/LC_MESSAGES/errors.po b/priv/gettext/ca/LC_MESSAGES/errors.po index fc33a9a4..540730bc 100644 --- a/priv/gettext/ca/LC_MESSAGES/errors.po +++ b/priv/gettext/ca/LC_MESSAGES/errors.po @@ -566,7 +566,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -796,7 +796,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -811,12 +811,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/cs/LC_MESSAGES/errors.po b/priv/gettext/cs/LC_MESSAGES/errors.po index d7008b71..2dbe0687 100644 --- a/priv/gettext/cs/LC_MESSAGES/errors.po +++ b/priv/gettext/cs/LC_MESSAGES/errors.po @@ -572,7 +572,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -608,7 +608,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -802,7 +802,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -817,12 +817,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/de/LC_MESSAGES/errors.po b/priv/gettext/de/LC_MESSAGES/errors.po index 0b36ac3f..a4654c18 100644 --- a/priv/gettext/de/LC_MESSAGES/errors.po +++ b/priv/gettext/de/LC_MESSAGES/errors.po @@ -566,7 +566,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -796,7 +796,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -811,12 +811,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/en/LC_MESSAGES/errors.po b/priv/gettext/en/LC_MESSAGES/errors.po index 55d96436..f716dbe8 100644 --- a/priv/gettext/en/LC_MESSAGES/errors.po +++ b/priv/gettext/en/LC_MESSAGES/errors.po @@ -576,7 +576,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -612,7 +612,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -806,7 +806,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -821,12 +821,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/errors.pot b/priv/gettext/errors.pot index 0e30bcb9..bce2fdcf 100644 --- a/priv/gettext/errors.pot +++ b/priv/gettext/errors.pot @@ -573,7 +573,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -827,3 +827,13 @@ msgstr "" #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/es/LC_MESSAGES/errors.po b/priv/gettext/es/LC_MESSAGES/errors.po index 80308da8..f9954ed6 100644 --- a/priv/gettext/es/LC_MESSAGES/errors.po +++ b/priv/gettext/es/LC_MESSAGES/errors.po @@ -579,7 +579,7 @@ msgid "You are not a member of this group" msgstr "no eres un miembro de este grupo" #, 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" msgstr "No eres moderador ni administrador de este grupo" @@ -617,7 +617,7 @@ msgstr "" "evento" #, 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" msgstr "" "No puede establecerse en un rol de miembro inferior para este grupo porque " @@ -824,7 +824,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "Informe no encontrado" @@ -839,12 +839,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "No tienes permiso para eliminar este token" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/fi/LC_MESSAGES/errors.po b/priv/gettext/fi/LC_MESSAGES/errors.po index adcfbd03..dd69f239 100644 --- a/priv/gettext/fi/LC_MESSAGES/errors.po +++ b/priv/gettext/fi/LC_MESSAGES/errors.po @@ -573,7 +573,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -803,7 +803,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -818,12 +818,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/fr/LC_MESSAGES/errors.po b/priv/gettext/fr/LC_MESSAGES/errors.po index 5cebee87..f9971ffd 100644 --- a/priv/gettext/fr/LC_MESSAGES/errors.po +++ b/priv/gettext/fr/LC_MESSAGES/errors.po @@ -8,7 +8,7 @@ # # to merge POT files into PO files. msgid "" 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 \n" "Language-Team: French \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" 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" 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" 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" 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 " @@ -682,3 +682,11 @@ msgstr "Vous n'avez pas la permission de faire ceci" #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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." diff --git a/priv/gettext/it/LC_MESSAGES/errors.po b/priv/gettext/it/LC_MESSAGES/errors.po index 9a2f1cb0..001a5a77 100644 --- a/priv/gettext/it/LC_MESSAGES/errors.po +++ b/priv/gettext/it/LC_MESSAGES/errors.po @@ -573,7 +573,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -803,7 +803,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "Segnalazione non trovata" @@ -818,12 +818,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/ja/LC_MESSAGES/errors.po b/priv/gettext/ja/LC_MESSAGES/errors.po index f9af2d01..67ec8cfa 100644 --- a/priv/gettext/ja/LC_MESSAGES/errors.po +++ b/priv/gettext/ja/LC_MESSAGES/errors.po @@ -560,7 +560,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -596,7 +596,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -790,7 +790,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -805,12 +805,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/nl/LC_MESSAGES/errors.po b/priv/gettext/nl/LC_MESSAGES/errors.po index 11dc2b5b..04e150fb 100644 --- a/priv/gettext/nl/LC_MESSAGES/errors.po +++ b/priv/gettext/nl/LC_MESSAGES/errors.po @@ -566,7 +566,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -796,7 +796,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -811,12 +811,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/oc/LC_MESSAGES/errors.po b/priv/gettext/oc/LC_MESSAGES/errors.po index 0fe0fb86..8f105f15 100644 --- a/priv/gettext/oc/LC_MESSAGES/errors.po +++ b/priv/gettext/oc/LC_MESSAGES/errors.po @@ -573,7 +573,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -803,7 +803,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -818,12 +818,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/pl/LC_MESSAGES/errors.po b/priv/gettext/pl/LC_MESSAGES/errors.po index 63cfb19c..d2824922 100644 --- a/priv/gettext/pl/LC_MESSAGES/errors.po +++ b/priv/gettext/pl/LC_MESSAGES/errors.po @@ -580,7 +580,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -616,7 +616,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -810,7 +810,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -825,12 +825,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/pt/LC_MESSAGES/errors.po b/priv/gettext/pt/LC_MESSAGES/errors.po index a43137d1..2cc601c8 100644 --- a/priv/gettext/pt/LC_MESSAGES/errors.po +++ b/priv/gettext/pt/LC_MESSAGES/errors.po @@ -566,7 +566,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -796,7 +796,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -811,12 +811,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/pt_BR/LC_MESSAGES/errors.po b/priv/gettext/pt_BR/LC_MESSAGES/errors.po index e984b8c3..192d2f74 100644 --- a/priv/gettext/pt_BR/LC_MESSAGES/errors.po +++ b/priv/gettext/pt_BR/LC_MESSAGES/errors.po @@ -566,7 +566,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -602,7 +602,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -796,7 +796,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -811,12 +811,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/ru/LC_MESSAGES/errors.po b/priv/gettext/ru/LC_MESSAGES/errors.po index 658ec77c..cefb4ed6 100644 --- a/priv/gettext/ru/LC_MESSAGES/errors.po +++ b/priv/gettext/ru/LC_MESSAGES/errors.po @@ -572,7 +572,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -608,7 +608,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -802,7 +802,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -817,12 +817,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 "" diff --git a/priv/gettext/sv/LC_MESSAGES/errors.po b/priv/gettext/sv/LC_MESSAGES/errors.po index ee4cea9c..cdfee9a6 100644 --- a/priv/gettext/sv/LC_MESSAGES/errors.po +++ b/priv/gettext/sv/LC_MESSAGES/errors.po @@ -573,7 +573,7 @@ msgid "You are not a member of this group" msgstr "" #, 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" msgstr "" @@ -609,7 +609,7 @@ msgid "You can't leave event because you're the only event creator participant" msgstr "" #, 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" msgstr "" @@ -803,7 +803,7 @@ msgstr "" msgid "Reset your password to login" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:86 msgid "Resource not found" msgstr "" @@ -818,12 +818,22 @@ msgstr "" msgid "Unknown Resource" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:84 msgid "You don't have permission to do this" msgstr "" -#, elixir-format, fuzzy +#, elixir-format #: lib/graphql/error.ex:76 msgid "You need to be logged in" 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 ""