Fix posts and rework graphql errors
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -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 ""
|
||||
|
||||
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user