Merge branch 'fix-posts' into 'master'

Fix posts and rework graphql errors

See merge request framasoft/mobilizon!574
This commit is contained in:
Thomas Citharel 2020-10-01 15:30:46 +02:00
commit 8dcc3b43ec
69 changed files with 1795 additions and 999 deletions

View File

@ -83,16 +83,16 @@ export default class DateTimePicker extends Vue {
localeMonthNamesProxy = localeMonthNames();
@Watch("value")
updateValue() {
updateValue(): void {
this.dateWithTime = this.value;
}
@Watch("dateWithTime")
updateDateWithTimeWatcher() {
updateDateWithTimeWatcher(): void {
this.updateDateTime();
}
updateDateTime() {
updateDateTime(): void {
/**
* Returns the updated date
*
@ -115,6 +115,7 @@ export default class DateTimePicker extends Vue {
return null;
}
// eslint-disable-next-line class-methods-use-this
private datesAreOnSameDay(first: Date, second: Date): boolean {
return (
first.getFullYear() === second.getFullYear() &&

View File

@ -0,0 +1,107 @@
<template>
<router-link
class="post-minimalist-card-wrapper"
:to="{ name: RouteName.POST, params: { slug: post.slug } }"
>
<div class="title-info-wrapper">
<div class="media">
<div class="media-left">
<figure class="image is-96x96" v-if="post.picture">
<img :src="post.picture.url" alt="" />
</figure>
<b-icon v-else size="is-large" icon="post" />
</div>
<div class="media-content">
<p class="post-minimalist-title">{{ post.title }}</p>
<div class="metadata">
<b-tag type="is-warning" size="is-small" v-if="post.draft">{{ $t("Draft") }}</b-tag>
<small v-if="post.visibility === PostVisibility.PUBLIC" class="has-text-grey">
<b-icon icon="earth" size="is-small" />{{ $t("Public") }}</small
>
<small v-else-if="post.visibility === PostVisibility.UNLISTED" class="has-text-grey">
<b-icon icon="link" size="is-small" />{{ $t("Accessible through link") }}</small
>
<small v-else-if="post.visibility === PostVisibility.PRIVATE" class="has-text-grey">
<b-icon icon="lock" size="is-small" />{{
$t("Accessible only to members", { group: post.attributedTo.name })
}}</small
>
<small class="has-text-grey">{{
$options.filters.formatDateTimeString(new Date(post.insertedAt), false)
}}</small>
<small class="has-text-grey" v-if="isCurrentActorMember">{{
$t("Created by {username}", { username: usernameWithDomain(post.author) })
}}</small>
</div>
</div>
</div>
</div>
</router-link>
</template>
<script lang="ts">
import { usernameWithDomain } from "@/types/actor";
import { Component, Prop, Vue } from "vue-property-decorator";
import RouteName from "../../router/name";
import { IPost, PostVisibility } from "../../types/post.model";
@Component
export default class PostElementItem extends Vue {
@Prop({ required: true, type: Object }) post!: IPost;
@Prop({ required: false, type: Boolean, default: false }) isCurrentActorMember!: boolean;
RouteName = RouteName;
usernameWithDomain = usernameWithDomain;
PostVisibility = PostVisibility;
}
</script>
<style lang="scss" scoped>
.post-minimalist-card-wrapper {
text-decoration: none;
display: flex;
width: 100%;
color: initial;
border-bottom: 1px solid #e9e9e9;
align-items: center;
.title-info-wrapper {
flex: 2;
.post-minimalist-title {
color: #3c376e;
font-family: "Liberation Sans", "Helvetica Neue", Roboto, Helvetica, Arial, serif;
font-size: 1rem;
font-weight: 700;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.media .media-left {
& > span.icon {
height: 96px;
width: 96px;
}
& > figure.image > img {
object-fit: cover;
height: 100%;
object-position: center;
width: 100%;
}
}
.metadata {
& > span.tag {
margin-right: 5px;
}
& > small:not(:last-child):after {
content: "·";
padding: 0 5px;
}
}
}
}
</style>

View File

@ -1,3 +1,5 @@
import { DateTimeFormatOptions } from "vue-i18n";
function parseDateTime(value: string): Date {
return new Date(value);
}
@ -16,19 +18,21 @@ function formatTimeString(value: string): string {
}
function formatDateTimeString(value: string, showTime = true): string {
const options = {
weekday: "long",
const options: DateTimeFormatOptions = {
weekday: undefined,
year: "numeric",
month: "long",
day: "numeric",
hour: "numeric",
minute: "numeric",
hour: undefined,
minute: undefined,
};
if (showTime) {
options.weekday = "long";
options.hour = "numeric";
options.minute = "numeric";
}
return parseDateTime(value).toLocaleTimeString(undefined, options);
const format = new Intl.DateTimeFormat(undefined, options);
return format.format(parseDateTime(value));
}
export { formatDateString, formatTimeString, formatDateTimeString };

View File

@ -34,6 +34,11 @@ export const POST_FRAGMENT = gql`
tags {
...TagFragment
}
picture {
id
url
name
}
}
${TAG_FRAGMENT}
`;
@ -48,6 +53,7 @@ export const POST_BASIC_FIELDS = gql`
id
preferredUsername
name
domain
avatar {
url
}
@ -56,6 +62,7 @@ export const POST_BASIC_FIELDS = gql`
id
preferredUsername
name
domain
avatar {
url
}
@ -64,6 +71,12 @@ export const POST_BASIC_FIELDS = gql`
updatedAt
publishAt
draft
visibility
picture {
id
url
name
}
}
`;
@ -102,6 +115,7 @@ export const CREATE_POST = gql`
$visibility: PostVisibility
$draft: Boolean
$tags: [String]
$picture: PictureInput
) {
createPost(
title: $title
@ -110,6 +124,7 @@ export const CREATE_POST = gql`
visibility: $visibility
draft: $draft
tags: $tags
picture: $picture
) {
...PostFragment
}
@ -126,6 +141,7 @@ export const UPDATE_POST = gql`
$visibility: PostVisibility
$draft: Boolean
$tags: [String]
$picture: PictureInput
) {
updatePost(
id: $id
@ -135,6 +151,7 @@ export const UPDATE_POST = gql`
visibility: $visibility
draft: $draft
tags: $tags
picture: $picture
) {
...PostFragment
}

View File

@ -779,5 +779,8 @@
"Error while reporting group {groupTitle}": "Error while reporting group {groupTitle}",
"Reported group": "Reported group",
"You can only get invited to groups right now.": "You can only get invited to groups right now.",
"Join group": "Join group"
"Join group": "Join group",
"Created by {username}": "Created by {username}",
"Accessible through link": "Accessible through link",
"Accessible only to members": "Accessible only to members"
}

View File

@ -816,5 +816,8 @@
"Error while reporting group {groupTitle}": "Erreur lors du signalement du groupe {groupTitle}",
"Reported group": "Groupe signalé",
"You can only get invited to groups right now.": "Vous pouvez uniquement être invité aux groupes pour le moment.",
"Join group": "Rejoindre le groupe"
"Join group": "Rejoindre le groupe",
"Created by {username}": "Créé par {username}",
"Accessible through link": "Accessible uniquement par lien",
"Accessible only to members": "Accessible uniquement aux membres"
}

View File

@ -1,6 +1,6 @@
import { IPicture } from "@/types/picture.model";
export async function buildFileFromIPicture(obj: IPicture | null) {
export async function buildFileFromIPicture(obj: IPicture | null | undefined) {
if (!obj) return null;
const response = await fetch(obj.url);

View File

@ -335,6 +335,7 @@ section {
<script lang="ts">
import { Component, Prop, Vue, Watch } from "vue-property-decorator";
import { RefetchQueryDescription } from "apollo-client/core/watchQueryOptions";
import PictureUpload from "@/components/PictureUpload.vue";
import EditorComponent from "@/components/Editor.vue";
import DateTimePicker from "@/components/Event/DateTimePicker.vue";
@ -373,7 +374,6 @@ import RouteName from "../../router/name";
import "intersection-observer";
import { CONFIG } from "../../graphql/config";
import { IConfig } from "../../types/config.model";
import { RefetchQueryDescription } from "apollo-client/core/watchQueryOptions";
const DEFAULT_LIMIT_NUMBER_OF_PLACES = 10;

View File

@ -965,12 +965,12 @@ export default class Event extends EventMixin {
// @ts-ignore-end
}
async handleErrors(errors: GraphQLError[]): Promise<void> {
handleErrors(errors: any[]): void {
if (
errors[0].message.includes("not found") ||
errors[0].message.includes("has invalid value $uuid")
errors.some((error) => error.status_code === 404) ||
errors.some(({ message }) => message.includes("has invalid value $uuid"))
) {
await this.$router.push({ name: RouteName.PAGE_NOT_FOUND });
this.$router.replace({ name: RouteName.PAGE_NOT_FOUND });
}
}

View File

@ -8,9 +8,17 @@
{{ $t("Add a new post") }}
</h1>
<subtitle>{{ $t("General information") }}</subtitle>
<picture-upload v-model="pictureFile" :textFallback="$t('Headline picture')" />
<picture-upload
v-model="pictureFile"
:textFallback="$t('Headline picture')"
:defaultImageSrc="post.picture ? post.picture.url : null"
/>
<b-field :label="$t('Title')">
<b-field
:label="$t('Title')"
:type="errors.title ? 'is-danger' : null"
:message="errors.title"
>
<b-input size="is-large" aria-required="true" required v-model="post.title" />
</b-field>
@ -18,6 +26,7 @@
<div class="field">
<label class="label">{{ $t("Post") }}</label>
<p v-if="errors.body" class="help is-danger">{{ errors.body }}</p>
<editor v-model="post.body" />
</div>
<subtitle>{{ $t("Who can view this post") }}</subtitle>
@ -80,6 +89,7 @@
<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";
import { FETCH_GROUP } from "@/graphql/group";
import { buildFileFromIPicture, readFileAsync } from "@/utils/image";
import { CURRENT_ACTOR_CLIENT } from "../../graphql/actor";
import { TAGS } from "../../graphql/tags";
import { CONFIG } from "../../graphql/config";
@ -87,9 +97,11 @@ import { FETCH_POST, CREATE_POST, UPDATE_POST, DELETE_POST } from "../../graphql
import { IPost, PostVisibility } from "../../types/post.model";
import Editor from "../../components/Editor.vue";
import { IGroup } from "../../types/actor";
import { IActor, IGroup } from "../../types/actor";
import TagInput from "../../components/Event/TagInput.vue";
import RouteName from "../../router/name";
import Subtitle from "../../components/Utils/Subtitle.vue";
import PictureUpload from "../../components/PictureUpload.vue";
@Component({
apollo: {
@ -123,10 +135,12 @@ import RouteName from "../../router/name";
components: {
Editor,
TagInput,
Subtitle,
PictureUpload,
},
metaInfo() {
return {
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
title: this.isUpdate
? (this.$t("Edit post") as string)
@ -156,7 +170,18 @@ export default class EditPost extends Vue {
PostVisibility = PostVisibility;
async publish(draft: boolean) {
pictureFile: File | null = null;
errors: Record<string, unknown> = {};
async mounted(): Promise<void> {
this.pictureFile = await buildFileFromIPicture(this.post.picture);
}
// eslint-disable-next-line consistent-return
async publish(draft: boolean): Promise<void> {
this.errors = {};
if (this.isUpdate) {
const { data } = await this.$apollo.mutate({
mutation: UPDATE_POST,
@ -167,28 +192,38 @@ export default class EditPost extends Vue {
tags: (this.post.tags || []).map(({ title }) => title),
visibility: this.post.visibility,
draft,
...(await this.buildPicture()),
},
});
if (data && data.updatePost) {
return this.$router.push({ name: RouteName.POST, params: { slug: data.updatePost.slug } });
this.$router.push({ name: RouteName.POST, params: { slug: data.updatePost.slug } });
}
} else {
const { data } = await this.$apollo.mutate({
mutation: CREATE_POST,
variables: {
...this.post,
tags: (this.post.tags || []).map(({ title }) => title),
attributedToId: this.group.id,
draft,
},
});
if (data && data.createPost) {
return this.$router.push({ name: RouteName.POST, params: { slug: data.createPost.slug } });
try {
const { data } = await this.$apollo.mutate({
mutation: CREATE_POST,
variables: {
...this.post,
...(await this.buildPicture()),
tags: (this.post.tags || []).map(({ title }) => title),
attributedToId: this.actualGroup.id,
draft,
},
});
if (data && data.createPost) {
this.$router.push({ name: RouteName.POST, params: { slug: data.createPost.slug } });
}
} catch (error) {
console.error(error);
this.errors = error.graphQLErrors.reduce((acc: { [key: string]: any }, localError: any) => {
acc[localError.field] = EditPost.transformMessage(localError.message);
return acc;
}, {});
}
}
}
async deletePost() {
async deletePost(): Promise<void> {
const { data } = await this.$apollo.mutate({
mutation: DELETE_POST,
variables: {
@ -196,12 +231,58 @@ export default class EditPost extends Vue {
},
});
if (data && this.post.attributedTo) {
return this.$router.push({
this.$router.push({
name: RouteName.POSTS,
params: { preferredUsername: this.post.attributedTo.preferredUsername },
});
}
}
static transformMessage(message: string[] | string): string | undefined {
if (Array.isArray(message) && message.length > 0) {
return message[0];
}
if (typeof message === "string") {
return message;
}
return undefined;
}
async buildPicture(): Promise<Record<string, unknown>> {
let obj: { picture?: any } = {};
if (this.pictureFile) {
const pictureObj = {
picture: {
picture: {
name: this.pictureFile.name,
alt: `${this.actualGroup.preferredUsername}'s avatar`,
file: this.pictureFile,
},
},
};
obj = { ...pictureObj };
}
try {
if (this.post.picture) {
const oldPictureFile = (await buildFileFromIPicture(this.post.picture)) as File;
const oldPictureFileContent = await readFileAsync(oldPictureFile);
const newPictureFileContent = await readFileAsync(this.pictureFile as File);
if (oldPictureFileContent === newPictureFileContent) {
obj.picture = { pictureId: this.post.picture.id };
}
}
} catch (e) {
console.error(e);
}
return obj;
}
get actualGroup(): IActor {
if (!this.group) {
return this.post.attributedTo as IActor;
}
return this.group;
}
}
</script>
<style lang="scss" scoped>

View File

@ -2,9 +2,6 @@
<div class="container section" v-if="group">
<nav class="breadcrumb" aria-label="breadcrumbs" v-if="group">
<ul>
<li>
<router-link :to="{ name: RouteName.MY_GROUPS }">{{ $t("My groups") }}</router-link>
</li>
<li>
<router-link
v-if="group"
@ -30,20 +27,31 @@
</ul>
</nav>
<section>
<p>
{{
$t(
"A place to publish something to the whole world, your community or just your group members."
)
}}
</p>
<router-link
v-for="post in group.posts.elements"
:key="post.id"
:to="{ name: RouteName.POST, params: { slug: post.slug } }"
>
{{ post.title }}
</router-link>
<div class="intro">
<p>
{{
$t(
"A place to publish something to the whole world, your community or just your group members."
)
}}
</p>
<router-link
:to="{
name: RouteName.POST_CREATE,
params: { preferredUsername: usernameWithDomain(group) },
}"
class="button is-primary"
>{{ $t("+ Post a public message") }}</router-link
>
</div>
<div class="post-list">
<post-element-item
v-for="post in group.posts.elements"
:key="post.id"
:post="post"
:isCurrentActorMember="isCurrentActorMember"
/>
</div>
<b-loading :active.sync="$apollo.loading"></b-loading>
<b-message
v-if="group.posts.elements.length === 0 && $apollo.loading === false"
@ -51,37 +59,66 @@
>
{{ $t("No posts found") }}
</b-message>
<b-pagination
:total="group.posts.total"
v-model="postsPage"
:per-page="POSTS_PAGE_LIMIT"
:aria-next-label="$t('Next page')"
:aria-previous-label="$t('Previous page')"
:aria-page-label="$t('Page')"
:aria-current-label="$t('Current page')"
>
</b-pagination>
</section>
</div>
</template>
<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";
import { CURRENT_ACTOR_CLIENT, PERSON_MEMBERSHIPS } from "@/graphql/actor";
import { FETCH_GROUP_POSTS } from "../../graphql/post";
import { Paginate } from "../../types/paginate";
import { IPost } from "../../types/post.model";
import { IGroup, usernameWithDomain } from "../../types/actor";
import { IGroup, IMember, IPerson, usernameWithDomain } from "../../types/actor";
import RouteName from "../../router/name";
import PostElementItem from "../../components/Post/PostElementItem.vue";
const POSTS_PAGE_LIMIT = 10;
@Component({
apollo: {
currentActor: CURRENT_ACTOR_CLIENT,
memberships: {
query: PERSON_MEMBERSHIPS,
fetchPolicy: "cache-and-network",
variables() {
return {
id: this.currentActor.id,
};
},
update: (data) => data.person.memberships.elements,
skip() {
return !this.currentActor || !this.currentActor.id;
},
},
group: {
query: FETCH_GROUP_POSTS,
fetchPolicy: "cache-and-network",
variables() {
return {
preferredUsername: this.preferredUsername,
page: this.postsPage,
limit: POSTS_PAGE_LIMIT,
};
},
// update(data) {
// console.log(data);
// return data.group.posts;
// },
skip() {
return !this.preferredUsername;
},
},
},
components: {
PostElementItem,
},
})
export default class PostList extends Vue {
@Prop({ required: true, type: String }) preferredUsername!: string;
@ -90,8 +127,29 @@ export default class PostList extends Vue {
posts!: Paginate<IPost>;
memberships!: IMember[];
currentActor!: IPerson;
postsPage = 1;
RouteName = RouteName;
usernameWithDomain = usernameWithDomain;
POSTS_PAGE_LIMIT = POSTS_PAGE_LIMIT;
get isCurrentActorMember(): boolean {
if (!this.group || !this.memberships) return false;
return this.memberships.map(({ parent: { id } }) => id).includes(this.group.id);
}
}
</script>
<style lang="scss" scoped>
section {
div.intro,
.post-list {
margin-bottom: 1rem;
}
}
</style>

View File

@ -14,6 +14,10 @@
>
</i18n>
<p class="published" v-if="!post.draft">{{ post.publishAt | formatDateTimeString }}</p>
<small v-if="post.visibility === PostVisibility.PRIVATE" class="has-text-grey">
<b-icon icon="lock" size="is-small" />
{{ $t("Accessible only to members", { group: post.attributedTo.name }) }}
</small>
<p class="buttons" v-if="isCurrentActorMember">
<b-tag type="is-warning" size="is-medium" v-if="post.draft">{{ $t("Draft") }}</b-tag>
<router-link
@ -23,6 +27,7 @@
>{{ $t("Edit") }}</router-link
>
</p>
<img v-if="post.picture" :src="post.picture.url" alt="" />
</section>
<section v-html="post.body" class="content" />
<section class="tags">
@ -41,12 +46,11 @@
<script lang="ts">
import { Component, Vue, Prop } from "vue-property-decorator";
import Editor from "@/components/Editor.vue";
import { GraphQLError } from "graphql";
import { CURRENT_ACTOR_CLIENT, PERSON_MEMBERSHIPS } from "../../graphql/actor";
import { FETCH_POST } from "../../graphql/post";
import { IPost } from "../../types/post.model";
import { IMember, usernameWithDomain } from "../../types/actor";
import { IPost, PostVisibility } from "../../types/post.model";
import { IMember, IPerson, usernameWithDomain } from "../../types/actor";
import RouteName from "../../router/name";
import Tag from "../../components/Tag.vue";
@ -104,20 +108,24 @@ export default class Post extends Vue {
memberships!: IMember[];
currentActor!: IPerson;
RouteName = RouteName;
usernameWithDomain = usernameWithDomain;
PostVisibility = PostVisibility;
handleErrors(errors: any[]): void {
if (errors.some((error) => error.status_code === 404)) {
this.$router.replace({ name: RouteName.PAGE_NOT_FOUND });
}
}
get isCurrentActorMember(): boolean {
if (!this.post.attributedTo || !this.memberships) return false;
return this.memberships.map(({ parent: { id } }) => id).includes(this.post.attributedTo.id);
}
async handleErrors(errors: GraphQLError[]): Promise<void> {
if (errors[0].message.includes("No such post")) {
await this.$router.push({ name: RouteName.PAGE_NOT_FOUND });
}
}
}
</script>
<style lang="scss" scoped>
@ -126,6 +134,10 @@ export default class Post extends Vue {
article {
section.heading-section {
text-align: center;
position: relative;
display: flex;
flex-direction: column;
margin: auto -3rem 2rem;
h1.title {
margin: 0 auto;
@ -145,8 +157,7 @@ article {
}
&::after {
height: 0.4rem;
margin-bottom: 2rem;
height: 0.2rem;
content: " ";
display: block;
width: 100%;
@ -157,6 +168,21 @@ article {
.buttons {
justify-content: center;
}
& > * {
z-index: 10;
}
& > img {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
opacity: 0.3;
object-fit: cover;
object-position: 50% 50%;
z-index: 0;
}
}
section.content {

View File

@ -198,7 +198,7 @@ export default class Register extends Vue {
} catch (error) {
console.error(error);
this.errors = error.graphQLErrors.reduce((acc: { [key: string]: any }, localError: any) => {
acc[localError.details] = localError.message;
acc[localError.field] = localError.message;
return acc;
}, {});
this.sendingForm = false;

View File

@ -147,6 +147,7 @@ export default new VueApollo({
"background: red; color: white; padding: 2px 4px; border-radius: 3px; font-weight: bold;",
error.message
);
console.error(error);
},
});

View File

@ -35,7 +35,7 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Post do
"name" => post.title,
"content" => post.body,
"attributedTo" => creator_url,
"published" => (post.publish_at || post.inserted_at) |> DateTime.to_iso8601()
"published" => (post.publish_at || post.inserted_at) |> to_date()
}
end
@ -67,4 +67,7 @@ defmodule Mobilizon.Federation.ActivityStream.Converter.Post do
@spec get_actor(String.t() | map() | nil) :: {:ok, Actor.t()} | {:error, String.t()}
defp get_actor(nil), do: {:error, "nil property found for actor data"}
defp get_actor(actor), do: actor |> Utils.get_url() |> ActivityPub.get_or_fetch_actor_by_url()
defp to_date(%DateTime{} = date), do: DateTime.to_iso8601(date)
defp to_date(%NaiveDateTime{} = date), do: NaiveDateTime.to_iso8601(date)
end

90
lib/graphql/error.ex Normal file
View File

@ -0,0 +1,90 @@
defmodule Mobilizon.GraphQL.Error do
@moduledoc """
Module to handle errors in GraphQL
"""
require Logger
alias __MODULE__
import Mobilizon.Web.Gettext
defstruct [:code, :message, :status_code, :field]
# Error Tuples
# ------------
# Regular errors
def normalize({:error, reason}) do
handle(reason)
end
# Ecto transaction errors
def normalize({:error, _operation, reason, _changes}) do
handle(reason)
end
# Unhandled errors
def normalize(other) do
handle(other)
end
# Handle Different Errors
# -----------------------
defp handle(code) when is_atom(code) do
{status, message} = metadata(code)
%Error{
code: code,
message: message,
status_code: status
}
end
defp handle(errors) when is_list(errors) do
Enum.map(errors, &handle/1)
end
defp handle(%Ecto.Changeset{} = changeset) do
changeset
|> Ecto.Changeset.traverse_errors(fn {err, _opts} -> err end)
|> Enum.map(fn {k, v} ->
%Error{
code: :validation,
message: v,
field: k,
status_code: 422
}
end)
end
defp handle(reason) when is_binary(reason) do
%Error{
code: :unknown_error,
message: reason,
status_code: 500
}
end
# ... Handle other error types here ...
defp handle(other) do
Logger.error("Unhandled error term:\n#{inspect(other)}")
handle(:unknown)
end
# Build Error Metadata
# --------------------
defp metadata(:unknown_resource), do: {400, "Unknown Resource"}
defp metadata(:invalid_argument), do: {400, "Invalid arguments passed"}
defp metadata(:unauthenticated), do: {401, "You need to be logged in"}
defp metadata(:password_hash_missing), do: {401, "Reset your password to login"}
defp metadata(:incorrect_password), do: {401, "Invalid credentials"}
defp metadata(:unauthorized), do: {403, "You don't have permission to do this"}
defp metadata(:not_found), do: {404, "Resource not found"}
defp metadata(:user_not_found), do: {404, "User not found"}
defp metadata(:post_not_found), do: {404, dgettext("errors", "Post not found")}
defp metadata(:event_not_found), do: {404, dgettext("errors", "Event not found")}
defp metadata(:unknown), do: {500, "Something went wrong"}
defp metadata(code) do
Logger.warn("Unhandled error code: #{inspect(code)}")
{422, to_string(code)}
end
end

View File

@ -1,45 +0,0 @@
defmodule Mobilizon.GraphQL.Helpers.Error do
@moduledoc """
Helper functions for Mobilizon.GraphQL
"""
alias Ecto.Changeset
def handle_errors(fun) do
fn source, args, info ->
case Absinthe.Resolution.call(fun, source, args, info) do
{:error, %Changeset{} = changeset} ->
format_changeset(changeset)
{:error, _, %Changeset{} = changeset} ->
format_changeset(changeset)
val ->
val
end
end
end
def format_changeset(%Changeset{changes: changes} = changeset) do
# {:error, [email: {"has already been taken", []}]}
errors =
Enum.reduce(changes, [], fn {_key, value}, acc ->
case value do
%Changeset{} ->
{:error, errors} = format_changeset(value)
acc ++ errors
_ ->
acc
end
end)
errors = errors ++ Enum.map(changeset.errors, &transform_error/1)
{:error, errors}
end
defp transform_error({key, {value, _context}}) do
[message: "#{value}", details: key]
end
end

View File

@ -0,0 +1,21 @@
defmodule Mobilizon.GraphQL.Middleware.ErrorHandler do
@moduledoc """
Absinthe Error Handler
"""
alias Mobilizon.GraphQL.Error
@behaviour Absinthe.Middleware
@impl true
def call(resolution, _config) do
errors =
resolution.errors
|> Enum.map(&Error.normalize/1)
|> List.flatten()
|> Enum.map(&to_absinthe_format/1)
%{resolution | errors: errors}
end
defp to_absinthe_format(%Error{} = error), do: Map.from_struct(error)
defp to_absinthe_format(error), do: error
end

View File

@ -38,12 +38,12 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
{:ok, Map.put(event, :organizer_actor, Person.proxify_pictures(event.organizer_actor))}
{:has_event, _} ->
{:error, dgettext("errors", "Event with UUID %{uuid} not found", uuid: uuid)}
{:error, :event_not_found}
end
end
defp find_private_event(_parent, %{uuid: uuid}, _resolution) do
{:error, dgettext("errors", "Event with UUID %{uuid} not found", uuid: uuid)}
defp find_private_event(_parent, _args, _resolution) do
{:error, :event_not_found}
end
def find_event(parent, %{uuid: uuid} = args, %{context: context} = resolution) do
@ -57,7 +57,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Event do
find_private_event(parent, args, resolution)
{:access_valid, _} ->
{:error, dgettext("errors", "Event with UUID %{uuid} not found", uuid)}
{:error, :event_not_found}
end
end

View File

@ -7,6 +7,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Post do
alias Mobilizon.{Actors, Posts, Users}
alias Mobilizon.Actors.Actor
alias Mobilizon.Federation.ActivityPub
alias Mobilizon.Federation.ActivityPub.Utils
alias Mobilizon.Posts.Post
alias Mobilizon.Storage.Page
alias Mobilizon.Users.User
@ -76,7 +77,7 @@ defmodule Mobilizon.GraphQL.Resolvers.Post do
{:ok, post}
else
{:member, false} -> get_post(parent, %{slug: slug}, nil)
{:post, _} -> {:error, dgettext("errors", "No such post")}
{:post, _} -> {:error, :post_not_found}
end
end
@ -91,12 +92,12 @@ defmodule Mobilizon.GraphQL.Resolvers.Post do
{:ok, post}
{:post, _} ->
{:error, dgettext("errors", "No such post")}
{:error, :post_not_found}
end
end
def get_post(_parent, _args, _resolution) do
{:error, dgettext("errors", "No such post")}
{:error, :post_not_found}
end
def create_post(
@ -110,6 +111,11 @@ defmodule Mobilizon.GraphQL.Resolvers.Post do
) do
with %Actor{id: actor_id} <- Users.get_actor_for_user(user),
{:member, true} <- {:member, Actors.is_member?(actor_id, group_id)},
%Actor{} = group <- Actors.get_actor(group_id),
args <-
Map.update(args, :picture, nil, fn picture ->
process_picture(picture, group)
end),
{:ok, _, %Post{} = post} <-
ActivityPub.create(
:post,
@ -123,6 +129,9 @@ defmodule Mobilizon.GraphQL.Resolvers.Post do
else
{:member, _} ->
{:error, dgettext("errors", "Profile is not member of group")}
{:error, error} ->
{:error, error}
end
end
@ -141,8 +150,12 @@ defmodule Mobilizon.GraphQL.Resolvers.Post do
) do
with {:uuid, {:ok, _uuid}} <- {:uuid, Ecto.UUID.cast(id)},
%Actor{id: actor_id} <- Users.get_actor_for_user(user),
{:post, %Post{attributed_to: %Actor{id: group_id}} = post} <-
{:post, %Post{attributed_to: %Actor{id: group_id} = group} = post} <-
{:post, Posts.get_post_with_preloads(id)},
args <-
Map.update(args, :picture, nil, fn picture ->
process_picture(picture, group)
end),
{:member, true} <- {:member, Actors.is_member?(actor_id, group_id)},
{:ok, _, %Post{} = post} <-
ActivityPub.update(post, args, true, %{}) do
@ -195,4 +208,17 @@ defmodule Mobilizon.GraphQL.Resolvers.Post do
def delete_post(_parent, _args, _resolution) do
{:error, dgettext("errors", "You need to be logged-in to delete posts")}
end
defp process_picture(nil, _), do: nil
defp process_picture(%{picture_id: _picture_id} = args, _), do: args
defp process_picture(%{picture: picture}, %Actor{id: actor_id}) do
%{
file:
picture
|> Map.get(:file)
|> Utils.make_picture_data(description: Map.get(picture, :name)),
actor_id: actor_id
}
end
end

View File

@ -127,8 +127,8 @@ defmodule Mobilizon.GraphQL.Resolvers.User do
:not_allowlisted ->
{:error, dgettext("errors", "Your email is not on the allowlist")}
error ->
error
{:error, error} ->
{:error, error}
end
end

View File

@ -20,6 +20,7 @@ defmodule Mobilizon.GraphQL.Schema do
alias Mobilizon.Actors.{Actor, Follower, Member}
alias Mobilizon.Discussions.Comment
alias Mobilizon.Events.{Event, Participant}
alias Mobilizon.GraphQL.Middleware.ErrorHandler
alias Mobilizon.GraphQL.Schema
alias Mobilizon.Storage.Repo
@ -185,4 +186,12 @@ defmodule Mobilizon.GraphQL.Schema do
import_fields(:person_subscriptions)
import_fields(:discussion_subscriptions)
end
def middleware(middleware, _field, %{identifier: type}) when type in [:query, :mutation] do
middleware ++ [ErrorHandler]
end
def middleware(middleware, _field, _object) do
middleware
end
end

View File

@ -5,7 +5,6 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
use Absinthe.Schema.Notation
import Absinthe.Resolution.Helpers, only: [dataloader: 1]
import Mobilizon.GraphQL.Helpers.Error
alias Mobilizon.Events
alias Mobilizon.GraphQL.Resolvers.Person
@ -136,7 +135,7 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
"The banner for the profile, either as an object or directly the ID of an existing Picture"
)
resolve(handle_errors(&Person.create_person/3))
resolve(&Person.create_person/3)
end
@desc "Update an identity"
@ -157,14 +156,14 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
"The banner for the profile, either as an object or directly the ID of an existing Picture"
)
resolve(handle_errors(&Person.update_person/3))
resolve(&Person.update_person/3)
end
@desc "Delete an identity"
field :delete_person, :person do
arg(:id, non_null(:id))
resolve(handle_errors(&Person.delete_person/3))
resolve(&Person.delete_person/3)
end
@desc "Register a first profile on registration"
@ -186,7 +185,7 @@ defmodule Mobilizon.GraphQL.Schema.Actors.PersonType do
"The banner for the profile, either as an object or directly the ID of an existing Picture"
)
resolve(handle_errors(&Person.register_person/3))
resolve(&Person.register_person/3)
end
end

View File

@ -6,7 +6,6 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
use Absinthe.Schema.Notation
import Absinthe.Resolution.Helpers, only: [dataloader: 1]
import Mobilizon.GraphQL.Helpers.Error
alias Mobilizon.{Actors, Addresses, Discussions}
alias Mobilizon.GraphQL.Resolvers.{Event, Picture, Tag}
@ -311,7 +310,7 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
arg(:draft, :boolean, default_value: false)
arg(:contacts, list_of(:contact), default_value: [])
resolve(handle_errors(&Event.create_event/3))
resolve(&Event.create_event/3)
end
@desc "Update an event"
@ -343,7 +342,7 @@ defmodule Mobilizon.GraphQL.Schema.EventType do
arg(:draft, :boolean)
arg(:contacts, list_of(:contact), default_value: [])
resolve(handle_errors(&Event.update_event/3))
resolve(&Event.update_event/3)
end
@desc "Delete an event"

View File

@ -3,7 +3,7 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
Schema representation for Posts
"""
use Absinthe.Schema.Notation
alias Mobilizon.GraphQL.Resolvers.{Post, Tag}
alias Mobilizon.GraphQL.Resolvers.{Picture, Post, Tag}
@desc "A post"
object :post do
@ -24,6 +24,11 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
resolve: &Tag.list_tags_for_post/3,
description: "The post's tags"
)
field(:picture, :picture,
description: "The event's picture",
resolve: &Picture.picture/3
)
end
object :paginated_post_list do
@ -55,7 +60,7 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
field :create_post, :post do
arg(:attributed_to_id, non_null(:id))
arg(:title, non_null(:string))
arg(:body, :string)
arg(:body, non_null(:string))
arg(:draft, :boolean, default_value: false)
arg(:visibility, :post_visibility)
arg(:publish_at, :datetime)
@ -65,6 +70,11 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
description: "The list of tags associated to the post"
)
arg(:picture, :picture_input,
description:
"The banner for the post, either as an object or directly the ID of an existing Picture"
)
resolve(&Post.create_post/3)
end
@ -79,6 +89,11 @@ defmodule Mobilizon.GraphQL.Schema.PostType do
arg(:publish_at, :datetime)
arg(:tags, list_of(:string), description: "The list of tags associated to the post")
arg(:picture, :picture_input,
description:
"The banner for the post, either as an object or directly the ID of an existing Picture"
)
resolve(&Post.update_post/3)
end

View File

@ -5,7 +5,6 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
use Absinthe.Schema.Notation
import Absinthe.Resolution.Helpers, only: [dataloader: 1]
import Mobilizon.GraphQL.Helpers.Error
alias Mobilizon.Events
alias Mobilizon.GraphQL.Resolvers.User
@ -177,7 +176,7 @@ defmodule Mobilizon.GraphQL.Schema.UserType do
arg(:password, non_null(:string))
arg(:locale, :string)
resolve(handle_errors(&User.create_user/3))
resolve(&User.create_user/3)
end
@desc "Validate an user after registration"

View File

@ -4,13 +4,13 @@ defmodule Mobilizon.Posts.Post.TitleSlug do
"""
use EctoAutoslugField.Slug, from: [:title, :id], to: :slug
def build_slug([title, id], %Ecto.Changeset{valid?: true}) do
def build_slug([title, id], _changeset) do
[title, ShortUUID.encode!(id)]
|> Enum.join("-")
|> Slugger.slugify()
end
def build_slug(_sources, %Ecto.Changeset{valid?: false}), do: ""
def build_slug(_, _), do: nil
end
defmodule Mobilizon.Posts.Post do
@ -22,11 +22,13 @@ defmodule Mobilizon.Posts.Post do
alias Ecto.Changeset
alias Mobilizon.Actors.Actor
alias Mobilizon.Events.Tag
alias Mobilizon.Media
alias Mobilizon.Media.Picture
alias Mobilizon.Posts.Post.TitleSlug
alias Mobilizon.Posts.PostVisibility
alias Mobilizon.Web.Endpoint
alias Mobilizon.Web.Router.Helpers, as: Routes
import Mobilizon.Web.Gettext
@type t :: %__MODULE__{
url: String.t(),
@ -82,12 +84,15 @@ defmodule Mobilizon.Posts.Post do
|> maybe_generate_id()
|> put_tags(attrs)
|> maybe_put_publish_date()
|> put_picture(attrs)
# Validate ID and title here because they're needed for slug
|> validate_required([:id, :title])
|> validate_required(:id)
|> validate_required(:title, message: gettext("A title is required for the post"))
|> validate_required(:body, message: gettext("A text is required for the post"))
|> TitleSlug.maybe_generate_slug()
|> TitleSlug.unique_constraint()
|> maybe_generate_url()
|> validate_required(@required_attrs)
|> validate_required(@required_attrs -- [:slug, :url])
end
defp maybe_generate_id(%Ecto.Changeset{} = changeset) do
@ -105,7 +110,7 @@ defmodule Mobilizon.Posts.Post do
with res when res in [:error, {:data, nil}] <- fetch_field(changeset, :url),
{changes, id_and_slug} when changes in [:changes, :data] <-
fetch_field(changeset, :slug),
url <- generate_url(id_and_slug) do
url when is_binary(url) <- generate_url(id_and_slug) do
put_change(changeset, :url, url)
else
_ -> changeset
@ -113,7 +118,10 @@ defmodule Mobilizon.Posts.Post do
end
@spec generate_url(String.t()) :: String.t()
defp generate_url(id_and_slug), do: Routes.page_url(Endpoint, :post, id_and_slug)
defp generate_url(id_and_slug) when is_binary(id_and_slug),
do: Routes.page_url(Endpoint, :post, id_and_slug)
defp generate_url(_), do: nil
@spec put_tags(Ecto.Changeset.t(), map) :: Ecto.Changeset.t()
defp put_tags(changeset, %{"tags" => tags}),
@ -134,4 +142,21 @@ defmodule Mobilizon.Posts.Post do
put_change(changeset, :publish_at, publish_at)
end
# In case the provided picture is an existing one
@spec put_picture(Changeset.t(), map) :: Changeset.t()
defp put_picture(%Changeset{} = changeset, %{picture: %{picture_id: id} = _picture}) do
case Media.get_picture!(id) do
%Picture{} = picture ->
put_assoc(changeset, :picture, picture)
_ ->
changeset
end
end
# In case it's a new picture
defp put_picture(%Changeset{} = changeset, _attrs) do
cast_assoc(changeset, :picture)
end
end

View File

@ -89,9 +89,12 @@ defmodule Mobilizon.Posts do
"""
@spec create_post(map) :: {:ok, Post.t()} | {:error, Ecto.Changeset.t()}
def create_post(attrs \\ %{}) do
%Post{}
|> Post.changeset(attrs)
|> Repo.insert()
with {:ok, %Post{} = post} <-
%Post{}
|> Post.changeset(attrs)
|> Repo.insert() do
{:ok, Repo.preload(post, @post_preloads)}
end
end
@doc """

View File

@ -1300,7 +1300,7 @@ msgstr "لقد قمتَ بتقديم طلب للمشاركة في فعالية %
msgid "Your participation to event %{title} has been confirmed"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1325,7 +1325,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -139,7 +139,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -171,18 +171,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -203,38 +203,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -244,17 +244,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -279,12 +279,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -294,7 +294,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -324,7 +324,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -414,16 +414,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -455,12 +450,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -499,12 +488,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -519,8 +508,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -730,7 +719,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -755,7 +744,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -785,7 +774,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -848,3 +837,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1276,7 +1276,7 @@ msgstr ""
msgid "Your participation to event %{title} has been confirmed"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1301,7 +1301,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -113,7 +113,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -145,18 +145,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -177,38 +177,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -218,17 +218,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -253,12 +253,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -268,7 +268,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -298,7 +298,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -388,16 +388,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -429,12 +424,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -473,12 +462,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -493,8 +482,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -704,7 +693,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -729,7 +718,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -759,7 +748,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -822,3 +811,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1296,7 +1296,7 @@ msgstr "Has soŀlicitat participar a l'activitat %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "T'han aprovat la participació a %{title}"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr "%{reporter_name} (%{reporter_username}) ha denunciat aquest contingut."
@ -1321,7 +1321,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -107,7 +107,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -139,18 +139,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -171,38 +171,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -212,17 +212,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -247,12 +247,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -262,7 +262,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -292,7 +292,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -382,16 +382,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -423,12 +418,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -467,12 +456,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -487,8 +476,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -698,7 +687,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -723,7 +712,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -753,7 +742,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -816,3 +805,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1276,7 +1276,7 @@ msgstr ""
msgid "Your participation to event %{title} has been confirmed"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1301,7 +1301,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -113,7 +113,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -145,18 +145,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -177,38 +177,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -218,17 +218,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -253,12 +253,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -268,7 +268,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -298,7 +298,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -388,16 +388,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -429,12 +424,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -473,12 +462,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -493,8 +482,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -704,7 +693,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -729,7 +718,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -759,7 +748,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -822,3 +811,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1303,7 +1303,7 @@ msgstr "Du hast angefragt, an der Veranstaltung %{title} teilzunehmen."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Deine Teilnahme an der Veranstaltung %{title}wurde akzeptiert"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1329,7 +1329,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -107,7 +107,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -139,18 +139,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -171,38 +171,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -212,17 +212,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -247,12 +247,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -262,7 +262,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -292,7 +292,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -382,16 +382,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -423,12 +418,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -467,12 +456,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -487,8 +476,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -698,7 +687,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -723,7 +712,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -753,7 +742,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -816,3 +805,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1284,3 +1284,13 @@ msgstr ""
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -1278,7 +1278,7 @@ msgstr "You requested to participate in event %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Your participation to event %{title} has been approved"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr "%{reporter_name} (%{reporter_username}) reported the following content."
@ -1303,7 +1303,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -117,7 +117,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -149,18 +149,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -181,38 +181,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -222,17 +222,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -257,12 +257,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -272,7 +272,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -302,7 +302,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -392,16 +392,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -433,12 +428,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -477,12 +466,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -497,8 +486,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -708,7 +697,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -733,7 +722,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -763,7 +752,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -826,3 +815,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -114,7 +114,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -146,18 +146,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -178,38 +178,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -219,17 +219,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -254,12 +254,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -269,7 +269,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -299,7 +299,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -389,16 +389,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -430,12 +425,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -474,12 +463,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -494,8 +483,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -705,7 +694,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -730,7 +719,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -760,7 +749,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -823,3 +812,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1592,7 +1592,7 @@ msgstr "Solicitaste participar en el evento %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Su participación en el evento %{title} ha sido aprobada"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1619,7 +1619,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -114,7 +114,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -146,18 +146,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -178,38 +178,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -219,17 +219,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -254,12 +254,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -269,7 +269,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -299,7 +299,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -389,16 +389,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -430,12 +425,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -474,12 +463,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -494,8 +483,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -705,7 +694,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -730,7 +719,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -760,7 +749,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -823,3 +812,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1551,7 +1551,7 @@ msgstr "Lähetit pyynnön osallistua tapahtumaan %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Osallistumisesi tapahtumaan %{title} on hyväksytty"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1577,7 +1577,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -114,7 +114,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -146,18 +146,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -178,38 +178,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -219,17 +219,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -254,12 +254,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -269,7 +269,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -299,7 +299,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -389,16 +389,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -430,12 +425,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -474,12 +463,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -494,8 +483,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -705,7 +694,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -730,7 +719,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -760,7 +749,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -823,3 +812,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@
# # to merge POT files into PO files.
msgid ""
msgstr ""
"PO-Revision-Date: 2020-09-23 17:42+0200\n"
"PO-Revision-Date: 2020-10-01 14:04+0200\n"
"Last-Translator: Thomas Citharel <thomas.citharel@framasoft.org>\n"
"Language-Team: French <https://weblate.framasoft.org/projects/mobilizon/backend-errors/fr/>\n"
"Language: fr\n"
@ -116,7 +116,7 @@ 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é"
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr "Erreur lors de la sauvegarde des paramètres utilisateur"
@ -148,18 +148,18 @@ msgstr "Membre non trouvé"
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr "Aucun profil trouvé pour l'utilisateur modérateur"
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr "Aucun·e utilisateur·ice à valider avec cet email n'a été trouvé·e"
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr "Aucun·e utilisateur·ice avec cette adresse e-mail n'a été trouvé·e"
@ -180,40 +180,40 @@ msgid "Registrations are not open"
msgstr "Les inscriptions ne sont pas ouvertes"
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr "Le mot de passe actuel est invalid"
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr "La nouvelle adresse e-mail ne semble pas être valide"
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr "La nouvelle adresse e-mail doit être différente"
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr "Le nouveau mot de passe doit être différent"
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr "Le mot de passe fourni est invalide"
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
"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."
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr "Cet·te utilisateur·ice ne peut pas réinitialiser son mot de passe"
@ -223,17 +223,17 @@ msgid "This user has been disabled"
msgstr "Cet·te utilisateur·ice a été désactivé·e"
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr "Impossible de valider l'utilisateur·ice"
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr "L'utilisateur·ice est déjà désactivé·e"
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr "L'utilisateur·ice demandé·e n'est pas connecté·e"
@ -258,12 +258,12 @@ msgid "You may not list groups unless moderator."
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:389
msgid "You need to be logged-in to change your email"
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:347
msgid "You need to be logged-in to change your password"
msgstr "Vous devez être connecté·e pour changer votre mot de passe"
@ -273,7 +273,7 @@ msgid "You need to be logged-in to delete a group"
msgstr "Vous devez être connecté·e pour supprimer un groupe"
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr "Vous devez être connecté·e pour supprimer votre compte"
@ -303,7 +303,7 @@ 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"
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr "Vous avez à nouveau demandé un email de confirmation trop vite"
@ -393,16 +393,11 @@ msgid "Event id not found"
msgstr "ID de l'événement non trouvé"
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr "Événement non trouvé"
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr "Événement avec l'UUID %{uuid} non trouvé"
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -434,12 +429,6 @@ msgstr "Aucun profil trouvé pour l'utilisateur modérateur"
msgid "No such feed token"
msgstr "Aucun jeton de flux correspondant"
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr "Aucun billet correspondant"
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -478,12 +467,12 @@ msgid "Picture with ID %{id} was not found"
msgstr "Groupe avec l'ID %{id} non trouvé"
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr "L'ID du billet n'est pas un ID valide"
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr "Le billet n'existe pas"
@ -498,8 +487,8 @@ msgid "Profile is already a member of this group"
msgstr "Vous êtes déjà membre de ce groupe"
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -711,7 +700,7 @@ msgid "You need to be logged-in to create events"
msgstr "Vous devez être connecté·e pour supprimer votre compte"
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr "Vous devez être connecté·e pour quitter un groupe"
@ -736,7 +725,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr "Vous devez être connecté·e pour supprimer un groupe"
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr "Vous devez être connecté·e pour supprimer un groupe"
@ -766,7 +755,7 @@ msgid "You need to be logged-in to update an identity"
msgstr "Vous devez être connecté·e pour mettre à jour un groupe"
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr "Vous devez être connecté·e pour mettre à jour un groupe"
@ -829,3 +818,8 @@ msgstr "Le jeton d'inscription est déjà utilisé, cela ressemble à un problè
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr "Cette adresse e-mail est déjà utilisée."
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr "Billet non trouvé"

View File

@ -1274,7 +1274,7 @@ msgstr ""
msgid "Your participation to event %{title} has been confirmed"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1299,7 +1299,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -114,7 +114,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -146,18 +146,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -178,38 +178,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -219,17 +219,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -254,12 +254,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -269,7 +269,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -299,7 +299,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -389,16 +389,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -430,12 +425,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -474,12 +463,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -494,8 +483,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -705,7 +694,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -730,7 +719,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -760,7 +749,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -823,3 +812,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1264,7 +1264,7 @@ msgstr ""
msgid "Your participation to event %{title} has been confirmed"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1289,7 +1289,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -101,7 +101,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -133,18 +133,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -165,38 +165,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -206,17 +206,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -241,12 +241,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -256,7 +256,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -286,7 +286,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -376,16 +376,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -417,12 +412,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -461,12 +450,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -481,8 +470,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -692,7 +681,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -717,7 +706,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -747,7 +736,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -810,3 +799,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1298,7 +1298,7 @@ msgstr "U hebt gevraagd om deel te nemen aan het evenement %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Uw deelname aan het evenement %{title} is goedgekeurd"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1324,7 +1324,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -107,7 +107,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -139,18 +139,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -171,38 +171,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -212,17 +212,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -247,12 +247,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -262,7 +262,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -292,7 +292,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -382,16 +382,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -423,12 +418,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -467,12 +456,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -487,8 +476,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -698,7 +687,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -723,7 +712,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -753,7 +742,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -816,3 +805,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1301,7 +1301,7 @@ msgstr "Avètz demandat de participar a leveniment %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Vòstra participacion a leveniment %{title} es estada aprovada"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr "%{reporter_name} (%{reporter_username}) a senhalat lo contengut seguent."
@ -1326,7 +1326,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -114,7 +114,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -146,18 +146,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -178,38 +178,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -219,17 +219,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -254,12 +254,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -269,7 +269,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -299,7 +299,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -389,16 +389,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -430,12 +425,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -474,12 +463,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -494,8 +483,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -705,7 +694,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -730,7 +719,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -760,7 +749,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -823,3 +812,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1311,7 +1311,7 @@ msgstr "Poprosiłeś(-aś) o uczestnictwo w wydarzeniu %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Twój udział w wydarzeniu %{title} został zatwierdzony"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1337,7 +1337,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -121,7 +121,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -153,18 +153,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -185,38 +185,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -226,17 +226,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -261,12 +261,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -276,7 +276,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -306,7 +306,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -396,16 +396,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -437,12 +432,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -481,12 +470,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -501,8 +490,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -712,7 +701,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -737,7 +726,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -767,7 +756,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -830,3 +819,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1269,7 +1269,7 @@ msgstr ""
msgid "Your participation to event %{title} has been confirmed"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1294,7 +1294,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -107,7 +107,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -139,18 +139,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -171,38 +171,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -212,17 +212,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -247,12 +247,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -262,7 +262,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -292,7 +292,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -382,16 +382,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -423,12 +418,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -467,12 +456,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -487,8 +476,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -698,7 +687,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -723,7 +712,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -753,7 +742,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -816,3 +805,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1391,7 +1391,7 @@ msgstr "Você solicitou participar no evento %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "A sua participação no evento %{title} foi aprovada"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr "%{reporter_name} (%{reporter_username}) reportou o seguinte conteúdo."
@ -1416,7 +1416,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -107,7 +107,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -139,18 +139,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -171,38 +171,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -212,17 +212,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -247,12 +247,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -262,7 +262,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -292,7 +292,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -382,16 +382,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -423,12 +418,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -467,12 +456,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -487,8 +476,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -698,7 +687,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -723,7 +712,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -753,7 +742,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -816,3 +805,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1285,7 +1285,7 @@ msgstr ""
msgid "Your participation to event %{title} has been confirmed"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1312,7 +1312,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -113,7 +113,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -145,18 +145,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -177,38 +177,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -218,17 +218,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -253,12 +253,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -268,7 +268,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -298,7 +298,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -388,16 +388,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -429,12 +424,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -473,12 +462,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -493,8 +482,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -704,7 +693,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -729,7 +718,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -759,7 +748,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -822,3 +811,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -1291,7 +1291,7 @@ msgstr "Du har bett om att få delta i evenemanget %{title}."
msgid "Your participation to event %{title} has been confirmed"
msgstr "Din förfrågan om att få delta i evenemanget %{title} har godkännts"
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/report.html.eex:41
msgid "<b>%{reporter}</b> reported the following content."
msgstr ""
@ -1317,7 +1317,17 @@ msgstr ""
msgid "Profile reported"
msgstr ""
#, elixir-format, fuzzy
#, elixir-format
#: lib/web/templates/email/event_participation_confirmed.html.eex:45
msgid "You have now confirmed your participation. Update your calendar, because you're on the guest list now!"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
msgid "A title is required for the post"
msgstr ""

View File

@ -114,7 +114,7 @@ msgid "Current profile is not an administrator of the selected group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:514
#: lib/graphql/resolvers/user.ex:516
msgid "Error while saving user settings"
msgstr ""
@ -146,18 +146,18 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:58 lib/graphql/resolvers/actor.ex:88
#: lib/graphql/resolvers/user.ex:417
#: lib/graphql/resolvers/user.ex:419
msgid "No profile found for the moderator user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:195
#: lib/graphql/resolvers/user.ex:197
msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:217 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/user.ex:221
msgid "No user with this email was found"
msgstr ""
@ -178,38 +178,38 @@ msgid "Registrations are not open"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:330
#: lib/graphql/resolvers/user.ex:332
msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:382
#: lib/graphql/resolvers/user.ex:384
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:379
#: lib/graphql/resolvers/user.ex:381
msgid "The new email must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:333
#: lib/graphql/resolvers/user.ex:335
msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:376 lib/graphql/resolvers/user.ex:439
#: lib/graphql/resolvers/user.ex:442
#: lib/graphql/resolvers/user.ex:378 lib/graphql/resolvers/user.ex:441
#: lib/graphql/resolvers/user.ex:444
msgid "The password provided is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:337
#: lib/graphql/resolvers/user.ex:339
msgid "The password you have chosen is too short. Please make sure your password contains at least 6 characters."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:215
#: lib/graphql/resolvers/user.ex:217
msgid "This user can't reset their password"
msgstr ""
@ -219,17 +219,17 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:179
#: lib/graphql/resolvers/user.ex:181
msgid "Unable to validate user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:420
#: lib/graphql/resolvers/user.ex:422
msgid "User already disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:489
#: lib/graphql/resolvers/user.ex:491
msgid "User requested is not logged-in"
msgstr ""
@ -254,12 +254,12 @@ msgid "You may not list groups unless moderator."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:387
#: lib/graphql/resolvers/user.ex:389
msgid "You need to be logged-in to change your email"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:345
#: lib/graphql/resolvers/user.ex:347
msgid "You need to be logged-in to change your password"
msgstr ""
@ -269,7 +269,7 @@ msgid "You need to be logged-in to delete a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:447
#: lib/graphql/resolvers/user.ex:449
msgid "You need to be logged-in to delete your account"
msgstr ""
@ -299,7 +299,7 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:198 lib/graphql/resolvers/user.ex:222
#: lib/graphql/resolvers/user.ex:200 lib/graphql/resolvers/user.ex:224
msgid "You requested again a confirmation email too soon"
msgstr ""
@ -389,16 +389,11 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:236 lib/graphql/resolvers/event.ex:278
#: lib/graphql/error.ex:85 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:278
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:41 lib/graphql/resolvers/event.ex:46
#: lib/graphql/resolvers/event.ex:60
msgid "Event with UUID %{uuid} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:160
@ -430,12 +425,6 @@ msgstr ""
msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:79 lib/graphql/resolvers/post.ex:94
#: lib/graphql/resolvers/post.ex:99
msgid "No such post"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:87
msgid "No such resource"
@ -474,12 +463,12 @@ msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:152 lib/graphql/resolvers/post.ex:185
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:155 lib/graphql/resolvers/post.ex:188
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
msgid "Post doesn't exist"
msgstr ""
@ -494,8 +483,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:125 lib/graphql/resolvers/post.ex:158
#: lib/graphql/resolvers/post.ex:191 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:86 lib/graphql/resolvers/resource.ex:123
#: lib/graphql/resolvers/resource.ex:152 lib/graphql/resolvers/resource.ex:181 lib/graphql/resolvers/todos.ex:60
#: lib/graphql/resolvers/todos.ex:84 lib/graphql/resolvers/todos.ex:102 lib/graphql/resolvers/todos.ex:174
#: lib/graphql/resolvers/todos.ex:197 lib/graphql/resolvers/todos.ex:225
@ -705,7 +694,7 @@ msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:130
#: lib/graphql/resolvers/post.ex:139
msgid "You need to be logged-in to create posts"
msgstr ""
@ -730,7 +719,7 @@ msgid "You need to be logged-in to delete an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:196
#: lib/graphql/resolvers/post.ex:209
msgid "You need to be logged-in to delete posts"
msgstr ""
@ -760,7 +749,7 @@ msgid "You need to be logged-in to update an identity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:163
#: lib/graphql/resolvers/post.ex:176
msgid "You need to be logged-in to update posts"
msgstr ""
@ -823,3 +812,8 @@ msgstr ""
#: lib/mobilizon/users/user.ex:104
msgid "This email is already used."
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:84
msgid "Post not found"
msgstr ""

View File

@ -64,8 +64,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
variables: %{uuid: "b5126423-f1af-43e4-a923-002a03003ba5"}
)
assert [%{"message" => "Event with UUID b5126423-f1af-43e4-a923-002a03003ba5 not found"}] =
res["errors"]
assert [%{"message" => "Event not found"}] = res["errors"]
end
@create_event_mutation """
@ -167,7 +166,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
)
assert hd(res["errors"])["message"] ==
"ends_on cannot be set before begins_on"
["ends_on cannot be set before begins_on"]
end
test "create_event/3 creates an event", %{conn: conn, actor: actor, user: user} do
@ -374,7 +373,9 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
}
)
assert hd(res["errors"])["message"] == "must be greater than or equal to %{number}"
assert hd(res["errors"])["message"] == %{
"maximum_attendee_capacity" => ["must be greater than or equal to %{number}"]
}
end
test "create_event/3 creates an event with tags", %{conn: conn, actor: actor, user: user} do
@ -726,7 +727,7 @@ defmodule Mobilizon.Web.Resolvers.EventTest do
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] ==
"ends_on cannot be set before begins_on"
["ends_on cannot be set before begins_on"]
end
test "update_event/3 updates an event", %{conn: conn, actor: actor, user: user} do

View File

@ -231,7 +231,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PostTest do
}
)
assert hd(res["errors"])["message"] == "No such post"
assert hd(res["errors"])["message"] == "Post not found"
end
test "get_post/3 for an unlisted post", %{
@ -383,7 +383,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PostTest do
}
)
assert hd(res["errors"])["message"] == "No such post"
assert hd(res["errors"])["message"] == "Post not found"
end
test "get_post/3 without being connected for an unlisted post still gives the post", %{
@ -420,7 +420,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PostTest do
}
)
assert hd(res["errors"])["message"] == "No such post"
assert hd(res["errors"])["message"] == "Post not found"
end
test "get_post/3 without being a member for a draft post", %{
@ -440,7 +440,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PostTest do
}
)
assert hd(res["errors"])["message"] == "No such post"
assert hd(res["errors"])["message"] == "Post not found"
end
test "get_post/3 without being connected for a draft post", %{
@ -456,7 +456,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PostTest do
}
)
assert hd(res["errors"])["message"] == "No such post"
assert hd(res["errors"])["message"] == "Post not found"
end
end
@ -592,7 +592,7 @@ defmodule Mobilizon.GraphQL.Resolvers.PostTest do
}
)
assert hd(res["errors"])["message"] == "No such post"
assert hd(res["errors"])["message"] == "Post not found"
end
test "delete_post/3 deletes a post not found", %{

View File

@ -367,7 +367,7 @@ defmodule Mobilizon.GraphQL.Resolvers.UserTest do
conn
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] == "This email is already used."
assert hd(json_response(res, 200)["errors"])["message"] == ["This email is already used."]
end
test "create_user/3 doesn't allow registration when registration is closed", %{conn: conn} do
@ -614,7 +614,7 @@ defmodule Mobilizon.GraphQL.Resolvers.UserTest do
|> post("/api", AbsintheHelpers.mutation_skeleton(mutation))
assert hd(json_response(res, 200)["errors"])["message"] ==
"Email doesn't fit required format"
["Email doesn't fit required format"]
end
end