Improve GraphQL documentation and cleanup API

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-11-19 17:06:28 +01:00
parent e8a3b6aa94
commit 3eacbb2ca3
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773
87 changed files with 6542 additions and 6314 deletions

View file

@ -1,8 +0,0 @@
projects:
Mobilizon:
schemaPath: schema.graphql
extensions:
endpoints:
dev:
url: 'http://localhost:4000/api'
introspect: true

3231
js/schema.graphql Normal file

File diff suppressed because it is too large Load diff

View file

@ -288,7 +288,6 @@ export default class Comment extends Vue {
mutation: CREATE_REPORT, mutation: CREATE_REPORT,
variables: { variables: {
eventId: this.event.id, eventId: this.event.id,
reporterId: this.currentActor.id,
reportedId: this.comment.actor.id, reportedId: this.comment.actor.id,
commentsIds: [this.comment.id], commentsIds: [this.comment.id],
content, content,

View file

@ -112,7 +112,6 @@ export default class CommentTree extends Vue {
mutation: CREATE_COMMENT_FROM_EVENT, mutation: CREATE_COMMENT_FROM_EVENT,
variables: { variables: {
eventId: this.event.id, eventId: this.event.id,
actorId: comment.actor.id,
text: comment.text, text: comment.text,
inReplyToCommentId: comment.inReplyToComment ? comment.inReplyToComment.id : null, inReplyToCommentId: comment.inReplyToComment ? comment.inReplyToComment.id : null,
}, },
@ -204,7 +203,6 @@ export default class CommentTree extends Vue {
mutation: DELETE_COMMENT, mutation: DELETE_COMMENT,
variables: { variables: {
commentId: comment.id, commentId: comment.id,
actorId: this.currentActor.id,
}, },
update: (store, { data }) => { update: (store, { data }) => {
if (data == null) return; if (data == null) return;

View file

@ -530,7 +530,6 @@ export default class EditorComponent extends Vue {
variables: { variables: {
file: image, file: image,
name: image.name, name: image.name,
actorId: this.currentActor.id,
}, },
}); });
if (data.uploadPicture && data.uploadPicture.url) { if (data.uploadPicture && data.uploadPicture.url) {

View file

@ -88,15 +88,12 @@ export default class Image extends Node {
}); });
if (!coordinates) return false; if (!coordinates) return false;
const client = apolloProvider.defaultClient as ApolloClient<NormalizedCacheObject>; const client = apolloProvider.defaultClient as ApolloClient<NormalizedCacheObject>;
const editorElem = document.getElementById("tiptab-editor");
const actorId = editorElem && editorElem.dataset.actorId;
try { try {
images.forEach(async (image) => { images.forEach(async (image) => {
const { data } = await client.mutate({ const { data } = await client.mutate({
mutation: UPLOAD_PICTURE, mutation: UPLOAD_PICTURE,
variables: { variables: {
actorId,
file: image, file: image,
name: image.name, name: image.name,
}, },

View file

@ -246,7 +246,7 @@ export default class EventListCard extends mixins(ActorMixin, EventMixin) {
async openDeleteEventModalWrapper(): Promise<void> { async openDeleteEventModalWrapper(): Promise<void> {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
await this.openDeleteEventModal(this.participation.event, this.currentActor); await this.openDeleteEventModal(this.participation.event);
} }
async gotToWithCheck(participation: IParticipant, route: RawLocation): Promise<Route> { async gotToWithCheck(participation: IParticipant, route: RawLocation): Promise<Route> {

View file

@ -127,7 +127,6 @@ export default class ParticipationWithoutAccount extends Vue {
mutation: JOIN_EVENT, mutation: JOIN_EVENT,
variables: { variables: {
eventId: this.event.id, eventId: this.event.id,
actorId: this.config.anonymous.actorId,
email: this.anonymousParticipation.email, email: this.anonymousParticipation.email,
message: this.anonymousParticipation.message, message: this.anonymousParticipation.message,
locale: this.$i18n.locale, locale: this.$i18n.locale,

View file

@ -68,18 +68,8 @@ export const COMMENTS_THREADS = gql`
`; `;
export const CREATE_COMMENT_FROM_EVENT = gql` export const CREATE_COMMENT_FROM_EVENT = gql`
mutation CreateCommentFromEvent( mutation CreateCommentFromEvent($eventId: ID!, $text: String!, $inReplyToCommentId: ID) {
$eventId: ID! createComment(eventId: $eventId, text: $text, inReplyToCommentId: $inReplyToCommentId) {
$actorId: ID!
$text: String!
$inReplyToCommentId: ID
) {
createComment(
eventId: $eventId
actorId: $actorId
text: $text
inReplyToCommentId: $inReplyToCommentId
) {
...CommentRecursive ...CommentRecursive
} }
} }

View file

@ -84,8 +84,8 @@ export const DISCUSSION_FIELDS_FRAGMENT = gql`
`; `;
export const CREATE_DISCUSSION = gql` export const CREATE_DISCUSSION = gql`
mutation createDiscussion($title: String!, $creatorId: ID!, $actorId: ID!, $text: String!) { mutation createDiscussion($title: String!, $actorId: ID!, $text: String!) {
createDiscussion(title: $title, text: $text, creatorId: $creatorId, actorId: $actorId) { createDiscussion(title: $title, text: $text, actorId: $actorId) {
...DiscussionFields ...DiscussionFields
} }
} }

View file

@ -498,8 +498,8 @@ export const CONFIRM_PARTICIPATION = gql`
`; `;
export const UPDATE_PARTICIPANT = gql` export const UPDATE_PARTICIPANT = gql`
mutation AcceptParticipant($id: ID!, $moderatorActorId: ID!, $role: ParticipantRoleEnum!) { mutation UpdateParticipant($id: ID!, $role: ParticipantRoleEnum!) {
updateParticipation(id: $id, moderatorActorId: $moderatorActorId, role: $role) { updateParticipation(id: $id, role: $role) {
role role
id id
} }
@ -507,20 +507,20 @@ export const UPDATE_PARTICIPANT = gql`
`; `;
export const DELETE_EVENT = gql` export const DELETE_EVENT = gql`
mutation DeleteEvent($eventId: ID!, $actorId: ID!) { mutation DeleteEvent($eventId: ID!) {
deleteEvent(eventId: $eventId, actorId: $actorId) { deleteEvent(eventId: $eventId) {
id id
} }
} }
`; `;
export const PARTICIPANTS = gql` export const PARTICIPANTS = gql`
query($uuid: UUID!, $page: Int, $limit: Int, $roles: String, $actorId: ID!) { query($uuid: UUID!, $page: Int, $limit: Int, $roles: String) {
event(uuid: $uuid) { event(uuid: $uuid) {
id, id,
uuid, uuid,
title, title,
participants(page: $page, limit: $limit, roles: $roles, actorId: $actorId) { participants(page: $page, limit: $limit, roles: $roles) {
${participantsQuery} ${participantsQuery}
}, },
participantStats { participantStats {

View file

@ -223,7 +223,6 @@ export const GET_GROUP = gql`
export const CREATE_GROUP = gql` export const CREATE_GROUP = gql`
mutation CreateGroup( mutation CreateGroup(
$creatorActorId: ID!
$preferredUsername: String! $preferredUsername: String!
$name: String! $name: String!
$summary: String $summary: String
@ -231,7 +230,6 @@ export const CREATE_GROUP = gql`
$banner: PictureInput $banner: PictureInput
) { ) {
createGroup( createGroup(
creatorActorId: $creatorActorId
preferredUsername: $preferredUsername preferredUsername: $preferredUsername
name: $name name: $name
summary: $summary summary: $summary

View file

@ -121,7 +121,6 @@ export const REPORT = gql`
export const CREATE_REPORT = gql` export const CREATE_REPORT = gql`
mutation CreateReport( mutation CreateReport(
$eventId: ID $eventId: ID
$reporterId: ID!
$reportedId: ID! $reportedId: ID!
$content: String $content: String
$commentsIds: [ID] $commentsIds: [ID]
@ -129,7 +128,6 @@ export const CREATE_REPORT = gql`
) { ) {
createReport( createReport(
eventId: $eventId eventId: $eventId
reporterId: $reporterId
reportedId: $reportedId reportedId: $reportedId
content: $content content: $content
commentsIds: $commentsIds commentsIds: $commentsIds
@ -141,8 +139,8 @@ export const CREATE_REPORT = gql`
`; `;
export const UPDATE_REPORT = gql` export const UPDATE_REPORT = gql`
mutation UpdateReport($reportId: ID!, $moderatorId: ID!, $status: ReportStatus!) { mutation UpdateReport($reportId: ID!, $status: ReportStatus!) {
updateReportStatus(reportId: $reportId, moderatorId: $moderatorId, status: $status) { updateReportStatus(reportId: $reportId, status: $status) {
...ReportFragment ...ReportFragment
} }
} }
@ -150,8 +148,8 @@ export const UPDATE_REPORT = gql`
`; `;
export const CREATE_REPORT_NOTE = gql` export const CREATE_REPORT_NOTE = gql`
mutation CreateReportNote($reportId: ID!, $moderatorId: ID!, $content: String!) { mutation CreateReportNote($reportId: ID!, $content: String!) {
createReportNote(reportId: $reportId, moderatorId: $moderatorId, content: $content) { createReportNote(reportId: $reportId, content: $content) {
id id
content content
insertedAt insertedAt

View file

@ -2,8 +2,8 @@ import gql from "graphql-tag";
/* eslint-disable import/prefer-default-export */ /* eslint-disable import/prefer-default-export */
export const UPLOAD_PICTURE = gql` export const UPLOAD_PICTURE = gql`
mutation UploadPicture($file: Upload!, $alt: String, $name: String!, $actorId: ID!) { mutation UploadPicture($file: Upload!, $alt: String, $name: String!) {
uploadPicture(file: $file, alt: $alt, name: $name, actorId: $actorId) { uploadPicture(file: $file, alt: $alt, name: $name) {
url url
id id
} }

View file

@ -90,7 +90,7 @@ export default class EventMixin extends mixins(Vue) {
this.$notifier.success(this.$t("You have cancelled your participation") as string); this.$notifier.success(this.$t("You have cancelled your participation") as string);
} }
protected async openDeleteEventModal(event: IEvent, currentActor: IPerson): Promise<void> { protected async openDeleteEventModal(event: IEvent): Promise<void> {
function escapeRegExp(string: string) { function escapeRegExp(string: string) {
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); // $& means the whole matched string
} }
@ -115,11 +115,11 @@ export default class EventMixin extends mixins(Vue) {
placeholder: event.title, placeholder: event.title,
pattern: escapeRegExp(event.title), pattern: escapeRegExp(event.title),
}, },
onConfirm: () => this.deleteEvent(event, currentActor), onConfirm: () => this.deleteEvent(event),
}); });
} }
private async deleteEvent(event: IEvent, currentActor: IPerson) { private async deleteEvent(event: IEvent) {
const eventTitle = event.title; const eventTitle = event.title;
try { try {
@ -127,7 +127,6 @@ export default class EventMixin extends mixins(Vue) {
mutation: DELETE_EVENT, mutation: DELETE_EVENT,
variables: { variables: {
eventId: event.id, eventId: event.id,
actorId: currentActor.id,
}, },
}); });
/** /**

View file

@ -70,7 +70,6 @@ export default class CreateDiscussion extends Vue {
title: this.discussion.title, title: this.discussion.title,
text: this.discussion.text, text: this.discussion.text,
actorId: parseInt(this.group.id, 10), actorId: parseInt(this.group.id, 10),
creatorId: parseInt(this.currentActor.id, 10),
}, },
}); });

View file

@ -761,7 +761,7 @@ export default class Event extends EventMixin {
* Delete the event, then redirect to home. * Delete the event, then redirect to home.
*/ */
async openDeleteEventModalWrapper(): Promise<void> { async openDeleteEventModalWrapper(): Promise<void> {
await this.openDeleteEventModal(this.event, this.currentActor); await this.openDeleteEventModal(this.event);
} }
async reportEvent(content: string, forward: boolean): Promise<void> { async reportEvent(content: string, forward: boolean): Promise<void> {
@ -771,19 +771,12 @@ export default class Event extends EventMixin {
this.$refs.reportModal.close(); this.$refs.reportModal.close();
if (!this.event.organizerActor) return; if (!this.event.organizerActor) return;
const eventTitle = this.event.title; const eventTitle = this.event.title;
let reporterId = null;
if (this.currentActor.id) {
reporterId = this.currentActor.id;
} else if (this.config.anonymous.reports.allowed) {
reporterId = this.config.anonymous.actorId;
}
if (!reporterId) return;
try { try {
await this.$apollo.mutate<IReport>({ await this.$apollo.mutate<IReport>({
mutation: CREATE_REPORT, mutation: CREATE_REPORT,
variables: { variables: {
eventId: this.event.id, eventId: this.event.id,
reporterId,
reportedId: this.actorForReport ? this.actorForReport.id : null, reportedId: this.actorForReport ? this.actorForReport.id : null,
content, content,
forward, forward,
@ -808,7 +801,6 @@ export default class Event extends EventMixin {
mutation: JOIN_EVENT, mutation: JOIN_EVENT,
variables: { variables: {
eventId: this.event.id, eventId: this.event.id,
actorId: identity.id,
message, message,
}, },
update: (store, { data }) => { update: (store, { data }) => {

View file

@ -214,7 +214,6 @@ const MESSAGE_ELLIPSIS_LENGTH = 130;
page: 1, page: 1,
limit: PARTICIPANTS_PER_PAGE, limit: PARTICIPANTS_PER_PAGE,
roles: this.roles, roles: this.roles,
actorId: this.currentActor.id,
}; };
}, },
skip() { skip() {
@ -298,7 +297,6 @@ export default class Participants extends Vue {
mutation: UPDATE_PARTICIPANT, mutation: UPDATE_PARTICIPANT,
variables: { variables: {
id: participant.id, id: participant.id,
moderatorActorId: this.currentActor.id,
role: ParticipantRole.PARTICIPANT, role: ParticipantRole.PARTICIPANT,
}, },
}); });
@ -313,7 +311,6 @@ export default class Participants extends Vue {
mutation: UPDATE_PARTICIPANT, mutation: UPDATE_PARTICIPANT,
variables: { variables: {
id: participant.id, id: participant.id,
moderatorActorId: this.currentActor.id,
role: ParticipantRole.REJECTED, role: ParticipantRole.REJECTED,
}, },
}); });

View file

@ -178,15 +178,10 @@ export default class CreateGroup extends mixins(IdentityEditionMixin) {
}; };
} }
const currentActor = {
creatorActorId: this.currentActor.id,
};
return { return {
...this.group, ...this.group,
...avatarObj, ...avatarObj,
...bannerObj, ...bannerObj,
...currentActor,
}; };
} }

View file

@ -481,18 +481,10 @@ export default class Group extends mixins(GroupMixin) {
// @ts-ignore // @ts-ignore
this.$refs.reportModal.close(); this.$refs.reportModal.close();
const groupTitle = this.group.name || usernameWithDomain(this.group); const groupTitle = this.group.name || usernameWithDomain(this.group);
let reporterId = null;
if (this.currentActor.id) {
reporterId = this.currentActor.id;
} else if (this.config.anonymous.reports.allowed) {
reporterId = this.config.anonymous.actorId;
}
if (!reporterId) return;
try { try {
await this.$apollo.mutate<IReport>({ await this.$apollo.mutate<IReport>({
mutation: CREATE_REPORT, mutation: CREATE_REPORT,
variables: { variables: {
reporterId,
reportedId: this.group.id, reportedId: this.group.id,
content, content,
forward, forward,

View file

@ -303,7 +303,6 @@ export default class Report extends Vue {
mutation: CREATE_REPORT_NOTE, mutation: CREATE_REPORT_NOTE,
variables: { variables: {
reportId: this.report.id, reportId: this.report.id,
moderatorId: this.currentActor.id,
content: this.noteContent, content: this.noteContent,
}, },
update: (store, { data }) => { update: (store, { data }) => {
@ -372,7 +371,6 @@ export default class Report extends Vue {
mutation: DELETE_EVENT, mutation: DELETE_EVENT,
variables: { variables: {
eventId: this.report.event.id.toString(), eventId: this.report.event.id.toString(),
actorId: this.currentActor.id,
}, },
}); });
@ -395,7 +393,6 @@ export default class Report extends Vue {
mutation: DELETE_COMMENT, mutation: DELETE_COMMENT,
variables: { variables: {
commentId: comment.id, commentId: comment.id,
actorId: this.currentActor.id,
}, },
}); });
this.$notifier.success(this.$t("Comment deleted") as string); this.$notifier.success(this.$t("Comment deleted") as string);
@ -410,7 +407,6 @@ export default class Report extends Vue {
mutation: UPDATE_REPORT, mutation: UPDATE_REPORT,
variables: { variables: {
reportId: this.report.id, reportId: this.report.id,
moderatorId: this.currentActor.id,
status, status,
}, },
update: (store, { data }) => { update: (store, { data }) => {

View file

@ -30,11 +30,11 @@ export default class Validate extends Vue {
failed = false; failed = false;
async created() { async created(): Promise<void> {
await this.validateAction(); await this.validateAction();
} }
async validateAction() { async validateAction(): Promise<void> {
try { try {
await this.$apollo.mutate<{ validateEmail: ICurrentUser }>({ await this.$apollo.mutate<{ validateEmail: ICurrentUser }>({
mutation: VALIDATE_EMAIL, mutation: VALIDATE_EMAIL,
@ -43,11 +43,10 @@ export default class Validate extends Vue {
}, },
}); });
this.loading = false; this.loading = false;
return await this.$router.push({ name: RouteName.HOME }); await this.$router.push({ name: RouteName.HOME });
} catch (err) { } catch (err) {
console.error(err); console.error(err);
this.failed = true; this.failed = true;
return undefined;
} }
} }
} }

View file

@ -13,7 +13,7 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"sourceMap": true, "sourceMap": true,
"baseUrl": ".", "baseUrl": ".",
"types": ["webpack-env", "mocha", "chai"], "types": ["webpack-env"],
"typeRoots": ["./@types", "./node_modules/@types"], "typeRoots": ["./@types", "./node_modules/@types"],
"paths": { "paths": {
"@/*": ["src/*"] "@/*": ["src/*"]

View file

@ -26,9 +26,6 @@ defmodule Mobilizon.GraphQL.API.Groups do
else else
{:existing_group, _} -> {:existing_group, _} ->
{:error, "A group with this name already exists"} {:error, "A group with this name already exists"}
{:is_owned, nil} ->
{:error, "Profile is not owned by authenticated user"}
end end
end end
@ -42,9 +39,6 @@ defmodule Mobilizon.GraphQL.API.Groups do
else else
{:existing_group, _} -> {:existing_group, _} ->
{:error, "A group with this name already exists"} {:error, "A group with this name already exists"}
{:is_owned, nil} ->
{:error, "Profile is not owned by authenticated user"}
end end
end end
end end

View file

@ -3,11 +3,10 @@ defmodule Mobilizon.GraphQL.Resolvers.Comment do
Handles the comment-related GraphQL calls. Handles the comment-related GraphQL calls.
""" """
alias Mobilizon.{Actors, Admin, Discussions, Events} alias Mobilizon.{Actors, Admin, Discussions, Events, Users}
alias Mobilizon.Actors.Actor alias Mobilizon.Actors.Actor
alias Mobilizon.Discussions.Comment, as: CommentModel alias Mobilizon.Discussions.Comment, as: CommentModel
alias Mobilizon.Events.{Event, EventOptions} alias Mobilizon.Events.{Event, EventOptions}
alias Mobilizon.Users
alias Mobilizon.Users.User alias Mobilizon.Users.User
import Mobilizon.Web.Gettext import Mobilizon.Web.Gettext
@ -21,14 +20,14 @@ defmodule Mobilizon.GraphQL.Resolvers.Comment do
def create_comment( def create_comment(
_parent, _parent,
%{actor_id: actor_id, event_id: event_id} = args, %{event_id: event_id} = args,
%{ %{
context: %{ context: %{
current_user: %User{} = user current_user: %User{} = user
} }
} }
) do ) do
with {:is_owned, %Actor{} = _organizer_actor} <- User.owns_actor(user, actor_id), with %Actor{id: actor_id} <- Users.get_actor_for_user(user),
{:find_event, {:find_event,
{:ok, {:ok,
%Event{ %Event{
@ -36,18 +35,15 @@ defmodule Mobilizon.GraphQL.Resolvers.Comment do
organizer_actor_id: organizer_actor_id organizer_actor_id: organizer_actor_id
}}} <- }}} <-
{:find_event, Events.get_event(event_id)}, {:find_event, Events.get_event(event_id)},
{actor_id, ""} <- Integer.parse(actor_id),
{:allowed, true} <- {:allowed, true} <-
{:allowed, comment_moderation != :closed || actor_id == organizer_actor_id}, {:allowed, comment_moderation != :closed || actor_id == organizer_actor_id},
args <- Map.put(args, :actor_id, actor_id),
{:ok, _, %CommentModel{} = comment} <- {:ok, _, %CommentModel{} = comment} <-
Comments.create_comment(args) do Comments.create_comment(args) do
{:ok, comment} {:ok, comment}
else else
{:allowed, false} -> {:allowed, false} ->
{:error, :unauthorized} {:error, :unauthorized}
{:is_owned, nil} ->
{:error, dgettext("errors", "Profile is not owned by authenticated user")}
end end
end end
@ -107,9 +103,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Comment do
else else
%CommentModel{deleted_at: deleted_at} when not is_nil(deleted_at) -> %CommentModel{deleted_at: deleted_at} when not is_nil(deleted_at) ->
{:error, dgettext("errors", "Comment is already deleted")} {:error, dgettext("errors", "Comment is already deleted")}
{:is_owned, nil} ->
{:error, dgettext("errors", "Profile is not owned by authenticated user")}
end end
end end

View file

@ -62,6 +62,15 @@ defmodule Mobilizon.GraphQL.Resolvers.Discussion do
end end
end end
def get_discussion(_parent, _args, %{
context: %{
current_user: %User{} = _user
}
}),
do:
{:error,
dgettext("errors", "You must provide either an ID or a slug to access a discussion")}
def get_discussion(_parent, _args, _resolution), def get_discussion(_parent, _args, _resolution),
do: {:error, dgettext("errors", "You need to be logged-in to access discussions")} do: {:error, dgettext("errors", "You need to be logged-in to access discussions")}

View file

@ -3,7 +3,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
Handles the event-related GraphQL calls. Handles the event-related GraphQL calls.
""" """
alias Mobilizon.{Actors, Admin, Events} alias Mobilizon.{Actors, Admin, Events, Users}
alias Mobilizon.Actors.Actor alias Mobilizon.Actors.Actor
alias Mobilizon.Config alias Mobilizon.Config
alias Mobilizon.Events.{Event, EventParticipantStats} alias Mobilizon.Events.{Event, EventParticipantStats}
@ -74,10 +74,10 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
""" """
def list_participants_for_event( def list_participants_for_event(
%Event{id: event_id}, %Event{id: event_id},
%{page: page, limit: limit, roles: roles, actor_id: actor_id}, %{page: page, limit: limit, roles: roles},
%{context: %{current_user: %User{} = user}} = _resolution %{context: %{current_user: %User{} = user}} = _resolution
) do ) do
with {:is_owned, %Actor{} = _actor} <- User.owns_actor(user, actor_id), with %Actor{id: actor_id} <- Users.get_actor_for_user(user),
# Check that moderator has right # Check that moderator has right
{:actor_approve_permission, true} <- {:actor_approve_permission, true} <-
{:actor_approve_permission, Events.moderator_for_event?(event_id, actor_id)} do {:actor_approve_permission, Events.moderator_for_event?(event_id, actor_id)} do
@ -96,9 +96,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
participants = Events.list_participants_for_event(event_id, roles, page, limit) participants = Events.list_participants_for_event(event_id, roles, page, limit)
{:ok, participants} {:ok, participants}
else else
{:is_owned, nil} ->
{:error, dgettext("errors", "Moderator profile is not owned by authenticated user")}
{:actor_approve_permission, _} -> {:actor_approve_permission, _} ->
{:error, {:error,
dgettext("errors", "Provided moderator profile doesn't have permission on this event")} dgettext("errors", "Provided moderator profile doesn't have permission on this event")}
@ -191,8 +188,8 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
%{context: %{current_user: user}} = _resolution %{context: %{current_user: user}} = _resolution
) do ) do
# See https://github.com/absinthe-graphql/absinthe/issues/490 # See https://github.com/absinthe-graphql/absinthe/issues/490
with args <- Map.put(args, :options, args[:options] || %{}), with {:is_owned, %Actor{} = organizer_actor} <- User.owns_actor(user, organizer_actor_id),
{:is_owned, %Actor{} = organizer_actor} <- User.owns_actor(user, organizer_actor_id), args <- Map.put(args, :options, args[:options] || %{}),
args_with_organizer <- Map.put(args, :organizer_actor, organizer_actor), args_with_organizer <- Map.put(args, :organizer_actor, organizer_actor),
{:ok, %Activity{data: %{"object" => %{"type" => "Event"}}}, %Event{} = event} <- {:ok, %Activity{data: %{"object" => %{"type" => "Event"}}}, %Event{} = event} <-
API.Events.create_event(args_with_organizer) do API.Events.create_event(args_with_organizer) do
@ -257,12 +254,11 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
""" """
def delete_event( def delete_event(
_parent, _parent,
%{event_id: event_id, actor_id: actor_id}, %{event_id: event_id},
%{context: %{current_user: %User{role: role} = user}} %{context: %{current_user: %User{role: role} = user}}
) do ) do
with {:ok, %Event{local: is_local} = event} <- Events.get_event_with_preload(event_id), with {:ok, %Event{local: is_local} = event} <- Events.get_event_with_preload(event_id),
{actor_id, ""} <- Integer.parse(actor_id), %Actor{id: actor_id} = actor <- Users.get_actor_for_user(user) do
{:is_owned, %Actor{} = actor} <- User.owns_actor(user, actor_id) do
cond do cond do
{:event_can_be_managed, true} == Event.can_be_managed_by(event, actor_id) -> {:event_can_be_managed, true} == Event.can_be_managed_by(event, actor_id) ->
do_delete_event(event, actor) do_delete_event(event, actor)
@ -281,9 +277,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
else else
{:error, :event_not_found} -> {:error, :event_not_found} ->
{:error, dgettext("errors", "Event not found")} {:error, dgettext("errors", "Event not found")}
{:is_owned, nil} ->
{:error, dgettext("errors", "Profile is not owned by authenticated user")}
end end
end end

View file

@ -121,10 +121,10 @@ defmodule Mobilizon.GraphQL.Resolvers.Group do
} }
} }
) do ) do
with creator_actor_id <- Map.get(args, :creator_actor_id), with %Actor{id: creator_actor_id} = creator_actor <- Users.get_actor_for_user(user),
{:is_owned, %Actor{} = creator_actor} <- User.owns_actor(user, creator_actor_id),
args <- Map.update(args, :preferred_username, "", &String.downcase/1), args <- Map.update(args, :preferred_username, "", &String.downcase/1),
args <- Map.put(args, :creator_actor, creator_actor), args <- Map.put(args, :creator_actor, creator_actor),
args <- Map.put(args, :creator_actor_id, creator_actor_id),
args <- save_attached_pictures(args), args <- save_attached_pictures(args),
{:ok, _activity, %Actor{type: :Group} = group} <- {:ok, _activity, %Actor{type: :Group} = group} <-
API.Groups.create_group(args) do API.Groups.create_group(args) do
@ -132,9 +132,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Group do
else else
{:error, err} when is_binary(err) -> {:error, err} when is_binary(err) ->
{:error, err} {:error, err}
{:is_owned, nil} ->
{:error, dgettext("errors", "Creator profile is not owned by the current user")}
end end
end end

View file

@ -76,9 +76,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Member do
{:ok, _activity, %Member{} = member} <- ActivityPub.invite(group, actor, target_actor) do {:ok, _activity, %Member{} = member} <- ActivityPub.invite(group, actor, target_actor) do
{:ok, member} {:ok, member}
else else
{:is_owned, nil} ->
{:error, dgettext("errors", "Profile is not owned by authenticated user")}
{:error, :group_not_found} -> {:error, :group_not_found} ->
{:error, dgettext("errors", "Group not found")} {:error, dgettext("errors", "Group not found")}

View file

@ -2,7 +2,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Participant do
@moduledoc """ @moduledoc """
Handles the participation-related GraphQL calls. Handles the participation-related GraphQL calls.
""" """
alias Mobilizon.{Actors, Config, Crypto, Events} alias Mobilizon.{Actors, Config, Crypto, Events, Users}
alias Mobilizon.Actors.Actor alias Mobilizon.Actors.Actor
alias Mobilizon.Events.{Event, Participant} alias Mobilizon.Events.{Event, Participant}
alias Mobilizon.GraphQL.API.Participations alias Mobilizon.GraphQL.API.Participations
@ -206,7 +206,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Participant do
def update_participation( def update_participation(
_parent, _parent,
%{id: participation_id, moderator_actor_id: moderator_actor_id, role: new_role}, %{id: participation_id, role: new_role},
%{ %{
context: %{ context: %{
current_user: user current_user: user
@ -214,7 +214,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Participant do
} }
) do ) do
# Check that moderator provided is rightly authenticated # Check that moderator provided is rightly authenticated
with {:is_owned, moderator_actor} <- User.owns_actor(user, moderator_actor_id), with %Actor{id: moderator_actor_id} = moderator_actor <- Users.get_actor_for_user(user),
# Check that participation already exists # Check that participation already exists
{:has_participation, %Participant{role: old_role} = participation} <- {:has_participation, %Participant{role: old_role} = participation} <-
{:has_participation, Events.get_participant(participation_id)}, {:has_participation, Events.get_participant(participation_id)},
@ -227,9 +227,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Participant do
Participations.update(participation, moderator_actor, new_role) do Participations.update(participation, moderator_actor, new_role) do
{:ok, participation} {:ok, participation}
else else
{:is_owned, nil} ->
{:error, dgettext("errors", "Moderator profile is not owned by authenticated user")}
{:has_participation, nil} -> {:has_participation, nil} ->
{:error, dgettext("errors", "Participant not found")} {:error, dgettext("errors", "Participant not found")}

View file

@ -5,12 +5,10 @@ defmodule Mobilizon.GraphQL.Resolvers.Person do
import Mobilizon.Users.Guards import Mobilizon.Users.Guards
alias Mobilizon.Actors alias Mobilizon.{Actors, Events, Users}
alias Mobilizon.Actors.Actor alias Mobilizon.Actors.Actor
alias Mobilizon.Events
alias Mobilizon.Events.Participant alias Mobilizon.Events.Participant
alias Mobilizon.Storage.Page alias Mobilizon.Storage.Page
alias Mobilizon.Users
alias Mobilizon.Users.User alias Mobilizon.Users.User
import Mobilizon.Web.Gettext import Mobilizon.Web.Gettext

View file

@ -4,9 +4,8 @@ defmodule Mobilizon.GraphQL.Resolvers.Picture do
""" """
alias Mobilizon.Actors.Actor alias Mobilizon.Actors.Actor
alias Mobilizon.Media alias Mobilizon.{Media, Users}
alias Mobilizon.Media.Picture alias Mobilizon.Media.Picture
alias Mobilizon.Users.User
import Mobilizon.Web.Gettext import Mobilizon.Web.Gettext
@doc """ @doc """
@ -46,10 +45,10 @@ defmodule Mobilizon.GraphQL.Resolvers.Picture do
@spec upload_picture(map, map, map) :: {:ok, Picture.t()} | {:error, any} @spec upload_picture(map, map, map) :: {:ok, Picture.t()} | {:error, any}
def upload_picture( def upload_picture(
_parent, _parent,
%{file: %Plug.Upload{} = file, actor_id: actor_id} = args, %{file: %Plug.Upload{} = file} = args,
%{context: %{current_user: user}} %{context: %{current_user: user}}
) do ) do
with {:is_owned, %Actor{}} <- User.owns_actor(user, actor_id), with %Actor{id: actor_id} <- Users.get_actor_for_user(user),
{:ok, %{name: _name, url: url, content_type: content_type, size: size}} <- {:ok, %{name: _name, url: url, content_type: content_type, size: size}} <-
Mobilizon.Web.Upload.store(file), Mobilizon.Web.Upload.store(file),
args <- args <-
@ -68,9 +67,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Picture do
size: picture.file.size size: picture.file.size
}} }}
else else
{:is_owned, nil} ->
{:error, dgettext("errors", "Profile is not owned by authenticated user")}
{:error, :mime_type_not_allowed} -> {:error, :mime_type_not_allowed} ->
{:error, dgettext("errors", "File doesn't have an allowed MIME type.")} {:error, dgettext("errors", "File doesn't have an allowed MIME type.")}

View file

@ -5,10 +5,8 @@ defmodule Mobilizon.GraphQL.Resolvers.Report do
import Mobilizon.Users.Guards import Mobilizon.Users.Guards
alias Mobilizon.Actors alias Mobilizon.{Actors, Config, Reports, Users}
alias Mobilizon.Actors.Actor alias Mobilizon.Actors.Actor
alias Mobilizon.Config
alias Mobilizon.Reports
alias Mobilizon.Reports.{Note, Report} alias Mobilizon.Reports.{Note, Report}
alias Mobilizon.Users.User alias Mobilizon.Users.User
import Mobilizon.Web.Gettext import Mobilizon.Web.Gettext
@ -48,16 +46,14 @@ defmodule Mobilizon.GraphQL.Resolvers.Report do
""" """
def create_report( def create_report(
_parent, _parent,
%{reporter_id: reporter_id} = args, args,
%{context: %{current_user: %User{} = user}} = _resolution %{context: %{current_user: %User{} = user}} = _resolution
) do ) do
with {:is_owned, %Actor{}} <- User.owns_actor(user, reporter_id), with %Actor{id: reporter_id} <- Users.get_actor_for_user(user),
{:ok, _, %Report{} = report} <- API.Reports.report(args) do {:ok, _, %Report{} = report} <-
args |> Map.put(:reporter_id, reporter_id) |> API.Reports.report() do
{:ok, report} {:ok, report}
else else
{:is_owned, nil} ->
{:error, dgettext("errors", "Reporter profile is not owned by authenticated user")}
_error -> _error ->
{:error, dgettext("errors", "Error while saving report")} {:error, dgettext("errors", "Error while saving report")}
end end
@ -65,47 +61,37 @@ defmodule Mobilizon.GraphQL.Resolvers.Report do
def create_report( def create_report(
_parent, _parent,
%{reporter_id: reporter_id} = args, args,
_resolution _resolution
) do ) do
with {:anonymous_reporting_allowed, true} <- with {:anonymous_reporting_allowed, true} <-
{:anonymous_reporting_allowed, Config.anonymous_reporting?()}, {:anonymous_reporting_allowed, Config.anonymous_reporting?()},
{:wrong_id, true} <- {:wrong_id, reporter_id == to_string(Config.anonymous_actor_id())}, {:ok, _, %Report{} = report} <-
{:ok, _, %Report{} = report} <- API.Reports.report(args) do args |> Map.put(:reporter_id, Config.anonymous_actor_id()) |> API.Reports.report() do
{:ok, report} {:ok, report}
else else
{:anonymous_reporting_allowed, _} -> {:anonymous_reporting_allowed, _} ->
{:error, dgettext("errors", "You need to be logged-in to create reports")} {:error, dgettext("errors", "You need to be logged-in to create reports")}
{:wrong_id, _} ->
{:error, dgettext("errors", "Reporter ID does not match the anonymous profile id")}
_error -> _error ->
{:error, dgettext("errors", "Error while saving report")} {:error, dgettext("errors", "Error while saving report")}
end end
end end
def create_report(_parent, _args, _resolution) do
{:error, dgettext("errors", "You need to be logged-in to create reports")}
end
@doc """ @doc """
Update a report's status Update a report's status
""" """
def update_report( def update_report(
_parent, _parent,
%{report_id: report_id, moderator_id: moderator_id, status: status}, %{report_id: report_id, status: status},
%{context: %{current_user: %User{role: role} = user}} %{context: %{current_user: %User{role: role} = user}}
) )
when is_moderator(role) do when is_moderator(role) do
with {:is_owned, %Actor{} = actor} <- User.owns_actor(user, moderator_id), with %Actor{} = actor <- Users.get_actor_for_user(user),
%Report{} = report <- Mobilizon.Reports.get_report(report_id), %Report{} = report <- Mobilizon.Reports.get_report(report_id),
{:ok, %Report{} = report} <- API.Reports.update_report_status(actor, report, status) do {:ok, %Report{} = report} <- API.Reports.update_report_status(actor, report, status) do
{:ok, report} {:ok, report}
else else
{:is_owned, nil} ->
{:error, dgettext("errors", "Profile is not owned by authenticated user")}
_error -> _error ->
{:error, dgettext("errors", "Error while updating report")} {:error, dgettext("errors", "Error while updating report")}
end end
@ -117,11 +103,11 @@ defmodule Mobilizon.GraphQL.Resolvers.Report do
def create_report_note( def create_report_note(
_parent, _parent,
%{report_id: report_id, moderator_id: moderator_id, content: content}, %{report_id: report_id, content: content},
%{context: %{current_user: %User{role: role} = user}} %{context: %{current_user: %User{role: role} = user}}
) )
when is_moderator(role) do when is_moderator(role) do
with {:is_owned, %Actor{}} <- User.owns_actor(user, moderator_id), with %Actor{id: moderator_id} <- Users.get_actor_for_user(user),
%Report{} = report <- Reports.get_report(report_id), %Report{} = report <- Reports.get_report(report_id),
%Actor{} = moderator <- Actors.get_local_actor_with_preload(moderator_id), %Actor{} = moderator <- Actors.get_local_actor_with_preload(moderator_id),
{:ok, %Note{} = note} <- API.Reports.create_report_note(report, moderator, content) do {:ok, %Note{} = note} <- API.Reports.create_report_note(report, moderator, content) do
@ -131,11 +117,11 @@ defmodule Mobilizon.GraphQL.Resolvers.Report do
def delete_report_note( def delete_report_note(
_parent, _parent,
%{note_id: note_id, moderator_id: moderator_id}, %{note_id: note_id},
%{context: %{current_user: %User{role: role} = user}} %{context: %{current_user: %User{role: role} = user}}
) )
when is_moderator(role) do when is_moderator(role) do
with {:is_owned, %Actor{}} <- User.owns_actor(user, moderator_id), with %Actor{id: moderator_id} <- Users.get_actor_for_user(user),
%Note{} = note <- Reports.get_note(note_id), %Note{} = note <- Reports.get_note(note_id),
%Actor{} = moderator <- Actors.get_local_actor_with_preload(moderator_id), %Actor{} = moderator <- Actors.get_local_actor_with_preload(moderator_id),
{:ok, %Note{} = note} <- API.Reports.delete_report_note(note, moderator) do {:ok, %Note{} = note} <- API.Reports.delete_report_note(note, moderator) do

View file

@ -53,9 +53,6 @@ defmodule Mobilizon.GraphQL.Resolvers.Todos do
%Page{} = page <- Todos.get_todos_for_todo_list(todo_list) do %Page{} = page <- Todos.get_todos_for_todo_list(todo_list) do
{:ok, page} {:ok, page}
else else
{:is_owned, nil} ->
{:error, dgettext("errors", "Profile is not owned by authenticated user")}
{:member, _} -> {:member, _} ->
{:error, dgettext("errors", "Profile is not member of group")} {:error, dgettext("errors", "Profile is not member of group")}
end end

View file

@ -62,18 +62,21 @@ defmodule Mobilizon.GraphQL.Schema.ActorInterface do
end end
object :actor_mutations do object :actor_mutations do
@desc "Suspend an actor"
field :suspend_profile, :deleted_object do field :suspend_profile, :deleted_object do
arg(:id, non_null(:id), description: "The profile ID to suspend") arg(:id, non_null(:id), description: "The remote profile ID to suspend")
resolve(&ActorResolver.suspend_profile/3) resolve(&ActorResolver.suspend_profile/3)
end end
@desc "Unsuspend an actor"
field :unsuspend_profile, :actor do field :unsuspend_profile, :actor do
arg(:id, non_null(:id), description: "The profile ID to unsuspend") arg(:id, non_null(:id), description: "The remote profile ID to unsuspend")
resolve(&ActorResolver.unsuspend_profile/3) resolve(&ActorResolver.unsuspend_profile/3)
end end
@desc "Refresh a profile"
field :refresh_profile, :actor do field :refresh_profile, :actor do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The remote profile ID to refresh")
resolve(&ActorResolver.refresh_profile/3) resolve(&ActorResolver.refresh_profile/3)
end end
end end

View file

@ -19,6 +19,9 @@ defmodule Mobilizon.GraphQL.Schema.Actors.FollowerType do
field(:updated_at, :datetime, description: "When the follow was updated") field(:updated_at, :datetime, description: "When the follow was updated")
end end
@desc """
A paginated list of follower objects
"""
object :paginated_follower_list do object :paginated_follower_list do
field(:elements, list_of(:follower), description: "A list of followers") field(:elements, list_of(:follower), description: "A list of followers")
field(:total, :integer, description: "The total number of elements in the list") field(:total, :integer, description: "The total number of elements in the list")

View file

@ -54,10 +54,18 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
# This one should have a privacy setting # This one should have a privacy setting
field :organized_events, :paginated_event_list do field :organized_events, :paginated_event_list do
arg(:after_datetime, :datetime, default_value: nil) arg(:after_datetime, :datetime,
arg(:before_datetime, :datetime, default_value: nil) default_value: nil,
arg(:page, :integer, default_value: 1) description: "Filter events that begin after this datetime"
arg(:limit, :integer, default_value: 10) )
arg(:before_datetime, :datetime,
default_value: nil,
description: "Filter events that begin before this datetime"
)
arg(:page, :integer, default_value: 1, description: "The page in the paginated event list")
arg(:limit, :integer, default_value: 10, description: "The limit of events per page")
resolve(&Group.find_events_for_group/3) resolve(&Group.find_events_for_group/3)
description("A list of the events this actor has organized") description("A list of the events this actor has organized")
end end
@ -74,23 +82,27 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
) )
field :members, :paginated_member_list do field :members, :paginated_member_list do
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1, description: "The page in the paginated member list")
arg(:limit, :integer, default_value: 10) arg(:limit, :integer, default_value: 10, description: "The limit of members per page")
arg(:roles, :string, default_value: "") arg(:roles, :string, default_value: "", description: "Filter members by their role")
resolve(&Member.find_members_for_group/3) resolve(&Member.find_members_for_group/3)
description("A paginated list of group members") description("A paginated list of group members")
end end
field :resources, :paginated_resource_list do field :resources, :paginated_resource_list do
arg(:page, :integer, default_value: 1) arg(:page, :integer,
arg(:limit, :integer, default_value: 10) default_value: 1,
description: "The page in the paginated resource list"
)
arg(:limit, :integer, default_value: 10, description: "The limit of resources per page")
resolve(&Resource.find_resources_for_group/3) resolve(&Resource.find_resources_for_group/3)
description("A paginated list of the resources this group has") description("A paginated list of the resources this group has")
end end
field :posts, :paginated_post_list do field :posts, :paginated_post_list do
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1, description: "The page in the paginated post list")
arg(:limit, :integer, default_value: 10) arg(:limit, :integer, default_value: 10, description: "The limit of posts per page")
resolve(&Post.find_posts_for_group/3) resolve(&Post.find_posts_for_group/3)
description("A paginated list of the posts this group has") description("A paginated list of the posts this group has")
end end
@ -120,9 +132,12 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
value(:open, description: "The actor is open to followings") value(:open, description: "The actor is open to followings")
end end
@desc """
A paginated list of groups
"""
object :paginated_group_list do object :paginated_group_list do
field(:elements, list_of(:group), description: "A list of groups") field(:elements, list_of(:group), description: "A list of groups")
field(:total, :integer, description: "The total number of elements in the list") field(:total, :integer, description: "The total number of groups in the list")
end end
@desc "The list of visibility options for a group" @desc "The list of visibility options for a group"
@ -134,25 +149,33 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
object :group_queries do object :group_queries do
@desc "Get all groups" @desc "Get all groups"
field :groups, :paginated_group_list do field :groups, :paginated_group_list do
arg(:preferred_username, :string, default_value: "") arg(:preferred_username, :string, default_value: "", description: "Filter by username")
arg(:name, :string, default_value: "") arg(:name, :string, default_value: "", description: "Filter by name")
arg(:domain, :string, default_value: "") arg(:domain, :string, default_value: "", description: "Filter by domain")
arg(:local, :boolean, default_value: true)
arg(:suspended, :boolean, default_value: false) arg(:local, :boolean,
arg(:page, :integer, default_value: 1) default_value: true,
arg(:limit, :integer, default_value: 10) description: "Filter whether group is local or not"
)
arg(:suspended, :boolean, default_value: false, description: "Filter by suspended status")
arg(:page, :integer, default_value: 1, description: "The page in the paginated group list")
arg(:limit, :integer, default_value: 10, description: "The limit of groups per page")
resolve(&Group.list_groups/3) resolve(&Group.list_groups/3)
end end
@desc "Get a group by its ID" @desc "Get a group by its ID"
field :get_group, :group do field :get_group, :group do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The group ID")
resolve(&Group.get_group/3) resolve(&Group.get_group/3)
end end
@desc "Get a group by its preferred username" @desc "Get a group by its preferred username"
field :group, :group do field :group, :group do
arg(:preferred_username, non_null(:string)) arg(:preferred_username, non_null(:string),
description: "The group preferred_username, eventually containing their domain if remote"
)
resolve(&Group.find_group/3) resolve(&Group.find_group/3)
end end
end end
@ -162,8 +185,6 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
field :create_group, :group do field :create_group, :group do
arg(:preferred_username, non_null(:string), description: "The name for the group") arg(:preferred_username, non_null(:string), description: "The name for the group")
arg(:creator_actor_id, non_null(:id), description: "The identity that creates the group")
arg(:name, :string, description: "The displayed name for the group") arg(:name, :string, description: "The displayed name for the group")
arg(:summary, :string, description: "The summary for the group", default_value: "") arg(:summary, :string, description: "The summary for the group", default_value: "")
@ -182,7 +203,7 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
"The banner for the group, either as an object or directly the ID of an existing Picture" "The banner for the group, either as an object or directly the ID of an existing Picture"
) )
arg(:physical_address, :address_input) arg(:physical_address, :address_input, description: "The physical address for the group")
resolve(&Group.create_group/3) resolve(&Group.create_group/3)
end end
@ -210,14 +231,14 @@ defmodule Mobilizon.GraphQL.Schema.Actors.GroupType do
"The banner for the group, either as an object or directly the ID of an existing Picture" "The banner for the group, either as an object or directly the ID of an existing Picture"
) )
arg(:physical_address, :address_input) arg(:physical_address, :address_input, description: "The physical address for the group")
resolve(&Group.update_group/3) resolve(&Group.update_group/3)
end end
@desc "Delete a group" @desc "Delete a group"
field :delete_group, :deleted_object do field :delete_group, :deleted_object do
arg(:group_id, non_null(:id)) arg(:group_id, non_null(:id), description: "The group ID")
resolve(&Group.delete_group/3) resolve(&Group.delete_group/3)
end end

View file

@ -19,16 +19,22 @@ defmodule Mobilizon.GraphQL.Schema.Actors.MemberType do
field(:updated_at, :naive_datetime, description: "When was this member updated") field(:updated_at, :naive_datetime, description: "When was this member updated")
end end
@desc """
Values for a member role
"""
enum :member_role_enum do enum :member_role_enum do
value(:not_approved) value(:not_approved, description: "The member needs to be approved by the group admins")
value(:invited) value(:invited, description: "The member has been invited")
value(:member) value(:member, description: "Regular member")
value(:moderator) value(:moderator, description: "The member is a moderator")
value(:administrator) value(:administrator, description: "The member is an administrator")
value(:creator) value(:creator, description: "The member was the creator of the group. Shouldn't be used.")
value(:rejected) value(:rejected, description: "The member has been rejected or excluded from the group")
end end
@desc """
A paginated list of members
"""
object :paginated_member_list do object :paginated_member_list do
field(:elements, list_of(:member), description: "A list of members") field(:elements, list_of(:member), description: "A list of members")
field(:total, :integer, description: "The total number of elements in the list") field(:total, :integer, description: "The total number of elements in the list")
@ -37,51 +43,54 @@ defmodule Mobilizon.GraphQL.Schema.Actors.MemberType do
object :member_mutations do object :member_mutations do
@desc "Join a group" @desc "Join a group"
field :join_group, :member do field :join_group, :member do
arg(:group_id, non_null(:id)) arg(:group_id, non_null(:id), description: "The group ID")
resolve(&Group.join_group/3) resolve(&Group.join_group/3)
end end
@desc "Leave a group" @desc "Leave a group"
field :leave_group, :deleted_object do field :leave_group, :deleted_object do
arg(:group_id, non_null(:id)) arg(:group_id, non_null(:id), description: "The group ID")
resolve(&Group.leave_group/3) resolve(&Group.leave_group/3)
end end
@desc "Invite an actor to join the group" @desc "Invite an actor to join the group"
field :invite_member, :member do field :invite_member, :member do
arg(:group_id, non_null(:id)) arg(:group_id, non_null(:id), description: "The group ID")
arg(:target_actor_username, non_null(:string))
arg(:target_actor_username, non_null(:string),
description: "The targeted person's federated username"
)
resolve(&Member.invite_member/3) resolve(&Member.invite_member/3)
end end
@desc "Accept an invitation to a group" @desc "Accept an invitation to a group"
field :accept_invitation, :member do field :accept_invitation, :member do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The member ID")
resolve(&Member.accept_invitation/3) resolve(&Member.accept_invitation/3)
end end
@desc "Reject an invitation to a group" @desc "Reject an invitation to a group"
field :reject_invitation, :member do field :reject_invitation, :member do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The member ID")
resolve(&Member.reject_invitation/3) resolve(&Member.reject_invitation/3)
end end
field :update_member, :member do field :update_member, :member do
arg(:member_id, non_null(:id)) arg(:member_id, non_null(:id), description: "The member ID")
arg(:role, non_null(:member_role_enum)) arg(:role, non_null(:member_role_enum), description: "The new member role")
resolve(&Member.update_member/3) resolve(&Member.update_member/3)
end end
@desc "Remove a member from a group" @desc "Remove a member from a group"
field :remove_member, :member do field :remove_member, :member do
arg(:group_id, non_null(:id)) arg(:group_id, non_null(:id), description: "The group ID")
arg(:member_id, non_null(:id)) arg(:member_id, non_null(:id), description: "The member ID")
resolve(&Member.remove_member/3) resolve(&Member.remove_member/3)
end end

View file

@ -58,8 +58,8 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
field(:organized_events, :paginated_event_list, field(:organized_events, :paginated_event_list,
description: "A list of the events this actor has organized" description: "A list of the events this actor has organized"
) do ) do
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1, description: "The page in the paginated event list")
arg(:limit, :integer, default_value: 10) arg(:limit, :integer, default_value: 10, description: "The limit of events per page")
resolve(&Person.organized_events_for_person/3) resolve(&Person.organized_events_for_person/3)
end end
@ -68,8 +68,14 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
description: "The list of events this person goes to" description: "The list of events this person goes to"
) do ) do
arg(:event_id, :id) arg(:event_id, :id)
arg(:page, :integer, default_value: 1)
arg(:limit, :integer, default_value: 10) arg(:page, :integer,
default_value: 1,
description: "The page in the paginated participation list"
)
arg(:limit, :integer, default_value: 10, description: "The limit of participations per page")
resolve(&Person.person_participations/3) resolve(&Person.person_participations/3)
end end
@ -81,6 +87,14 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
end end
end end
@desc """
A paginated list of persons
"""
object :paginated_person_list do
field(:elements, list_of(:person), description: "A list of persons")
field(:total, :integer, description: "The total number of persons in the list")
end
object :person_queries do object :person_queries do
@desc "Get the current actor for the logged-in user" @desc "Get the current actor for the logged-in user"
field :logged_person, :person do field :logged_person, :person do
@ -89,13 +103,13 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
@desc "Get a person by its (federated) username" @desc "Get a person by its (federated) username"
field :fetch_person, :person do field :fetch_person, :person do
arg(:preferred_username, non_null(:string)) arg(:preferred_username, non_null(:string), description: "The person's federated username")
resolve(&Person.fetch_person/3) resolve(&Person.fetch_person/3)
end end
@desc "Get a person by its ID" @desc "Get a person by its ID"
field :person, :person do field :person, :person do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The person ID")
resolve(&Person.get_person/3) resolve(&Person.get_person/3)
end end
@ -104,14 +118,20 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
resolve(&Person.identities/3) resolve(&Person.identities/3)
end end
field :persons, :persons do @desc "List the profiles"
arg(:preferred_username, :string, default_value: "") field :persons, :paginated_person_list do
arg(:name, :string, default_value: "") arg(:preferred_username, :string, default_value: "", description: "Filter by username")
arg(:domain, :string, default_value: "") arg(:name, :string, default_value: "", description: "Filter by name")
arg(:local, :boolean, default_value: true) arg(:domain, :string, default_value: "", description: "Filter by domain")
arg(:suspended, :boolean, default_value: false)
arg(:page, :integer, default_value: 1) arg(:local, :boolean,
arg(:limit, :integer, default_value: 10) default_value: true,
description: "Filter by profile being local or not"
)
arg(:suspended, :boolean, default_value: false, description: "Filter by suspended status")
arg(:page, :integer, default_value: 1, description: "The page in the paginated person list")
arg(:limit, :integer, default_value: 10, description: "The limit of persons per page")
resolve(&Person.list_persons/3) resolve(&Person.list_persons/3)
end end
end end
@ -119,7 +139,7 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
object :person_mutations do object :person_mutations do
@desc "Create a new person for user" @desc "Create a new person for user"
field :create_person, :person do field :create_person, :person do
arg(:preferred_username, non_null(:string)) arg(:preferred_username, non_null(:string), description: "The username for the profile")
arg(:name, :string, description: "The displayed name for the new profile", default_value: "") arg(:name, :string, description: "The displayed name for the new profile", default_value: "")
@ -140,7 +160,7 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
@desc "Update an identity" @desc "Update an identity"
field :update_person, :person do field :update_person, :person do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The person's ID")
arg(:name, :string, description: "The displayed name for this profile") arg(:name, :string, description: "The displayed name for this profile")
@ -161,14 +181,14 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
@desc "Delete an identity" @desc "Delete an identity"
field :delete_person, :person do field :delete_person, :person do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The person's ID")
resolve(&Person.delete_person/3) resolve(&Person.delete_person/3)
end end
@desc "Register a first profile on registration" @desc "Register a first profile on registration"
field :register_person, :person do field :register_person, :person do
arg(:preferred_username, non_null(:string)) arg(:preferred_username, non_null(:string), description: "The username for the profile")
arg(:name, :string, description: "The displayed name for the new profile", default_value: "") arg(:name, :string, description: "The displayed name for the new profile", default_value: "")
@ -190,16 +210,18 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
end end
object :person_subscriptions do object :person_subscriptions do
@desc "Notify when a person's participation's status changed for an event"
field :event_person_participation_changed, :person do field :event_person_participation_changed, :person do
arg(:person_id, non_null(:id)) arg(:person_id, non_null(:id), description: "The person's ID")
config(fn args, _ -> config(fn args, _ ->
{:ok, topic: args.person_id} {:ok, topic: args.person_id}
end) end)
end end
@desc "Notify when a person's membership's status changed for a group"
field :group_membership_changed, :person do field :group_membership_changed, :person do
arg(:person_id, non_null(:id)) arg(:person_id, non_null(:id), description: "The person's ID")
config(fn args, _ -> config(fn args, _ ->
{:ok, topic: args.person_id} {:ok, topic: args.person_id}

View file

@ -10,19 +10,19 @@ defmodule Mobilizon.GraphQL.Schema.AddressType do
field(:geom, :point, description: "The geocoordinates for the point where this address is") field(:geom, :point, description: "The geocoordinates for the point where this address is")
field(:street, :string, description: "The address's street name (with number)") field(:street, :string, description: "The address's street name (with number)")
field(:locality, :string, description: "The address's locality") field(:locality, :string, description: "The address's locality")
field(:postal_code, :string) field(:postal_code, :string, description: "The address's postal code")
field(:region, :string) field(:region, :string, description: "The address's region")
field(:country, :string) field(:country, :string, description: "The address's country")
field(:description, :string) field(:description, :string, description: "The address's description")
field(:type, :string) field(:type, :string, description: "The address's type")
field(:url, :string) field(:url, :string, description: "The address's URL")
field(:id, :id) field(:id, :id, description: "The address's ID")
field(:origin_id, :string) field(:origin_id, :string, description: "The address's original ID from the provider")
end end
object :phone_address do object :phone_address do
field(:phone, :string) field(:phone, :string, description: "The phone number")
field(:info, :string) field(:info, :string, description: "Additional information about the phone number")
end end
object :online_address do object :online_address do
@ -35,33 +35,46 @@ defmodule Mobilizon.GraphQL.Schema.AddressType do
field(:geom, :point, description: "The geocoordinates for the point where this address is") field(:geom, :point, description: "The geocoordinates for the point where this address is")
field(:street, :string, description: "The address's street name (with number)") field(:street, :string, description: "The address's street name (with number)")
field(:locality, :string, description: "The address's locality") field(:locality, :string, description: "The address's locality")
field(:postal_code, :string) field(:postal_code, :string, description: "The address's postal code")
field(:region, :string) field(:region, :string, description: "The address's region")
field(:country, :string) field(:country, :string, description: "The address's country")
field(:description, :string) field(:description, :string, description: "The address's description")
field(:url, :string) field(:type, :string, description: "The address's type")
field(:type, :string) field(:url, :string, description: "The address's URL")
field(:id, :id) field(:id, :id, description: "The address's ID")
field(:origin_id, :string) field(:origin_id, :string, description: "The address's original ID from the provider")
end end
object :address_queries do object :address_queries do
@desc "Search for an address" @desc "Search for an address"
field :search_address, type: list_of(:address) do field :search_address, type: list_of(:address) do
arg(:query, non_null(:string)) arg(:query, non_null(:string))
arg(:locale, :string, default_value: "en")
arg(:page, :integer, default_value: 1) arg(:locale, :string,
arg(:limit, :integer, default_value: 10) default_value: "en",
description: "The user's locale. Geocoding backends will make use of this value."
)
arg(:page, :integer,
default_value: 1,
description: "The page in the paginated search results list"
)
arg(:limit, :integer, default_value: 10, description: "The limit of search results per page")
resolve(&Address.search/3) resolve(&Address.search/3)
end end
@desc "Reverse geocode coordinates" @desc "Reverse geocode coordinates"
field :reverse_geocode, type: list_of(:address) do field :reverse_geocode, type: list_of(:address) do
arg(:longitude, non_null(:float)) arg(:longitude, non_null(:float), description: "Geographical longitude (using WGS 84)")
arg(:latitude, non_null(:float)) arg(:latitude, non_null(:float), description: "Geographical latitude (using WGS 84)")
arg(:zoom, :integer, default_value: 15) arg(:zoom, :integer, default_value: 15, description: "Zoom level")
arg(:locale, :string, default_value: "en")
arg(:locale, :string,
default_value: "en",
description: "The user's locale. Geocoding backends will make use of this value."
)
resolve(&Address.reverse_geocode/3) resolve(&Address.reverse_geocode/3)
end end

View file

@ -22,18 +22,21 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do
field(:inserted_at, :datetime, description: "The time when the action was performed") field(:inserted_at, :datetime, description: "The time when the action was performed")
end end
@desc """
The different types of action log actions
"""
enum :action_log_action do enum :action_log_action do
value(:report_update_closed) value(:report_update_closed, description: "The report was closed")
value(:report_update_opened) value(:report_update_opened, description: "The report was opened")
value(:report_update_resolved) value(:report_update_resolved, description: "The report was resolved")
value(:note_creation) value(:note_creation, description: "A note was created on a report")
value(:note_deletion) value(:note_deletion, description: "A note was deleted on a report")
value(:event_deletion) value(:event_deletion, description: "An event was deleted")
value(:comment_deletion) value(:comment_deletion, description: "A comment was deleted")
value(:event_update) value(:event_update, description: "An event was updated")
value(:actor_suspension) value(:actor_suspension, description: "An actor was suspended")
value(:actor_unsuspension) value(:actor_unsuspension, description: "An actor was unsuspended")
value(:user_deletion) value(:user_deletion, description: "An user was deleted")
end end
@desc "The objects that can be in an action log" @desc "The objects that can be in an action log"
@ -64,11 +67,17 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do
end) end)
end end
@desc """
Language information
"""
object :language do object :language do
field(:code, :string, description: "The iso-639-3 language code") field(:code, :string, description: "The iso-639-3 language code")
field(:name, :string, description: "The language name") field(:name, :string, description: "The language name")
end end
@desc """
Dashboard information
"""
object :dashboard do object :dashboard do
field(:last_public_event_published, :event, description: "Last public event published") field(:last_public_event_published, :event, description: "Last public event published")
field(:last_group_created, :group, description: "Last public group created") field(:last_group_created, :group, description: "Last public group created")
@ -85,33 +94,52 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do
) )
end end
@desc """
Admin settings
"""
object :admin_settings do object :admin_settings do
field(:instance_name, :string) field(:instance_name, :string, description: "The instance's name")
field(:instance_description, :string) field(:instance_description, :string, description: "The instance's description")
field(:instance_long_description, :string) field(:instance_long_description, :string, description: "The instance's long description")
field(:instance_slogan, :string) field(:instance_slogan, :string, description: "The instance's slogan")
field(:contact, :string) field(:contact, :string, description: "The instance's contact details")
field(:instance_terms, :string) field(:instance_terms, :string, description: "The instance's terms body text")
field(:instance_terms_type, :instance_terms_type) field(:instance_terms_type, :instance_terms_type, description: "The instance's terms type")
field(:instance_terms_url, :string) field(:instance_terms_url, :string, description: "The instance's terms URL")
field(:instance_privacy_policy, :string)
field(:instance_privacy_policy_type, :instance_privacy_type) field(:instance_privacy_policy, :string,
field(:instance_privacy_policy_url, :string) description: "The instance's privacy policy body text"
field(:instance_rules, :string) )
field(:registrations_open, :boolean)
field(:instance_languages, list_of(:string)) field(:instance_privacy_policy_type, :instance_privacy_type,
description: "The instance's privacy policy type"
)
field(:instance_privacy_policy_url, :string, description: "The instance's privacy policy URL")
field(:instance_rules, :string, description: "The instance's rules")
field(:registrations_open, :boolean, description: "Whether the registrations are opened")
field(:instance_languages, list_of(:string), description: "The instance's languages")
end end
@desc "The acceptable values for the instance's terms type"
enum :instance_terms_type do enum :instance_terms_type do
value(:url, as: "URL") value(:url, as: "URL", description: "An URL. Users will be redirected to this URL.")
value(:default, as: "DEFAULT") value(:default, as: "DEFAULT", description: "Terms will be set to Mobilizon's default terms")
value(:custom, as: "CUSTOM") value(:custom, as: "CUSTOM", description: "Custom terms text")
end end
@desc """
The acceptable values for the instance privacy policy type
"""
enum :instance_privacy_type do enum :instance_privacy_type do
value(:url, as: "URL") value(:url, as: "URL", description: "An URL. Users will be redirected to this URL.")
value(:default, as: "DEFAULT")
value(:custom, as: "CUSTOM") value(:default,
as: "DEFAULT",
description: "Privacy policy will be set to Mobilizon's default privacy policy"
)
value(:custom, as: "CUSTOM", description: "Custom privacy policy text")
end end
object :admin_queries do object :admin_queries do
@ -122,30 +150,69 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do
resolve(&Admin.list_action_logs/3) resolve(&Admin.list_action_logs/3)
end end
@desc """
List the instance's supported languages
"""
field :languages, type: list_of(:language) do field :languages, type: list_of(:language) do
arg(:codes, list_of(:string)) arg(:codes, list_of(:string),
description:
"The user's locale. The list of languages will be translated with this locale"
)
resolve(&Admin.get_list_of_languages/3) resolve(&Admin.get_list_of_languages/3)
end end
@desc """
Get dashboard information
"""
field :dashboard, type: :dashboard do field :dashboard, type: :dashboard do
resolve(&Admin.get_dashboard/3) resolve(&Admin.get_dashboard/3)
end end
@desc """
Get admin settings
"""
field :admin_settings, type: :admin_settings do field :admin_settings, type: :admin_settings do
resolve(&Admin.get_settings/3) resolve(&Admin.get_settings/3)
end end
@desc """
List the relay followers
"""
field :relay_followers, type: :paginated_follower_list do field :relay_followers, type: :paginated_follower_list do
arg(:page, :integer, default_value: 1) arg(:page, :integer,
arg(:limit, :integer, default_value: 10) default_value: 1,
description: "The page in the paginated relay followers list"
)
arg(:limit, :integer,
default_value: 10,
description: "The limit of relay followers per page"
)
resolve(&Admin.list_relay_followers/3) resolve(&Admin.list_relay_followers/3)
end end
@desc """
List the relay followings
"""
field :relay_followings, type: :paginated_follower_list do field :relay_followings, type: :paginated_follower_list do
arg(:page, :integer, default_value: 1) arg(:page, :integer,
arg(:limit, :integer, default_value: 10) default_value: 1,
arg(:order_by, :string, default_value: :updated_at) description: "The page in the paginated relay followings list"
arg(:direction, :string, default_value: :desc) )
arg(:limit, :integer,
default_value: 10,
description: "The limit of relay followings per page"
)
arg(:order_by, :string,
default_value: :updated_at,
description: "The field to order by the list"
)
arg(:direction, :string, default_value: :desc, description: "The sorting direction")
resolve(&Admin.list_relay_followings/3) resolve(&Admin.list_relay_followings/3)
end end
end end
@ -153,47 +220,57 @@ defmodule Mobilizon.GraphQL.Schema.AdminType do
object :admin_mutations do object :admin_mutations do
@desc "Add a relay subscription" @desc "Add a relay subscription"
field :add_relay, type: :follower do field :add_relay, type: :follower do
arg(:address, non_null(:string)) arg(:address, non_null(:string), description: "The relay hostname to add")
resolve(&Admin.create_relay/3) resolve(&Admin.create_relay/3)
end end
@desc "Delete a relay subscription" @desc "Delete a relay subscription"
field :remove_relay, type: :follower do field :remove_relay, type: :follower do
arg(:address, non_null(:string)) arg(:address, non_null(:string), description: "The relay hostname to delete")
resolve(&Admin.remove_relay/3) resolve(&Admin.remove_relay/3)
end end
@desc "Accept a relay subscription" @desc "Accept a relay subscription"
field :accept_relay, type: :follower do field :accept_relay, type: :follower do
arg(:address, non_null(:string)) arg(:address, non_null(:string), description: "The accepted relay hostname")
resolve(&Admin.accept_subscription/3) resolve(&Admin.accept_subscription/3)
end end
@desc "Reject a relay subscription" @desc "Reject a relay subscription"
field :reject_relay, type: :follower do field :reject_relay, type: :follower do
arg(:address, non_null(:string)) arg(:address, non_null(:string), description: "The rejected relay hostname")
resolve(&Admin.reject_subscription/3) resolve(&Admin.reject_subscription/3)
end end
@desc """
Save admin settings
"""
field :save_admin_settings, type: :admin_settings do field :save_admin_settings, type: :admin_settings do
arg(:instance_name, :string) arg(:instance_name, :string, description: "The instance's name")
arg(:instance_description, :string) arg(:instance_description, :string, description: "The instance's description")
arg(:instance_long_description, :string) arg(:instance_long_description, :string, description: "The instance's long description")
arg(:instance_slogan, :string) arg(:instance_slogan, :string, description: "The instance's slogan")
arg(:contact, :string) arg(:contact, :string, description: "The instance's contact details")
arg(:instance_terms, :string) arg(:instance_terms, :string, description: "The instance's terms body text")
arg(:instance_terms_type, :instance_terms_type) arg(:instance_terms_type, :instance_terms_type, description: "The instance's terms type")
arg(:instance_terms_url, :string) arg(:instance_terms_url, :string, description: "The instance's terms URL")
arg(:instance_privacy_policy, :string)
arg(:instance_privacy_policy_type, :instance_privacy_type) arg(:instance_privacy_policy, :string,
arg(:instance_privacy_policy_url, :string) description: "The instance's privacy policy body text"
arg(:instance_rules, :string) )
arg(:registrations_open, :boolean)
arg(:instance_languages, list_of(:string)) arg(:instance_privacy_policy_type, :instance_privacy_type,
description: "The instance's privacy policy type"
)
arg(:instance_privacy_policy_url, :string, description: "The instance's privacy policy URL")
arg(:instance_rules, :string, description: "The instance's rules")
arg(:registrations_open, :boolean, description: "Whether the registrations are opened")
arg(:instance_languages, list_of(:string), description: "The instance's languages")
resolve(&Admin.save_settings/3) resolve(&Admin.save_settings/3)
end end

View file

@ -9,138 +9,262 @@ defmodule Mobilizon.GraphQL.Schema.ConfigType do
@desc "A config object" @desc "A config object"
object :config do object :config do
# Instance name # Instance name
field(:name, :string) field(:name, :string, description: "The instance's name")
field(:description, :string) field(:description, :string, description: "The instance's short description")
field(:long_description, :string) field(:long_description, :string, description: "The instance's long description")
field(:slogan, :string) field(:slogan, :string, description: "The instance's slogan")
field(:contact, :string) field(:contact, :string, description: "The instance's contact details")
field(:languages, list_of(:string)) field(:languages, list_of(:string), description: "The instance's admins languages")
field(:registrations_open, :boolean) field(:registrations_open, :boolean, description: "Whether the registrations are opened")
field(:registrations_allowlist, :boolean)
field(:demo_mode, :boolean) field(:registrations_allowlist, :boolean,
field(:country_code, :string) description: "Whether the registration are on an allowlist"
field(:location, :lonlat) )
field(:geocoding, :geocoding)
field(:maps, :maps) field(:demo_mode, :boolean, description: "Whether the demo mode is enabled")
field(:anonymous, :anonymous) field(:country_code, :string, description: "The country code from the IP")
field(:resource_providers, list_of(:resource_provider)) field(:location, :lonlat, description: "The IP's location")
field(:timezones, list_of(:string)) field(:geocoding, :geocoding, description: "The instance's geocoding settings")
field(:features, :features) field(:maps, :maps, description: "The instance's maps settings")
field(:version, :string) field(:anonymous, :anonymous, description: "The instance's anonymous action settings")
field(:federating, :boolean)
field(:resource_providers, list_of(:resource_provider),
description: "The instance's enabled resource providers"
)
field(:timezones, list_of(:string), description: "The instance's available timezones")
field(:features, :features, description: "The instance's features")
field(:version, :string, description: "The instance's version")
field(:federating, :boolean, description: "Whether this instance is federation")
field(:terms, :terms, description: "The instance's terms") do field(:terms, :terms, description: "The instance's terms") do
arg(:locale, :string, default_value: "en") arg(:locale, :string,
default_value: "en",
description:
"The user's locale. The terms will be translated in their language, if available."
)
resolve(&Config.terms/3) resolve(&Config.terms/3)
end end
field(:privacy, :privacy, description: "The instance's privacy policy") do field(:privacy, :privacy, description: "The instance's privacy policy") do
arg(:locale, :string, default_value: "en") arg(:locale, :string,
default_value: "en",
description:
"The user's locale. The privacy policy will be translated in their language, if available."
)
resolve(&Config.privacy/3) resolve(&Config.privacy/3)
end end
field(:rules, :string, description: "The instance's rules") field(:rules, :string, description: "The instance's rules")
field(:auth, :auth, description: "The instance auth methods") field(:auth, :auth, description: "The instance auth methods")
end end
@desc """
The instance's terms configuration
"""
object :terms do object :terms do
field(:url, :string) field(:url, :string, description: "The instance's terms URL.")
field(:type, :instance_terms_type) field(:type, :instance_terms_type, description: "The instance's terms type")
field(:body_html, :string) field(:body_html, :string, description: "The instance's terms body text")
end end
@desc """
The instance's privacy policy configuration
"""
object :privacy do object :privacy do
field(:url, :string) field(:url, :string, description: "The instance's privacy policy URL")
field(:type, :instance_privacy_type) field(:type, :instance_privacy_type, description: "The instance's privacy policy type")
field(:body_html, :string) field(:body_html, :string, description: "The instance's privacy policy body text")
end end
@desc """
Geographic coordinates
"""
object :lonlat do object :lonlat do
field(:longitude, :float) field(:longitude, :float, description: "The coordinates longitude")
field(:latitude, :float) field(:latitude, :float, description: "The coordinates latitude")
# field(:accuracy_radius, :integer) # field(:accuracy_radius, :integer)
end end
@desc """
Instance geocoding configuration
"""
object :geocoding do object :geocoding do
field(:autocomplete, :boolean) field(:autocomplete, :boolean,
field(:provider, :string) description: "Whether autocomplete in address fields can be enabled"
)
field(:provider, :string, description: "The geocoding provider")
end end
@desc """
Instance maps configuration
"""
object :maps do object :maps do
field(:tiles, :tiles) field(:tiles, :tiles, description: "The instance's maps tiles configuration")
end end
@desc """
Instance tiles configuration
"""
object :tiles do object :tiles do
field(:endpoint, :string) field(:endpoint, :string, description: "The instance's tiles endpoint")
field(:attribution, :string) field(:attribution, :string, description: "The instance's tiles attribution text")
end end
@desc """
Instance anonymous configuration
"""
object :anonymous do object :anonymous do
field(:participation, :anonymous_participation) field(:participation, :anonymous_participation,
field(:event_creation, :anonymous_event_creation) description: "The instance's anonymous participation settings"
field(:reports, :anonymous_reports) )
field(:actor_id, :id)
field(:event_creation, :anonymous_event_creation,
description: "The instance's anonymous event creation settings"
)
field(:reports, :anonymous_reports, description: "The instance's anonymous reports setting")
field(:actor_id, :id,
description: "The actor ID that should be used to perform anonymous actions"
)
end end
@desc """
Instance anonymous participation configuration
"""
object :anonymous_participation do object :anonymous_participation do
field(:allowed, :boolean) field(:allowed, :boolean, description: "Whether anonymous participations are allowed")
field(:validation, :anonymous_participation_validation)
field(:validation, :anonymous_participation_validation,
description: "The ways to validate anonymous participations"
)
end end
@desc """
Instance anonymous participation validation configuration
"""
object :anonymous_participation_validation do object :anonymous_participation_validation do
field(:email, :anonymous_participation_validation_email) field(:email, :anonymous_participation_validation_email,
field(:captcha, :anonymous_participation_validation_captcha) description: "The policy to validate anonymous participations by email"
)
field(:captcha, :anonymous_participation_validation_captcha,
description: "The policy to validate anonymous participations by captcha"
)
end end
@desc """
Instance anonymous participation with validation by email configuration
"""
object :anonymous_participation_validation_email do object :anonymous_participation_validation_email do
field(:enabled, :boolean) field(:enabled, :boolean,
field(:confirmation_required, :boolean) description: "Whether anonymous participation validation by email is enabled"
)
field(:confirmation_required, :boolean,
description: "Whether anonymous participation validation by email is required"
)
end end
@desc """
Instance anonymous participation with validation by captcha configuration
"""
object :anonymous_participation_validation_captcha do object :anonymous_participation_validation_captcha do
field(:enabled, :boolean) field(:enabled, :boolean,
description: "Whether anonymous participation validation by captcha is enabled"
)
end end
@desc """
Instance anonymous event creation configuration
"""
object :anonymous_event_creation do object :anonymous_event_creation do
field(:allowed, :boolean) field(:allowed, :boolean, description: "Whether anonymous event creation is enabled")
field(:validation, :anonymous_event_creation_validation)
field(:validation, :anonymous_event_creation_validation,
description: "The methods to validate events created anonymously"
)
end end
@desc """
Instance anonymous event creation validation configuration
"""
object :anonymous_event_creation_validation do object :anonymous_event_creation_validation do
field(:email, :anonymous_event_creation_validation_email) field(:email, :anonymous_event_creation_validation_email,
field(:captcha, :anonymous_event_creation_validation_captcha) description: "The policy to validate anonymous event creations by email"
)
field(:captcha, :anonymous_event_creation_validation_captcha,
description: "The policy to validate anonymous event creations by captcha"
)
end end
@desc """
Instance anonymous event creation email validation configuration
"""
object :anonymous_event_creation_validation_email do object :anonymous_event_creation_validation_email do
field(:enabled, :boolean) field(:enabled, :boolean,
field(:confirmation_required, :boolean) description: "Whether anonymous event creation with email validation is enabled"
)
field(:confirmation_required, :boolean,
description: "Whether anonymous event creation with email validation is required"
)
end end
@desc """
Instance anonymous event creation captcha validation configuration
"""
object :anonymous_event_creation_validation_captcha do object :anonymous_event_creation_validation_captcha do
field(:enabled, :boolean) field(:enabled, :boolean,
description: "Whether anonymous event creation with validation by captcha is enabled"
)
end end
@desc """
Instance anonymous reports
"""
object :anonymous_reports do object :anonymous_reports do
field(:allowed, :boolean) field(:allowed, :boolean, description: "Whether anonymous reports are allowed")
end end
@desc """
A resource provider details
"""
object :resource_provider do object :resource_provider do
field(:type, :string) field(:type, :string, description: "The resource provider's type")
field(:endpoint, :string) field(:endpoint, :string, description: "The resource provider's endpoint")
field(:software, :string) field(:software, :string, description: "The resource provider's software")
end end
@desc """
The instance's features
"""
object :features do object :features do
field(:groups, :boolean) field(:groups, :boolean, description: "Whether groups are activated on this instance")
field(:event_creation, :boolean)
field(:event_creation, :boolean,
description: "Whether event creation is allowed on this instance"
)
end end
@desc """
The instance's auth configuration
"""
object :auth do object :auth do
field(:ldap, :boolean, description: "Whether or not LDAP auth is enabled") field(:ldap, :boolean, description: "Whether or not LDAP auth is enabled")
field(:oauth_providers, list_of(:oauth_provider), description: "List of oauth providers") field(:oauth_providers, list_of(:oauth_provider), description: "List of oauth providers")
end end
@desc """
An oAuth Provider
"""
object :oauth_provider do object :oauth_provider do
field(:id, :string, description: "The provider ID") field(:id, :string, description: "The provider ID")
field(:label, :string, description: "The label for the auth provider") field(:label, :string, description: "The label for the auth provider")

View file

@ -13,27 +13,43 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.CommentType do
object :comment do object :comment do
interfaces([:action_log_object]) interfaces([:action_log_object])
field(:id, :id, description: "Internal ID for this comment") field(:id, :id, description: "Internal ID for this comment")
field(:uuid, :uuid) field(:uuid, :uuid, description: "An UUID for this comment")
field(:url, :string) field(:url, :string, description: "Comment URL")
field(:local, :boolean) field(:local, :boolean, description: "Whether this comment is local or not")
field(:visibility, :comment_visibility) field(:visibility, :comment_visibility, description: "The visibility for the comment")
field(:text, :string) field(:text, :string, description: "The comment body")
field(:primaryLanguage, :string) field(:primaryLanguage, :string, description: "The comment's primary language")
field(:replies, list_of(:comment)) do field(:replies, list_of(:comment)) do
description("A list of replies to the comment")
resolve(dataloader(Discussions)) resolve(dataloader(Discussions))
end end
field(:total_replies, :integer) field(:total_replies, :integer,
field(:in_reply_to_comment, :comment, resolve: dataloader(Discussions)) description: "The number of total known replies to this comment"
field(:event, :event, resolve: dataloader(Events)) )
field(:origin_comment, :comment, resolve: dataloader(Discussions))
field(:threadLanguages, non_null(list_of(:string))) field(:in_reply_to_comment, :comment,
field(:actor, :person, resolve: dataloader(Actors)) resolve: dataloader(Discussions),
field(:inserted_at, :datetime) description: "The comment this comment directly replies to"
field(:updated_at, :datetime) )
field(:deleted_at, :datetime)
field(:published_at, :datetime) field(:event, :event,
resolve: dataloader(Events),
description: "The eventual event this comment is under"
)
field(:origin_comment, :comment,
resolve: dataloader(Discussions),
description: "The original comment that started the thread this comment is in"
)
field(:threadLanguages, non_null(list_of(:string)), description: "The thread languages")
field(:actor, :person, resolve: dataloader(Actors), description: "The comment's author")
field(:inserted_at, :datetime, description: "When was the comment inserted in database")
field(:updated_at, :datetime, description: "When was the comment updated")
field(:deleted_at, :datetime, description: "When was the comment deleted")
field(:published_at, :datetime, description: "When was the comment published")
end end
@desc "The list of visibility options for a comment" @desc "The list of visibility options for a comment"
@ -49,6 +65,7 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.CommentType do
value(:invite, description: "visible only to people invited") value(:invite, description: "visible only to people invited")
end end
@desc "A paginated list of comments"
object :paginated_comment_list do object :paginated_comment_list do
field(:elements, list_of(:comment), description: "A list of comments") field(:elements, list_of(:comment), description: "A list of comments")
field(:total, :integer, description: "The total number of comments in the list") field(:total, :integer, description: "The total number of comments in the list")
@ -57,7 +74,7 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.CommentType do
object :comment_queries do object :comment_queries do
@desc "Get replies for thread" @desc "Get replies for thread"
field :thread, type: list_of(:comment) do field :thread, type: list_of(:comment) do
arg(:id, :id) arg(:id, non_null(:id), description: "The comment ID")
resolve(&Comment.get_thread/3) resolve(&Comment.get_thread/3)
end end
end end
@ -65,25 +82,24 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.CommentType do
object :comment_mutations do object :comment_mutations do
@desc "Create a comment" @desc "Create a comment"
field :create_comment, type: :comment do field :create_comment, type: :comment do
arg(:text, non_null(:string)) arg(:text, non_null(:string), description: "The comment's body")
arg(:event_id, non_null(:id)) arg(:event_id, non_null(:id), description: "The event under which this comment is")
arg(:in_reply_to_comment_id, :id) arg(:in_reply_to_comment_id, :id, description: "The comment ID this one replies to")
arg(:actor_id, non_null(:id))
resolve(&Comment.create_comment/3) resolve(&Comment.create_comment/3)
end end
@desc "Update a comment" @desc "Update a comment"
field :update_comment, type: :comment do field :update_comment, type: :comment do
arg(:text, non_null(:string)) arg(:text, non_null(:string), description: "The comment updated body")
arg(:comment_id, non_null(:id)) arg(:comment_id, non_null(:id), description: "The comment ID")
resolve(&Comment.update_comment/3) resolve(&Comment.update_comment/3)
end end
@desc "Delete a single comment" @desc "Delete a single comment"
field :delete_comment, type: :comment do field :delete_comment, type: :comment do
arg(:comment_id, non_null(:id)) arg(:comment_id, non_null(:id), description: "The comment ID")
resolve(&Comment.delete_comment/3) resolve(&Comment.delete_comment/3)
end end

View file

@ -12,9 +12,9 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.DiscussionType do
@desc "A discussion" @desc "A discussion"
object :discussion do object :discussion do
field(:id, :id, description: "Internal ID for this discussion") field(:id, :id, description: "Internal ID for this discussion")
field(:title, :string) field(:title, :string, description: "The title for this discussion")
field(:slug, :string) field(:slug, :string, description: "The slug for the discussion")
field(:last_comment, :comment) field(:last_comment, :comment, description: "The last comment of the discussion")
field :comments, :paginated_comment_list do field :comments, :paginated_comment_list do
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1)
@ -23,22 +23,27 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.DiscussionType do
description("The comments for the discussion") description("The comments for the discussion")
end end
field(:creator, :person, resolve: dataloader(Actors)) field(:creator, :person,
field(:actor, :actor, resolve: dataloader(Actors)) resolve: dataloader(Actors),
field(:inserted_at, :datetime) description: "This discussions's creator"
field(:updated_at, :datetime) )
field(:actor, :actor, resolve: dataloader(Actors), description: "This discussion's group")
field(:inserted_at, :datetime, description: "When was this discussion's created")
field(:updated_at, :datetime, description: "When was this discussion's updated")
end end
@desc "A paginated list of discussions"
object :paginated_discussion_list do object :paginated_discussion_list do
field(:elements, list_of(:discussion), description: "A list of discussion") field(:elements, list_of(:discussion), description: "A list of discussion")
field(:total, :integer, description: "The total number of comments in the list") field(:total, :integer, description: "The total number of discussions in the list")
end end
object :discussion_queries do object :discussion_queries do
@desc "Get a discussion" @desc "Get a discussion"
field :discussion, type: :discussion do field :discussion, type: :discussion do
arg(:id, :id) arg(:id, :id, description: "The discussion's ID")
arg(:slug, :string) arg(:slug, :string, description: "The discussion's slug")
resolve(&Discussion.get_discussion/3) resolve(&Discussion.get_discussion/3)
end end
end end
@ -46,36 +51,39 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.DiscussionType do
object :discussion_mutations do object :discussion_mutations do
@desc "Create a discussion" @desc "Create a discussion"
field :create_discussion, type: :discussion do field :create_discussion, type: :discussion do
arg(:title, non_null(:string)) arg(:title, non_null(:string), description: "The discussion's title")
arg(:text, non_null(:string)) arg(:text, non_null(:string), description: "The discussion's first comment body")
arg(:actor_id, non_null(:id)) arg(:actor_id, non_null(:id), description: "The discussion's group ID")
arg(:creator_id, non_null(:id))
resolve(&Discussion.create_discussion/3) resolve(&Discussion.create_discussion/3)
end end
@desc "Reply to a discussion"
field :reply_to_discussion, type: :discussion do field :reply_to_discussion, type: :discussion do
arg(:discussion_id, non_null(:id)) arg(:discussion_id, non_null(:id), description: "The discussion's ID")
arg(:text, non_null(:string)) arg(:text, non_null(:string), description: "The discussion's reply body")
resolve(&Discussion.reply_to_discussion/3) resolve(&Discussion.reply_to_discussion/3)
end end
@desc "Update a discussion"
field :update_discussion, type: :discussion do field :update_discussion, type: :discussion do
arg(:title, non_null(:string)) arg(:title, non_null(:string), description: "The updated discussion's title")
arg(:discussion_id, non_null(:id)) arg(:discussion_id, non_null(:id), description: "The discussion's ID")
resolve(&Discussion.update_discussion/3) resolve(&Discussion.update_discussion/3)
end end
@desc "Delete a discussion"
field :delete_discussion, type: :discussion do field :delete_discussion, type: :discussion do
arg(:discussion_id, non_null(:id)) arg(:discussion_id, non_null(:id), description: "The discussion's ID")
resolve(&Discussion.delete_discussion/3) resolve(&Discussion.delete_discussion/3)
end end
end end
object :discussion_subscriptions do object :discussion_subscriptions do
@desc "Notify when a discussion changed"
field :discussion_comment_changed, :discussion do field :discussion_comment_changed, :discussion do
arg(:slug, non_null(:string)) arg(:slug, non_null(:string), description: "The discussion's slug")
config(fn args, _ -> config(fn args, _ ->
{:ok, topic: args.slug} {:ok, topic: args.slug}

View file

@ -40,7 +40,7 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
field(:physical_address, :address, field(:physical_address, :address,
resolve: dataloader(Addresses), resolve: dataloader(Addresses),
description: "The type of the event's address" description: "The event's physical address"
) )
field(:online_address, :string, description: "Online address of the event") field(:online_address, :string, description: "Online address of the event")
@ -68,10 +68,13 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
) )
field(:participants, :paginated_participant_list, description: "The event's participants") do field(:participants, :paginated_participant_list, description: "The event's participants") do
arg(:page, :integer, default_value: 1) arg(:page, :integer,
arg(:limit, :integer, default_value: 10) default_value: 1,
arg(:roles, :string, default_value: "") description: "The page in the paginated participants list"
arg(:actor_id, :id) )
arg(:limit, :integer, default_value: 10, description: "The limit of participants per page")
arg(:roles, :string, default_value: "", description: "Filter by roles")
resolve(&Event.list_participants_for_event/3) resolve(&Event.list_participants_for_event/3)
end end
@ -119,11 +122,13 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
value(:cancelled, description: "The event is cancelled") value(:cancelled, description: "The event is cancelled")
end end
@desc "A paginated list of events"
object :paginated_event_list do object :paginated_event_list do
field(:elements, list_of(:event), description: "A list of events") field(:elements, list_of(:event), description: "A list of events")
field(:total, :integer, description: "The total number of events in the list") field(:total, :integer, description: "The total number of events in the list")
end end
@desc "Participation statistics"
object :participant_stats do object :participant_stats do
field(:going, :integer, description: "The number of approved participants") field(:going, :integer, description: "The number of approved participants")
field(:not_approved, :integer, description: "The number of not approved participants") field(:not_approved, :integer, description: "The number of not approved participants")
@ -139,24 +144,36 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
field(:creator, :integer, description: "The number of creators") field(:creator, :integer, description: "The number of creators")
end end
@desc """
An event offer
"""
object :event_offer do object :event_offer do
field(:price, :float, description: "The price amount for this offer") field(:price, :float, description: "The price amount for this offer")
field(:price_currency, :string, description: "The currency for this price offer") field(:price_currency, :string, description: "The currency for this price offer")
field(:url, :string, description: "The URL to access to this offer") field(:url, :string, description: "The URL to access to this offer")
end end
@desc """
An event participation condition
"""
object :event_participation_condition do object :event_participation_condition do
field(:title, :string, description: "The title for this condition") field(:title, :string, description: "The title for this condition")
field(:content, :string, description: "The content for this condition") field(:content, :string, description: "The content for this condition")
field(:url, :string, description: "The URL to access this condition") field(:url, :string, description: "The URL to access this condition")
end end
@desc """
An event offer
"""
input_object :event_offer_input do input_object :event_offer_input do
field(:price, :float, description: "The price amount for this offer") field(:price, :float, description: "The price amount for this offer")
field(:price_currency, :string, description: "The currency for this price offer") field(:price_currency, :string, description: "The currency for this price offer")
field(:url, :string, description: "The URL to access to this offer") field(:url, :string, description: "The URL to access to this offer")
end end
@desc """
An event participation condition
"""
input_object :event_participation_condition_input do input_object :event_participation_condition_input do
field(:title, :string, description: "The title for this condition") field(:title, :string, description: "The title for this condition")
field(:content, :string, description: "The content for this condition") field(:content, :string, description: "The content for this condition")
@ -170,6 +187,9 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
value(:closed, description: "No one can comment except for the admin") value(:closed, description: "No one can comment except for the admin")
end end
@desc """
Event options
"""
object :event_options do object :event_options do
field(:maximum_attendee_capacity, :integer, field(:maximum_attendee_capacity, :integer,
description: "The maximum attendee capacity for this event" description: "The maximum attendee capacity for this event"
@ -213,6 +233,9 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
) )
end end
@desc """
Event options
"""
input_object :event_options_input do input_object :event_options_input do
field(:maximum_attendee_capacity, :integer, field(:maximum_attendee_capacity, :integer,
description: "The maximum attendee capacity for this event" description: "The maximum attendee capacity for this event"
@ -259,6 +282,9 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
) )
end end
@desc """
A event contact
"""
input_object :contact do input_object :contact do
field(:id, :string, description: "The Contact Actor ID") field(:id, :string, description: "The Contact Actor ID")
end end
@ -266,14 +292,14 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
object :event_queries do object :event_queries do
@desc "Get all events" @desc "Get all events"
field :events, list_of(:event) do field :events, list_of(:event) do
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1, description: "The page in the paginated event list")
arg(:limit, :integer, default_value: 10) arg(:limit, :integer, default_value: 10, description: "The limit of events per page")
resolve(&Event.list_events/3) resolve(&Event.list_events/3)
end end
@desc "Get an event by uuid" @desc "Get an event by uuid"
field :event, :event do field :event, :event do
arg(:uuid, non_null(:uuid)) arg(:uuid, non_null(:uuid), description: "The event's UUID")
resolve(&Event.find_event/3) resolve(&Event.find_event/3)
end end
end end
@ -281,13 +307,21 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
object :event_mutations do object :event_mutations do
@desc "Create an event" @desc "Create an event"
field :create_event, type: :event do field :create_event, type: :event do
arg(:title, non_null(:string)) arg(:title, non_null(:string), description: "The event's title")
arg(:description, non_null(:string)) arg(:description, non_null(:string), description: "The event's description")
arg(:begins_on, non_null(:datetime)) arg(:begins_on, non_null(:datetime), description: "Datetime for when the event begins")
arg(:ends_on, :datetime) arg(:ends_on, :datetime, description: "Datetime for when the event ends")
arg(:status, :event_status) arg(:status, :event_status, description: "Status of the event")
arg(:visibility, :event_visibility, default_value: :public)
arg(:join_options, :event_join_options, default_value: :free) arg(:visibility, :event_visibility,
default_value: :public,
description: "The event's visibility"
)
arg(:join_options, :event_join_options,
default_value: :free,
description: "The event's options to join"
)
arg(:tags, list_of(:string), arg(:tags, list_of(:string),
default_value: [], default_value: [],
@ -299,31 +333,49 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
"The picture for the event, either as an object or directly the ID of an existing Picture" "The picture for the event, either as an object or directly the ID of an existing Picture"
) )
arg(:publish_at, :datetime) arg(:publish_at, :datetime, description: "Datetime when the event was published")
arg(:online_address, :string) arg(:online_address, :string, description: "Online address of the event")
arg(:phone_address, :string) arg(:phone_address, :string, description: "Phone address for the event")
arg(:organizer_actor_id, non_null(:id))
arg(:attributed_to_id, :id) arg(:organizer_actor_id, non_null(:id),
arg(:category, :string, default_value: "meeting") description: "The event's organizer ID (as a person)"
arg(:physical_address, :address_input) )
arg(:options, :event_options_input)
arg(:draft, :boolean, default_value: false) arg(:attributed_to_id, :id, description: "Who the event is attributed to ID (often a group)")
arg(:contacts, list_of(:contact), default_value: [])
arg(:category, :string, default_value: "meeting", description: "The event's category")
arg(:physical_address, :address_input, description: "The event's physical address")
arg(:options, :event_options_input, description: "The event options")
arg(:draft, :boolean,
default_value: false,
description: "Whether or not the event is a draft"
)
arg(:contacts, list_of(:contact), default_value: [], description: "The events contacts")
resolve(&Event.create_event/3) resolve(&Event.create_event/3)
end end
@desc "Update an event" @desc "Update an event"
field :update_event, type: :event do field :update_event, type: :event do
arg(:event_id, non_null(:id)) arg(:event_id, non_null(:id), description: "The event's ID")
arg(:title, :string) arg(:title, :string, description: "The event's title")
arg(:description, :string) arg(:description, :string, description: "The event's description")
arg(:begins_on, :datetime) arg(:begins_on, :datetime, description: "Datetime for when the event begins")
arg(:ends_on, :datetime) arg(:ends_on, :datetime, description: "Datetime for when the event ends")
arg(:status, :event_status) arg(:status, :event_status, description: "Status of the event")
arg(:visibility, :event_visibility, default_value: :public)
arg(:join_options, :event_join_options, default_value: :free) arg(:visibility, :event_visibility,
default_value: :public,
description: "The event's visibility"
)
arg(:join_options, :event_join_options,
default_value: :free,
description: "The event's options to join"
)
arg(:tags, list_of(:string), description: "The list of tags associated to the event") arg(:tags, list_of(:string), description: "The list of tags associated to the event")
@ -332,23 +384,24 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
"The picture for the event, either as an object or directly the ID of an existing Picture" "The picture for the event, either as an object or directly the ID of an existing Picture"
) )
arg(:online_address, :string) arg(:online_address, :string, description: "Online address of the event")
arg(:phone_address, :string) arg(:phone_address, :string, description: "Phone address for the event")
arg(:organizer_actor_id, :id) arg(:organizer_actor_id, :id, description: "The event's organizer ID (as a person)")
arg(:attributed_to_id, :id)
arg(:category, :string) arg(:attributed_to_id, :id, description: "Who the event is attributed to ID (often a group)")
arg(:physical_address, :address_input)
arg(:options, :event_options_input) arg(:category, :string, description: "The event's category")
arg(:draft, :boolean) arg(:physical_address, :address_input, description: "The event's physical address")
arg(:contacts, list_of(:contact), default_value: []) arg(:options, :event_options_input, description: "The event options")
arg(:draft, :boolean, description: "Whether or not the event is a draft")
arg(:contacts, list_of(:contact), default_value: [], description: "The events contacts")
resolve(&Event.update_event/3) resolve(&Event.update_event/3)
end end
@desc "Delete an event" @desc "Delete an event"
field :delete_event, :deleted_object do field :delete_event, :deleted_object do
arg(:event_id, non_null(:id)) arg(:event_id, non_null(:id), description: "The event ID to delete")
arg(:actor_id, non_null(:id))
resolve(&Event.delete_event/3) resolve(&Event.delete_event/3)
end end

View file

@ -10,7 +10,12 @@ defmodule Mobilizon.GraphQL.Schema.Events.FeedTokenType do
alias Mobilizon.{Actors, Users} alias Mobilizon.{Actors, Users}
alias Mobilizon.GraphQL.Resolvers.FeedToken alias Mobilizon.GraphQL.Resolvers.FeedToken
@desc "Represents a participant to an event" @desc """
Represents a feed token
Feed tokens are tokens that are used to provide access to private feeds such as WebCal feed for all of your user's events,
or an Atom feed for just a profile.
"""
object :feed_token do object :feed_token do
field( field(
:actor, :actor,
@ -31,21 +36,21 @@ defmodule Mobilizon.GraphQL.Schema.Events.FeedTokenType do
@desc "Represents a deleted feed_token" @desc "Represents a deleted feed_token"
object :deleted_feed_token do object :deleted_feed_token do
field(:user, :deleted_object) field(:user, :deleted_object, description: "The user that owned the deleted feed token")
field(:actor, :deleted_object) field(:actor, :deleted_object, description: "The actor that owned the deleted feed token")
end end
object :feed_token_mutations do object :feed_token_mutations do
@desc "Create a Feed Token" @desc "Create a Feed Token"
field :create_feed_token, :feed_token do field :create_feed_token, :feed_token do
arg(:actor_id, :id) arg(:actor_id, :id, description: "The actor ID for the feed token")
resolve(&FeedToken.create_feed_token/3) resolve(&FeedToken.create_feed_token/3)
end end
@desc "Delete a feed token" @desc "Delete a feed token"
field :delete_feed_token, :deleted_feed_token do field :delete_feed_token, :deleted_feed_token do
arg(:token, non_null(:string)) arg(:token, non_null(:string), description: "The token to delete")
resolve(&FeedToken.delete_feed_token/3) resolve(&FeedToken.delete_feed_token/3)
end end

View file

@ -37,6 +37,9 @@ defmodule Mobilizon.GraphQL.Schema.Events.ParticipantType do
field(:inserted_at, :datetime, description: "The datetime this participant was created") field(:inserted_at, :datetime, description: "The datetime this participant was created")
end end
@desc """
Metadata about a participant
"""
object :participant_metadata do object :participant_metadata do
field(:cancellation_token, :string, field(:cancellation_token, :string,
description: "The eventual token to leave an event when user is anonymous" description: "The eventual token to leave an event when user is anonymous"
@ -46,61 +49,66 @@ defmodule Mobilizon.GraphQL.Schema.Events.ParticipantType do
field(:locale, :string, description: "The participant's locale") field(:locale, :string, description: "The participant's locale")
end end
@desc """
A paginated list of participants
"""
object :paginated_participant_list do object :paginated_participant_list do
field(:elements, list_of(:participant), description: "A list of participants") field(:elements, list_of(:participant), description: "A list of participants")
field(:total, :integer, description: "The total number of participants in the list") field(:total, :integer, description: "The total number of participants in the list")
end end
@desc """
The possible values for a participant role
"""
enum :participant_role_enum do enum :participant_role_enum do
value(:not_approved) value(:not_approved, description: "The participant has not been approved")
value(:not_confirmed) value(:not_confirmed, description: "The participant has not confirmed their participation")
value(:participant) value(:participant, description: "The participant is a regular participant")
value(:moderator) value(:moderator, description: "The participant is an event moderator")
value(:administrator) value(:administrator, description: "The participant is an event administrator")
value(:creator) value(:creator, description: "The participant is an event creator")
value(:rejected) value(:rejected, description: "The participant has been rejected from this event")
end end
@desc "Represents a deleted participant" @desc "Represents a deleted participant"
object :deleted_participant do object :deleted_participant do
field(:id, :id) field(:id, :id, description: "The participant ID")
field(:event, :deleted_object) field(:event, :deleted_object, description: "The participant's event")
field(:actor, :deleted_object) field(:actor, :deleted_object, description: "The participant's actor")
end end
object :participant_mutations do object :participant_mutations do
@desc "Join an event" @desc "Join an event"
field :join_event, :participant do field :join_event, :participant do
arg(:event_id, non_null(:id)) arg(:event_id, non_null(:id), description: "The event ID that is joined")
arg(:actor_id, non_null(:id)) arg(:actor_id, non_null(:id), description: "The actor ID for the participant")
arg(:email, :string) arg(:email, :string, description: "The anonymous participant's email")
arg(:message, :string) arg(:message, :string, description: "The anonymous participant's message")
arg(:locale, :string) arg(:locale, :string, description: "The anonymous participant's locale")
resolve(&Participant.actor_join_event/3) resolve(&Participant.actor_join_event/3)
end end
@desc "Leave an event" @desc "Leave an event"
field :leave_event, :deleted_participant do field :leave_event, :deleted_participant do
arg(:event_id, non_null(:id)) arg(:event_id, non_null(:id), description: "The event ID the participant left")
arg(:actor_id, non_null(:id)) arg(:actor_id, non_null(:id), description: "The actor ID for the participant")
arg(:token, :string) arg(:token, :string, description: "The anonymous participant participation token")
resolve(&Participant.actor_leave_event/3) resolve(&Participant.actor_leave_event/3)
end end
@desc "Accept a participation" @desc "Update a participation"
field :update_participation, :participant do field :update_participation, :participant do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The participant ID")
arg(:role, non_null(:participant_role_enum)) arg(:role, non_null(:participant_role_enum), description: "The participant new role")
arg(:moderator_actor_id, non_null(:id))
resolve(&Participant.update_participation/3) resolve(&Participant.update_participation/3)
end end
@desc "Confirm a participation" @desc "Confirm a participation"
field :confirm_participation, :participant do field :confirm_participation, :participant do
arg(:confirmation_token, non_null(:string)) arg(:confirmation_token, non_null(:string), description: "The participation token")
resolve(&Participant.confirm_participation_from_token/3) resolve(&Participant.confirm_participation_from_token/3)
end end
end end

View file

@ -19,23 +19,23 @@ defmodule Mobilizon.GraphQL.Schema.PictureType do
@desc "An attached picture or a link to a picture" @desc "An attached picture or a link to a picture"
input_object :picture_input do input_object :picture_input do
# Either a full picture object # Either a full picture object
field(:picture, :picture_input_object) field(:picture, :picture_input_object, description: "A full picture attached")
# Or directly the ID of an existing picture # Or directly the ID of an existing picture
field(:picture_id, :id) field(:picture_id, :id, description: "The ID of an existing picture")
end end
@desc "An attached picture" @desc "An attached picture"
input_object :picture_input_object do input_object :picture_input_object do
field(:name, non_null(:string)) field(:name, non_null(:string), description: "The picture's name")
field(:alt, :string) field(:alt, :string, description: "The picture's alternative text")
field(:file, non_null(:upload)) field(:file, non_null(:upload), description: "The picture file")
field(:actor_id, :id) field(:actor_id, :id, description: "The picture owner")
end end
object :picture_queries do object :picture_queries do
@desc "Get a picture" @desc "Get a picture"
field :picture, :picture do field :picture, :picture do
arg(:id, non_null(:string)) arg(:id, non_null(:string), description: "The picture ID")
resolve(&Picture.picture/3) resolve(&Picture.picture/3)
end end
end end
@ -43,10 +43,9 @@ defmodule Mobilizon.GraphQL.Schema.PictureType do
object :picture_mutations do object :picture_mutations do
@desc "Upload a picture" @desc "Upload a picture"
field :upload_picture, :picture do field :upload_picture, :picture do
arg(:name, non_null(:string)) arg(:name, non_null(:string), description: "The picture's name")
arg(:alt, :string) arg(:alt, :string, description: "The picture's alternative text")
arg(:file, non_null(:upload)) arg(:file, non_null(:upload), description: "The picture file")
arg(:actor_id, non_null(:id))
resolve(&Picture.upload_picture/3) resolve(&Picture.upload_picture/3)
end end
end end

View file

@ -31,6 +31,9 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
) )
end end
@desc """
A paginated list of posts
"""
object :paginated_post_list do object :paginated_post_list do
field(:elements, list_of(:post), description: "A list of posts") field(:elements, list_of(:post), description: "A list of posts")
field(:total, :integer, description: "The total number of posts in the list") field(:total, :integer, description: "The total number of posts in the list")
@ -50,7 +53,7 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
object :post_queries do object :post_queries do
@desc "Get a post" @desc "Get a post"
field :post, :post do field :post, :post do
arg(:slug, non_null(:string)) arg(:slug, non_null(:string), description: "The post's slug")
resolve(&Post.get_post/3) resolve(&Post.get_post/3)
end end
end end
@ -58,12 +61,15 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
object :post_mutations do object :post_mutations do
@desc "Create a post" @desc "Create a post"
field :create_post, :post do field :create_post, :post do
arg(:attributed_to_id, non_null(:id)) arg(:attributed_to_id, non_null(:id),
arg(:title, non_null(:string)) description: "The ID from the group whose post is attributed to"
arg(:body, non_null(:string)) )
arg(:draft, :boolean, default_value: false)
arg(:visibility, :post_visibility) arg(:title, non_null(:string), description: "The post's title")
arg(:publish_at, :datetime) arg(:body, non_null(:string), description: "The post's body")
arg(:draft, :boolean, default_value: false, description: "Whether the post is a draft")
arg(:visibility, :post_visibility, description: "The post's visibility")
arg(:publish_at, :datetime, description: "The post's publish date")
arg(:tags, list_of(:string), arg(:tags, list_of(:string),
default_value: [], default_value: [],
@ -80,13 +86,17 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
@desc "Update a post" @desc "Update a post"
field :update_post, :post do field :update_post, :post do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The post's ID")
arg(:title, :string) arg(:title, :string, description: "The post's new title")
arg(:body, :string) arg(:body, :string, description: "The post's new body")
arg(:attributed_to_id, :id) arg(:attributed_to_id, :id, description: "The group the post is attributed to")
arg(:draft, :boolean) arg(:draft, :boolean, description: "Whether the post is a draft")
arg(:visibility, :post_visibility) arg(:visibility, :post_visibility, description: "The post's visibility")
arg(:publish_at, :datetime)
arg(:publish_at, :datetime,
description: "The time when the posts is going to be or has been published"
)
arg(:tags, list_of(:string), description: "The list of tags associated to the post") arg(:tags, list_of(:string), description: "The list of tags associated to the post")
arg(:picture, :picture_input, arg(:picture, :picture_input,
@ -99,7 +109,7 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
@desc "Delete a post" @desc "Delete a post"
field :delete_post, :deleted_object do field :delete_post, :deleted_object do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The post's ID")
resolve(&Post.delete_post/3) resolve(&Post.delete_post/3)
end end
end end

View file

@ -55,15 +55,19 @@ defmodule Mobilizon.GraphQL.Schema.ReportType do
object :report_queries do object :report_queries do
@desc "Get all reports" @desc "Get all reports"
field :reports, list_of(:report) do field :reports, list_of(:report) do
arg(:page, :integer, default_value: 1) arg(:page, :integer,
arg(:limit, :integer, default_value: 10) default_value: 1,
arg(:status, :report_status, default_value: :open) description: "The page in the reports participations list"
)
arg(:limit, :integer, default_value: 10, description: "The limit of reports per page")
arg(:status, :report_status, default_value: :open, description: "Filter reports by status")
resolve(&Report.list_reports/3) resolve(&Report.list_reports/3)
end end
@desc "Get a report by id" @desc "Get a report by id"
field :report, :report do field :report, :report do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The report ID")
resolve(&Report.get_report/3) resolve(&Report.get_report/3)
end end
end end
@ -71,34 +75,41 @@ defmodule Mobilizon.GraphQL.Schema.ReportType do
object :report_mutations do object :report_mutations do
@desc "Create a report" @desc "Create a report"
field :create_report, type: :report do field :create_report, type: :report do
arg(:content, :string) arg(:content, :string, description: "The message sent with the report")
arg(:reporter_id, non_null(:id)) arg(:reported_id, non_null(:id), description: "The actor's ID that is being reported")
arg(:reported_id, non_null(:id)) arg(:event_id, :id, default_value: nil, description: "The event ID that is being reported")
arg(:event_id, :id, default_value: nil)
arg(:comments_ids, list_of(:id), default_value: []) arg(:comments_ids, list_of(:id),
arg(:forward, :boolean, default_value: false) default_value: [],
description: "The comment ID that is being reported"
)
arg(:forward, :boolean,
default_value: false,
description:
"Whether to forward the report to the original instance if the content is remote"
)
resolve(&Report.create_report/3) resolve(&Report.create_report/3)
end end
@desc "Update a report" @desc "Update a report"
field :update_report_status, type: :report do field :update_report_status, type: :report do
arg(:report_id, non_null(:id)) arg(:report_id, non_null(:id), description: "The report's ID")
arg(:moderator_id, non_null(:id)) arg(:status, non_null(:report_status), description: "The report's new status")
arg(:status, non_null(:report_status))
resolve(&Report.update_report/3) resolve(&Report.update_report/3)
end end
@desc "Create a note on a report" @desc "Create a note on a report"
field :create_report_note, type: :report_note do field :create_report_note, type: :report_note do
arg(:content, :string) arg(:content, :string, description: "The note's content")
arg(:moderator_id, non_null(:id)) arg(:report_id, non_null(:id), description: "The report's ID")
arg(:report_id, non_null(:id))
resolve(&Report.create_report_note/3) resolve(&Report.create_report_note/3)
end end
@desc "Delete a note on a report"
field :delete_report_note, type: :deleted_object do field :delete_report_note, type: :deleted_object do
arg(:note_id, non_null(:id)) arg(:note_id, non_null(:id), description: "The note's ID")
arg(:moderator_id, non_null(:id))
resolve(&Report.delete_report_note/3) resolve(&Report.delete_report_note/3)
end end
end end

View file

@ -30,31 +30,41 @@ defmodule Mobilizon.GraphQL.Schema.ResourceType do
end end
end end
@desc """
A paginated list of resources
"""
object :paginated_resource_list do object :paginated_resource_list do
field(:elements, list_of(:resource), description: "A list of resources") field(:elements, list_of(:resource), description: "A list of resources")
field(:total, :integer, description: "The total number of resources in the list") field(:total, :integer, description: "The total number of resources in the list")
end end
@desc """
The metadata associated to the resource
"""
object :resource_metadata do object :resource_metadata do
field(:type, :string, description: "The type of the resource") field(:type, :string, description: "The type of the resource")
field(:title, :string, description: "The resource's metadata title") field(:title, :string, description: "The resource's metadata title")
field(:description, :string, description: "The resource's metadata description") field(:description, :string, description: "The resource's metadata description")
field(:image_remote_url, :string, description: "The resource's metadata image") field(:image_remote_url, :string, description: "The resource's metadata image")
field(:width, :integer) field(:width, :integer, description: "The resource's metadata image width")
field(:height, :integer) field(:height, :integer, description: "The resource's metadata image height")
field(:author_name, :string) field(:author_name, :string, description: "The resource's author name")
field(:author_url, :string) field(:author_url, :string, description: "The resource's author URL")
field(:provider_name, :string) field(:provider_name, :string, description: "The resource's provider name")
field(:provider_url, :string) field(:provider_url, :string, description: "The resource's provider URL")
field(:html, :string) field(:html, :string, description: "The resource's author name")
field(:favicon_url, :string) field(:favicon_url, :string, description: "The resource's favicon URL")
end end
object :resource_queries do object :resource_queries do
@desc "Get a resource" @desc "Get a resource"
field :resource, :resource do field :resource, :resource do
arg(:path, non_null(:string)) arg(:path, non_null(:string), description: "The path for the resource")
arg(:username, non_null(:string))
arg(:username, non_null(:string),
description: "The federated username for the group resource"
)
resolve(&Resource.get_resource/3) resolve(&Resource.get_resource/3)
end end
end end
@ -62,36 +72,39 @@ defmodule Mobilizon.GraphQL.Schema.ResourceType do
object :resource_mutations do object :resource_mutations do
@desc "Create a resource" @desc "Create a resource"
field :create_resource, :resource do field :create_resource, :resource do
arg(:parent_id, :id) arg(:parent_id, :id,
arg(:actor_id, non_null(:id)) description: "The ID from the parent resource (folder) this resource is in"
arg(:title, non_null(:string)) )
arg(:summary, :string)
arg(:resource_url, :string) arg(:actor_id, non_null(:id), description: "The group this resource belongs to")
arg(:type, :string, default_value: "link") arg(:title, non_null(:string), description: "This resource's title")
arg(:summary, :string, description: "This resource summary")
arg(:resource_url, :string, description: "This resource's own original URL")
arg(:type, :string, default_value: "link", description: "The type for this resource")
resolve(&Resource.create_resource/3) resolve(&Resource.create_resource/3)
end end
@desc "Update a resource" @desc "Update a resource"
field :update_resource, :resource do field :update_resource, :resource do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The resource ID")
arg(:title, :string) arg(:title, :string, description: "The new resource title")
arg(:summary, :string) arg(:summary, :string, description: "The new resource summary")
arg(:parent_id, :id) arg(:parent_id, :id, description: "The new resource parent ID (if the resource is moved)")
arg(:resource_url, :string) arg(:resource_url, :string, description: "The new resource URL")
resolve(&Resource.update_resource/3) resolve(&Resource.update_resource/3)
end end
@desc "Delete a resource" @desc "Delete a resource"
field :delete_resource, :deleted_object do field :delete_resource, :deleted_object do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The resource ID")
resolve(&Resource.delete_resource/3) resolve(&Resource.delete_resource/3)
end end
@desc "Get a preview for a resource link" @desc "Get a preview for a resource link"
field :preview_resource_link, :resource_metadata do field :preview_resource_link, :resource_metadata do
arg(:resource_url, non_null(:string)) arg(:resource_url, non_null(:string), description: "The link to crawl to get of preview of")
resolve(&Resource.preview_resource_link/3) resolve(&Resource.preview_resource_link/3)
end end
end end

View file

@ -26,6 +26,9 @@ defmodule Mobilizon.GraphQL.Schema.SearchType do
field(:elements, non_null(list_of(:event)), description: "Event elements") field(:elements, non_null(list_of(:event)), description: "Event elements")
end end
@desc """
A entity that can be interacted with from a remote instance
"""
interface :interactable do interface :interactable do
field(:url, :string, description: "A public URL for the entity") field(:url, :string, description: "A public URL for the entity")
@ -44,20 +47,25 @@ defmodule Mobilizon.GraphQL.Schema.SearchType do
object :search_queries do object :search_queries do
@desc "Search persons" @desc "Search persons"
field :search_persons, :persons do field :search_persons, :persons do
arg(:term, :string, default_value: "") arg(:term, :string, default_value: "", description: "Search term")
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1, description: "Result page")
arg(:limit, :integer, default_value: 10) arg(:limit, :integer, default_value: 10, description: "Results limit per page")
resolve(&Search.search_persons/3) resolve(&Search.search_persons/3)
end end
@desc "Search groups" @desc "Search groups"
field :search_groups, :groups do field :search_groups, :groups do
arg(:term, :string, default_value: "") arg(:term, :string, default_value: "", description: "Search term")
arg(:location, :string, description: "A geohash for coordinates") arg(:location, :string, description: "A geohash for coordinates")
arg(:radius, :float, default_value: 50)
arg(:page, :integer, default_value: 1) arg(:radius, :float,
arg(:limit, :integer, default_value: 10) default_value: 50,
description: "Radius around the location to search in"
)
arg(:page, :integer, default_value: 1, description: "Result page")
arg(:limit, :integer, default_value: 10, description: "Results limit per page")
resolve(&Search.search_groups/3) resolve(&Search.search_groups/3)
end end
@ -67,11 +75,16 @@ defmodule Mobilizon.GraphQL.Schema.SearchType do
arg(:term, :string, default_value: "") arg(:term, :string, default_value: "")
arg(:tags, :string, description: "A comma-separated string listing the tags") arg(:tags, :string, description: "A comma-separated string listing the tags")
arg(:location, :string, description: "A geohash for coordinates") arg(:location, :string, description: "A geohash for coordinates")
arg(:radius, :float, default_value: 50)
arg(:page, :integer, default_value: 1) arg(:radius, :float,
arg(:limit, :integer, default_value: 10) default_value: 50,
arg(:begins_on, :datetime) description: "Radius around the location to search in"
arg(:ends_on, :datetime) )
arg(:page, :integer, default_value: 1, description: "Result page")
arg(:limit, :integer, default_value: 10, description: "Results limit per page")
arg(:begins_on, :datetime, description: "Filter events by their start date")
arg(:ends_on, :datetime, description: "Filter events by their end date")
resolve(&Search.search_events/3) resolve(&Search.search_events/3)
end end

View file

@ -6,7 +6,7 @@ defmodule Mobilizon.GraphQL.Schema.SortType do
@desc "Available sort directions" @desc "Available sort directions"
enum :sort_direction do enum :sort_direction do
value(:asc) value(:asc, description: "Ascending order")
value(:desc) value(:desc, description: "Descending order")
end end
end end

View file

@ -23,8 +23,8 @@ defmodule Mobilizon.GraphQL.Schema.TagType do
object :tag_queries do object :tag_queries do
@desc "Get the list of tags" @desc "Get the list of tags"
field :tags, non_null(list_of(:tag)) do field :tags, non_null(list_of(:tag)) do
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1, description: "The page in the paginated tags list")
arg(:limit, :integer, default_value: 10) arg(:limit, :integer, default_value: 10, description: "The limit of tags per page")
resolve(&Tag.list_tags/3) resolve(&Tag.list_tags/3)
end end
end end

View file

@ -26,6 +26,9 @@ defmodule Mobilizon.GraphQL.Schema.Todos.TodoType do
) )
end end
@desc """
A paginated list of todos
"""
object :paginated_todo_list do object :paginated_todo_list do
field(:elements, list_of(:todo), description: "A list of todos") field(:elements, list_of(:todo), description: "A list of todos")
field(:total, :integer, description: "The total number of todos in the list") field(:total, :integer, description: "The total number of todos in the list")
@ -34,7 +37,7 @@ defmodule Mobilizon.GraphQL.Schema.Todos.TodoType do
object :todo_queries do object :todo_queries do
@desc "Get a todo" @desc "Get a todo"
field :todo, :todo do field :todo, :todo do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The todo ID")
resolve(&TodoResolver.get_todo/3) resolve(&TodoResolver.get_todo/3)
end end
end end
@ -42,23 +45,23 @@ defmodule Mobilizon.GraphQL.Schema.Todos.TodoType do
object :todo_mutations do object :todo_mutations do
@desc "Create a todo" @desc "Create a todo"
field :create_todo, :todo do field :create_todo, :todo do
arg(:todo_list_id, non_null(:id)) arg(:todo_list_id, non_null(:id), description: "The todo-list ID this todo is in")
arg(:title, non_null(:string)) arg(:title, non_null(:string), description: "The todo title")
arg(:status, :boolean) arg(:status, :boolean, description: "The todo status")
arg(:due_date, :datetime) arg(:due_date, :datetime, description: "The todo due date")
arg(:assigned_to_id, :id) arg(:assigned_to_id, :id, description: "The actor this todo is assigned to")
resolve(&TodoResolver.create_todo/3) resolve(&TodoResolver.create_todo/3)
end end
@desc "Update a todo" @desc "Update a todo"
field :update_todo, :todo do field :update_todo, :todo do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The todo ID")
arg(:todo_list_id, :id) arg(:todo_list_id, :id, description: "The new todo-list ID")
arg(:title, :string) arg(:title, :string, description: "The new todo title")
arg(:status, :boolean) arg(:status, :boolean, description: "The new todo status")
arg(:due_date, :datetime) arg(:due_date, :datetime, description: "The new todo due date")
arg(:assigned_to_id, :id) arg(:assigned_to_id, :id, description: "The new id of the actor this todo is assigned to")
resolve(&TodoResolver.update_todo/3) resolve(&TodoResolver.update_todo/3)
end end

View file

@ -23,6 +23,9 @@ defmodule Mobilizon.GraphQL.Schema.Todos.TodoListType do
) )
end end
@desc """
A paginated list of todo-lists
"""
object :paginated_todo_list_list do object :paginated_todo_list_list do
field(:elements, list_of(:todo_list), description: "A list of todo lists") field(:elements, list_of(:todo_list), description: "A list of todo lists")
field(:total, :integer, description: "The total number of todo lists in the list") field(:total, :integer, description: "The total number of todo lists in the list")
@ -31,7 +34,7 @@ defmodule Mobilizon.GraphQL.Schema.Todos.TodoListType do
object :todo_list_queries do object :todo_list_queries do
@desc "Get a todo list" @desc "Get a todo list"
field :todo_list, :todo_list do field :todo_list, :todo_list do
arg(:id, non_null(:id)) arg(:id, non_null(:id), description: "The todo-list ID")
resolve(&Todos.get_todo_list/3) resolve(&Todos.get_todo_list/3)
end end
end end
@ -39,8 +42,8 @@ defmodule Mobilizon.GraphQL.Schema.Todos.TodoListType do
object :todo_list_mutations do object :todo_list_mutations do
@desc "Create a todo list" @desc "Create a todo list"
field :create_todo_list, :todo_list do field :create_todo_list, :todo_list do
arg(:title, non_null(:string)) arg(:title, non_null(:string), description: "The todo list title")
arg(:group_id, non_null(:id)) arg(:group_id, non_null(:id), description: "The group ID")
resolve(&Todos.create_todo_list/3) resolve(&Todos.create_todo_list/3)
end end
end end

View file

@ -58,24 +58,42 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
field(:participations, :paginated_participant_list, field(:participations, :paginated_participant_list,
description: "The list of participations this user has" description: "The list of participations this user has"
) do ) do
arg(:after_datetime, :datetime) arg(:after_datetime, :datetime, description: "Filter participations by event start datetime")
arg(:before_datetime, :datetime)
arg(:page, :integer, default_value: 1) arg(:before_datetime, :datetime, description: "Filter participations by event end datetime")
arg(:limit, :integer, default_value: 10)
arg(:page, :integer,
default_value: 1,
description: "The page in the paginated participations list"
)
arg(:limit, :integer,
default_value: 10,
description: "The limit of participations per page"
)
resolve(&User.user_participations/3) resolve(&User.user_participations/3)
end end
field(:memberships, :paginated_member_list, field(:memberships, :paginated_member_list,
description: "The list of memberships for this user" description: "The list of memberships for this user"
) do ) do
arg(:page, :integer, default_value: 1) arg(:page, :integer,
arg(:limit, :integer, default_value: 10) default_value: 1,
description: "The page in the paginated memberships list"
)
arg(:limit, :integer, default_value: 10, description: "The limit of memberships per page")
resolve(&User.user_memberships/3) resolve(&User.user_memberships/3)
end end
field(:drafts, list_of(:event), description: "The list of draft events this user has created") do field(:drafts, list_of(:event), description: "The list of draft events this user has created") do
arg(:page, :integer, default_value: 1) arg(:page, :integer,
arg(:limit, :integer, default_value: 10) default_value: 1,
description: "The page in the paginated drafts events list"
)
arg(:limit, :integer, default_value: 10, description: "The limit of drafts events per page")
resolve(&User.user_drafted_events/3) resolve(&User.user_drafted_events/3)
end end
@ -94,10 +112,11 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
) )
end end
@desc "The list of roles an user can have"
enum :user_role do enum :user_role do
value(:administrator) value(:administrator, description: "Administrator role")
value(:moderator) value(:moderator, description: "Moderator role")
value(:user) value(:user, description: "User role")
end end
@desc "Token" @desc "Token"
@ -112,9 +131,9 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
field(:elements, non_null(list_of(:user)), description: "User elements") field(:elements, non_null(list_of(:user)), description: "User elements")
end end
@desc "The list of possible options for the event's status" @desc "The list of sortable fields for an user list"
enum :sortable_user_field do enum :sortable_user_field do
value(:id) value(:id, description: "The user's ID")
end end
object :user_settings do object :user_settings do
@ -142,11 +161,24 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
) )
end end
@desc "The list of values the for pending notification settings"
enum :notification_pending_enum do enum :notification_pending_enum do
value(:none, as: :none) value(:none, as: :none, description: "None. The notification won't be sent.")
value(:direct, as: :direct)
value(:one_hour, as: :one_hour) value(:direct,
value(:one_day, as: :one_day) as: :direct,
description: "Direct. The notification will be sent right away each time."
)
value(:one_hour,
as: :one_hour,
description: "One hour. Notifications will be sent at most each hour"
)
value(:one_day,
as: :one_day,
description: "One day. Notifications will be sent at most each day"
)
end end
object :user_queries do object :user_queries do
@ -163,12 +195,12 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
@desc "List instance users" @desc "List instance users"
field :users, :users do field :users, :users do
arg(:email, :string, default_value: "") arg(:email, :string, default_value: "", description: "Filter users by email")
arg(:page, :integer, default_value: 1) arg(:page, :integer, default_value: 1, description: "The page in the paginated users list")
arg(:limit, :integer, default_value: 10) arg(:limit, :integer, default_value: 10, description: "The limit of users per page")
arg(:sort, :sortable_user_field, default_value: :id) arg(:sort, :sortable_user_field, default_value: :id, description: "Sort column")
arg(:direction, :sort_direction, default_value: :desc) arg(:direction, :sort_direction, default_value: :desc, description: "Sort direction")
resolve(&User.list_users/3) resolve(&User.list_users/3)
end end
@ -177,99 +209,128 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
object :user_mutations do object :user_mutations do
@desc "Create an user" @desc "Create an user"
field :create_user, type: :user do field :create_user, type: :user do
arg(:email, non_null(:string)) arg(:email, non_null(:string), description: "The new user's email")
arg(:password, non_null(:string)) arg(:password, non_null(:string), description: "The new user's password")
arg(:locale, :string) arg(:locale, :string, description: "The new user's locale")
resolve(&User.create_user/3) resolve(&User.create_user/3)
end end
@desc "Validate an user after registration" @desc "Validate an user after registration"
field :validate_user, type: :login do field :validate_user, type: :login do
arg(:token, non_null(:string)) arg(:token, non_null(:string),
description: "The token that will be used to validate the user"
)
resolve(&User.validate_user/3) resolve(&User.validate_user/3)
end end
@desc "Resend registration confirmation token" @desc "Resend registration confirmation token"
field :resend_confirmation_email, type: :string do field :resend_confirmation_email, type: :string do
arg(:email, non_null(:string)) arg(:email, non_null(:string), description: "The email used to register")
arg(:locale, :string) arg(:locale, :string, description: "The user's locale")
resolve(&User.resend_confirmation_email/3) resolve(&User.resend_confirmation_email/3)
end end
@desc "Send a link through email to reset user password" @desc "Send a link through email to reset user password"
field :send_reset_password, type: :string do field :send_reset_password, type: :string do
arg(:email, non_null(:string)) arg(:email, non_null(:string), description: "The user's email")
arg(:locale, :string) arg(:locale, :string, description: "The user's locale")
resolve(&User.send_reset_password/3) resolve(&User.send_reset_password/3)
end end
@desc "Reset user password" @desc "Reset user password"
field :reset_password, type: :login do field :reset_password, type: :login do
arg(:token, non_null(:string)) arg(:token, non_null(:string),
arg(:password, non_null(:string)) description: "The user's token that will be used to reset the password"
arg(:locale, :string, default_value: "en") )
arg(:password, non_null(:string), description: "The new password")
arg(:locale, :string, default_value: "en", description: "The user's locale")
resolve(&User.reset_password/3) resolve(&User.reset_password/3)
end end
@desc "Login an user" @desc "Login an user"
field :login, type: :login do field :login, type: :login do
arg(:email, non_null(:string)) arg(:email, non_null(:string), description: "The user's email")
arg(:password, non_null(:string)) arg(:password, non_null(:string), description: "The user's password")
resolve(&User.login_user/3) resolve(&User.login_user/3)
end end
@desc "Refresh a token" @desc "Refresh a token"
field :refresh_token, type: :refreshed_token do field :refresh_token, type: :refreshed_token do
arg(:refresh_token, non_null(:string)) arg(:refresh_token, non_null(:string), description: "A refresh token")
resolve(&User.refresh_token/3) resolve(&User.refresh_token/3)
end end
@desc "Change default actor for user" @desc "Change default actor for user"
field :change_default_actor, :user do field :change_default_actor, :user do
arg(:preferred_username, non_null(:string)) arg(:preferred_username, non_null(:string), description: "The actor preferred_username")
resolve(&User.change_default_actor/3) resolve(&User.change_default_actor/3)
end end
@desc "Change an user password" @desc "Change an user password"
field :change_password, :user do field :change_password, :user do
arg(:old_password, non_null(:string)) arg(:old_password, non_null(:string), description: "The user's current password")
arg(:new_password, non_null(:string)) arg(:new_password, non_null(:string), description: "The user's new password")
resolve(&User.change_password/3) resolve(&User.change_password/3)
end end
@desc "Change an user email" @desc "Change an user email"
field :change_email, :user do field :change_email, :user do
arg(:email, non_null(:string)) arg(:email, non_null(:string), description: "The user's new email")
arg(:password, non_null(:string)) arg(:password, non_null(:string), description: "The user's current password")
resolve(&User.change_email/3) resolve(&User.change_email/3)
end end
@desc "Validate an user email" @desc "Validate an user email"
field :validate_email, :user do field :validate_email, :user do
arg(:token, non_null(:string)) arg(:token, non_null(:string),
description: "The token that will be used to validate the email change"
)
resolve(&User.validate_email/3) resolve(&User.validate_email/3)
end end
@desc "Delete an account" @desc "Delete an account"
field :delete_account, :deleted_object do field :delete_account, :deleted_object do
arg(:password, :string) arg(:password, :string, description: "The user's password")
arg(:user_id, :id) arg(:user_id, :id, description: "The user's ID")
resolve(&User.delete_account/3) resolve(&User.delete_account/3)
end end
@desc "Set user settings"
field :set_user_settings, :user_settings do field :set_user_settings, :user_settings do
arg(:timezone, :string) arg(:timezone, :string, description: "The timezone for this user")
arg(:notification_on_day, :boolean)
arg(:notification_each_week, :boolean) arg(:notification_on_day, :boolean,
arg(:notification_before_event, :boolean) description:
arg(:notification_pending_participation, :notification_pending_enum) "Whether this user will receive an email at the start of the day of an event."
arg(:notification_pending_membership, :notification_pending_enum) )
arg(:notification_each_week, :boolean,
description: "Whether this user will receive an weekly event recap"
)
arg(:notification_before_event, :boolean,
description: "Whether this user will receive a notification right before event"
)
arg(:notification_pending_participation, :notification_pending_enum,
description: "When does the user receives a notification about new pending participations"
)
arg(:notification_pending_membership, :notification_pending_enum,
description:
"When does the user receives a notification about a new pending membership in one of the group they're admin for"
)
resolve(&User.set_user_setting/3) resolve(&User.set_user_setting/3)
end end
@desc "Update the user's locale"
field :update_locale, :user do field :update_locale, :user do
arg(:locale, :string) arg(:locale, :string, description: "The user's new locale")
resolve(&User.update_locale/3) resolve(&User.update_locale/3)
end end
end end

View file

@ -4,7 +4,7 @@
<%= if @report.reported.type == :Group do %> <%= if @report.reported.type == :Group do %>
<%= gettext "Group %{group} was reported", group: Mobilizon.Actors.Actor.display_name_and_username(@report.reported) %> <%= gettext "Group %{group} was reported", group: Mobilizon.Actors.Actor.display_name_and_username(@report.reported) %>
<% else %> <% else %>
<%= gettext "Profile %{profile} was reported", group: Mobilizon.Actors.Actor.display_name_and_username(@report.reported) %> <%= gettext "Profile %{profile} was reported", profile: Mobilizon.Actors.Actor.display_name_and_username(@report.reported) %>
<% end %> <% end %>
<% end %> <% end %>
<%= if Map.has_key?(@report, :event) and @report.event do %> <%= if Map.has_key?(@report, :event) and @report.event do %>

View file

@ -124,17 +124,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -144,8 +139,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -160,7 +155,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -176,18 +171,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -253,17 +245,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -283,7 +275,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -293,17 +285,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -363,27 +355,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -393,49 +385,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -445,34 +432,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -487,36 +469,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -526,23 +508,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -557,37 +539,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -597,7 +579,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -607,33 +589,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -648,17 +630,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -678,7 +660,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -688,7 +670,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -698,7 +680,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -708,7 +690,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -723,17 +705,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -753,30 +735,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -838,47 +805,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -886,3 +853,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -98,17 +98,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -118,8 +113,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -134,7 +129,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -150,18 +145,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -227,17 +219,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -257,7 +249,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -267,17 +259,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -337,27 +329,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -367,49 +359,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -419,34 +406,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -461,36 +443,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -500,23 +482,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -531,37 +513,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -571,7 +553,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -581,33 +563,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -622,17 +604,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -652,7 +634,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -662,7 +644,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -672,7 +654,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -682,7 +664,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -697,17 +679,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -727,30 +709,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -812,47 +779,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -860,3 +827,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -99,17 +99,12 @@ msgid "Cannot refresh the token"
msgstr "No s'ha pogut actualitzar el codi d'accés" msgstr "No s'ha pogut actualitzar el codi d'accés"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "El perfil del creador no pertany a l'usuària actual"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "El perfil actual no pertany a aquest grup" msgstr "El perfil actual no pertany a aquest grup"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "El perfil actual no administra el grup seleccionat" msgstr "El perfil actual no administra el grup seleccionat"
@ -119,8 +114,8 @@ msgid "Error while saving user settings"
msgstr "No s'han pogut desar les preferències" msgstr "No s'han pogut desar les preferències"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "No s'ha trobat el grup" msgstr "No s'ha trobat el grup"
@ -135,7 +130,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "No t'hem pogut autenticar. El teu correu o contrasenya són incorrectes." msgstr "No t'hem pogut autenticar. El teu correu o contrasenya són incorrectes."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "No s'ha trobat el/la membre" msgstr "No s'ha trobat el/la membre"
@ -151,18 +146,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -228,17 +220,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -258,7 +250,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -268,17 +260,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -338,27 +330,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -368,49 +360,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -420,34 +407,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -462,36 +444,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -501,23 +483,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -532,37 +514,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -572,7 +554,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -582,33 +564,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -623,17 +605,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -653,7 +635,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -663,7 +645,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -673,7 +655,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -683,7 +665,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -698,17 +680,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -728,30 +710,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -813,47 +780,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -861,3 +828,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -98,17 +98,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -118,8 +113,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -134,7 +129,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -150,18 +145,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -227,17 +219,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -257,7 +249,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -267,17 +259,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -337,27 +329,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -367,49 +359,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -419,34 +406,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -461,36 +443,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -500,23 +482,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -531,37 +513,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -571,7 +553,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -581,33 +563,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -622,17 +604,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -652,7 +634,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -662,7 +644,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -672,7 +654,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -682,7 +664,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -697,17 +679,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -727,30 +709,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -812,47 +779,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -860,3 +827,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -92,17 +92,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -112,8 +107,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -128,7 +123,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -144,18 +139,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -221,17 +213,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -251,7 +243,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -261,17 +253,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -331,27 +323,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -361,49 +353,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -413,34 +400,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -455,36 +437,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -494,23 +476,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -525,37 +507,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -565,7 +547,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -575,33 +557,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -616,17 +598,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -646,7 +628,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -656,7 +638,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -666,7 +648,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -676,7 +658,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -691,17 +673,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -721,30 +703,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -806,47 +773,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -854,3 +821,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -102,17 +102,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -122,8 +117,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -138,7 +133,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -154,18 +149,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -231,17 +223,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -261,7 +253,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -271,17 +263,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -341,27 +333,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -371,49 +363,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -423,34 +410,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -465,36 +447,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -504,23 +486,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -535,37 +517,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -575,7 +557,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -585,33 +567,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -626,17 +608,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -656,7 +638,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -666,7 +648,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -676,7 +658,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -686,7 +668,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -701,17 +683,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -731,30 +713,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -816,47 +783,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -864,3 +831,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -99,17 +99,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -119,8 +114,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -135,7 +130,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -151,18 +146,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -228,17 +220,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -258,7 +250,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -268,17 +260,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -338,27 +330,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -368,49 +360,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -420,34 +407,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -462,36 +444,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -501,23 +483,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -532,37 +514,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -572,7 +554,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -582,33 +564,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -623,17 +605,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -653,7 +635,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -663,7 +645,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -673,7 +655,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -683,7 +665,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -698,17 +680,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -728,30 +710,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -813,47 +780,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -861,3 +828,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -99,17 +99,12 @@ msgid "Cannot refresh the token"
msgstr "No se puede actualizar el token" msgstr "No se puede actualizar el token"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "El perfil del creador no es propiedad del usuario actual"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "El perfil actual no es miembro de este grupo" msgstr "El perfil actual no es miembro de este grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "El perfil actual no es un administrador del grupo seleccionado" msgstr "El perfil actual no es un administrador del grupo seleccionado"
@ -119,8 +114,8 @@ msgid "Error while saving user settings"
msgstr "Error al guardar los parámetros del usuario" msgstr "Error al guardar los parámetros del usuario"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Grupo no encontrado" msgstr "Grupo no encontrado"
@ -136,7 +131,7 @@ msgstr ""
"Imposible autenticarse, su correo electrónico o contraseña no son válidos." "Imposible autenticarse, su correo electrónico o contraseña no son válidos."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Miembro no encontrado" msgstr "Miembro no encontrado"
@ -152,18 +147,15 @@ msgid "No user to validate with this email was found"
msgstr "No se encontró ningún usuario para validar con este correo electrónico" msgstr "No se encontró ningún usuario para validar con este correo electrónico"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "No se encontró ningún usuario con este correo electrónico" msgstr "No se encontró ningún usuario con este correo electrónico"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "El perfil no es propiedad del usuario autenticado" msgstr "El perfil no es propiedad del usuario autenticado"
@ -231,17 +223,17 @@ msgid "User requested is not logged-in"
msgstr "El usuario solicitado no ha iniciado sesión" msgstr "El usuario solicitado no ha iniciado sesión"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "Ya eres miembro de este grupo" msgstr "Ya eres miembro de este grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "No puedes dejar este grupo porque eres el único administrador" msgstr "No puedes dejar este grupo porque eres el único administrador"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "No puedes unirte a este grupo" msgstr "No puedes unirte a este grupo"
@ -261,7 +253,7 @@ msgid "You need to be logged-in to change your password"
msgstr "Debes iniciar sesión para cambiar tu contraseña" msgstr "Debes iniciar sesión para cambiar tu contraseña"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "Debes iniciar sesión para eliminar un grupo" msgstr "Debes iniciar sesión para eliminar un grupo"
@ -271,17 +263,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "Debes iniciar sesión para eliminar su cuenta" msgstr "Debes iniciar sesión para eliminar su cuenta"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "Debes iniciar sesión para eliminar su cuenta" msgstr "Debes iniciar sesión para eliminar su cuenta"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "Debes iniciar sesión para dejar un grupo" msgstr "Debes iniciar sesión para dejar un grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "Debes iniciar sesión para actualizar un grupo" msgstr "Debes iniciar sesión para actualizar un grupo"
@ -344,27 +336,27 @@ msgid "Profile already suspended"
msgstr "Perfil ya suspendido" msgstr "Perfil ya suspendido"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "Su instancia requiere un correo electrónico válido" msgstr "Su instancia requiere un correo electrónico válido"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "La participación anónima no está habilitada" msgstr "La participación anónima no está habilitada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "No se puede eliminar al último administrador de un grupo" msgstr "No se puede eliminar al último administrador de un grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "No se puede eliminar la última identidad de un usuario" msgstr "No se puede eliminar la última identidad de un usuario"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "El comentario ya está eliminado" msgstr "El comentario ya está eliminado"
@ -374,49 +366,44 @@ msgid "Discussion not found"
msgstr "Discusión no encontrada" msgstr "Discusión no encontrada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "Error al guardar el informe" msgstr "Error al guardar el informe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "Error al actualizar el informe" msgstr "Error al actualizar el informe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "ID de evento no encontrado" msgstr "ID de evento no encontrado"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "Evento no encontrado" msgstr "Evento no encontrado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "El evento con este ID%{id} no existe" msgstr "El evento con este ID%{id} no existe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "Error interno" msgstr "Error interno"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr "El perfil del moderador no es propiedad del usuario autenticado"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "Sin discusión con ID%{id}" msgstr "Sin discusión con ID%{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "No se encontró perfil para el usuario" msgstr "No se encontró perfil para el usuario"
@ -426,34 +413,29 @@ msgid "No such feed token"
msgstr "No existe tal token de alimentación" msgstr "No existe tal token de alimentación"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr "El perfil del organizador no es propiedad del usuario"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "El participante ya tiene el rol%{role}" msgstr "El participante ya tiene el rol%{role}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "Participante no encontrado" msgstr "Participante no encontrado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "Persona con ID%{id} no encontrada" msgstr "Persona con ID%{id} no encontrada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "Persona con nombre de usuario %{username} no encontrada" msgstr "Persona con nombre de usuario %{username} no encontrada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "No se encontró la foto con ID %{id}" msgstr "No se encontró la foto con ID %{id}"
@ -468,36 +450,36 @@ msgid "Post doesn't exist"
msgstr "La publicación no existe" msgstr "La publicación no existe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "El perfil invitado no existe" msgstr "El perfil invitado no existe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "Perfil ya es miembro de este grupo" msgstr "Perfil ya es miembro de este grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "El perfil no es miembro del grupo" msgstr "El perfil no es miembro del grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "Perfil no encontrado" msgstr "Perfil no encontrado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "El perfil de moderador proporcionado no tiene permiso para este evento" msgstr "El perfil de moderador proporcionado no tiene permiso para este evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "Informe no encontrado" msgstr "Informe no encontrado"
@ -507,23 +489,23 @@ msgid "Resource doesn't exist"
msgstr "El recurso no existe" msgstr "El recurso no existe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "El evento ya alcanzó su capacidad máxima" msgstr "El evento ya alcanzó su capacidad máxima"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "Este token no es válido" msgstr "Este token no es válido"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "Todo no existe" msgstr "Todo no existe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "La lista de tareas pendientes no existe" msgstr "La lista de tareas pendientes no existe"
@ -538,37 +520,37 @@ msgid "Token is not a valid UUID"
msgstr "El token no es un UUID válido" msgstr "El token no es un UUID válido"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "Usuario no encontrado" msgstr "Usuario no encontrado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "Ya tienes un perfil para este usuario" msgstr "Ya tienes un perfil para este usuario"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "Ya eres participante de este evento" msgstr "Ya eres participante de este evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "No eres miembro del grupo al que pertenece la discusión" msgstr "No eres miembro del grupo al que pertenece la discusión"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" 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:154 #: lib/graphql/resolvers/member.ex:151
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"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "No está permitido crear un comentario si no está conectado" msgstr "No está permitido crear un comentario si no está conectado"
@ -578,7 +560,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "No puede crear un token de feed si no está conectado" msgstr "No puede crear un token de feed si no está conectado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "No puede eliminar un comentario si no está conectado" msgstr "No puede eliminar un comentario si no está conectado"
@ -588,37 +570,37 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "No puede eliminar un token de feed si no está conectado" msgstr "No puede eliminar un token de feed si no está conectado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "No se le permite actualizar un comentario si no está conectado" msgstr "No se le permite actualizar un comentario si no está conectado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
"No puedes abandonar el evento porque eres el único participante creador del " "No puedes abandonar el evento porque eres el único participante creador del "
"evento" "evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 "
"es el único administrador" "es el único administrador"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "No puedes borrar este comentario" msgstr "No puedes borrar este comentario"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "No puedes borrar este evento" msgstr "No puedes borrar este evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "No puedes invitar a este grupo" msgstr "No puedes invitar a este grupo"
@ -634,17 +616,17 @@ msgstr ""
"Debe iniciar sesión y un moderador para enumerar los registros de acción" "Debe iniciar sesión y un moderador para enumerar los registros de acción"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "Debe iniciar sesión y un moderador para enumerar los informes" msgstr "Debe iniciar sesión y un moderador para enumerar los informes"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "Debe iniciar sesión y ser un moderador para actualizar un informe" msgstr "Debe iniciar sesión y ser un moderador para actualizar un informe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "Debe iniciar sesión y ser un moderador para actualizar un informe" msgstr "Debe iniciar sesión y ser un moderador para actualizar un informe"
@ -670,7 +652,7 @@ msgstr ""
"panel" "panel"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "Debe iniciar sesión para acceder a las discusiones" msgstr "Debe iniciar sesión para acceder a las discusiones"
@ -680,7 +662,7 @@ msgid "You need to be logged-in to access resources"
msgstr "Debes iniciar sesión para acceder a los recursos" msgstr "Debes iniciar sesión para acceder a los recursos"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "Debes iniciar sesión para crear eventos" msgstr "Debes iniciar sesión para crear eventos"
@ -690,7 +672,7 @@ msgid "You need to be logged-in to create posts"
msgstr "Debes iniciar sesión para crear publicaciones" msgstr "Debes iniciar sesión para crear publicaciones"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "Debe iniciar sesión para crear informes" msgstr "Debe iniciar sesión para crear informes"
@ -700,7 +682,7 @@ msgid "You need to be logged-in to create resources"
msgstr "Debe iniciar sesión para crear recursos" msgstr "Debe iniciar sesión para crear recursos"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "Debe iniciar sesión para eliminar un evento" msgstr "Debe iniciar sesión para eliminar un evento"
@ -715,17 +697,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "Debes iniciar sesión para eliminar recursos" msgstr "Debes iniciar sesión para eliminar recursos"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "Debes iniciar sesión para eliminar recursos" msgstr "Debes iniciar sesión para eliminar recursos"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "Debes iniciar sesión para salir de un evento" msgstr "Debes iniciar sesión para salir de un evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "Debe iniciar sesión para actualizar un evento" msgstr "Debe iniciar sesión para actualizar un evento"
@ -745,32 +727,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "Debe iniciar sesión para ver una vista previa del recurso" msgstr "Debe iniciar sesión para ver una vista previa del recurso"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "Debes iniciar sesión para subir una imagen" msgstr "Debes iniciar sesión para subir una imagen"
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
"La identificación del informante no coincide con la identificación del "
"perfil anónimo"
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr "El perfil del denunciante no es propiedad de un usuario autenticado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "El recurso principal no pertenece a este grupo" msgstr "El recurso principal no pertenece a este grupo"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr "El ID de perfil proporcionado no es el del perfil anónimo"
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -834,47 +799,47 @@ msgid "You need to be logged in"
msgstr "Debes iniciar sesión" msgstr "Debes iniciar sesión"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "No puedes aceptar esta invitación con este perfil." msgstr "No puedes aceptar esta invitación con este perfil."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "No puedes rechazar esta invitación con este perfil." msgstr "No puedes rechazar esta invitación con este perfil."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "El archivo no tiene un tipo MIME permitido." msgstr "El archivo no tiene un tipo MIME permitido."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "El perfil no es miembro del grupo" msgstr "El perfil no es miembro del grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "No puedes borrar este evento." msgstr "No puedes borrar este evento."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "No puedes rechazar esta invitación con este perfil." msgstr "No puedes rechazar esta invitación con este perfil."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "Esta invitación no existe." msgstr "Esta invitación no existe."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "Este miembro ya ha sido rechazado." msgstr "Este miembro ya ha sido rechazado."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "No tiene derecho a eliminar este miembro." msgstr "No tiene derecho a eliminar este miembro."
@ -882,3 +847,8 @@ msgstr "No tiene derecho a eliminar este miembro."
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -99,17 +99,12 @@ msgid "Cannot refresh the token"
msgstr "Ei voida päivittää tokenia" msgstr "Ei voida päivittää tokenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "Nykyinen käyttäjä ei omista luontiprofiilia"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "Nykyinen profiili ei kuulu tähän ryhmään" msgstr "Nykyinen profiili ei kuulu tähän ryhmään"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "Nykyinen profiili ei ole valitun ryhmän ylläpitäjä" msgstr "Nykyinen profiili ei ole valitun ryhmän ylläpitäjä"
@ -119,8 +114,8 @@ msgid "Error while saving user settings"
msgstr "Käyttäjän asetusten tallennuksessa tapahtui virhe" msgstr "Käyttäjän asetusten tallennuksessa tapahtui virhe"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Ryhmää ei löydy" msgstr "Ryhmää ei löydy"
@ -136,7 +131,7 @@ msgstr ""
"Kirjautuminen epäonnistui - joko sähköpostiosoitteesi tai salasana on väärin." "Kirjautuminen epäonnistui - joko sähköpostiosoitteesi tai salasana on väärin."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Jäsentä ei löydy" msgstr "Jäsentä ei löydy"
@ -152,18 +147,15 @@ msgid "No user to validate with this email was found"
msgstr "Käyttäjää tämän sähköpostin vahvistamiseksi ei löydy" msgstr "Käyttäjää tämän sähköpostin vahvistamiseksi ei löydy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Käyttäjää, jolla on tämä sähköpostiosoite ei löydy" msgstr "Käyttäjää, jolla on tämä sähköpostiosoite ei löydy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -229,17 +221,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -259,7 +251,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -269,17 +261,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -339,27 +331,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -369,49 +361,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -421,34 +408,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -463,36 +445,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -502,23 +484,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -533,37 +515,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -573,7 +555,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -583,33 +565,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -624,17 +606,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -654,7 +636,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -664,7 +646,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -674,7 +656,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -684,7 +666,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -699,17 +681,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -729,30 +711,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -814,47 +781,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -862,3 +829,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
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-11-17 19:10+0100\n" "PO-Revision-Date: 2020-11-18 10:37+0100\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"
@ -95,618 +95,747 @@ msgstr "doit être supérieur ou égal à %{number}"
msgid "must be equal to %{number}" msgid "must be equal to %{number}"
msgstr "doit être égal à %{number}" msgstr "doit être égal à %{number}"
#, elixir-format
#: lib/graphql/resolvers/user.ex:103 #: lib/graphql/resolvers/user.ex:103
msgid "Cannot refresh the token" msgid "Cannot refresh the token"
msgstr "Impossible de rafraîchir le jeton" msgstr "Impossible de rafraîchir le jeton"
#: lib/graphql/resolvers/group.ex:137 #, elixir-format
msgid "Creator profile is not owned by the current user" #: lib/graphql/resolvers/group.ex:198
msgstr "Le profil créateur n'est pas possédé par l'utilisateur actuel"
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "Le profil actuel n'est pas un membre de ce groupe" msgstr "Le profil actuel n'est pas un membre de ce groupe"
#: lib/graphql/resolvers/group.ex:205 #, elixir-format
#: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "Le profil actuel n'est pas un·e administrateur·ice du groupe sélectionné" msgstr "Le profil actuel n'est pas un·e administrateur·ice du groupe sélectionné"
#, elixir-format
#: lib/graphql/resolvers/user.ex:512 #: lib/graphql/resolvers/user.ex:512
msgid "Error while saving user settings" msgid "Error while saving user settings"
msgstr "Erreur lors de la sauvegarde des paramètres utilisateur" msgstr "Erreur lors de la sauvegarde des paramètres utilisateur"
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 lib/graphql/resolvers/group.ex:229 #, elixir-format
#: lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Groupe non trouvé" msgstr "Groupe non trouvé"
#, elixir-format
#: lib/graphql/resolvers/group.ex:66 #: lib/graphql/resolvers/group.ex:66
msgid "Group with ID %{id} not found" msgid "Group with ID %{id} not found"
msgstr "Groupe avec l'ID %{id} non trouvé" msgstr "Groupe avec l'ID %{id} non trouvé"
#, elixir-format
#: lib/graphql/resolvers/user.ex:83 #: lib/graphql/resolvers/user.ex:83
msgid "Impossible to authenticate, either your email or password are invalid." msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "Impossible de s'authentifier, votre adresse e-mail ou bien votre mot de passe sont invalides." msgstr "Impossible de s'authentifier, votre adresse e-mail ou bien votre mot de passe sont invalides."
#: lib/graphql/resolvers/group.ex:261 #, elixir-format
#: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Membre non trouvé" msgstr "Membre non trouvé"
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88 lib/graphql/resolvers/user.ex:417 #, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
msgid "No profile found for the moderator user" msgid "No profile found for the moderator user"
msgstr "Aucun profil trouvé pour l'utilisateur modérateur" msgstr "Aucun profil trouvé pour l'utilisateur modérateur"
#, elixir-format
#: lib/graphql/resolvers/user.ex:195 #: lib/graphql/resolvers/user.ex:195
msgid "No user to validate with this email was found" msgid "No user to validate with this email was found"
msgstr "Aucun·e utilisateur·ice à valider avec cet email n'a été trouvé·e" msgstr "Aucun·e utilisateur·ice à valider avec cet email n'a été trouvé·e"
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 lib/graphql/resolvers/user.ex:219 #, elixir-format
#: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Aucun·e utilisateur·ice avec cette adresse e-mail n'a été trouvé·e" msgstr "Aucun·e utilisateur·ice avec cette adresse e-mail n'a été trouvé·e"
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 lib/graphql/resolvers/event.ex:286 #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 lib/graphql/resolvers/participant.ex:29 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/participant.ex:160 lib/graphql/resolvers/participant.ex:189 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189 lib/graphql/resolvers/person.ex:255 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297 lib/graphql/resolvers/picture.ex:72
#: lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "Le profil n'est pas possédé par l'utilisateur connecté" msgstr "Le profil n'est pas possédé par l'utilisateur connecté"
#, elixir-format
#: lib/graphql/resolvers/user.ex:125 #: lib/graphql/resolvers/user.ex:125
msgid "Registrations are not open" msgid "Registrations are not open"
msgstr "Les inscriptions ne sont pas ouvertes" msgstr "Les inscriptions ne sont pas ouvertes"
#, elixir-format
#: lib/graphql/resolvers/user.ex:330 #: lib/graphql/resolvers/user.ex:330
msgid "The current password is invalid" msgid "The current password is invalid"
msgstr "Le mot de passe actuel est invalid" msgstr "Le mot de passe actuel est invalid"
#, elixir-format
#: lib/graphql/resolvers/user.ex:382 #: lib/graphql/resolvers/user.ex:382
msgid "The new email doesn't seem to be valid" msgid "The new email doesn't seem to be valid"
msgstr "La nouvelle adresse e-mail ne semble pas être valide" msgstr "La nouvelle adresse e-mail ne semble pas être valide"
#, elixir-format
#: lib/graphql/resolvers/user.ex:379 #: lib/graphql/resolvers/user.ex:379
msgid "The new email must be different" msgid "The new email must be different"
msgstr "La nouvelle adresse e-mail doit être différente" msgstr "La nouvelle adresse e-mail doit être différente"
#, elixir-format
#: lib/graphql/resolvers/user.ex:333 #: lib/graphql/resolvers/user.ex:333
msgid "The new password must be different" msgid "The new password must be different"
msgstr "Le nouveau mot de passe doit être différent" msgstr "Le nouveau mot de passe doit être différent"
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439 lib/graphql/resolvers/user.ex:442 #, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
msgid "The password provided is invalid" msgid "The password provided is invalid"
msgstr "Le mot de passe fourni est invalide" msgstr "Le mot de passe fourni est invalide"
#, elixir-format
#: lib/graphql/resolvers/user.ex:337 #: lib/graphql/resolvers/user.ex:337
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters." msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr "" msgstr ""
"Le mot de passe que vous avez choisi est trop court. Merci de vous assurer que votre mot de passe contienne au moins " "Le mot de passe que vous avez choisi est trop court. Merci de vous assurer que votre mot de passe contienne au moins "
"6 caractères." "6 caractères."
#, elixir-format
#: lib/graphql/resolvers/user.ex:215 #: lib/graphql/resolvers/user.ex:215
msgid "This user can't reset their password" msgid "This user can't reset their password"
msgstr "Cet·te utilisateur·ice ne peut pas réinitialiser son mot de passe" msgstr "Cet·te utilisateur·ice ne peut pas réinitialiser son mot de passe"
#, elixir-format
#: lib/graphql/resolvers/user.ex:79 #: lib/graphql/resolvers/user.ex:79
msgid "This user has been disabled" msgid "This user has been disabled"
msgstr "Cet·te utilisateur·ice a été désactivé·e" msgstr "Cet·te utilisateur·ice a été désactivé·e"
#, elixir-format
#: lib/graphql/resolvers/user.ex:179 #: lib/graphql/resolvers/user.ex:179
msgid "Unable to validate user" msgid "Unable to validate user"
msgstr "Impossible de valider l'utilisateur·ice" msgstr "Impossible de valider l'utilisateur·ice"
#, elixir-format
#: lib/graphql/resolvers/user.ex:420 #: lib/graphql/resolvers/user.ex:420
msgid "User already disabled" msgid "User already disabled"
msgstr "L'utilisateur·ice est déjà désactivé·e" msgstr "L'utilisateur·ice est déjà désactivé·e"
#, elixir-format
#: lib/graphql/resolvers/user.ex:487 #: lib/graphql/resolvers/user.ex:487
msgid "User requested is not logged-in" msgid "User requested is not logged-in"
msgstr "L'utilisateur·ice demandé·e n'est pas connecté·e" msgstr "L'utilisateur·ice demandé·e n'est pas connecté·e"
#: lib/graphql/resolvers/group.ex:235 #, elixir-format
#: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already 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/group.ex:268 #, elixir-format
#: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "Vous ne pouvez pas quitter ce groupe car vous en êtes le ou la seul·e administrateur·ice" msgstr "Vous ne pouvez pas quitter ce groupe car vous en êtes le ou la seul·e administrateur·ice"
#: lib/graphql/resolvers/group.ex:232 #, elixir-format
#: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "Vous ne pouvez pas rejoindre ce groupe" msgstr "Vous ne pouvez pas rejoindre ce groupe"
#, elixir-format
#: lib/graphql/resolvers/group.ex:94 #: lib/graphql/resolvers/group.ex:94
msgid "You may not list groups unless moderator." msgid "You may not list groups unless moderator."
msgstr "Vous ne pouvez pas lister les groupes sauf à être modérateur·ice." msgstr "Vous ne pouvez pas lister les groupes sauf à être modérateur·ice."
#, elixir-format
#: lib/graphql/resolvers/user.ex:387 #: lib/graphql/resolvers/user.ex:387
msgid "You need to be logged-in to change your email" msgid "You need to be logged-in to change your email"
msgstr "Vous devez être connecté·e pour changer votre adresse e-mail" msgstr "Vous devez être connecté·e pour changer votre adresse e-mail"
#, elixir-format
#: lib/graphql/resolvers/user.ex:345 #: lib/graphql/resolvers/user.ex:345
msgid "You need to be logged-in to change your password" msgid "You need to be logged-in to change your password"
msgstr "Vous devez être connecté·e pour changer votre mot de passe" msgstr "Vous devez être connecté·e pour changer votre mot de passe"
#: lib/graphql/resolvers/group.ex:210 #, elixir-format
#: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "Vous devez être connecté·e pour supprimer un groupe" msgstr "Vous devez être connecté·e pour supprimer un groupe"
#, elixir-format
#: lib/graphql/resolvers/user.ex:447 #: lib/graphql/resolvers/user.ex:447
msgid "You need to be logged-in to delete your account" msgid "You need to be logged-in to delete your account"
msgstr "Vous devez être connecté·e pour supprimer votre compte" msgstr "Vous devez être connecté·e pour supprimer votre compte"
#: lib/graphql/resolvers/group.ex:240 #, elixir-format
#: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "Vous devez être connecté·e pour rejoindre un groupe" msgstr "Vous devez être connecté·e pour rejoindre un groupe"
#: lib/graphql/resolvers/group.ex:273 #, elixir-format
#: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "Vous devez être connecté·e pour quitter un groupe" msgstr "Vous devez être connecté·e pour quitter un groupe"
#: lib/graphql/resolvers/group.ex:175 #, elixir-format
#: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "Vous devez être connecté·e pour mettre à jour un groupe" msgstr "Vous devez être connecté·e pour mettre à jour un groupe"
#, elixir-format
#: lib/graphql/resolvers/user.ex:58 #: lib/graphql/resolvers/user.ex:58
msgid "You need to have admin access to list users" msgid "You need to have admin access to list users"
msgstr "Vous devez avoir un accès administrateur pour lister les utilisateur·ices" msgstr "Vous devez avoir un accès administrateur pour lister les utilisateur·ices"
#, elixir-format
#: lib/graphql/resolvers/user.ex:108 #: lib/graphql/resolvers/user.ex:108
msgid "You need to have an existing token to get a refresh token" msgid "You need to have an existing token to get a refresh token"
msgstr "Vous devez avoir un jeton existant pour obtenir un jeton de rafraîchissement" msgstr "Vous devez avoir un jeton existant pour obtenir un jeton de rafraîchissement"
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222 #: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
msgid "You requested again a confirmation email too soon" msgid "You requested again a confirmation email too soon"
msgstr "Vous avez à nouveau demandé un email de confirmation trop vite" msgstr "Vous avez à nouveau demandé un email de confirmation trop vite"
#, elixir-format
#: lib/graphql/resolvers/user.ex:128 #: lib/graphql/resolvers/user.ex:128
msgid "Your email is not on the allowlist" msgid "Your email is not on the allowlist"
msgstr "Votre adresse e-mail n'est pas sur la liste d'autorisations" msgstr "Votre adresse e-mail n'est pas sur la liste d'autorisations"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:64 lib/graphql/resolvers/actor.ex:94 #: lib/graphql/resolvers/actor.ex:64 lib/graphql/resolvers/actor.ex:94
msgid "Error while performing background task" msgid "Error while performing background task"
msgstr "Erreur lors de l'exécution d'une tâche d'arrière-plan" msgstr "Erreur lors de l'exécution d'une tâche d'arrière-plan"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:27 #: lib/graphql/resolvers/actor.ex:27
msgid "No profile found with this ID" msgid "No profile found with this ID"
msgstr "Aucun profil trouvé avec cet ID" msgstr "Aucun profil trouvé avec cet ID"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:54 lib/graphql/resolvers/actor.ex:91 #: lib/graphql/resolvers/actor.ex:54 lib/graphql/resolvers/actor.ex:91
msgid "No remote profile found with this ID" msgid "No remote profile found with this ID"
msgstr "Aucun profil distant trouvé avec cet ID" msgstr "Aucun profil distant trouvé avec cet ID"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:69 #: lib/graphql/resolvers/actor.ex:69
msgid "Only moderators and administrators can suspend a profile" msgid "Only moderators and administrators can suspend a profile"
msgstr "Seul·es les modérateur·ice et les administrateur·ices peuvent suspendre un profil" msgstr "Seul·es les modérateur·ice et les administrateur·ices peuvent suspendre un profil"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:99 #: lib/graphql/resolvers/actor.ex:99
msgid "Only moderators and administrators can unsuspend a profile" msgid "Only moderators and administrators can unsuspend a profile"
msgstr "Seul·es les modérateur·ice et les administrateur·ices peuvent annuler la suspension d'un profil" msgstr "Seul·es les modérateur·ice et les administrateur·ices peuvent annuler la suspension d'un profil"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:24 #: lib/graphql/resolvers/actor.ex:24
msgid "Only remote profiles may be refreshed" msgid "Only remote profiles may be refreshed"
msgstr "Seuls les profils distants peuvent être rafraîchis" msgstr "Seuls les profils distants peuvent être rafraîchis"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:61 #: lib/graphql/resolvers/actor.ex:61
msgid "Profile already suspended" msgid "Profile already suspended"
msgstr "Le profil est déjà suspendu" msgstr "Le profil est déjà suspendu"
#: lib/graphql/resolvers/participant.ex:93 #, elixir-format
#: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "Une adresse e-mail valide est requise par votre instance" msgstr "Une adresse e-mail valide est requise par votre instance"
#: lib/graphql/resolvers/participant.ex:87 #, elixir-format
#: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "La participation anonyme n'est pas activée" msgstr "La participation anonyme n'est pas activée"
#: lib/graphql/resolvers/person.ex:186 #, elixir-format
#: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "Impossible de supprimer le ou la dernier·ère administrateur·ice d'un groupe" msgstr "Impossible de supprimer le ou la dernier·ère administrateur·ice d'un groupe"
#: lib/graphql/resolvers/person.ex:183 #, elixir-format
#: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "Impossible de supprimer le dernier profil d'un·e utilisateur·ice" msgstr "Impossible de supprimer le dernier profil d'un·e utilisateur·ice"
#: lib/graphql/resolvers/comment.ex:109 #, elixir-format
#: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "Le commentaire est déjà supprimé" msgstr "Le commentaire est déjà supprimé"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:61 #: lib/graphql/resolvers/discussion.ex:61
msgid "Discussion not found" msgid "Discussion not found"
msgstr "Discussion non trouvée" msgstr "Discussion non trouvée"
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #, elixir-format
#: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "Erreur lors de la sauvegarde du signalement" msgstr "Erreur lors de la sauvegarde du signalement"
#: lib/graphql/resolvers/report.ex:110 #, elixir-format
#: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "Erreur lors de la mise à jour du signalement" msgstr "Erreur lors de la mise à jour du signalement"
#: lib/graphql/resolvers/participant.ex:128 #, elixir-format
#: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "ID de l'événement non trouvé" msgstr "ID de l'événement non trouvé"
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 lib/graphql/resolvers/event.ex:283 #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "Événement non trouvé" msgstr "Événement non trouvé"
#: lib/graphql/resolvers/participant.ex:84 lib/graphql/resolvers/participant.ex:125 #, elixir-format
#: lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "L'événement avec cet ID %{id} n'existe pas" msgstr "L'événement avec cet ID %{id} n'existe pas"
#: lib/graphql/resolvers/participant.ex:100 #, elixir-format
#: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "Erreur interne" msgstr "Erreur interne"
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #, elixir-format
msgid "Moderator profile is not owned by authenticated user" #: lib/graphql/resolvers/discussion.ex:193
msgstr "Le profil créateur n'est pas possédé par l'utilisateur actuel"
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "Aucune discussion avec l'ID %{id}" msgstr "Aucune discussion avec l'ID %{id}"
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "Aucun profil trouvé pour l'utilisateur modérateur" msgstr "Aucun profil trouvé pour l'utilisateur modérateur"
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:63 #: lib/graphql/resolvers/feed_token.ex:63
msgid "No such feed token" msgid "No such feed token"
msgstr "Aucun jeton de flux correspondant" msgstr "Aucun jeton de flux correspondant"
#: lib/graphql/resolvers/event.ex:202 #, elixir-format
msgid "Organizer profile is not owned by the user" #: lib/graphql/resolvers/participant.ex:227
msgstr "Le profil créateur n'est pas possédé par l'utilisateur actuel"
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "Le ou la participant·e a déjà le rôle %{role}" msgstr "Le ou la participant·e a déjà le rôle %{role}"
#: lib/graphql/resolvers/participant.ex:170 lib/graphql/resolvers/participant.ex:199 #, elixir-format
#: lib/graphql/resolvers/participant.ex:234 lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "Participant·e non trouvé·e" msgstr "Participant·e non trouvé·e"
#: lib/graphql/resolvers/person.ex:31 #, elixir-format
#: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "Personne avec l'ID %{id} non trouvé" msgstr "Personne avec l'ID %{id} non trouvé"
#: lib/graphql/resolvers/person.ex:52 #, elixir-format
#: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "Personne avec le nom %{name} non trouvé" msgstr "Personne avec le nom %{name} non trouvé"
#: lib/graphql/resolvers/picture.ex:42 #, elixir-format
#: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "Groupe avec l'ID %{id} non trouvé" msgstr "Groupe avec l'ID %{id} non trouvé"
#, elixir-format
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198 #: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID" msgid "Post ID is not a valid ID"
msgstr "L'ID du billet n'est pas un ID valide" msgstr "L'ID du billet n'est pas un ID valide"
#, elixir-format
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201 #: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist" msgid "Post doesn't exist"
msgstr "Le billet n'existe pas" msgstr "Le billet n'existe pas"
#: lib/graphql/resolvers/member.ex:86 #, elixir-format
#: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "Le profil invité n'existe pas" msgstr "Le profil invité n'existe pas"
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #, elixir-format
#: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "Ce profil est déjà membre de ce groupe" msgstr "Ce profil est déjà membre de ce groupe"
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 lib/graphql/resolvers/post.ex:204 #, elixir-format
#: lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 lib/graphql/resolvers/resource.ex:153 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 lib/graphql/resolvers/todos.ex:84 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 lib/graphql/resolvers/todos.ex:197 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "Le profil n'est pas un·e membre du groupe" msgstr "Le profil n'est pas un·e membre du groupe"
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #, elixir-format
#: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "Profile non trouvé" msgstr "Profile non trouvé"
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #, elixir-format
#: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "Le profil modérateur fourni n'a pas de permissions sur cet événement" msgstr "Le profil modérateur fourni n'a pas de permissions sur cet événement"
#: lib/graphql/resolvers/report.ex:38 #, elixir-format
#: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "Groupe non trouvé" msgstr "Groupe non trouvé"
#, elixir-format
#: lib/graphql/resolvers/resource.ex:150 lib/graphql/resolvers/resource.ex:179 #: lib/graphql/resolvers/resource.ex:150 lib/graphql/resolvers/resource.ex:179
msgid "Resource doesn't exist" msgid "Resource doesn't exist"
msgstr "La ressource n'existe pas" msgstr "La ressource n'existe pas"
#: lib/graphql/resolvers/participant.ex:121 #, elixir-format
#: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "L'événement a déjà atteint sa capacité maximale" msgstr "L'événement a déjà atteint sa capacité maximale"
#: lib/graphql/resolvers/participant.ex:264 #, elixir-format
#: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "Ce jeton est invalide" msgstr "Ce jeton est invalide"
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #, elixir-format
#: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "Ce todo n'existe pas" msgstr "Ce todo n'existe pas"
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:219 #, elixir-format
#: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "Cette todo-liste n'existe pas" msgstr "Cette todo-liste n'existe pas"
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:69 #: lib/graphql/resolvers/feed_token.ex:69
msgid "Token does not exist" msgid "Token does not exist"
msgstr "Ce jeton n'existe pas" msgstr "Ce jeton n'existe pas"
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:66 #: lib/graphql/resolvers/feed_token.ex:66
msgid "Token is not a valid UUID" msgid "Token is not a valid UUID"
msgstr "Ce jeton n'est pas un UUID valide" msgstr "Ce jeton n'est pas un UUID valide"
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "Membre non trouvé" msgstr "Membre non trouvé"
#: lib/graphql/resolvers/person.ex:234 #, elixir-format
#: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "Vous avez déjà un profil pour cet utilisateur" msgstr "Vous avez déjà un profil pour cet utilisateur"
#: lib/graphql/resolvers/participant.ex:131 #, elixir-format
#: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "Vous êtes déjà un·e participant·e à cet événement" msgstr "Vous êtes déjà un·e participant·e à cet événement"
#: lib/graphql/resolvers/discussion.ex:188 #, elixir-format
#: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "Vous n'êtes pas un membre du groupe dans lequel se fait la discussion" msgstr "Vous n'êtes pas un membre du groupe dans lequel se fait la discussion"
#: lib/graphql/resolvers/member.ex:89 #, elixir-format
#: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "Vous n'êtes pas membre de ce groupe" msgstr "Vous n'êtes pas membre de ce groupe"
#: lib/graphql/resolvers/member.ex:154 #, elixir-format
#: lib/graphql/resolvers/member.ex:151
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"
#: lib/graphql/resolvers/comment.ex:55 #, elixir-format
#: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "Vous n'êtes pas autorisé·e à créer un commentaire si non connecté·e" msgstr "Vous n'êtes pas autorisé·e à créer un commentaire si non connecté·e"
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:41 #: lib/graphql/resolvers/feed_token.ex:41
msgid "You are not allowed to create a feed token if not connected" msgid "You are not allowed to create a feed token if not connected"
msgstr "Vous n'êtes pas autorisé·e à créer un jeton de flux si non connecté·e" msgstr "Vous n'êtes pas autorisé·e à créer un jeton de flux si non connecté·e"
#: lib/graphql/resolvers/comment.ex:117 #, elixir-format
#: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "Vous n'êtes pas autorisé·e à supprimer un commentaire si non connecté·e" msgstr "Vous n'êtes pas autorisé·e à supprimer un commentaire si non connecté·e"
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:78 #: lib/graphql/resolvers/feed_token.ex:78
msgid "You are not allowed to delete a feed token if not connected" msgid "You are not allowed to delete a feed token if not connected"
msgstr "Vous n'êtes pas autorisé·e à supprimer un jeton de flux si non connecté·e" msgstr "Vous n'êtes pas autorisé·e à supprimer un jeton de flux si non connecté·e"
#: lib/graphql/resolvers/comment.ex:77 #, elixir-format
#: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "Vous n'êtes pas autorisé·e à mettre à jour un commentaire si non connecté·e" msgstr "Vous n'êtes pas autorisé·e à mettre à jour un commentaire si non connecté·e"
#: lib/graphql/resolvers/participant.ex:164 lib/graphql/resolvers/participant.ex:193 #, elixir-format
#: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:182
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:158 #, elixir-format
#: lib/graphql/resolvers/member.ex:155
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 "
"administrateur·ice" "administrateur·ice"
#: lib/graphql/resolvers/comment.ex:105 #, elixir-format
#: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "Vous ne pouvez pas supprimer ce commentaire" msgstr "Vous ne pouvez pas supprimer ce commentaire"
#: lib/graphql/resolvers/event.ex:279 #, elixir-format
#: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "Vous ne pouvez pas supprimer cet événement" msgstr "Vous ne pouvez pas supprimer cet événement"
#: lib/graphql/resolvers/member.ex:92 #, elixir-format
#: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "Vous ne pouvez pas rejoindre ce groupe" msgstr "Vous ne pouvez pas rejoindre ce groupe"
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:72 #: lib/graphql/resolvers/feed_token.ex:72
msgid "You don't have permission to delete this token" msgid "You don't have permission to delete this token"
msgstr "Vous n'avez pas la permission de supprimer ce jeton" msgstr "Vous n'avez pas la permission de supprimer ce jeton"
#, elixir-format
#: lib/graphql/resolvers/admin.ex:52 #: lib/graphql/resolvers/admin.ex:52
msgid "You need to be logged-in and a moderator to list action logs" msgid "You need to be logged-in and a moderator to list action logs"
msgstr "Vous devez être connecté·e pour rejoindre un groupe" msgstr "Vous devez être connecté·e pour rejoindre un groupe"
#: lib/graphql/resolvers/report.ex:28 #, elixir-format
#: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "Vous devez être connecté·e pour rejoindre un groupe" msgstr "Vous devez être connecté·e pour rejoindre un groupe"
#: lib/graphql/resolvers/report.ex:115 #, elixir-format
#: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "Vous devez être connecté·e pour supprimer un groupe" msgstr "Vous devez être connecté·e pour supprimer un groupe"
#: lib/graphql/resolvers/report.ex:43 #, elixir-format
#: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "Vous devez être connecté·e pour rejoindre un groupe" msgstr "Vous devez être connecté·e pour rejoindre un groupe"
#, elixir-format
#: lib/graphql/resolvers/admin.ex:236 #: lib/graphql/resolvers/admin.ex:236
msgid "You need to be logged-in and an administrator to access admin settings" msgid "You need to be logged-in and an administrator to access admin settings"
msgstr "Vous devez être connecté·e et un·e administrateur·ice pour accéder aux paramètres administrateur" msgstr "Vous devez être connecté·e et un·e administrateur·ice pour accéder aux paramètres administrateur"
#, elixir-format
#: lib/graphql/resolvers/admin.ex:221 #: lib/graphql/resolvers/admin.ex:221
msgid "You need to be logged-in and an administrator to access dashboard statistics" msgid "You need to be logged-in and an administrator to access dashboard statistics"
msgstr "Vous devez être connecté·e et un·e administrateur·ice pour accéder aux panneau de statistiques" msgstr "Vous devez être connecté·e et un·e administrateur·ice pour accéder aux panneau de statistiques"
#, elixir-format
#: lib/graphql/resolvers/admin.ex:260 #: lib/graphql/resolvers/admin.ex:260
msgid "You need to be logged-in and an administrator to save admin settings" msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "Vous devez être connecté·e et un·e administrateur·ice pour sauvegarder les paramètres administrateur" msgstr "Vous devez être connecté·e et un·e administrateur·ice pour sauvegarder les paramètres administrateur"
#: lib/graphql/resolvers/discussion.ex:66 #, elixir-format
#: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "Vous devez être connecté·e pour accéder aux discussions" msgstr "Vous devez être connecté·e pour accéder aux discussions"
#, elixir-format
#: lib/graphql/resolvers/resource.ex:93 #: lib/graphql/resolvers/resource.ex:93
msgid "You need to be logged-in to access resources" msgid "You need to be logged-in to access resources"
msgstr "Vous devez être connecté·e pour supprimer un groupe" msgstr "Vous devez être connecté·e pour supprimer un groupe"
#: lib/graphql/resolvers/event.ex:213 #, elixir-format
#: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "Vous devez être connecté·e pour créer des événements" msgstr "Vous devez être connecté·e pour créer des événements"
#, elixir-format
#: lib/graphql/resolvers/post.ex:139 #: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts" msgid "You need to be logged-in to create posts"
msgstr "Vous devez être connecté·e pour quitter un groupe" msgstr "Vous devez être connecté·e pour quitter un groupe"
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #, elixir-format
#: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "Vous devez être connecté·e pour quitter un groupe" msgstr "Vous devez être connecté·e pour quitter un groupe"
#, elixir-format
#: lib/graphql/resolvers/resource.ex:129 #: lib/graphql/resolvers/resource.ex:129
msgid "You need to be logged-in to create resources" msgid "You need to be logged-in to create resources"
msgstr "Vous devez être connecté·e pour quitter un groupe" msgstr "Vous devez être connecté·e pour quitter un groupe"
#: lib/graphql/resolvers/event.ex:291 #, elixir-format
#: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "Vous devez être connecté·e pour supprimer un groupe" msgstr "Vous devez être connecté·e pour supprimer un groupe"
#, elixir-format
#: lib/graphql/resolvers/post.ex:209 #: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts" msgid "You need to be logged-in to delete posts"
msgstr "Vous devez être connecté·e pour supprimer un groupe" msgstr "Vous devez être connecté·e pour supprimer un groupe"
#, elixir-format
#: lib/graphql/resolvers/resource.ex:187 #: lib/graphql/resolvers/resource.ex:187
msgid "You need to be logged-in to delete resources" msgid "You need to be logged-in to delete resources"
msgstr "Vous devez être connecté·e pour supprimer un groupe" msgstr "Vous devez être connecté·e pour supprimer un groupe"
#: lib/graphql/resolvers/participant.ex:105 #, elixir-format
#: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "Vous devez être connecté·e pour rejoindre un groupe" msgstr "Vous devez être connecté·e pour rejoindre un groupe"
#: lib/graphql/resolvers/participant.ex:204 #, elixir-format
#: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "Vous devez être connecté·e pour quitter un groupe" msgstr "Vous devez être connecté·e pour quitter un groupe"
#: lib/graphql/resolvers/event.ex:252 #, elixir-format
#: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "Vous devez être connecté·e pour mettre à jour un groupe" msgstr "Vous devez être connecté·e pour mettre à jour un groupe"
#, elixir-format
#: lib/graphql/resolvers/post.ex:176 #: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts" msgid "You need to be logged-in to update posts"
msgstr "Vous devez être connecté·e pour mettre à jour un groupe" msgstr "Vous devez être connecté·e pour mettre à jour un groupe"
#, elixir-format
#: lib/graphql/resolvers/resource.ex:158 #: lib/graphql/resolvers/resource.ex:158
msgid "You need to be logged-in to update resources" msgid "You need to be logged-in to update resources"
msgstr "Vous devez être connecté·e pour mettre à jour un groupe" msgstr "Vous devez être connecté·e pour mettre à jour un groupe"
#, elixir-format
#: lib/graphql/resolvers/resource.ex:210 #: lib/graphql/resolvers/resource.ex:210
msgid "You need to be logged-in to view a resource preview" msgid "You need to be logged-in to view a resource preview"
msgstr "Vous devez être connecté·e pour supprimer un groupe" msgstr "Vous devez être connecté·e pour supprimer un groupe"
#: lib/graphql/resolvers/picture.ex:83 #, elixir-format
#: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "Vous devez être connecté·e pour mettre à jour un groupe" msgstr "Vous devez être connecté·e pour mettre à jour un groupe"
#: lib/graphql/resolvers/report.ex:81 #, elixir-format
msgid "Reporter ID does not match the anonymous profile id"
msgstr "L'ID du signalant ne correspond pas à l'ID du profil anonyme"
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr "Le profil du signalant n'est pas possédé par l'utilisateur actuel"
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "La ressource parente n'appartient pas à ce groupe" msgstr "La ressource parente n'appartient pas à ce groupe"
#: lib/graphql/resolvers/participant.ex:90 #, elixir-format
msgid "Profile ID provided is not the anonymous profile one"
msgstr "L'ID du profil fourni ne correspond pas au profil anonyme"
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
msgstr "Le mot de passe choisi est trop court." msgstr "Le mot de passe choisi est trop court."
#, elixir-format
#: lib/mobilizon/users/user.ex:138 #: lib/mobilizon/users/user.ex:138
msgid "The registration token is already in use, this looks like an issue on our side." msgid "The registration token is already in use, this looks like an issue on our side."
msgstr "Le jeton d'inscription est déjà utilisé, cela ressemble à un problème de notre côté." msgstr "Le jeton d'inscription est déjà utilisé, cela ressemble à un problème de notre côté."
#, elixir-format
#: lib/mobilizon/users/user.ex:104 #: lib/mobilizon/users/user.ex:104
msgid "This email is already used." msgid "This email is already used."
msgstr "Cette adresse e-mail est déjà utilisée." msgstr "Cette adresse e-mail est déjà utilisée."
#, elixir-format
#: lib/graphql/error.ex:88 #: lib/graphql/error.ex:88
msgid "Post not found" msgid "Post not found"
msgstr "Billet non trouvé" msgstr "Billet non trouvé"
#, elixir-format
#: lib/graphql/error.ex:75 #: lib/graphql/error.ex:75
msgid "Invalid arguments passed" msgid "Invalid arguments passed"
msgstr "Paramètres fournis invalides" msgstr "Paramètres fournis invalides"
#, elixir-format
#: lib/graphql/error.ex:81 #: lib/graphql/error.ex:81
msgid "Invalid credentials" msgid "Invalid credentials"
msgstr "Identifiants invalides" msgstr "Identifiants invalides"
#, elixir-format
#: lib/graphql/error.ex:79 #: lib/graphql/error.ex:79
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "Réinitialiser votre mot de passe pour vous connecter" msgstr "Réinitialiser votre mot de passe pour vous connecter"
#, elixir-format
#: lib/graphql/error.ex:86 lib/graphql/error.ex:91 #: lib/graphql/error.ex:86 lib/graphql/error.ex:91
msgid "Resource not found" msgid "Resource not found"
msgstr "Ressource non trouvée" msgstr "Ressource non trouvée"
#, elixir-format
#: lib/graphql/error.ex:92 #: lib/graphql/error.ex:92
msgid "Something went wrong" msgid "Something went wrong"
msgstr "Quelque chose s'est mal passé" msgstr "Quelque chose s'est mal passé"
#, elixir-format
#: lib/graphql/error.ex:74 #: lib/graphql/error.ex:74
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "Ressource inconnue" msgstr "Ressource inconnue"
#, 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 "Vous n'avez pas la permission de faire ceci" msgstr "Vous n'avez pas la permission de faire ceci"
#, 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 "Vous devez être connecté·e" msgstr "Vous devez être connecté·e"
#: lib/graphql/resolvers/member.ex:119 #, elixir-format
#: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "Vous ne pouvez pas accepter cette invitation avec ce profil." msgstr "Vous ne pouvez pas accepter cette invitation avec ce profil."
#: lib/graphql/resolvers/member.ex:137 #, elixir-format
#: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "Vous ne pouvez pas rejeter cette invitation avec ce profil." msgstr "Vous ne pouvez pas rejeter cette invitation avec ce profil."
#: lib/graphql/resolvers/picture.ex:75 #, elixir-format
#: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "Le fichier n'a pas un type MIME autorisé." msgstr "Le fichier n'a pas un type MIME autorisé."
#: lib/graphql/resolvers/group.ex:170 #, elixir-format
#: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "Le profil n'est pas administrateur·ice pour le groupe" msgstr "Le profil n'est pas administrateur·ice pour le groupe"
#: lib/graphql/resolvers/event.ex:241 #, elixir-format
#: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "Vous ne pouvez pas éditer cet événement." msgstr "Vous ne pouvez pas éditer cet événement."
#: lib/graphql/resolvers/event.ex:244 #, elixir-format
#: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "Vous ne pouvez pas attribuer cet événement à ce profil." msgstr "Vous ne pouvez pas attribuer cet événement à ce profil."
#: lib/graphql/resolvers/member.ex:140 #, elixir-format
#: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "Cette invitation n'existe pas." msgstr "Cette invitation n'existe pas."
#: lib/graphql/resolvers/member.ex:182 #, elixir-format
#: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "Ce·tte membre a déjà été rejetté·e." msgstr "Ce·tte membre a déjà été rejetté·e."
#: lib/graphql/resolvers/member.ex:189 #, elixir-format
#: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "Vous n'avez pas les droits pour supprimer ce·tte membre." msgstr "Vous n'avez pas les droits pour supprimer ce·tte membre."
#, elixir-format
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "Cet identifiant est déjà pris." msgstr "Cet identifiant est déjà pris."
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr "Vous devez fournir un ID ou bien un slug pour accéder à une discussion"

View file

@ -99,17 +99,12 @@ msgid "Cannot refresh the token"
msgstr "Non puido actualizar o token" msgstr "Non puido actualizar o token"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "A usuaria actual non é dona da creadora do perfil"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "O perfil actual non é membro deste grupo" msgstr "O perfil actual non é membro deste grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "O perfil actual non é administrador do grupo seleccionado" msgstr "O perfil actual non é administrador do grupo seleccionado"
@ -119,8 +114,8 @@ msgid "Error while saving user settings"
msgstr "Erro ó gardar os axustes de usuaria" msgstr "Erro ó gardar os axustes de usuaria"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Grupo non atopado" msgstr "Grupo non atopado"
@ -136,7 +131,7 @@ msgstr ""
"A autenticación non foi posible, o contrasinal ou o email non son correctos." "A autenticación non foi posible, o contrasinal ou o email non son correctos."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Membro non atopado" msgstr "Membro non atopado"
@ -152,18 +147,15 @@ msgid "No user to validate with this email was found"
msgstr "Non se atopou unha usuaria con este email para validar" msgstr "Non se atopou unha usuaria con este email para validar"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Non se atopa ningunha usuaria con este email" msgstr "Non se atopa ningunha usuaria con este email"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "O perfil non pertence a unha usuaria autenticada" msgstr "O perfil non pertence a unha usuaria autenticada"
@ -231,17 +223,17 @@ msgid "User requested is not logged-in"
msgstr "A usuaria solicitada non está conectada" msgstr "A usuaria solicitada non está conectada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "Xa es membro deste grupo" msgstr "Xa es membro deste grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "Non podes deixar este grupo porque es a única administradora" msgstr "Non podes deixar este grupo porque es a única administradora"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "Non podes unirte a este grupo" msgstr "Non podes unirte a este grupo"
@ -261,7 +253,7 @@ msgid "You need to be logged-in to change your password"
msgstr "Tes que estar conectada para poder cambiar o contrasinal" msgstr "Tes que estar conectada para poder cambiar o contrasinal"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "Tes que estar conectada para poder eleminar un grupo" msgstr "Tes que estar conectada para poder eleminar un grupo"
@ -271,17 +263,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "Tes que estar conectada para poder eliminar a conta" msgstr "Tes que estar conectada para poder eliminar a conta"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "Tes que estar conectada para poder unirte a un grupo" msgstr "Tes que estar conectada para poder unirte a un grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "Tes que estar conectada para poder deixar un grupo" msgstr "Tes que estar conectada para poder deixar un grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "Tes que estar conectada para poder actualizar un grupo" msgstr "Tes que estar conectada para poder actualizar un grupo"
@ -341,27 +333,27 @@ msgid "Profile already suspended"
msgstr "O perfil xa está suspendido" msgstr "O perfil xa está suspendido"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "A túa instancia require un email válido" msgstr "A túa instancia require un email válido"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "Non está permitida a participación ánonima" msgstr "Non está permitida a participación ánonima"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "Non se pode eliminar a última administradora dun grupo" msgstr "Non se pode eliminar a última administradora dun grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "Non se pode eliminar a última identidade dunha usuaria" msgstr "Non se pode eliminar a última identidade dunha usuaria"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "O comentario xa foi eliminado" msgstr "O comentario xa foi eliminado"
@ -371,49 +363,44 @@ msgid "Discussion not found"
msgstr "Non se atopa a conversa" msgstr "Non se atopa a conversa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "Erro ó gardar a denuncia" msgstr "Erro ó gardar a denuncia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "Erro ó actualizar a denuncia" msgstr "Erro ó actualizar a denuncia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "Non se atopou o ID do evento" msgstr "Non se atopou o ID do evento"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "Evento non atopado" msgstr "Evento non atopado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "Non existe un evento co ID %{id}" msgstr "Non existe un evento co ID %{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "Erro interno" msgstr "Erro interno"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr "O perfil da moderadora non pertence a unha usuaria autenticada"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "Non hai conversa con ID %{id}" msgstr "Non hai conversa con ID %{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "Non se atopou o perfil da usuaria" msgstr "Non se atopou o perfil da usuaria"
@ -423,34 +410,29 @@ msgid "No such feed token"
msgstr "Non hai tal token da fonte" msgstr "Non hai tal token da fonte"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr "O perfil da organización non pertence á usuaria"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "A participante xa ten o rol %{role}" msgstr "A participante xa ten o rol %{role}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "Non se atopou a participante" msgstr "Non se atopou a participante"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "Non se atopou a persoa con ID %{id}" msgstr "Non se atopou a persoa con ID %{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "Non se atopa a persoa con nome de usuaria %{username}" msgstr "Non se atopa a persoa con nome de usuaria %{username}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "Non se atopa a imaxe con ID %{id}" msgstr "Non se atopa a imaxe con ID %{id}"
@ -465,36 +447,36 @@ msgid "Post doesn't exist"
msgstr "Non existe a publicación" msgstr "Non existe a publicación"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "O perfil convidado non existe" msgstr "O perfil convidado non existe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "O perfil xa é membro deste grupo" msgstr "O perfil xa é membro deste grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "O perfil non é membro do grupo" msgstr "O perfil non é membro do grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "Perfil non atopado" msgstr "Perfil non atopado"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "O perfil da moderadora proporcionado non ten permisos neste evento" msgstr "O perfil da moderadora proporcionado non ten permisos neste evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "Denuncia non atopada" msgstr "Denuncia non atopada"
@ -504,23 +486,23 @@ msgid "Resource doesn't exist"
msgstr "Non existe o recurso" msgstr "Non existe o recurso"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "Este evento xa acadou a súa capacidade máxima" msgstr "Este evento xa acadou a súa capacidade máxima"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "Este token non é válido" msgstr "Este token non é válido"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "Lista de tarefas non existe" msgstr "Lista de tarefas non existe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "A lista de tarefas non existe" msgstr "A lista de tarefas non existe"
@ -535,37 +517,37 @@ msgid "Token is not a valid UUID"
msgstr "O token non é un UUID válido" msgstr "O token non é un UUID válido"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "Usuaria non atopada" msgstr "Usuaria non atopada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "Xa tes un perfil para esta usuaria" msgstr "Xa tes un perfil para esta usuaria"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "Xa es unha participante neste evento" msgstr "Xa es unha participante neste evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "Non es membro do grupo ó que pertence a conversa" msgstr "Non es membro do grupo ó que pertence a conversa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "Non es membro deste grupo" msgstr "Non es membro deste grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "Non es moderadora ou administradora deste grupo" msgstr "Non es moderadora ou administradora deste grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "Non tes permiso para crear un comentario sen estar conectada" msgstr "Non tes permiso para crear un comentario sen estar conectada"
@ -575,7 +557,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "Non tes permiso para crear un token da fonte se non estás conectada" msgstr "Non tes permiso para crear un token da fonte se non estás conectada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "Non tes permiso para eliminar un comentario se non estás conectada" msgstr "Non tes permiso para eliminar un comentario se non estás conectada"
@ -585,36 +567,36 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "Non tes permiso para eliminar o token da fonte se non estás conectada" msgstr "Non tes permiso para eliminar o token da fonte se non estás conectada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "Non tes permiso para actualizar un comentario se non estás conectada" msgstr "Non tes permiso para actualizar un comentario se non estás conectada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
"Non podes saír do evento porque es a única creadora do evento que participa" "Non podes saír do evento porque es a única creadora do evento que participa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
"Non podes adxudicarte un rol menor neste grupo porque es a única " "Non podes adxudicarte un rol menor neste grupo porque es a única "
"administradora" "administradora"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "Non podes eliminar este comentario" msgstr "Non podes eliminar este comentario"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "Non podes eliminar este evento" msgstr "Non podes eliminar este evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "Non podes convidar a este grupo" msgstr "Non podes convidar a este grupo"
@ -631,17 +613,17 @@ msgstr ""
"accións" "accións"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "Tes que estar conectada e ser moderadora para ver listas de denuncias" msgstr "Tes que estar conectada e ser moderadora para ver listas de denuncias"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "Tes que estas conectada e ser moderadora para actualizar unha denuncia" msgstr "Tes que estas conectada e ser moderadora para actualizar unha denuncia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "Tes que estar conectada e ser moderadora para ver unha denuncia" msgstr "Tes que estar conectada e ser moderadora para ver unha denuncia"
@ -667,7 +649,7 @@ msgstr ""
"administración" "administración"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "Tes que estar conectada para acceder ás conversas" msgstr "Tes que estar conectada para acceder ás conversas"
@ -677,7 +659,7 @@ msgid "You need to be logged-in to access resources"
msgstr "Tes que estar conectada para acceder ós recursos" msgstr "Tes que estar conectada para acceder ós recursos"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "Tes que estar conectada para crear eventos" msgstr "Tes que estar conectada para crear eventos"
@ -687,7 +669,7 @@ msgid "You need to be logged-in to create posts"
msgstr "Tes que estar conectada para crear publicacións" msgstr "Tes que estar conectada para crear publicacións"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "Tes que estar conectada para crear denuncias" msgstr "Tes que estar conectada para crear denuncias"
@ -697,7 +679,7 @@ msgid "You need to be logged-in to create resources"
msgstr "Tes que estar conectada para crear recursos" msgstr "Tes que estar conectada para crear recursos"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "Tes que estar conectada para eliminar un evento" msgstr "Tes que estar conectada para eliminar un evento"
@ -712,17 +694,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "Tes que estar conectada para eliminar recursos" msgstr "Tes que estar conectada para eliminar recursos"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "Tes que estar conectada para unirte a un evento" msgstr "Tes que estar conectada para unirte a un evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "Tes que estar conectada para saír dun evento" msgstr "Tes que estar conectada para saír dun evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "Tes que estar conectada para actualizar un evento" msgstr "Tes que estar conectada para actualizar un evento"
@ -742,30 +724,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "Tes que estar conectada para ver vista previa dun recurso" msgstr "Tes que estar conectada para ver vista previa dun recurso"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "Tes que estar conectada para subir unha imaxe" msgstr "Tes que estar conectada para subir unha imaxe"
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr "O ID da denunciante non concorda co ID do perfil anónimo"
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr "O perfil da denunciante non pertence á usuaria autenticada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "O recurso relacionado non pertence a este grupo" msgstr "O recurso relacionado non pertence a este grupo"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr "O ID do perfil proporcionado non é o perfil anónimo"
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -828,47 +795,47 @@ msgid "You need to be logged in"
msgstr "Tes que estar conectada" msgstr "Tes que estar conectada"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "Non podes aceptar este convite con este perfil." msgstr "Non podes aceptar este convite con este perfil."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "Non podes rexeitar este convite con este perfil." msgstr "Non podes rexeitar este convite con este perfil."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "O ficheiro non ten un tipo MIME permitido." msgstr "O ficheiro non ten un tipo MIME permitido."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "O perfil non é administrador do grupo" msgstr "O perfil non é administrador do grupo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "Non podes editar este evento." msgstr "Non podes editar este evento."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "Non podes atribuír este evento a este perfil." msgstr "Non podes atribuír este evento a este perfil."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "O convite non existe." msgstr "O convite non existe."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "Este membro xa foi rexeitado." msgstr "Este membro xa foi rexeitado."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "Non tes permiso para eliminar este membro." msgstr "Non tes permiso para eliminar este membro."
@ -876,3 +843,8 @@ msgstr "Non tes permiso para eliminar este membro."
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -115,17 +115,12 @@ msgid "Cannot refresh the token"
msgstr "Nem lehet frissíteni a tokent" msgstr "Nem lehet frissíteni a tokent"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "A létrehozó profilját nem a jelenlegi felhasználó birtokolja"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "A jelenlegi profil nem tagja ennek a csoportnak" msgstr "A jelenlegi profil nem tagja ennek a csoportnak"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "A jelenlegi profil nem adminisztrátora a kijelölt csoportnak" msgstr "A jelenlegi profil nem adminisztrátora a kijelölt csoportnak"
@ -135,8 +130,8 @@ msgid "Error while saving user settings"
msgstr "Hiba a felhasználói beállítások mentésekor" msgstr "Hiba a felhasználói beállítások mentésekor"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Nem található a csoport" msgstr "Nem található a csoport"
@ -151,7 +146,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "Lehetetlen hitelesíteni, vagy az e-mail, vagy a jelszó érvénytelen." msgstr "Lehetetlen hitelesíteni, vagy az e-mail, vagy a jelszó érvénytelen."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Nem található a tag" msgstr "Nem található a tag"
@ -167,18 +162,15 @@ msgid "No user to validate with this email was found"
msgstr "Nem található ezzel az e-mail-címmel ellenőrzendő felhasználó" msgstr "Nem található ezzel az e-mail-címmel ellenőrzendő felhasználó"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Nem található ezzel az e-mail-címmel rendelkező felhasználó" msgstr "Nem található ezzel az e-mail-címmel rendelkező felhasználó"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "A profilt nem hitelesített felhasználó birtokolja" msgstr "A profilt nem hitelesített felhasználó birtokolja"
@ -246,17 +238,17 @@ msgid "User requested is not logged-in"
msgstr "A kért felhasználó nincs bejelentkezve" msgstr "A kért felhasználó nincs bejelentkezve"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "Már tagja ennek a csoportnak" msgstr "Már tagja ennek a csoportnak"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "Nem hagyhatja el ezt a csoportot, mert Ön az egyedüli adminisztrátor" msgstr "Nem hagyhatja el ezt a csoportot, mert Ön az egyedüli adminisztrátor"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "Nem csatlakozhat ehhez a csoporthoz" msgstr "Nem csatlakozhat ehhez a csoporthoz"
@ -276,7 +268,7 @@ msgid "You need to be logged-in to change your password"
msgstr "Bejelentkezve kell lennie a jelszava megváltoztatásához" msgstr "Bejelentkezve kell lennie a jelszava megváltoztatásához"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "Bejelentkezve kell lennie egy csoport törléséhez" msgstr "Bejelentkezve kell lennie egy csoport törléséhez"
@ -286,17 +278,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "Bejelentkezve kell lennie a fiókja törléséhez" msgstr "Bejelentkezve kell lennie a fiókja törléséhez"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "Bejelentkezve kell lennie egy csoporthoz való csatlakozáshoz" msgstr "Bejelentkezve kell lennie egy csoporthoz való csatlakozáshoz"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "Bejelentkezve kell lennie egy csoportból való kilépéshez" msgstr "Bejelentkezve kell lennie egy csoportból való kilépéshez"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "Bejelentkezve kell lennie egy csoport frissítéséhez" msgstr "Bejelentkezve kell lennie egy csoport frissítéséhez"
@ -358,27 +350,27 @@ msgid "Profile already suspended"
msgstr "A profil már fel van függesztve" msgstr "A profil már fel van függesztve"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "Érvényes e-mail-címet követelt meg az Ön példánya" msgstr "Érvényes e-mail-címet követelt meg az Ön példánya"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "A névtelen részvétel nincs engedélyezve" msgstr "A névtelen részvétel nincs engedélyezve"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "Nem lehet eltávolítani egy csoport utolsó adminisztrátorát" msgstr "Nem lehet eltávolítani egy csoport utolsó adminisztrátorát"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "Nem lehet eltávolítani egy felhasználó utolsó személyazonosságát" msgstr "Nem lehet eltávolítani egy felhasználó utolsó személyazonosságát"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "A hozzászólást már törölték" msgstr "A hozzászólást már törölték"
@ -388,49 +380,44 @@ msgid "Discussion not found"
msgstr "Nem található a megbeszélés" msgstr "Nem található a megbeszélés"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "Hiba a jelentés mentésekor" msgstr "Hiba a jelentés mentésekor"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "Hiba a jelentés frissítésekor" msgstr "Hiba a jelentés frissítésekor"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "Nem található az eseményazonosító" msgstr "Nem található az eseményazonosító"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "Nem található az esemény" msgstr "Nem található az esemény"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "Ezzel a(z) %{id} azonosítóval rendelkező esemény nem létezik" msgstr "Ezzel a(z) %{id} azonosítóval rendelkező esemény nem létezik"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "Belső hiba" msgstr "Belső hiba"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr "A moderátor profilját nem hitelesített felhasználó birtokolja"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "Nincs %{id} azonosítóval rendelkező megbeszélés" msgstr "Nincs %{id} azonosítóval rendelkező megbeszélés"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "Nem található profil a felhasználóhoz" msgstr "Nem található profil a felhasználóhoz"
@ -440,34 +427,29 @@ msgid "No such feed token"
msgstr "Nincs ilyen hírforrástoken" msgstr "Nincs ilyen hírforrástoken"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr "A szervező profilját nem a felhasználó birtokolja"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "A résztvevő már rendelkezik %{role} szereppel" msgstr "A résztvevő már rendelkezik %{role} szereppel"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "Nem található a résztvevő" msgstr "Nem található a résztvevő"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "Nem található %{id} azonosítóval rendelkező személy" msgstr "Nem található %{id} azonosítóval rendelkező személy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "Nem található %{username} felhasználónévvel rendelkező személy" msgstr "Nem található %{username} felhasználónévvel rendelkező személy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "Nem található %{id} azonosítóval rendelkező fénykép" msgstr "Nem található %{id} azonosítóval rendelkező fénykép"
@ -482,36 +464,36 @@ msgid "Post doesn't exist"
msgstr "A hozzászólás nem létezik" msgstr "A hozzászólás nem létezik"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "A meghívott profil nem létezik" msgstr "A meghívott profil nem létezik"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "A profil már tagja ennek a csoportnak" msgstr "A profil már tagja ennek a csoportnak"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "A profil nem tagja a csoportnak" msgstr "A profil nem tagja a csoportnak"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "Nem található a profil" msgstr "Nem található a profil"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "A megadott moderátorprofilnak nincs jogosultsága ezen az eseményen" msgstr "A megadott moderátorprofilnak nincs jogosultsága ezen az eseményen"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "Nem található a jelentés" msgstr "Nem található a jelentés"
@ -521,23 +503,23 @@ msgid "Resource doesn't exist"
msgstr "Az erőforrás nem létezik" msgstr "Az erőforrás nem létezik"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "Az esemény már elérte a legnagyobb kapacitását" msgstr "Az esemény már elérte a legnagyobb kapacitását"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "Ez a token érvénytelen" msgstr "Ez a token érvénytelen"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "A tennivaló nem létezik" msgstr "A tennivaló nem létezik"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "A tennivalólista nem létezik" msgstr "A tennivalólista nem létezik"
@ -552,37 +534,37 @@ msgid "Token is not a valid UUID"
msgstr "A token nem érvényes UUID" msgstr "A token nem érvényes UUID"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "Nem található a felhasználó" msgstr "Nem található a felhasználó"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "Már rendelkezik profillal ehhez a felhasználóhoz" msgstr "Már rendelkezik profillal ehhez a felhasználóhoz"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "Már résztvevője ennek az eseménynek" msgstr "Már résztvevője ennek az eseménynek"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "Nem tagja annak a csoportnak, amelyhez a megbeszélés tartozik" msgstr "Nem tagja annak a csoportnak, amelyhez a megbeszélés tartozik"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "Nem tagja ennek a csoportnak" msgstr "Nem tagja ennek a csoportnak"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "Nem moderátor vagy adminisztrátor ennél a csoportnál" msgstr "Nem moderátor vagy adminisztrátor ennél a csoportnál"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "Nem hozhat létre hozzászólást, ha nincs kapcsolódva" msgstr "Nem hozhat létre hozzászólást, ha nincs kapcsolódva"
@ -592,7 +574,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "Nem hozhat létre hírforrástokent, ha nincs kapcsolódva" msgstr "Nem hozhat létre hírforrástokent, ha nincs kapcsolódva"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "Nem törölhet hozzászólást, ha nincs kapcsolódva" msgstr "Nem törölhet hozzászólást, ha nincs kapcsolódva"
@ -602,36 +584,36 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "Nem törölhet hírforrástokent, ha nincs kapcsolódva" msgstr "Nem törölhet hírforrástokent, ha nincs kapcsolódva"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "Nem frissíthet hozzászólást, ha nincs kapcsolódva" msgstr "Nem frissíthet hozzászólást, ha nincs kapcsolódva"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
"Nem hagyhatja el az eseményt, mert Ön az egyedüli eseménylétrehozó résztvevő" "Nem hagyhatja el az eseményt, mert Ön az egyedüli eseménylétrehozó résztvevő"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
"Nem állíthatja magát alacsonyabb tagszerepre ennél a csoportnál, mert Ön az " "Nem állíthatja magát alacsonyabb tagszerepre ennél a csoportnál, mert Ön az "
"egyedüli adminisztrátor" "egyedüli adminisztrátor"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "Nem tudja törölni ezt a hozzászólást" msgstr "Nem tudja törölni ezt a hozzászólást"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "Nem tudja törölni ezt az eseményt" msgstr "Nem tudja törölni ezt az eseményt"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "Nem tud meghívni ebbe a csoportba" msgstr "Nem tud meghívni ebbe a csoportba"
@ -648,21 +630,21 @@ msgstr ""
"felsorolásához" "felsorolásához"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
"Bejelentkezve kell lennie és moderátornak kell lennie a jelentések " "Bejelentkezve kell lennie és moderátornak kell lennie a jelentések "
"felsorolásához" "felsorolásához"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
"Bejelentkezve kell lennie és moderátornak kell lennie egy jelentés " "Bejelentkezve kell lennie és moderátornak kell lennie egy jelentés "
"frissítéséhez" "frissítéséhez"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
"Bejelentkezve kell lennie és moderátornak kell lennie egy jelentés " "Bejelentkezve kell lennie és moderátornak kell lennie egy jelentés "
@ -690,7 +672,7 @@ msgstr ""
"adminisztrátori beállítások mentéséhez" "adminisztrátori beállítások mentéséhez"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "Bejelentkezve kell lennie a megbeszélésekhez való hozzáféréshez" msgstr "Bejelentkezve kell lennie a megbeszélésekhez való hozzáféréshez"
@ -700,7 +682,7 @@ msgid "You need to be logged-in to access resources"
msgstr "Bejelentkezve kell lennie az erőforrásokhoz való hozzáféréshez" msgstr "Bejelentkezve kell lennie az erőforrásokhoz való hozzáféréshez"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "Bejelentkezve kell lennie az események létrehozásához" msgstr "Bejelentkezve kell lennie az események létrehozásához"
@ -710,7 +692,7 @@ msgid "You need to be logged-in to create posts"
msgstr "Bejelentkezve kell lennie a hozzászólások létrehozásához" msgstr "Bejelentkezve kell lennie a hozzászólások létrehozásához"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "Bejelentkezve kell lennie a jelentések létrehozásához" msgstr "Bejelentkezve kell lennie a jelentések létrehozásához"
@ -720,7 +702,7 @@ msgid "You need to be logged-in to create resources"
msgstr "Bejelentkezve kell lennie az erőforrások létrehozásához" msgstr "Bejelentkezve kell lennie az erőforrások létrehozásához"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "Bejelentkezve kell lennie egy esemény törléséhez" msgstr "Bejelentkezve kell lennie egy esemény törléséhez"
@ -735,17 +717,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "Bejelentkezve kell lennie az erőforrások törléséhez" msgstr "Bejelentkezve kell lennie az erőforrások törléséhez"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "Bejelentkezve kell lennie egy eseményhez való csatlakozáshoz" msgstr "Bejelentkezve kell lennie egy eseményhez való csatlakozáshoz"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "Bejelentkezve kell lennie egy esemény elhagyásához" msgstr "Bejelentkezve kell lennie egy esemény elhagyásához"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "Bejelentkezve kell lennie egy esemény frissítéséhez" msgstr "Bejelentkezve kell lennie egy esemény frissítéséhez"
@ -765,30 +747,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "Bejelentkezve kell lennie egy erőforrás előnézetének megtekintéséhez" msgstr "Bejelentkezve kell lennie egy erőforrás előnézetének megtekintéséhez"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "Be kell jelentkeznie egy fénykép feltöltéséhez" msgstr "Be kell jelentkeznie egy fénykép feltöltéséhez"
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr "A jelentő azonosítója nem egyezik a névtelen profil azonosítójával"
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr "A jelentő profilját nem hitelesített felhasználó birtokolja"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "A szülőerőforrás nem tartozik ehhez a csoporthoz" msgstr "A szülőerőforrás nem tartozik ehhez a csoporthoz"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr "A megadott profilazonosító nem a névtelen profil"
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -851,47 +818,47 @@ msgid "You need to be logged in"
msgstr "Bejelentkezve kell lennie" msgstr "Bejelentkezve kell lennie"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "Nem tudja elfogadni ezt a meghívást ezzel a profillal." msgstr "Nem tudja elfogadni ezt a meghívást ezzel a profillal."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "Nem tudja visszautasítani ezt a meghívást ezzel a profillal." msgstr "Nem tudja visszautasítani ezt a meghívást ezzel a profillal."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "A fájl nem rendelkezik engedélyezett MIME-típussal." msgstr "A fájl nem rendelkezik engedélyezett MIME-típussal."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "A profil nem adminisztrátor ennél a csoportnál" msgstr "A profil nem adminisztrátor ennél a csoportnál"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "Nem tudja szerkeszteni ezt az eseményt." msgstr "Nem tudja szerkeszteni ezt az eseményt."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "Nem tudja ezt az eseményt ennek a profilnak tulajdonítani." msgstr "Nem tudja ezt az eseményt ennek a profilnak tulajdonítani."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "Ez a meghívás nem létezik." msgstr "Ez a meghívás nem létezik."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "Ez a tag már vissza lett utasítva." msgstr "Ez a tag már vissza lett utasítva."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "Nincs meg a jogosultsága a tag eltávolításához." msgstr "Nincs meg a jogosultsága a tag eltávolításához."
@ -899,3 +866,8 @@ msgstr "Nincs meg a jogosultsága a tag eltávolításához."
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -99,17 +99,12 @@ msgid "Cannot refresh the token"
msgstr "Il token non può essere aggiornato" msgstr "Il token non può essere aggiornato"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "L'utente corrente non è proprietario del profilo dell'autore"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "Il profilo corrente non è membro di questo gruppo" msgstr "Il profilo corrente non è membro di questo gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "Il profilo corrente non è amministratore del gruppo selezionato" msgstr "Il profilo corrente non è amministratore del gruppo selezionato"
@ -119,8 +114,8 @@ msgid "Error while saving user settings"
msgstr "Errore nel salvare le preferenze utente" msgstr "Errore nel salvare le preferenze utente"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Gruppo non trovato" msgstr "Gruppo non trovato"
@ -135,7 +130,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "Impossibile autenticarsi: email e/o password non validi." msgstr "Impossibile autenticarsi: email e/o password non validi."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Membro non trovato" msgstr "Membro non trovato"
@ -151,18 +146,15 @@ msgid "No user to validate with this email was found"
msgstr "Nessun utente da convalidare trovato con questa email" msgstr "Nessun utente da convalidare trovato con questa email"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Nessun utente con questa email" msgstr "Nessun utente con questa email"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "L'utente autenticato non è propietario di questo profilo" msgstr "L'utente autenticato non è propietario di questo profilo"
@ -228,17 +220,17 @@ msgid "User requested is not logged-in"
msgstr "L'utente richiesto non è loggato" msgstr "L'utente richiesto non è loggato"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "Sei già un membro di questo gruppo" msgstr "Sei già un membro di questo gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "Non puoi lasciare questo gruppo perchè sei l'unico amministratore" msgstr "Non puoi lasciare questo gruppo perchè sei l'unico amministratore"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "Non puoi unirti a questo gruppo" msgstr "Non puoi unirti a questo gruppo"
@ -258,7 +250,7 @@ msgid "You need to be logged-in to change your password"
msgstr "È necessario effettuare il login per modificare la tua password" msgstr "È necessario effettuare il login per modificare la tua password"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "È necessario effettuare il login per eliminare un gruppo" msgstr "È necessario effettuare il login per eliminare un gruppo"
@ -268,17 +260,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "È necessario effettuare il login per eliminare il tuo account" msgstr "È necessario effettuare il login per eliminare il tuo account"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "È necessario effettuare il login per entrare a far parte di un gruppo" msgstr "È necessario effettuare il login per entrare a far parte di un gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "È necessario effettuare il login per lasciare un gruppo" msgstr "È necessario effettuare il login per lasciare un gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "È necessario effettuare il login per aggiornare un gruppo" msgstr "È necessario effettuare il login per aggiornare un gruppo"
@ -342,27 +334,27 @@ msgid "Profile already suspended"
msgstr "Profilo già sospeso" msgstr "Profilo già sospeso"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "Un'email valida è richiesta dalla vostra istanza" msgstr "Un'email valida è richiesta dalla vostra istanza"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "La partecipazione anonima non è abilitata" msgstr "La partecipazione anonima non è abilitata"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "Impossibile rimuovere l'ultimo amministratore di un gruppo" msgstr "Impossibile rimuovere l'ultimo amministratore di un gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "Impossibile rimuovere l'ultima identità di un utente" msgstr "Impossibile rimuovere l'ultima identità di un utente"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "Commento già cancellato" msgstr "Commento già cancellato"
@ -372,49 +364,44 @@ msgid "Discussion not found"
msgstr "Discussione non trovata" msgstr "Discussione non trovata"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "Errore nel salvare la segnalazione" msgstr "Errore nel salvare la segnalazione"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "Errore durante l'aggiornamento del rapporto" msgstr "Errore durante l'aggiornamento del rapporto"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "ID evento non trovato" msgstr "ID evento non trovato"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "Evento non trovato" msgstr "Evento non trovato"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "L'evento con questo ID %{id} non esiste" msgstr "L'evento con questo ID %{id} non esiste"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "Errore Interno" msgstr "Errore Interno"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr "Il profilo del moderatore non è di proprietà dell'utente autenticato"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "Nessuna discussione con l'ID %{id}" msgstr "Nessuna discussione con l'ID %{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "Nessuno profilo trovato per l'utente" msgstr "Nessuno profilo trovato per l'utente"
@ -424,34 +411,29 @@ msgid "No such feed token"
msgstr "Nessun token di rifornimento corrispondente" msgstr "Nessun token di rifornimento corrispondente"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr "Il profilo dell'organizzatore non è di proprietà dell'utente"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "Il partecipante ha già il ruolo %{role}" msgstr "Il partecipante ha già il ruolo %{role}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "Partecipante non trovato" msgstr "Partecipante non trovato"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "La persona con l'ID %{id} non è stata trovata" msgstr "La persona con l'ID %{id} non è stata trovata"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "La persona con il nome utente %{username} non è stata trovata" msgstr "La persona con il nome utente %{username} non è stata trovata"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "L'immagine con l'ID %{id} non è stata trovata" msgstr "L'immagine con l'ID %{id} non è stata trovata"
@ -466,38 +448,38 @@ msgid "Post doesn't exist"
msgstr "Il post non esiste" msgstr "Il post non esiste"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "Il profilo invitato non esiste" msgstr "Il profilo invitato non esiste"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "Il profilo è già un membro diquesto gruppo" msgstr "Il profilo è già un membro diquesto gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "Il profilo non è membro del gruppo" msgstr "Il profilo non è membro del gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "Profilo non trovato" msgstr "Profilo non trovato"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
"Il profilo del moderatore fornito non dispone dell'autorizzazione per questo " "Il profilo del moderatore fornito non dispone dell'autorizzazione per questo "
"evento" "evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "Segnalazione non trovata" msgstr "Segnalazione non trovata"
@ -507,23 +489,23 @@ msgid "Resource doesn't exist"
msgstr "La risorsa non esiste" msgstr "La risorsa non esiste"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "L'evento ha già raggiunto la sua massima capacità" msgstr "L'evento ha già raggiunto la sua massima capacità"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "Questo token non è valido" msgstr "Questo token non è valido"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "L'elemento to-do non esiste" msgstr "L'elemento to-do non esiste"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "la lista non esiste" msgstr "la lista non esiste"
@ -538,37 +520,37 @@ msgid "Token is not a valid UUID"
msgstr "Il token non è un UUID valido" msgstr "Il token non è un UUID valido"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "Utente non trovato" msgstr "Utente non trovato"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "Hai già un profilo per questo utente" msgstr "Hai già un profilo per questo utente"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "Se già un partecipante di questo evento" msgstr "Se già un partecipante di questo evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "Non sei membro del gruppo a cui la discussione appartiene" msgstr "Non sei membro del gruppo a cui la discussione appartiene"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "Non sei un membro di questo gruppo" msgstr "Non sei un membro di questo gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "Non sei un moderatore o amministratore di questo gruppo" msgstr "Non sei un moderatore o amministratore di questo gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "Non è consentito creare un commento se non si è collegati" msgstr "Non è consentito creare un commento se non si è collegati"
@ -578,7 +560,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "Non puoi creare un token di rifornimento senza connessione" msgstr "Non puoi creare un token di rifornimento senza connessione"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "Non è consentito eliminare un commento se non si è collegati" msgstr "Non è consentito eliminare un commento se non si è collegati"
@ -588,36 +570,36 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "Non puoi eliminare un token di rifornimento senza connettersi" msgstr "Non puoi eliminare un token di rifornimento senza connettersi"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "Non è consentito aggiornare un commento se non si è collegati" msgstr "Non è consentito aggiornare un commento se non si è collegati"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
"Non puoi lasciare l'evento perchè sei l'unico partecipante creatore di eventi" "Non puoi lasciare l'evento perchè sei l'unico partecipante creatore di eventi"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
"Non puoi impostare te stesso per un ruolo di membro inferiore per questo " "Non puoi impostare te stesso per un ruolo di membro inferiore per questo "
"gruppo perché sei l'unico amministratore" "gruppo perché sei l'unico amministratore"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "Non puoi eliminare questo commento" msgstr "Non puoi eliminare questo commento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "Non puoi eliminare questo evento" msgstr "Non puoi eliminare questo evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "Non puoi invitare in questo gruppo" msgstr "Non puoi invitare in questo gruppo"
@ -632,17 +614,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "Devi essere connesso e un moderatore per elencare i log delle azioni" msgstr "Devi essere connesso e un moderatore per elencare i log delle azioni"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "Devi essere connesso e un moderatore per elencare i rapporti" msgstr "Devi essere connesso e un moderatore per elencare i rapporti"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "Devi essere connesso e un moderatore per aggiornare un rapporto" msgstr "Devi essere connesso e un moderatore per aggiornare un rapporto"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "Devi essere connesso e un moderatore per visualizzare un rapporto" msgstr "Devi essere connesso e un moderatore per visualizzare un rapporto"
@ -668,7 +650,7 @@ msgstr ""
"dell'amministratore" "dell'amministratore"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "Devi essere connesso per accedere alle discussioni" msgstr "Devi essere connesso per accedere alle discussioni"
@ -678,7 +660,7 @@ msgid "You need to be logged-in to access resources"
msgstr "Devi essere connesso per accedere alle risorse" msgstr "Devi essere connesso per accedere alle risorse"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "Devi essere connesso per creare eventi" msgstr "Devi essere connesso per creare eventi"
@ -688,7 +670,7 @@ msgid "You need to be logged-in to create posts"
msgstr "Devi essere connesso per creare dei post" msgstr "Devi essere connesso per creare dei post"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "Devi essere connesso per creare rapporti" msgstr "Devi essere connesso per creare rapporti"
@ -698,7 +680,7 @@ msgid "You need to be logged-in to create resources"
msgstr "Devi essere connesso per creare risorse" msgstr "Devi essere connesso per creare risorse"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "Devi essere connesso per eliminare un evento" msgstr "Devi essere connesso per eliminare un evento"
@ -713,17 +695,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "Devi essere connesso per eliminare risorse" msgstr "Devi essere connesso per eliminare risorse"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "Devi essere connesso per partecipare a un evento" msgstr "Devi essere connesso per partecipare a un evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "Devi essere connesso per lasciare un evento" msgstr "Devi essere connesso per lasciare un evento"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "Devi essere connesso per aggiornare un evento" msgstr "Devi essere connesso per aggiornare un evento"
@ -743,30 +725,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "Devi essere connesso per visualizzare l'anteprima di una risorsa" msgstr "Devi essere connesso per visualizzare l'anteprima di una risorsa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "Devi essere connesso per caricare un'immagine" msgstr "Devi essere connesso per caricare un'immagine"
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr "L'ID reporter non corrisponde all'ID del profilo anonimo"
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr "Il profilo del reporter non è di proprietà dell'utente autenticato"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "La risorsa principale non appartiene a questo gruppo" msgstr "La risorsa principale non appartiene a questo gruppo"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr "L'ID profilo fornito non è quello del profilo anonimo"
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -830,47 +797,47 @@ msgid "You need to be logged in"
msgstr "Devi essere connesso" msgstr "Devi essere connesso"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "Non puoi accettare l'invito con questo profilo." msgstr "Non puoi accettare l'invito con questo profilo."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "Non puoi rifiutare l'invito con questo profilo." msgstr "Non puoi rifiutare l'invito con questo profilo."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "Il file non ha un tipo MIME consentito." msgstr "Il file non ha un tipo MIME consentito."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "Il profilo non è amministratore del gruppo" msgstr "Il profilo non è amministratore del gruppo"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "Non puoi modificare questo evento." msgstr "Non puoi modificare questo evento."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "Non puo iattribuire questo evento a questo profilo." msgstr "Non puo iattribuire questo evento a questo profilo."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "Questo invito non esiste." msgstr "Questo invito non esiste."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "Questo memebro è già stato rifiutato." msgstr "Questo memebro è già stato rifiutato."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "Non hai il diritto di rimuovere questo membro." msgstr "Non hai il diritto di rimuovere questo membro."
@ -878,3 +845,8 @@ msgstr "Non hai il diritto di rimuovere questo membro."
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -86,17 +86,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -106,8 +101,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -122,7 +117,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -138,18 +133,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -215,17 +207,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -245,7 +237,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -255,17 +247,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -325,27 +317,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -355,49 +347,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -407,34 +394,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -449,36 +431,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -488,23 +470,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -519,37 +501,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -559,7 +541,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -569,33 +551,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -610,17 +592,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -640,7 +622,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -650,7 +632,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -660,7 +642,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -670,7 +652,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -685,17 +667,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -715,30 +697,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -800,47 +767,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -848,3 +815,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -92,17 +92,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -112,8 +107,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -128,7 +123,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -144,18 +139,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -221,17 +213,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -251,7 +243,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -261,17 +253,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -331,27 +323,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -361,49 +353,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -413,34 +400,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -455,36 +437,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -494,23 +476,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -525,37 +507,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -565,7 +547,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -575,33 +557,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -616,17 +598,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -646,7 +628,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -656,7 +638,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -666,7 +648,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -676,7 +658,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -691,17 +673,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -721,30 +703,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -806,47 +773,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -854,3 +821,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -115,17 +115,12 @@ msgid "Cannot refresh the token"
msgstr "Kan ikkje fornya teiknet" msgstr "Kan ikkje fornya teiknet"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "Denne brukaren eig ikkje opphavsprofilen"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "Denne brukaren er ikkje medlem av gruppa" msgstr "Denne brukaren er ikkje medlem av gruppa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "Denne brukaren er ikkje styrar av gruppa" msgstr "Denne brukaren er ikkje styrar av gruppa"
@ -135,8 +130,8 @@ msgid "Error while saving user settings"
msgstr "Greidde ikkje lagra brukarinnstillingane" msgstr "Greidde ikkje lagra brukarinnstillingane"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Fann ikkje gruppa" msgstr "Fann ikkje gruppa"
@ -151,7 +146,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "Greier ikkje å logga inn. Epostadressa eller passordet ditt er feil." msgstr "Greier ikkje å logga inn. Epostadressa eller passordet ditt er feil."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Fann ikkje medlemen" msgstr "Fann ikkje medlemen"
@ -167,18 +162,15 @@ msgid "No user to validate with this email was found"
msgstr "Fann ingen brukar med denne eposten å godkjenna" msgstr "Fann ingen brukar med denne eposten å godkjenna"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Fann ingen brukar med denne eposten" msgstr "Fann ingen brukar med denne eposten"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "Ingen godkjent brukar eig denne profilen" msgstr "Ingen godkjent brukar eig denne profilen"
@ -244,17 +236,17 @@ msgid "User requested is not logged-in"
msgstr "Den førespurte brukaren er ikkje innlogga" msgstr "Den førespurte brukaren er ikkje innlogga"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "Du er allereie medlem av denne gruppa" msgstr "Du er allereie medlem av denne gruppa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "Du kan ikkje forlata denne gruppa, fordi du er den einaste styraren" msgstr "Du kan ikkje forlata denne gruppa, fordi du er den einaste styraren"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "Du kan ikkje bli med i denne gruppa" msgstr "Du kan ikkje bli med i denne gruppa"
@ -274,7 +266,7 @@ msgid "You need to be logged-in to change your password"
msgstr "Du må vera innlogga for å endra passordet ditt" msgstr "Du må vera innlogga for å endra passordet ditt"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "Du må vera innlogga for å sletta ei gruppe" msgstr "Du må vera innlogga for å sletta ei gruppe"
@ -284,17 +276,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "Du må vera innlogga for å sletta kontoen din" msgstr "Du må vera innlogga for å sletta kontoen din"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "Du må vera innlogga for å bli med i ei gruppe" msgstr "Du må vera innlogga for å bli med i ei gruppe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "Du må vera innlogga for å forlata ei gruppe" msgstr "Du må vera innlogga for å forlata ei gruppe"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "Du må vera innlogga for å oppdatera ei gruppe" msgstr "Du må vera innlogga for å oppdatera ei gruppe"
@ -354,27 +346,27 @@ msgid "Profile already suspended"
msgstr "Profilen er allereie sperra" msgstr "Profilen er allereie sperra"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "Nettstaden din krev ei gyldig epostadresse" msgstr "Nettstaden din krev ei gyldig epostadresse"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "Det er ikkje høve til å vera med anonymt" msgstr "Det er ikkje høve til å vera med anonymt"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "Kan ikkje fjerna den siste styraren i gruppa" msgstr "Kan ikkje fjerna den siste styraren i gruppa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "Kan ikkje fjerna den siste identiteten til ein brukar" msgstr "Kan ikkje fjerna den siste identiteten til ein brukar"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "Kommentaren er allereie sletta" msgstr "Kommentaren er allereie sletta"
@ -384,49 +376,44 @@ msgid "Discussion not found"
msgstr "Fann ikkje ordskiftet" msgstr "Fann ikkje ordskiftet"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "Greidde ikkje lagra rapporten" msgstr "Greidde ikkje lagra rapporten"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "Greidde ikkje oppdatera rapporten" msgstr "Greidde ikkje oppdatera rapporten"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "Fann ikkje ID-en til hendinga" msgstr "Fann ikkje ID-en til hendinga"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "Fann ikkje hendinga" msgstr "Fann ikkje hendinga"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "Det finst inga hending med ID-en %{id}" msgstr "Det finst inga hending med ID-en %{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "Intern feil" msgstr "Intern feil"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr "Det er ingen godkjend brukar som eig moderatorprofilen"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "Ikkje noko ordskifte med ID-en %{id}" msgstr "Ikkje noko ordskifte med ID-en %{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "Fann ingen profil for brukaren" msgstr "Fann ingen profil for brukaren"
@ -436,34 +423,29 @@ msgid "No such feed token"
msgstr "Det finst ikkje noko slikt teikn for kjelda" msgstr "Det finst ikkje noko slikt teikn for kjelda"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr "Brukaren eig ikkje tilskiparprofilen"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "Deltakaren har rolla %{role} allereie" msgstr "Deltakaren har rolla %{role} allereie"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "Fann ikkje deltakaren" msgstr "Fann ikkje deltakaren"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "Fann ingen person med ID-en %{id}" msgstr "Fann ingen person med ID-en %{id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "Fann ingen person med brukarnamnet %{username}" msgstr "Fann ingen person med brukarnamnet %{username}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "Fann ikkje biletet med ID-en %{id}" msgstr "Fann ikkje biletet med ID-en %{id}"
@ -478,36 +460,36 @@ msgid "Post doesn't exist"
msgstr "Innlegget finst ikkje" msgstr "Innlegget finst ikkje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "Den inviterte profilen finst ikkje" msgstr "Den inviterte profilen finst ikkje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "Profilen er allereie medlem i denne gruppa" msgstr "Profilen er allereie medlem i denne gruppa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "Profilen er ikkje medlem i gruppa" msgstr "Profilen er ikkje medlem i gruppa"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "Fann ikkje profilen" msgstr "Fann ikkje profilen"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "Moderatorprofilen har ikkje tilgang til denne hendinga" msgstr "Moderatorprofilen har ikkje tilgang til denne hendinga"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "Fann ikkje rapporten" msgstr "Fann ikkje rapporten"
@ -517,23 +499,23 @@ msgid "Resource doesn't exist"
msgstr "Ressursen finst ikkje" msgstr "Ressursen finst ikkje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "Hendinga er fullteikna" msgstr "Hendinga er fullteikna"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "Teiknet er ugyldig" msgstr "Teiknet er ugyldig"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "Gjeremålet finst ikkje" msgstr "Gjeremålet finst ikkje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "Gjeremålslista finst ikkje" msgstr "Gjeremålslista finst ikkje"
@ -548,37 +530,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -588,7 +570,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -598,33 +580,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -639,17 +621,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -669,7 +651,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -679,7 +661,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -689,7 +671,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -699,7 +681,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -714,17 +696,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -744,30 +726,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -829,47 +796,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -877,3 +844,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -93,775 +93,747 @@ msgstr "deu èsser superior o egal a %{number}"
msgid "must be equal to %{number}" msgid "must be equal to %{number}"
msgstr "deu èsser egal a %{number}" msgstr "deu èsser egal a %{number}"
#: lib/graphql/resolvers/user.ex:103
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:103
msgid "Cannot refresh the token" msgid "Cannot refresh the token"
msgstr "Actualizacion impossibla del geton" msgstr "Actualizacion impossibla del geton"
#: lib/graphql/resolvers/group.ex:137
#, elixir-format
msgid "Creator profile is not owned by the current user"
msgstr "Lo perfil creator es pas tengut per lutilizaire actual"
#: lib/graphql/resolvers/group.ex:201
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:198
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "Lo perfil actual es pas un membre daqueste grop" msgstr "Lo perfil actual es pas un membre daqueste grop"
#: lib/graphql/resolvers/group.ex:205
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "Lo perfil actual es pas administrator del grop seleccionat" msgstr "Lo perfil actual es pas administrator del grop seleccionat"
#: lib/graphql/resolvers/user.ex:512
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:512
msgid "Error while saving user settings" msgid "Error while saving user settings"
msgstr "Error en salvagardant los paramètres utilizaire" msgstr "Error en salvagardant los paramètres utilizaire"
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Grop pas trobat" msgstr "Grop pas trobat"
#: lib/graphql/resolvers/group.ex:66
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:66
msgid "Group with ID %{id} not found" msgid "Group with ID %{id} not found"
msgstr "Grop amb lID %{id} pas trobat" msgstr "Grop amb lID %{id} pas trobat"
#: lib/graphql/resolvers/user.ex:83
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:83
msgid "Impossible to authenticate, either your email or password are invalid." msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
"Autentificacion impossibla, vòstra adreça electronica o lo vòstre senhal es " "Autentificacion impossibla, vòstra adreça electronica o lo vòstre senhal es "
"invalid." "invalid."
#: lib/graphql/resolvers/group.ex:261
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Membre pas trobat" msgstr "Membre pas trobat"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88 #: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417 #: lib/graphql/resolvers/user.ex:417
#, elixir-format
msgid "No profile found for the moderator user" msgid "No profile found for the moderator user"
msgstr "Cap de perfil pas trobat per lutilizaire moderator" msgstr "Cap de perfil pas trobat per lutilizaire moderator"
#: lib/graphql/resolvers/user.ex:195
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:195
msgid "No user to validate with this email was found" msgid "No user to validate with this email was found"
msgstr "Cap dutilizaire de validar amb aqueste email pas trobat" msgstr "Cap dutilizaire de validar amb aqueste email pas trobat"
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Degun trobat d'amb aquesta email" msgstr "Degun trobat d'amb aquesta email"
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "Lo perhiu es pas proprietat del utilizator autenticat" msgstr "Lo perhiu es pas proprietat del utilizator autenticat"
#: lib/graphql/resolvers/user.ex:125
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:125
msgid "Registrations are not open" msgid "Registrations are not open"
msgstr "Las inscripciones sèn pas obèrtas" msgstr "Las inscripciones sèn pas obèrtas"
#: lib/graphql/resolvers/user.ex:330
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:330
msgid "The current password is invalid" msgid "The current password is invalid"
msgstr "Lo mòt de santa clara actuau es invalid" msgstr "Lo mòt de santa clara actuau es invalid"
#: lib/graphql/resolvers/user.ex:382
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:382
msgid "The new email doesn't seem to be valid" msgid "The new email doesn't seem to be valid"
msgstr "Lo email nau sèm invalid" msgstr "Lo email nau sèm invalid"
#: lib/graphql/resolvers/user.ex:379
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:379
msgid "The new email must be different" msgid "The new email must be different"
msgstr "Lo email nau deb esser different" msgstr "Lo email nau deb esser different"
#: lib/graphql/resolvers/user.ex:333
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:333
msgid "The new password must be different" msgid "The new password must be different"
msgstr "Lo mòt de santa clara nau deb esser different" msgstr "Lo mòt de santa clara nau deb esser different"
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439 #: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442 #: lib/graphql/resolvers/user.ex:442
#, elixir-format
msgid "The password provided is invalid" msgid "The password provided is invalid"
msgstr "Lo mòt de santa clara aprovedit es invalid" msgstr "Lo mòt de santa clara aprovedit es invalid"
#: lib/graphql/resolvers/user.ex:337
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:337
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters." msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr "" msgstr ""
"Lo mòt de santa clara que avetz causit es tròp cort. Merci de vos assegurar " "Lo mòt de santa clara que avetz causit es tròp cort. Merci de vos assegurar "
"que vostre mòt de santa clara contienga au mèns 6 caracteres." "que vostre mòt de santa clara contienga au mèns 6 caracteres."
#: lib/graphql/resolvers/user.ex:215
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:215
msgid "This user can't reset their password" msgid "This user can't reset their password"
msgstr "Aquest utilizator pod pas reinicializar lo sèn mòt de santa clara" msgstr "Aquest utilizator pod pas reinicializar lo sèn mòt de santa clara"
#: lib/graphql/resolvers/user.ex:79
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:79
msgid "This user has been disabled" msgid "This user has been disabled"
msgstr "Aquest utilizator a essat dasactivat" msgstr "Aquest utilizator a essat dasactivat"
#: lib/graphql/resolvers/user.ex:179
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:179
msgid "Unable to validate user" msgid "Unable to validate user"
msgstr "Es impossible de validar l'utilizator" msgstr "Es impossible de validar l'utilizator"
#: lib/graphql/resolvers/user.ex:420
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:420
msgid "User already disabled" msgid "User already disabled"
msgstr "Utilizator déjà desactivat" msgstr "Utilizator déjà desactivat"
#: lib/graphql/resolvers/user.ex:487
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:487
msgid "User requested is not logged-in" msgid "User requested is not logged-in"
msgstr "L'utilizator demandat es pas conectat" msgstr "L'utilizator demandat es pas conectat"
#: lib/graphql/resolvers/group.ex:235
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "Essetz déjà membre d'aquest grop" msgstr "Essetz déjà membre d'aquest grop"
#: lib/graphql/resolvers/group.ex:268
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "Podetz pas quitar aquest grop perque essetz lo sol administrator" msgstr "Podetz pas quitar aquest grop perque essetz lo sol administrator"
#: lib/graphql/resolvers/group.ex:232
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "Podetz pas rejónher aquest grop" msgstr "Podetz pas rejónher aquest grop"
#: lib/graphql/resolvers/group.ex:94
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:94
msgid "You may not list groups unless moderator." msgid "You may not list groups unless moderator."
msgstr "Podetz listar los grops sonque se essetz moderator." msgstr "Podetz listar los grops sonque se essetz moderator."
#: lib/graphql/resolvers/user.ex:387
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:387
msgid "You need to be logged-in to change your email" msgid "You need to be logged-in to change your email"
msgstr "Debetz esser conectat per cambiar lo voste email" msgstr "Debetz esser conectat per cambiar lo voste email"
#: lib/graphql/resolvers/user.ex:345
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:345
msgid "You need to be logged-in to change your password" msgid "You need to be logged-in to change your password"
msgstr "Debetz d'esser conectat per cambiar lo voste mòt de santa clara" msgstr "Debetz d'esser conectat per cambiar lo voste mòt de santa clara"
#: lib/graphql/resolvers/group.ex:210
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "Debetz d'esser conectat per suprimir un grop" msgstr "Debetz d'esser conectat per suprimir un grop"
#: lib/graphql/resolvers/user.ex:447
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:447
msgid "You need to be logged-in to delete your account" msgid "You need to be logged-in to delete your account"
msgstr "Deves-tz d'esser conectat-ada per suprimir lo voste compte" msgstr "Deves-tz d'esser conectat-ada per suprimir lo voste compte"
#: lib/graphql/resolvers/group.ex:240
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "Deves-tz d'esser conectat-ada per rejónher un grop" msgstr "Deves-tz d'esser conectat-ada per rejónher un grop"
#: lib/graphql/resolvers/group.ex:273
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "Deves-tz d'esser conectat-ada per quitar un grop" msgstr "Deves-tz d'esser conectat-ada per quitar un grop"
#: lib/graphql/resolvers/group.ex:175
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "Deves-tz d'esser conectat per metre à jorn un grop" msgstr "Deves-tz d'esser conectat per metre à jorn un grop"
#: lib/graphql/resolvers/user.ex:58
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:58
msgid "You need to have admin access to list users" msgid "You need to have admin access to list users"
msgstr "Deves-tz aver un accès admin per listar los utilizators" msgstr "Deves-tz aver un accès admin per listar los utilizators"
#: lib/graphql/resolvers/user.ex:108
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:108
msgid "You need to have an existing token to get a refresh token" msgid "You need to have an existing token to get a refresh token"
msgstr "deves-tz aver un senhau existant per obtiéner un senhau nau" msgstr "deves-tz aver un senhau existant per obtiéner un senhau nau"
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
msgid "You requested again a confirmation email too soon" msgid "You requested again a confirmation email too soon"
msgstr "Demandatz de nau un email de confirmacion tròp lèu" msgstr "Demandatz de nau un email de confirmacion tròp lèu"
#: lib/graphql/resolvers/user.ex:128
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/user.ex:128
msgid "Your email is not on the allowlist" msgid "Your email is not on the allowlist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/actor.ex:64 lib/graphql/resolvers/actor.ex:94
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/actor.ex:64 lib/graphql/resolvers/actor.ex:94
msgid "Error while performing background task" msgid "Error while performing background task"
msgstr "" msgstr ""
#: lib/graphql/resolvers/actor.ex:27
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/actor.ex:27
msgid "No profile found with this ID" msgid "No profile found with this ID"
msgstr "" msgstr ""
#: lib/graphql/resolvers/actor.ex:54 lib/graphql/resolvers/actor.ex:91
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/actor.ex:54 lib/graphql/resolvers/actor.ex:91
msgid "No remote profile found with this ID" msgid "No remote profile found with this ID"
msgstr "" msgstr ""
#: lib/graphql/resolvers/actor.ex:69
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/actor.ex:69
msgid "Only moderators and administrators can suspend a profile" msgid "Only moderators and administrators can suspend a profile"
msgstr "" msgstr ""
#: lib/graphql/resolvers/actor.ex:99
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/actor.ex:99
msgid "Only moderators and administrators can unsuspend a profile" msgid "Only moderators and administrators can unsuspend a profile"
msgstr "" msgstr ""
#: lib/graphql/resolvers/actor.ex:24
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/actor.ex:24
msgid "Only remote profiles may be refreshed" msgid "Only remote profiles may be refreshed"
msgstr "" msgstr ""
#: lib/graphql/resolvers/actor.ex:61
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/actor.ex:61
msgid "Profile already suspended" msgid "Profile already suspended"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:93
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:87
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#: lib/graphql/resolvers/person.ex:186
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#: lib/graphql/resolvers/person.ex:183
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#: lib/graphql/resolvers/comment.ex:109
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
#: lib/graphql/resolvers/discussion.ex:61
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:61
msgid "Discussion not found" msgid "Discussion not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:110
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:128
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238
#: lib/graphql/resolvers/event.ex:283
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:84
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:100
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231
#, elixir-format
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#: lib/graphql/resolvers/discussion.ex:184
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:193
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
#: lib/graphql/resolvers/feed_token.ex:63
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:63
msgid "No such feed token" msgid "No such feed token"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:202
#, elixir-format
msgid "Organizer profile is not owned by the user"
msgstr ""
#: lib/graphql/resolvers/participant.ex:241
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:227
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:170
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234
#: lib/graphql/resolvers/participant.ex:244
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/person.ex:31
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/person.ex:52
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/picture.ex:42
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID" msgid "Post ID is not a valid ID"
msgstr "" msgstr ""
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist" msgid "Post doesn't exist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:86
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
#, elixir-format
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:38
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/resource.ex:150 lib/graphql/resolvers/resource.ex:179
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:150 lib/graphql/resolvers/resource.ex:179
msgid "Resource doesn't exist" msgid "Resource doesn't exist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:121
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:264
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194
#: lib/graphql/resolvers/todos.ex:219
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/feed_token.ex:69
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:69
msgid "Token does not exist" msgid "Token does not exist"
msgstr "" msgstr ""
#: lib/graphql/resolvers/feed_token.ex:66
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:66
msgid "Token is not a valid UUID" msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#: lib/graphql/resolvers/person.ex:234
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:131
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#: lib/graphql/resolvers/discussion.ex:188
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:89
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:154
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#: lib/graphql/resolvers/comment.ex:55
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
#: lib/graphql/resolvers/feed_token.ex:41
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:41
msgid "You are not allowed to create a feed token if not connected" msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#: lib/graphql/resolvers/comment.ex:117
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
#: lib/graphql/resolvers/feed_token.ex:78
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:78
msgid "You are not allowed to delete a feed token if not connected" msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#: lib/graphql/resolvers/comment.ex:77
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:164
#: lib/graphql/resolvers/participant.ex:193
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#: lib/graphql/resolvers/member.ex:158
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:155
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 ""
#: lib/graphql/resolvers/comment.ex:105
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:279
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:92
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
#: lib/graphql/resolvers/feed_token.ex:72
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/feed_token.ex:72
msgid "You don't have permission to delete this token" msgid "You don't have permission to delete this token"
msgstr "" msgstr ""
#: lib/graphql/resolvers/admin.ex:52
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/admin.ex:52
msgid "You need to be logged-in and a moderator to list action logs" msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:28
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:115
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:43
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
#: lib/graphql/resolvers/admin.ex:236
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/admin.ex:236
msgid "You need to be logged-in and an administrator to access admin settings" msgid "You need to be logged-in and an administrator to access admin settings"
msgstr "" msgstr ""
#: lib/graphql/resolvers/admin.ex:221
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/admin.ex:221
msgid "You need to be logged-in and an administrator to access dashboard statistics" msgid "You need to be logged-in and an administrator to access dashboard statistics"
msgstr "" msgstr ""
#: lib/graphql/resolvers/admin.ex:260
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/admin.ex:260
msgid "You need to be logged-in and an administrator to save admin settings" msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#: lib/graphql/resolvers/discussion.ex:66
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
#: lib/graphql/resolvers/resource.ex:93
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:93
msgid "You need to be logged-in to access resources" msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:213
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
#: lib/graphql/resolvers/post.ex:139
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts" msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
#: lib/graphql/resolvers/resource.ex:129
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:129
msgid "You need to be logged-in to create resources" msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:291
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
#: lib/graphql/resolvers/post.ex:209
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts" msgid "You need to be logged-in to delete posts"
msgstr "" msgstr ""
#: lib/graphql/resolvers/resource.ex:187
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:187
msgid "You need to be logged-in to delete resources" msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:105
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:204
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:252
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
#: lib/graphql/resolvers/post.ex:176
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts" msgid "You need to be logged-in to update posts"
msgstr "" msgstr ""
#: lib/graphql/resolvers/resource.ex:158
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:158
msgid "You need to be logged-in to update resources" msgid "You need to be logged-in to update resources"
msgstr "" msgstr ""
#: lib/graphql/resolvers/resource.ex:210
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:210
msgid "You need to be logged-in to view a resource preview" msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#: lib/graphql/resolvers/picture.ex:83
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#: lib/graphql/resolvers/report.ex:81
#, elixir-format #, elixir-format
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#: lib/graphql/resolvers/report.ex:59
#, elixir-format
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
#, elixir-format
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#: lib/graphql/resolvers/participant.ex:90
#, elixir-format #, elixir-format
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
#, elixir-format
msgid "The chosen password is too short." msgid "The chosen password is too short."
msgstr "" msgstr ""
#: lib/mobilizon/users/user.ex:138
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:138
msgid "The registration token is already in use, this looks like an issue on our side." msgid "The registration token is already in use, this looks like an issue on our side."
msgstr "" msgstr ""
#: lib/mobilizon/users/user.ex:104
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used." msgid "This email is already used."
msgstr "" msgstr ""
#: lib/graphql/error.ex:88
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:88
msgid "Post not found" msgid "Post not found"
msgstr "" msgstr ""
#: lib/graphql/error.ex:75
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:75
msgid "Invalid arguments passed" msgid "Invalid arguments passed"
msgstr "" msgstr ""
#: lib/graphql/error.ex:81
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:81
msgid "Invalid credentials" msgid "Invalid credentials"
msgstr "" msgstr ""
#: lib/graphql/error.ex:79
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:79
msgid "Reset your password to login" msgid "Reset your password to login"
msgstr "" msgstr ""
#: lib/graphql/error.ex:86 lib/graphql/error.ex:91
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:86 lib/graphql/error.ex:91
msgid "Resource not found" msgid "Resource not found"
msgstr "" msgstr ""
#: lib/graphql/error.ex:92
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:92
msgid "Something went wrong" msgid "Something went wrong"
msgstr "" msgstr ""
#: lib/graphql/error.ex:74
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:74
msgid "Unknown Resource" msgid "Unknown Resource"
msgstr "" msgstr ""
#: lib/graphql/error.ex:84
#, elixir-format #, elixir-format
#: 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 ""
#: lib/graphql/error.ex:76
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:76
msgid "You need to be logged in" msgid "You need to be logged in"
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:119
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:137
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#: lib/graphql/resolvers/picture.ex:75
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#: lib/graphql/resolvers/group.ex:170
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:241
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#: lib/graphql/resolvers/event.ex:244
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:140
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:182
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#: lib/graphql/resolvers/member.ex:189
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
#: lib/mobilizon/actors/actor.ex:344
#, elixir-format #, elixir-format
#: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -106,17 +106,12 @@ msgid "Cannot refresh the token"
msgstr "Nie można odświeżyć tokenu" msgstr "Nie można odświeżyć tokenu"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr "Profil autora nie należy do obecnego użytkownika"
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "Obency profil nie jest członkiem tej grupy" msgstr "Obency profil nie jest członkiem tej grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "Obecny profil nie jest administratorem zaznaczonej grupy" msgstr "Obecny profil nie jest administratorem zaznaczonej grupy"
@ -126,8 +121,8 @@ msgid "Error while saving user settings"
msgstr "Błąd zapisywania ustawień użytkownika" msgstr "Błąd zapisywania ustawień użytkownika"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Nie odnaleziono grupy" msgstr "Nie odnaleziono grupy"
@ -143,7 +138,7 @@ msgstr ""
"Nie udało się uwierzytelnić. Adres e-mail bądź hasło jest nieprawidłowe." "Nie udało się uwierzytelnić. Adres e-mail bądź hasło jest nieprawidłowe."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "Nie odnaleziono użytkownika" msgstr "Nie odnaleziono użytkownika"
@ -160,18 +155,15 @@ msgstr ""
"Nie znaleziono użytkownika do zatwierdzenia z użyciem tego adresu e-mail" "Nie znaleziono użytkownika do zatwierdzenia z użyciem tego adresu e-mail"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "Nie znaleziono użytkownika o tym adresie e-mail" msgstr "Nie znaleziono użytkownika o tym adresie e-mail"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "Profil nie należy do uwierzytelnionego użytkownika" msgstr "Profil nie należy do uwierzytelnionego użytkownika"
@ -239,18 +231,18 @@ msgid "User requested is not logged-in"
msgstr "Żądany użytkownik nie jest zalogowany" msgstr "Żądany użytkownik nie jest zalogowany"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "Już jesteś członkiem tej grupy" msgstr "Już jesteś członkiem tej grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
"Nie możesz opuścić tej grupy, ponieważ jesteś jej jedynym administratorem" "Nie możesz opuścić tej grupy, ponieważ jesteś jej jedynym administratorem"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "Nie możesz dołączyć do tej grupy" msgstr "Nie możesz dołączyć do tej grupy"
@ -270,7 +262,7 @@ msgid "You need to be logged-in to change your password"
msgstr "Musisz być zalogowany(-a), aby zmienić hasło" msgstr "Musisz być zalogowany(-a), aby zmienić hasło"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "Musisz być zalogowany(-a), aby usunąć grupę" msgstr "Musisz być zalogowany(-a), aby usunąć grupę"
@ -280,17 +272,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "Musisz być zalogowany(-a), aby usunąć konto" msgstr "Musisz być zalogowany(-a), aby usunąć konto"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "Musisz być zalogowany(-a), aby dołączyć do grupy" msgstr "Musisz być zalogowany(-a), aby dołączyć do grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "Musisz być zalogowany(-a), aby opuścić grupę" msgstr "Musisz być zalogowany(-a), aby opuścić grupę"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "Musisz być zalogowany(-a), aby zaktualizować grupę" msgstr "Musisz być zalogowany(-a), aby zaktualizować grupę"
@ -352,27 +344,27 @@ msgid "Profile already suspended"
msgstr "Już zawieszono profil" msgstr "Już zawieszono profil"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "Twoja instancja wymaga prawidłowego adresu e-mail" msgstr "Twoja instancja wymaga prawidłowego adresu e-mail"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "Anonimowe uczestnictwa nie są włączone" msgstr "Anonimowe uczestnictwa nie są włączone"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "Nie można usunać jedynego administratora grupy" msgstr "Nie można usunać jedynego administratora grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "Nie można usunąć jedynej tożsamości użytkownika" msgstr "Nie można usunąć jedynej tożsamości użytkownika"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "Komentarz jest już usunięty" msgstr "Komentarz jest już usunięty"
@ -382,49 +374,44 @@ msgid "Discussion not found"
msgstr "Nie znaleziono dyskusji" msgstr "Nie znaleziono dyskusji"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "Wystąpił błąd podczas zapisywania zgłoszenia" msgstr "Wystąpił błąd podczas zapisywania zgłoszenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "Wystąpił błąd podczas aktualizacji zgłoszenia" msgstr "Wystąpił błąd podczas aktualizacji zgłoszenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "Nie znaleziono id wydarzenia" msgstr "Nie znaleziono id wydarzenia"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "Nie znaleziono wydarzenia" msgstr "Nie znaleziono wydarzenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "Wydarzenie o ID %{id} nie istnieje" msgstr "Wydarzenie o ID %{id} nie istnieje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "Wewnętrzny błąd" msgstr "Wewnętrzny błąd"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr "Profil moderatora nie należy do uwierzytelnionego użytkownika"
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "Nie znaleziono dyskusji o ID ${id}" msgstr "Nie znaleziono dyskusji o ID ${id}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "Nie znaleziono profilu dla użytkownika" msgstr "Nie znaleziono profilu dla użytkownika"
@ -434,34 +421,29 @@ msgid "No such feed token"
msgstr "Nie ma takiego tokenu strumienia" msgstr "Nie ma takiego tokenu strumienia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr "Profil organizatora nie należy do użytkownika"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "Uczestnik już ma rolę %{role}" msgstr "Uczestnik już ma rolę %{role}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "Nie znaleziono uczestnika" msgstr "Nie znaleziono uczestnika"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "Osoba o ID %{id} nie istnieje" msgstr "Osoba o ID %{id} nie istnieje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "Nie znaleziono osoby o nazwie użytkownika %{username}" msgstr "Nie znaleziono osoby o nazwie użytkownika %{username}"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "Nie znaleziono obrazka o ID %{id}" msgstr "Nie znaleziono obrazka o ID %{id}"
@ -476,36 +458,36 @@ msgid "Post doesn't exist"
msgstr "Wpis nie istnieje" msgstr "Wpis nie istnieje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "Zaproszony profil nie istnieje" msgstr "Zaproszony profil nie istnieje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "Profil jest już członkiem tej grupy" msgstr "Profil jest już członkiem tej grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "Profil nie jest członkiem grupy" msgstr "Profil nie jest członkiem grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "Nie znaleziono profilu" msgstr "Nie znaleziono profilu"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "Wskazany profil moderatora nie ma uprawnień dla tego wydarzenia" msgstr "Wskazany profil moderatora nie ma uprawnień dla tego wydarzenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "Nie znaleziono zgłoszenia" msgstr "Nie znaleziono zgłoszenia"
@ -515,23 +497,23 @@ msgid "Resource doesn't exist"
msgstr "Zasób nie istnieje" msgstr "Zasób nie istnieje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "Wydarzenie już przekroczyło maksymalną zasobność" msgstr "Wydarzenie już przekroczyło maksymalną zasobność"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "Ten token jest nieprawidłowy" msgstr "Ten token jest nieprawidłowy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "Element listy do zrobienia nie istnieje" msgstr "Element listy do zrobienia nie istnieje"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "Lista do zrobienia nie istnieje" msgstr "Lista do zrobienia nie istnieje"
@ -546,37 +528,37 @@ msgid "Token is not a valid UUID"
msgstr "Token nie jest prawidłowym UUID" msgstr "Token nie jest prawidłowym UUID"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "Nie znaleziono użytkownika" msgstr "Nie znaleziono użytkownika"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "Już masz profil dla tego użytkownika" msgstr "Już masz profil dla tego użytkownika"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "Już jesteś uczestnikiem tego wydarzenia" msgstr "Już jesteś uczestnikiem tego wydarzenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "Nie jesteś członkiem grupy do której należy ta dyskusja" msgstr "Nie jesteś członkiem grupy do której należy ta dyskusja"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "Nie jesteś członkiem tej grupy" msgstr "Nie jesteś członkiem tej grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "Nie jesteś moderatorem ani administratorem tej grupy" msgstr "Nie jesteś moderatorem ani administratorem tej grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -586,7 +568,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -596,35 +578,35 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
"Nie możesz przydzielić sobie niższej rangi grupy, ponieważ jesteś jedynym " "Nie możesz przydzielić sobie niższej rangi grupy, ponieważ jesteś jedynym "
"administratorem" "administratorem"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "Nie możesz usunąć tego komentarza" msgstr "Nie możesz usunąć tego komentarza"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "Nie możesz usunąć tego wydarzenia" msgstr "Nie możesz usunąć tego wydarzenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "Nie możesz zaprosić do tej grupy" msgstr "Nie możesz zaprosić do tej grupy"
@ -639,17 +621,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "Musisz być zalogowanym moderatorem, aby mieć dostęp do dzennika działań" msgstr "Musisz być zalogowanym moderatorem, aby mieć dostęp do dzennika działań"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "Musisz być zalogowanym moderatorem, aby mieć dostęp do listy zgłoszeń" msgstr "Musisz być zalogowanym moderatorem, aby mieć dostęp do listy zgłoszeń"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "Musisz być zalogowanym moderatorem, aby móc zaktualizować zgłoszenie" msgstr "Musisz być zalogowanym moderatorem, aby móc zaktualizować zgłoszenie"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "Musisz być zalogowanym moderatorem, aby wyświetlić zgłoszenie" msgstr "Musisz być zalogowanym moderatorem, aby wyświetlić zgłoszenie"
@ -675,7 +657,7 @@ msgstr ""
"administratora" "administratora"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "Musisz być zalogowany(-a), aby uzyskać dostęp do dyskusji" msgstr "Musisz być zalogowany(-a), aby uzyskać dostęp do dyskusji"
@ -685,7 +667,7 @@ msgid "You need to be logged-in to access resources"
msgstr "Musisz być zalogowany(-a), aby uzyskać dostęp do zasobów" msgstr "Musisz być zalogowany(-a), aby uzyskać dostęp do zasobów"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "Musisz być zalogowany(-a), aby móc utworzyć wydarzenia" msgstr "Musisz być zalogowany(-a), aby móc utworzyć wydarzenia"
@ -695,7 +677,7 @@ msgid "You need to be logged-in to create posts"
msgstr "Musisz być zalogowany(-a), aby utworzyć wpis" msgstr "Musisz być zalogowany(-a), aby utworzyć wpis"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "Musisz być zalogowany(-a), aby utworzyć zgłoszenie" msgstr "Musisz być zalogowany(-a), aby utworzyć zgłoszenie"
@ -705,7 +687,7 @@ msgid "You need to be logged-in to create resources"
msgstr "Musisz być zalogowany(-a), aby utworzyć zasób" msgstr "Musisz być zalogowany(-a), aby utworzyć zasób"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "Musisz być zalogowany(-a), aby usunąć wydarzenie" msgstr "Musisz być zalogowany(-a), aby usunąć wydarzenie"
@ -720,17 +702,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "Musisz być zalogowany(-a), aby usunąć zasób" msgstr "Musisz być zalogowany(-a), aby usunąć zasób"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "Musisz być zalogowany(-a), aby dołączyć do wydarzenia" msgstr "Musisz być zalogowany(-a), aby dołączyć do wydarzenia"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "Musisz być zalogowany(-a), aby opuścić wydarzenie" msgstr "Musisz być zalogowany(-a), aby opuścić wydarzenie"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "Musisz być zalogowany(-a), aby zaktualizować wydarzenie" msgstr "Musisz być zalogowany(-a), aby zaktualizować wydarzenie"
@ -750,30 +732,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "Musisz być zalogowany(-a), aby zobaczyć podgląd zasobu" msgstr "Musisz być zalogowany(-a), aby zobaczyć podgląd zasobu"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "Musisz się zalogować, aby dodać obraz" msgstr "Musisz się zalogować, aby dodać obraz"
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr "ID zgłaszającego nie zgadza się z ID anonimowego profilu"
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr "Profil zgłaszającego nie należy od uwierzytelnionego użytkownika"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "Nadrzędny zasób nie należy do tej grupy" msgstr "Nadrzędny zasób nie należy do tej grupy"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr "Podane ID profilu nie jest anonimowym profilem"
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -837,47 +804,47 @@ msgid "You need to be logged in"
msgstr "Musisz być zalogowany(-a)" msgstr "Musisz być zalogowany(-a)"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "Nie możesz zaakceptować tego zaproszenia z tego profilu." msgstr "Nie możesz zaakceptować tego zaproszenia z tego profilu."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "Nie możesz odrzucić tego zaproszenia z tego profilu." msgstr "Nie możesz odrzucić tego zaproszenia z tego profilu."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "Plik nie ma dozwolonego typu MIME." msgstr "Plik nie ma dozwolonego typu MIME."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "Profil nie jest administratorem grupy" msgstr "Profil nie jest administratorem grupy"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "Nie możesz edytować tego wydarzenia." msgstr "Nie możesz edytować tego wydarzenia."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "Nie możesz przypisać tego wydarzenia do tego profilu." msgstr "Nie możesz przypisać tego wydarzenia do tego profilu."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "To zaproszenie nie istnieje." msgstr "To zaproszenie nie istnieje."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "Ten członek już został odrzucony." msgstr "Ten członek już został odrzucony."
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "Nie masz uprawnień do usunięcia tego członka." msgstr "Nie masz uprawnień do usunięcia tego członka."
@ -885,3 +852,8 @@ msgstr "Nie masz uprawnień do usunięcia tego członka."
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -92,17 +92,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -112,8 +107,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -128,7 +123,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -144,18 +139,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -221,17 +213,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -251,7 +243,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -261,17 +253,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -331,27 +323,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -361,49 +353,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -413,34 +400,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -455,36 +437,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -494,23 +476,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -525,37 +507,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -565,7 +547,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -575,33 +557,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -616,17 +598,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -646,7 +628,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -656,7 +638,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -666,7 +648,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -676,7 +658,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -691,17 +673,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -721,30 +703,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -806,47 +773,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -854,3 +821,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -92,17 +92,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -112,8 +107,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -128,7 +123,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -144,18 +139,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -221,17 +213,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -251,7 +243,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -261,17 +253,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -331,27 +323,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -361,49 +353,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -413,34 +400,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -455,36 +437,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -494,23 +476,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -525,37 +507,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -565,7 +547,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -575,33 +557,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -616,17 +598,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -646,7 +628,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -656,7 +638,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -666,7 +648,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -676,7 +658,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -691,17 +673,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -721,30 +703,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -806,47 +773,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -854,3 +821,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -98,17 +98,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -118,8 +113,8 @@ msgid "Error while saving user settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "" msgstr ""
@ -134,7 +129,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -150,18 +145,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -227,17 +219,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -257,7 +249,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -267,17 +259,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -337,27 +329,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -367,49 +359,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -419,34 +406,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -461,36 +443,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -500,23 +482,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -531,37 +513,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -571,7 +553,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -581,33 +563,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -622,17 +604,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -652,7 +634,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -662,7 +644,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -672,7 +654,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -682,7 +664,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -697,17 +679,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -727,30 +709,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -812,47 +779,47 @@ msgid "You need to be logged in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -860,3 +827,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

View file

@ -99,17 +99,12 @@ msgid "Cannot refresh the token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:137 #: lib/graphql/resolvers/group.ex:198
msgid "Creator profile is not owned by the current user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:201
msgid "Current profile is not a member of this group" msgid "Current profile is not a member of this group"
msgstr "Den nuvarande profilen är inte med i den här gruppen" msgstr "Den nuvarande profilen är inte med i den här gruppen"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:205 #: lib/graphql/resolvers/group.ex:202
msgid "Current profile is not an administrator of the selected group" msgid "Current profile is not an administrator of the selected group"
msgstr "" msgstr ""
@ -119,8 +114,8 @@ msgid "Error while saving user settings"
msgstr "Ett fel uppstod när användarinställningarna skulle sparas" msgstr "Ett fel uppstod när användarinställningarna skulle sparas"
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:198 #: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:229 lib/graphql/resolvers/group.ex:264 lib/graphql/resolvers/member.ex:83 #: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
msgid "Group not found" msgid "Group not found"
msgstr "Gruppen kunde inte hittas" msgstr "Gruppen kunde inte hittas"
@ -135,7 +130,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:261 #: lib/graphql/resolvers/group.ex:258
msgid "Member not found" msgid "Member not found"
msgstr "" msgstr ""
@ -151,18 +146,15 @@ msgid "No user to validate with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:231 lib/graphql/resolvers/user.ex:76 #: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219 #: lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found" msgid "No user with this email was found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:50 lib/graphql/resolvers/comment.ex:112 #: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/event.ex:286 lib/graphql/resolvers/feed_token.ex:28 lib/graphql/resolvers/member.ex:80 #: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160 #: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:155 lib/graphql/resolvers/person.ex:189
#: lib/graphql/resolvers/person.ex:255 lib/graphql/resolvers/person.ex:284 lib/graphql/resolvers/person.ex:297
#: lib/graphql/resolvers/picture.ex:72 lib/graphql/resolvers/report.ex:107 lib/graphql/resolvers/todos.ex:57
msgid "Profile is not owned by authenticated user" msgid "Profile is not owned by authenticated user"
msgstr "" msgstr ""
@ -228,17 +220,17 @@ msgid "User requested is not logged-in"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:235 #: lib/graphql/resolvers/group.ex:232
msgid "You are already a member of this group" msgid "You are already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:268 #: lib/graphql/resolvers/group.ex:265
msgid "You can't leave this group because you are the only administrator" msgid "You can't leave this group because you are the only administrator"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:232 #: lib/graphql/resolvers/group.ex:229
msgid "You cannot join this group" msgid "You cannot join this group"
msgstr "" msgstr ""
@ -258,7 +250,7 @@ msgid "You need to be logged-in to change your password"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:210 #: lib/graphql/resolvers/group.ex:207
msgid "You need to be logged-in to delete a group" msgid "You need to be logged-in to delete a group"
msgstr "" msgstr ""
@ -268,17 +260,17 @@ msgid "You need to be logged-in to delete your account"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:240 #: lib/graphql/resolvers/group.ex:237
msgid "You need to be logged-in to join a group" msgid "You need to be logged-in to join a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:273 #: lib/graphql/resolvers/group.ex:270
msgid "You need to be logged-in to leave a group" msgid "You need to be logged-in to leave a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:175 #: lib/graphql/resolvers/group.ex:172
msgid "You need to be logged-in to update a group" msgid "You need to be logged-in to update a group"
msgstr "" msgstr ""
@ -338,27 +330,27 @@ msgid "Profile already suspended"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:93 #: lib/graphql/resolvers/participant.ex:88
msgid "A valid email is required by your instance" msgid "A valid email is required by your instance"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:87 #: lib/graphql/resolvers/participant.ex:85
msgid "Anonymous participation is not enabled" msgid "Anonymous participation is not enabled"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:186 #: lib/graphql/resolvers/person.ex:184
msgid "Cannot remove the last administrator of a group" msgid "Cannot remove the last administrator of a group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:183 #: lib/graphql/resolvers/person.ex:181
msgid "Cannot remove the last identity of a user" msgid "Cannot remove the last identity of a user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:109 #: lib/graphql/resolvers/comment.ex:104
msgid "Comment is already deleted" msgid "Comment is already deleted"
msgstr "" msgstr ""
@ -368,49 +360,44 @@ msgid "Discussion not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:62 lib/graphql/resolvers/report.ex:84 #: lib/graphql/resolvers/report.ex:58 lib/graphql/resolvers/report.ex:77
msgid "Error while saving report" msgid "Error while saving report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:110 #: lib/graphql/resolvers/report.ex:96
msgid "Error while updating report" msgid "Error while updating report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:128 #: lib/graphql/resolvers/participant.ex:123
msgid "Event id not found" msgid "Event id not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:238 #: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:232
#: lib/graphql/resolvers/event.ex:283 #: lib/graphql/resolvers/event.ex:276
msgid "Event not found" msgid "Event not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:84 #: lib/graphql/resolvers/participant.ex:82
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157 #: lib/graphql/resolvers/participant.ex:120 lib/graphql/resolvers/participant.ex:152
msgid "Event with this ID %{id} doesn't exist" msgid "Event with this ID %{id} doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:100 #: lib/graphql/resolvers/participant.ex:95
msgid "Internal Error" msgid "Internal Error"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:231 #: lib/graphql/resolvers/discussion.ex:193
msgid "Moderator profile is not owned by authenticated user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:184
msgid "No discussion with ID %{id}" msgid "No discussion with ID %{id}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:171 #: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:168
msgid "No profile found for user" msgid "No profile found for user"
msgstr "" msgstr ""
@ -420,34 +407,29 @@ msgid "No such feed token"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:202 #: lib/graphql/resolvers/participant.ex:227
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:241
msgid "Participant already has role %{role}" msgid "Participant already has role %{role}"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:170 #: lib/graphql/resolvers/participant.ex:162
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:234 #: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:244 #: lib/graphql/resolvers/participant.ex:230
msgid "Participant not found" msgid "Participant not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:31 #: lib/graphql/resolvers/person.ex:29
msgid "Person with ID %{id} not found" msgid "Person with ID %{id} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:52 #: lib/graphql/resolvers/person.ex:50
msgid "Person with username %{username} not found" msgid "Person with username %{username} not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:42 #: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found" msgid "Picture with ID %{id} was not found"
msgstr "" msgstr ""
@ -462,36 +444,36 @@ msgid "Post doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:86 #: lib/graphql/resolvers/member.ex:83
msgid "Profile invited doesn't exist" msgid "Profile invited doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:95 lib/graphql/resolvers/member.ex:99 #: lib/graphql/resolvers/member.ex:92 lib/graphql/resolvers/member.ex:96
msgid "Profile is already a member of this group" msgid "Profile is already a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171 #: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124 #: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:60 #: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174 #: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225 #: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
msgid "Profile is not member of group" msgid "Profile is not member of group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:152 lib/graphql/resolvers/person.ex:180 #: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
msgid "Profile not found" msgid "Profile not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:104 lib/graphql/resolvers/participant.ex:238 #: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:224
msgid "Provided moderator profile doesn't have permission on this event" msgid "Provided moderator profile doesn't have permission on this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:38 #: lib/graphql/resolvers/report.ex:36
msgid "Report not found" msgid "Report not found"
msgstr "" msgstr ""
@ -501,23 +483,23 @@ msgid "Resource doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:121 #: lib/graphql/resolvers/participant.ex:116
msgid "The event has already reached its maximum capacity" msgid "The event has already reached its maximum capacity"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:264 #: lib/graphql/resolvers/participant.ex:250
msgid "This token is invalid" msgid "This token is invalid"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:168 lib/graphql/resolvers/todos.ex:222 #: lib/graphql/resolvers/todos.ex:165 lib/graphql/resolvers/todos.ex:219
msgid "Todo doesn't exist" msgid "Todo doesn't exist"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/todos.ex:78 lib/graphql/resolvers/todos.ex:194 #: lib/graphql/resolvers/todos.ex:75 lib/graphql/resolvers/todos.ex:191
#: lib/graphql/resolvers/todos.ex:219 #: lib/graphql/resolvers/todos.ex:216
msgid "Todo list doesn't exist" msgid "Todo list doesn't exist"
msgstr "" msgstr ""
@ -532,37 +514,37 @@ msgid "Token is not a valid UUID"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:319 #: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
msgid "User not found" msgid "User not found"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/person.ex:234 #: lib/graphql/resolvers/person.ex:232
msgid "You already have a profile for this user" msgid "You already have a profile for this user"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:131 #: lib/graphql/resolvers/participant.ex:126
msgid "You are already a participant of this event" msgid "You are already a participant of this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:188 #: lib/graphql/resolvers/discussion.ex:197
msgid "You are not a member of the group the discussion belongs to" msgid "You are not a member of the group the discussion belongs to"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:89 #: lib/graphql/resolvers/member.ex:86
msgid "You are not a member of this group" msgid "You are not a member of this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:154 #: lib/graphql/resolvers/member.ex:151
msgid "You are not a moderator or admin for this group" msgid "You are not a moderator or admin for this group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:55 #: lib/graphql/resolvers/comment.ex:50
msgid "You are not allowed to create a comment if not connected" msgid "You are not allowed to create a comment if not connected"
msgstr "" msgstr ""
@ -572,7 +554,7 @@ msgid "You are not allowed to create a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:117 #: lib/graphql/resolvers/comment.ex:109
msgid "You are not allowed to delete a comment if not connected" msgid "You are not allowed to delete a comment if not connected"
msgstr "" msgstr ""
@ -582,33 +564,33 @@ msgid "You are not allowed to delete a feed token if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:77 #: lib/graphql/resolvers/comment.ex:72
msgid "You are not allowed to update a comment if not connected" msgid "You are not allowed to update a comment if not connected"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:164 #: lib/graphql/resolvers/participant.ex:156
#: lib/graphql/resolvers/participant.ex:193 #: lib/graphql/resolvers/participant.ex:182
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 "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:158 #: lib/graphql/resolvers/member.ex:155
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 ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/comment.ex:105 #: lib/graphql/resolvers/comment.ex:100
msgid "You cannot delete this comment" msgid "You cannot delete this comment"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:279 #: lib/graphql/resolvers/event.ex:272
msgid "You cannot delete this event" msgid "You cannot delete this event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:92 #: lib/graphql/resolvers/member.ex:89
msgid "You cannot invite to this group" msgid "You cannot invite to this group"
msgstr "" msgstr ""
@ -623,17 +605,17 @@ msgid "You need to be logged-in and a moderator to list action logs"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:28 #: lib/graphql/resolvers/report.ex:26
msgid "You need to be logged-in and a moderator to list reports" msgid "You need to be logged-in and a moderator to list reports"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:115 #: lib/graphql/resolvers/report.ex:101
msgid "You need to be logged-in and a moderator to update a report" msgid "You need to be logged-in and a moderator to update a report"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:43 #: lib/graphql/resolvers/report.ex:41
msgid "You need to be logged-in and a moderator to view a report" msgid "You need to be logged-in and a moderator to view a report"
msgstr "" msgstr ""
@ -653,7 +635,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/discussion.ex:66 #: lib/graphql/resolvers/discussion.ex:75
msgid "You need to be logged-in to access discussions" msgid "You need to be logged-in to access discussions"
msgstr "" msgstr ""
@ -663,7 +645,7 @@ msgid "You need to be logged-in to access resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:213 #: lib/graphql/resolvers/event.ex:207
msgid "You need to be logged-in to create events" msgid "You need to be logged-in to create events"
msgstr "" msgstr ""
@ -673,7 +655,7 @@ msgid "You need to be logged-in to create posts"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/report.ex:78 lib/graphql/resolvers/report.ex:89 #: lib/graphql/resolvers/report.ex:74
msgid "You need to be logged-in to create reports" msgid "You need to be logged-in to create reports"
msgstr "" msgstr ""
@ -683,7 +665,7 @@ msgid "You need to be logged-in to create resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:291 #: lib/graphql/resolvers/event.ex:281
msgid "You need to be logged-in to delete an event" msgid "You need to be logged-in to delete an event"
msgstr "" msgstr ""
@ -698,17 +680,17 @@ msgid "You need to be logged-in to delete resources"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:105 #: lib/graphql/resolvers/participant.ex:100
msgid "You need to be logged-in to join an event" msgid "You need to be logged-in to join an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/participant.ex:204 #: lib/graphql/resolvers/participant.ex:193
msgid "You need to be logged-in to leave an event" msgid "You need to be logged-in to leave an event"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:252 #: lib/graphql/resolvers/event.ex:246
msgid "You need to be logged-in to update an event" msgid "You need to be logged-in to update an event"
msgstr "" msgstr ""
@ -728,30 +710,15 @@ msgid "You need to be logged-in to view a resource preview"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:83 #: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture" msgid "You need to login to upload a picture"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:81
msgid "Reporter ID does not match the anonymous profile id"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:59
msgid "Reporter profile is not owned by authenticated user"
msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/resource.ex:121 #: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group" msgid "Parent resource doesn't belong to this group"
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format #, elixir-format
#: lib/mobilizon/users/user.ex:109 #: lib/mobilizon/users/user.ex:109
msgid "The chosen password is too short." msgid "The chosen password is too short."
@ -813,47 +780,47 @@ msgid "You need to be logged in"
msgstr "Du måste vara inloggad" msgstr "Du måste vara inloggad"
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:119 #: lib/graphql/resolvers/member.ex:116
msgid "You can't accept this invitation with this profile." msgid "You can't accept this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:137 #: lib/graphql/resolvers/member.ex:134
msgid "You can't reject this invitation with this profile." msgid "You can't reject this invitation with this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/picture.ex:75 #: lib/graphql/resolvers/picture.ex:71
msgid "File doesn't have an allowed MIME type." msgid "File doesn't have an allowed MIME type."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/group.ex:170 #: lib/graphql/resolvers/group.ex:167
msgid "Profile is not administrator for the group" msgid "Profile is not administrator for the group"
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:241 #: lib/graphql/resolvers/event.ex:235
msgid "You can't edit this event." msgid "You can't edit this event."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/event.ex:244 #: lib/graphql/resolvers/event.ex:238
msgid "You can't attribute this event to this profile." msgid "You can't attribute this event to this profile."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:140 #: lib/graphql/resolvers/member.ex:137
msgid "This invitation doesn't exist." msgid "This invitation doesn't exist."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:182 #: lib/graphql/resolvers/member.ex:179
msgid "This member already has been rejected." msgid "This member already has been rejected."
msgstr "" msgstr ""
#, elixir-format #, elixir-format
#: lib/graphql/resolvers/member.ex:189 #: lib/graphql/resolvers/member.ex:186
msgid "You don't have the right to remove this member." msgid "You don't have the right to remove this member."
msgstr "" msgstr ""
@ -861,3 +828,8 @@ msgstr ""
#: lib/mobilizon/actors/actor.ex:344 #: lib/mobilizon/actors/actor.ex:344
msgid "This username is already taken." msgid "This username is already taken."
msgstr "" msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""

File diff suppressed because it is too large Load diff

View file

@ -19,8 +19,8 @@ defmodule Mobilizon.GraphQL.Resolvers.CommentTest do
describe "Comment Resolver" do describe "Comment Resolver" do
@create_comment_mutation """ @create_comment_mutation """
mutation CreateComment($text: String!, $actorId: ID, $eventId: ID, $inReplyToCommentId: ID) { mutation CreateComment($text: String!, $eventId: ID, $inReplyToCommentId: ID) {
createComment(text: $text, actorId: $actorId, eventId: $eventId, inReplyToCommentId: $inReplyToCommentId) { createComment(text: $text, eventId: $eventId, inReplyToCommentId: $inReplyToCommentId) {
id, id,
text, text,
uuid, uuid,
@ -43,27 +43,12 @@ defmodule Mobilizon.GraphQL.Resolvers.CommentTest do
|> auth_conn(user) |> auth_conn(user)
|> AbsintheHelpers.graphql_query( |> AbsintheHelpers.graphql_query(
query: @create_comment_mutation, query: @create_comment_mutation,
variables: %{text: @comment_text, actorId: actor.id, eventId: event.id} variables: %{text: @comment_text, eventId: event.id}
) )
assert res["data"]["createComment"]["text"] == @comment_text assert res["data"]["createComment"]["text"] == @comment_text
end end
test "create_comment/3 checks that user owns actor", %{conn: conn, user: user, event: event} do
actor = insert(:actor)
res =
conn
|> auth_conn(user)
|> AbsintheHelpers.graphql_query(
query: @create_comment_mutation,
variables: %{text: @comment_text, actorId: actor.id, eventId: event.id}
)
assert hd(res["errors"])["message"] ==
"Profile is not owned by authenticated user"
end
test "create_comment/3 doesn't allow creating events if it's disabled", %{ test "create_comment/3 doesn't allow creating events if it's disabled", %{
conn: conn, conn: conn,
actor: actor, actor: actor,
@ -78,7 +63,7 @@ defmodule Mobilizon.GraphQL.Resolvers.CommentTest do
|> auth_conn(user) |> auth_conn(user)
|> AbsintheHelpers.graphql_query( |> AbsintheHelpers.graphql_query(
query: @create_comment_mutation, query: @create_comment_mutation,
variables: %{text: @comment_text, actorId: actor.id, eventId: event.id} variables: %{text: @comment_text, eventId: event.id}
) )
assert hd(res["errors"])["message"] == assert hd(res["errors"])["message"] ==
@ -97,7 +82,7 @@ defmodule Mobilizon.GraphQL.Resolvers.CommentTest do
|> auth_conn(user) |> auth_conn(user)
|> AbsintheHelpers.graphql_query( |> AbsintheHelpers.graphql_query(
query: @create_comment_mutation, query: @create_comment_mutation,
variables: %{text: @comment_text, actorId: actor.id, eventId: event.id} variables: %{text: @comment_text, eventId: event.id}
) )
assert is_nil(res["errors"]) assert is_nil(res["errors"])
@ -114,7 +99,7 @@ defmodule Mobilizon.GraphQL.Resolvers.CommentTest do
conn conn
|> AbsintheHelpers.graphql_query( |> AbsintheHelpers.graphql_query(
query: @create_comment_mutation, query: @create_comment_mutation,
variables: %{text: @comment_text, actorId: actor.id, eventId: event.id} variables: %{text: @comment_text, eventId: event.id}
) )
assert hd(res["errors"])["message"] == assert hd(res["errors"])["message"] ==
@ -136,7 +121,6 @@ defmodule Mobilizon.GraphQL.Resolvers.CommentTest do
query: @create_comment_mutation, query: @create_comment_mutation,
variables: %{ variables: %{
text: @comment_text, text: @comment_text,
actorId: actor.id,
eventId: event.id, eventId: event.id,
inReplyToCommentId: comment.id inReplyToCommentId: comment.id
} }

View file

@ -575,8 +575,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
mutation { uploadPicture( mutation { uploadPicture(
name: "#{picture.name}", name: "#{picture.name}",
alt: "#{picture.alt}", alt: "#{picture.alt}",
file: "#{picture.file}", file: "#{picture.file}"
actor_id: #{actor.id}
) { ) {
id, id,
url, url,
@ -1304,7 +1303,6 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
mutation = """ mutation = """
mutation { mutation {
deleteEvent( deleteEvent(
actor_id: #{actor.id},
event_id: #{event.id} event_id: #{event.id}
) { ) {
id id
@ -1334,7 +1332,6 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
mutation = """ mutation = """
mutation { mutation {
deleteEvent( deleteEvent(
actor_id: #{actor.id},
event_id: #{event.id} event_id: #{event.id}
) { ) {
id id
@ -1349,32 +1346,6 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
assert hd(json_response(res, 200)["errors"])["message"] =~ "logged-in" assert hd(json_response(res, 200)["errors"])["message"] =~ "logged-in"
end end
test "delete_event/3 should check the actor id is owned by the user", %{
conn: conn,
user: user,
actor: actor
} do
event = insert(:event, organizer_actor: actor)
mutation = """
mutation {
deleteEvent(
actor_id: 1042,
event_id: #{event.id}
) {
id
}
}
"""
res =
conn
|> auth_conn(user)
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] =~ "not owned"
end
test "delete_event/3 should check the event can be deleted by the user", %{ test "delete_event/3 should check the event can be deleted by the user", %{
conn: conn, conn: conn,
user: user, user: user,
@ -1386,7 +1357,6 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
mutation = """ mutation = """
mutation { mutation {
deleteEvent( deleteEvent(
actor_id: #{actor.id},
event_id: #{event.id} event_id: #{event.id}
) { ) {
id id
@ -1417,7 +1387,6 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
mutation = """ mutation = """
mutation { mutation {
deleteEvent( deleteEvent(
actor_id: #{actor_moderator.id},
event_id: #{event.id} event_id: #{event.id}
) { ) {
id id

View file

@ -17,37 +17,12 @@ defmodule Mobilizon.Web.Resolvers.GroupTest do
end end
describe "create a group" do describe "create a group" do
test "create_group/3 should check the user owns the identity", %{conn: conn, user: user} do
another_actor = insert(:actor)
mutation = """
mutation {
createGroup(
preferred_username: "#{@new_group_params.groupname}",
creator_actor_id: #{another_actor.id}
) {
preferred_username,
type
}
}
"""
res =
conn
|> auth_conn(user)
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] ==
"Creator profile is not owned by the current user"
end
test "create_group/3 creates a group and check a group with this name does not already exist", test "create_group/3 creates a group and check a group with this name does not already exist",
%{conn: conn, user: user, actor: actor} do %{conn: conn, user: user} do
mutation = """ mutation = """
mutation { mutation {
createGroup( createGroup(
preferred_username: "#{@new_group_params.groupname}", preferred_username: "#{@new_group_params.groupname}"
creator_actor_id: #{actor.id}
) { ) {
preferred_username, preferred_username,
type type
@ -68,8 +43,7 @@ defmodule Mobilizon.Web.Resolvers.GroupTest do
mutation = """ mutation = """
mutation { mutation {
createGroup( createGroup(
preferred_username: "#{@new_group_params.groupname}", preferred_username: "#{@new_group_params.groupname}"
creator_actor_id: #{actor.id},
) { ) {
preferred_username, preferred_username,
type type

View file

@ -439,9 +439,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
query = """ query = """
{ {
event(uuid: "#{event.uuid}") { event(uuid: "#{event.uuid}") {
participants(roles: "participant,moderator,administrator,creator", actor_id: "#{ participants(roles: "participant,moderator,administrator,creator") {
actor.id
}") {
elements { elements {
role, role,
actor { actor {
@ -478,9 +476,9 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
participant2 = insert(:participant, event: event, actor: actor3, role: :participant) participant2 = insert(:participant, event: event, actor: actor3, role: :participant)
query = """ query = """
query EventParticipants($uuid: UUID!, $actorId: ID, $roles: String, $page: Int, $limit: Int) { query EventParticipants($uuid: UUID!, $roles: String, $page: Int, $limit: Int) {
event(uuid: $uuid) { event(uuid: $uuid) {
participants(page: $page, limit: $limit, roles: $roles, actorId: $actorId) { participants(page: $page, limit: $limit, roles: $roles) {
total, total,
elements { elements {
role, role,
@ -500,7 +498,6 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
query: query, query: query,
variables: %{ variables: %{
uuid: event.uuid, uuid: event.uuid,
actorId: actor.id,
roles: "participant,moderator,administrator,creator", roles: "participant,moderator,administrator,creator",
page: 1, page: 1,
limit: 2 limit: 2
@ -696,7 +693,6 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
updateParticipation( updateParticipation(
id: "#{participation_id}", id: "#{participation_id}",
role: PARTICIPANT, role: PARTICIPANT,
moderator_actor_id: #{actor_creator.id}
) { ) {
id, id,
role, role,
@ -739,7 +735,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
test "accept_participation/3 with bad parameters", %{conn: conn, actor: actor, user: user} do test "accept_participation/3 with bad parameters", %{conn: conn, actor: actor, user: user} do
user_creator = insert(:user) user_creator = insert(:user)
actor_creator = insert(:actor, user: user_creator) _actor_creator = insert(:actor, user: user_creator)
event = insert(:event, join_options: :restricted) event = insert(:event, join_options: :restricted)
insert(:participant, event: event, role: :creator) insert(:participant, event: event, role: :creator)
@ -776,8 +772,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
mutation { mutation {
updateParticipation ( updateParticipation (
id: "#{participation_id}", id: "#{participation_id}",
role: PARTICIPANT, role: PARTICIPANT
moderator_actor_id: #{actor_creator.id}
) { ) {
id, id,
role, role,
@ -841,8 +836,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
mutation { mutation {
updateParticipation( updateParticipation(
id: "#{participation_id}", id: "#{participation_id}",
role: REJECTED, role: REJECTED
moderator_actor_id: #{actor_creator.id}
) { ) {
id, id,
role, role,
@ -884,7 +878,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
test "reject_participation/3 with bad parameters", %{conn: conn, actor: actor, user: user} do test "reject_participation/3 with bad parameters", %{conn: conn, actor: actor, user: user} do
user_creator = insert(:user) user_creator = insert(:user)
actor_creator = insert(:actor, user: user_creator) _actor_creator = insert(:actor, user: user_creator)
event = insert(:event, join_options: :restricted) event = insert(:event, join_options: :restricted)
insert(:participant, event: event, role: :creator) insert(:participant, event: event, role: :creator)
@ -921,8 +915,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
mutation { mutation {
updateParticipation ( updateParticipation (
id: "#{participation_id}", id: "#{participation_id}",
role: REJECTED, role: REJECTED
moderator_actor_id: #{actor_creator.id}
) { ) {
id, id,
actor { actor {
@ -1341,8 +1334,8 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
|> hd |> hd
update_participation_mutation = """ update_participation_mutation = """
mutation UpdateParticipation($participantId: ID!, $role: ParticipantRoleEnum!, $moderatorActorId: ID!) { mutation UpdateParticipation($participantId: ID!, $role: ParticipantRoleEnum!) {
updateParticipation(id: $participantId, role: $role, moderatorActorId: $moderatorActorId) { updateParticipation(id: $participantId, role: $role) {
id, id,
role, role,
actor { actor {
@ -1362,8 +1355,7 @@ defmodule Mobilizon.GraphQL.Resolvers.ParticipantTest do
query: update_participation_mutation, query: update_participation_mutation,
variables: %{ variables: %{
participantId: participant_id, participantId: participant_id,
role: "PARTICIPANT", role: "PARTICIPANT"
moderatorActorId: event_creator_actor.id
} }
) )

View file

@ -68,15 +68,14 @@ defmodule Mobilizon.GraphQL.Resolvers.PictureTest do
end end
describe "Resolver: Upload picture" do describe "Resolver: Upload picture" do
test "upload_picture/3 uploads a new picture", %{conn: conn, user: user, actor: actor} do test "upload_picture/3 uploads a new picture", %{conn: conn, user: user} do
picture = %{name: "my pic", alt: "represents something", file: "picture.png"} picture = %{name: "my pic", alt: "represents something", file: "picture.png"}
mutation = """ mutation = """
mutation { uploadPicture( mutation { uploadPicture(
name: "#{picture.name}", name: "#{picture.name}",
alt: "#{picture.alt}", alt: "#{picture.alt}",
file: "#{picture.file}", file: "#{picture.file}"
actor_id: #{actor.id}
) { ) {
url, url,
name, name,
@ -109,15 +108,14 @@ defmodule Mobilizon.GraphQL.Resolvers.PictureTest do
assert json_response(res, 200)["data"]["uploadPicture"]["url"] assert json_response(res, 200)["data"]["uploadPicture"]["url"]
end end
test "upload_picture/3 forbids uploading if no auth", %{conn: conn, actor: actor} do test "upload_picture/3 forbids uploading if no auth", %{conn: conn} do
picture = %{name: "my pic", alt: "represents something", file: "picture.png"} picture = %{name: "my pic", alt: "represents something", file: "picture.png"}
mutation = """ mutation = """
mutation { uploadPicture( mutation { uploadPicture(
name: "#{picture.name}", name: "#{picture.name}",
alt: "#{picture.alt}", alt: "#{picture.alt}",
file: "#{picture.file}", file: "#{picture.file}"
actor_id: #{actor.id}
) { ) {
url, url,
name name

View file

@ -14,9 +14,8 @@ defmodule Mobilizon.GraphQL.Resolvers.ReportTest do
describe "Resolver: Report a content" do describe "Resolver: Report a content" do
@create_report_mutation """ @create_report_mutation """
mutation CreateReport($reporterId: ID!, $reportedId: ID!, $eventId: ID, $content: String) { mutation CreateReport($reportedId: ID!, $eventId: ID, $content: String) {
createReport( createReport(
reporterId: $reporterId,
reportedId: $reportedId, reportedId: $reportedId,
eventId: $eventId, eventId: $eventId,
content: $content content: $content
@ -54,7 +53,6 @@ defmodule Mobilizon.GraphQL.Resolvers.ReportTest do
query: @create_report_mutation, query: @create_report_mutation,
variables: %{ variables: %{
reportedId: reported.id, reportedId: reported.id,
reporterId: reporter.id,
eventId: event.id, eventId: event.id,
content: "This is an issue" content: "This is an issue"
} }
@ -78,7 +76,6 @@ defmodule Mobilizon.GraphQL.Resolvers.ReportTest do
query: @create_report_mutation, query: @create_report_mutation,
variables: %{ variables: %{
reportedId: reported.id, reportedId: reported.id,
reporterId: 5,
content: "This is an issue" content: "This is an issue"
} }
) )
@ -100,7 +97,6 @@ defmodule Mobilizon.GraphQL.Resolvers.ReportTest do
query: @create_report_mutation, query: @create_report_mutation,
variables: %{ variables: %{
reportedId: reported.id, reportedId: reported.id,
reporterId: anonymous_actor_id,
content: "This is an issue" content: "This is an issue"
} }
) )
@ -112,91 +108,75 @@ defmodule Mobilizon.GraphQL.Resolvers.ReportTest do
assert res["data"]["createReport"]["reporter"]["id"] == assert res["data"]["createReport"]["reporter"]["id"] ==
to_string(anonymous_actor_id) to_string(anonymous_actor_id)
end end
test "create_report/3 anonymously doesn't creates a report if the anonymous actor ID is wrong",
%{conn: conn} do
%Actor{} = reported = insert(:actor)
Config.put([:anonymous, :reports, :allowed], true)
res =
conn
|> AbsintheHelpers.graphql_query(
query: @create_report_mutation,
variables: %{
reportedId: reported.id,
reporterId: 53,
content: "This is an issue"
}
)
assert res["errors"] |> hd |> Map.get("message") ==
"Reporter ID does not match the anonymous profile id"
end
end end
describe "Resolver: update a report" do describe "Resolver: update a report" do
@update_report_mutation """
mutation UpdateReport($reportId: ID!, $status: ReportStatus!) {
updateReportStatus(reportId: $reportId, status: $status) {
content,
reporter {
id
},
event {
id
},
status
}
}
"""
test "update_report/3 updates the report's status", %{conn: conn} do test "update_report/3 updates the report's status", %{conn: conn} do
%User{} = user_moderator = insert(:user, role: :moderator) %User{} = user_moderator = insert(:user, role: :moderator)
%Actor{} = moderator = insert(:actor, user: user_moderator) %Actor{} = _actor_moderator = insert(:actor, user: user_moderator)
%Report{} = report = insert(:report) %Report{} = report = insert(:report)
mutation = """
mutation {
updateReportStatus(
report_id: #{report.id},
moderator_id: #{moderator.id},
status: RESOLVED
) {
content,
reporter {
id
},
event {
id
},
status
}
}
"""
res = res =
conn conn
|> auth_conn(user_moderator) |> auth_conn(user_moderator)
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation)) |> AbsintheHelpers.graphql_query(
query: @update_report_mutation,
variables: %{reportId: report.id, status: "RESOLVED"}
)
assert json_response(res, 200)["errors"] == nil assert is_nil(res["errors"])
assert json_response(res, 200)["data"]["updateReportStatus"]["content"] == assert res["data"]["updateReportStatus"]["content"] ==
"This is problematic" "This is problematic"
assert json_response(res, 200)["data"]["updateReportStatus"]["status"] == "RESOLVED" assert res["data"]["updateReportStatus"]["status"] == "RESOLVED"
assert json_response(res, 200)["data"]["updateReportStatus"]["reporter"]["id"] == assert res["data"]["updateReportStatus"]["reporter"]["id"] ==
to_string(report.reporter.id) to_string(report.reporter.id)
end end
test "create_report/3 without being connected doesn't create any report", %{conn: conn} do test "create_report/3 without being connected doesn't create any report", %{conn: conn} do
%User{} = user_moderator = insert(:user, role: :moderator)
%Actor{} = moderator = insert(:actor, user: user_moderator)
%Report{} = report = insert(:report) %Report{} = report = insert(:report)
mutation = """
mutation {
updateReportStatus(
report_id: #{report.id},
moderator_id: #{moderator.id},
status: RESOLVED
) {
content
}
}
"""
res = res =
conn conn
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation)) |> AbsintheHelpers.graphql_query(
query: @update_report_mutation,
variables: %{reportId: report.id, status: "RESOLVED"}
)
assert json_response(res, 200)["errors"] |> hd |> Map.get("message") == assert res["errors"] |> hd |> Map.get("message") ==
"You need to be logged-in and a moderator to update a report"
end
test "update_report/3 without being a moderator doesn't update any report", %{conn: conn} do
%User{} = user = insert(:user)
%Report{} = report = insert(:report)
res =
conn
|> auth_conn(user)
|> AbsintheHelpers.graphql_query(
query: @update_report_mutation,
variables: %{reportId: report.id, status: "RESOLVED"}
)
assert res["errors"] |> hd |> Map.get("message") ==
"You need to be logged-in and a moderator to update a report" "You need to be logged-in and a moderator to update a report"
end end
end end
@ -369,13 +349,12 @@ defmodule Mobilizon.GraphQL.Resolvers.ReportTest do
test "create_report_note/3 creates a report note", %{conn: conn} do test "create_report_note/3 creates a report note", %{conn: conn} do
%User{} = user_moderator = insert(:user, role: :moderator) %User{} = user_moderator = insert(:user, role: :moderator)
%Actor{id: moderator_id} = moderator = insert(:actor, user: user_moderator) %Actor{} = moderator = insert(:actor, user: user_moderator)
%Report{id: report_id} = insert(:report) %Report{id: report_id} = insert(:report)
mutation = """ mutation = """
mutation { mutation {
createReportNote( createReportNote(
moderator_id: #{moderator_id},
report_id: #{report_id}, report_id: #{report_id},
content: "#{@report_note_content}" content: "#{@report_note_content}"
) { ) {
@ -410,13 +389,12 @@ defmodule Mobilizon.GraphQL.Resolvers.ReportTest do
test "delete_report_note deletes a report note", %{conn: conn} do test "delete_report_note deletes a report note", %{conn: conn} do
%User{} = user_moderator = insert(:user, role: :moderator) %User{} = user_moderator = insert(:user, role: :moderator)
%Actor{id: moderator_id} = moderator = insert(:actor, user: user_moderator) %Actor{} = moderator = insert(:actor, user: user_moderator)
%Note{id: report_note_id} = insert(:report_note, moderator: moderator) %Note{id: report_note_id} = insert(:report_note, moderator: moderator)
mutation = """ mutation = """
mutation { mutation {
deleteReportNote( deleteReportNote(
moderator_id: #{moderator_id},
note_id: #{report_note_id}, note_id: #{report_note_id},
) { ) {
id id