Feed improvements

And show public feed links on the group page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-01-19 11:24:21 +01:00
parent e0d9762f36
commit e76a270e72
53 changed files with 4071 additions and 4152 deletions

View File

@@ -20,11 +20,6 @@ msgstr ""
msgid "If you didn't request this, please ignore this email. Your password won't change until you access the link below and create a new one."
msgstr ""
#, elixir-format
#: lib/service/export/feed.ex:170
msgid "Feed for %{email} on Mobilizon"
msgstr ""
#, elixir-format
#: lib/web/templates/email/report.html.eex:74
msgid "%{title} by %{creator}"
@@ -145,7 +140,7 @@ msgid "Warning"
msgstr "تنبيه"
#, elixir-format
#: lib/web/email/participation.ex:134
#: lib/web/email/participation.ex:135
msgid "Confirm your participation to event %{title}"
msgstr ""
@@ -328,7 +323,7 @@ msgid "Mobilizon on %{instance}: email changed"
msgstr ""
#, elixir-format
#: lib/web/email/notification.ex:46
#: lib/web/email/notification.ex:47
msgid "One event planned today"
msgid_plural "%{nb_events} events planned today"
msgstr[0] ""
@@ -389,12 +384,12 @@ msgid "View the event on: %{link}"
msgstr ""
#, elixir-format
#: lib/web/email/group.ex:32
#: lib/web/email/group.ex:33
msgid "You have been invited by %{inviter} to join group %{group}"
msgstr ""
#, elixir-format
#: lib/web/email/notification.ex:70
#: lib/web/email/notification.ex:71
msgid "One event planned this week"
msgid_plural "%{nb_events} events planned this week"
msgstr[0] ""
@@ -405,7 +400,7 @@ msgstr[4] ""
msgstr[5] ""
#, elixir-format
#: lib/web/email/notification.ex:92
#: lib/web/email/notification.ex:93
msgid "One participation request for event %{title} to process"
msgid_plural "%{number_participation_requests} participation requests for event %{title} to process"
msgstr[0] ""
@@ -1081,7 +1076,7 @@ msgid "So long, and thanks for the fish!"
msgstr ""
#, elixir-format
#: lib/web/email/group.ex:62
#: lib/web/email/group.ex:63
msgid "You have been removed from group %{group}"
msgstr ""
@@ -1137,12 +1132,12 @@ msgid "Your instance's moderation team has decided to suspend %{group_name} (%{g
msgstr ""
#, elixir-format
#: lib/web/email/group.ex:135
#: lib/web/email/group.ex:136
msgid "The group %{group} has been deleted on %{instance}"
msgstr ""
#, elixir-format
#: lib/web/email/group.ex:96
#: lib/web/email/group.ex:97
msgid "The group %{group} has been suspended on %{instance}"
msgstr ""
@@ -1302,12 +1297,12 @@ msgid "You have now confirmed your participation. Update your calendar, because
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:91
#: lib/mobilizon/posts/post.ex:94
msgid "A text is required for the post"
msgstr ""
#, elixir-format
#: lib/mobilizon/posts/post.ex:90
#: lib/mobilizon/posts/post.ex:93
msgid "A title is required for the post"
msgstr ""
@@ -1399,3 +1394,23 @@ msgstr ""
#: lib/web/templates/email/email.text.eex:4
msgid "This is a demonstration site to test Mobilizon."
msgstr ""
#, elixir-format
#: lib/service/metadata/actor.ex:53 lib/service/metadata/actor.ex:60
msgid "%{name}'s feed"
msgstr ""
#, elixir-format
#: lib/service/export/feed.ex:77
msgid "%{actor}'s private events feed on %{instance}"
msgstr ""
#, elixir-format
#: lib/service/export/feed.ex:72
msgid "%{actor}'s public events feed on %{instance}"
msgstr ""
#, elixir-format
#: lib/service/export/feed.ex:203
msgid "Feed for %{email} on %{instance}"
msgstr ""

View File

@@ -124,12 +124,12 @@ msgid "Cannot refresh the token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:198
#: lib/graphql/resolvers/group.ex:195
msgid "Current profile is not a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:202
#: lib/graphql/resolvers/group.ex:199
msgid "Current profile is not an administrator of the selected group"
msgstr ""
@@ -139,13 +139,13 @@ msgid "Error while saving user settings"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:195
#: lib/graphql/resolvers/group.ex:226 lib/graphql/resolvers/group.ex:261 lib/graphql/resolvers/member.ex:80
#: lib/graphql/error.ex:90 lib/graphql/resolvers/group.ex:192
#: lib/graphql/resolvers/group.ex:223 lib/graphql/resolvers/group.ex:258 lib/graphql/resolvers/member.ex:80
msgid "Group not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:66
#: lib/graphql/resolvers/group.ex:63
msgid "Group with ID %{id} not found"
msgstr ""
@@ -155,7 +155,7 @@ msgid "Impossible to authenticate, either your email or password are invalid."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:258
#: lib/graphql/resolvers/group.ex:255
msgid "Member not found"
msgstr ""
@@ -171,16 +171,15 @@ msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:229 lib/graphql/resolvers/user.ex:76
#: lib/graphql/resolvers/user.ex:219
#: lib/graphql/resolvers/person.ex:249 lib/graphql/resolvers/user.ex:219
msgid "No user with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/participant.ex:29 lib/graphql/resolvers/participant.ex:160
#: lib/graphql/resolvers/participant.ex:189 lib/graphql/resolvers/person.ex:153 lib/graphql/resolvers/person.ex:187
#: lib/graphql/resolvers/person.ex:253 lib/graphql/resolvers/person.ex:282 lib/graphql/resolvers/person.ex:295
#: lib/graphql/resolvers/participant.ex:28 lib/graphql/resolvers/participant.ex:159
#: lib/graphql/resolvers/participant.ex:188 lib/graphql/resolvers/person.ex:161 lib/graphql/resolvers/person.ex:195
#: lib/graphql/resolvers/person.ex:273 lib/graphql/resolvers/person.ex:302 lib/graphql/resolvers/person.ex:315
msgid "Profile is not owned by authenticated user"
msgstr ""
@@ -246,22 +245,22 @@ msgid "User requested is not logged-in"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:232
#: lib/graphql/resolvers/group.ex:229
msgid "You are already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:265
#: lib/graphql/resolvers/group.ex:262
msgid "You can't leave this group because you are the only administrator"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:229
#: lib/graphql/resolvers/group.ex:226
msgid "You cannot join this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:94
#: lib/graphql/resolvers/group.ex:91
msgid "You may not list groups unless moderator."
msgstr ""
@@ -276,7 +275,7 @@ msgid "You need to be logged-in to change your password"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:207
#: lib/graphql/resolvers/group.ex:204
msgid "You need to be logged-in to delete a group"
msgstr ""
@@ -286,25 +285,20 @@ msgid "You need to be logged-in to delete your account"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:237
#: lib/graphql/resolvers/group.ex:234
msgid "You need to be logged-in to join a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:270
#: lib/graphql/resolvers/group.ex:267
msgid "You need to be logged-in to leave a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:172
#: lib/graphql/resolvers/group.ex:169
msgid "You need to be logged-in to update a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:58
msgid "You need to have admin access to list users"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:108
msgid "You need to have an existing token to get a refresh token"
@@ -356,22 +350,22 @@ msgid "Profile already suspended"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:93
#: lib/graphql/resolvers/participant.ex:92
msgid "A valid email is required by your instance"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:86
msgid "Anonymous participation is not enabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:184
#: lib/graphql/resolvers/person.ex:192
msgid "Cannot remove the last administrator of a group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:181
#: lib/graphql/resolvers/person.ex:189
msgid "Cannot remove the last identity of a user"
msgstr ""
@@ -381,7 +375,7 @@ msgid "Comment is already deleted"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:61
#: lib/graphql/resolvers/discussion.ex:62
msgid "Discussion not found"
msgstr ""
@@ -396,29 +390,29 @@ msgid "Error while updating report"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:128
#: lib/graphql/resolvers/participant.ex:127
msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:235
#: lib/graphql/resolvers/event.ex:279
#: lib/graphql/error.ex:89 lib/graphql/resolvers/event.ex:236
#: lib/graphql/resolvers/event.ex:280
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:84
#: lib/graphql/resolvers/participant.ex:125 lib/graphql/resolvers/participant.ex:157
#: lib/graphql/resolvers/participant.ex:83
#: lib/graphql/resolvers/participant.ex:124 lib/graphql/resolvers/participant.ex:156
msgid "Event with this ID %{id} doesn't exist"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:100
#: lib/graphql/resolvers/participant.ex:99
msgid "Internal Error"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:193
#: lib/graphql/resolvers/discussion.ex:186
msgid "No discussion with ID %{id}"
msgstr ""
@@ -433,14 +427,14 @@ msgid "No such feed token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:238
#: lib/graphql/resolvers/participant.ex:237
msgid "Participant already has role %{role}"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:170
#: lib/graphql/resolvers/participant.ex:199 lib/graphql/resolvers/participant.ex:231
#: lib/graphql/resolvers/participant.ex:241
#: lib/graphql/resolvers/participant.ex:169
#: lib/graphql/resolvers/participant.ex:198 lib/graphql/resolvers/participant.ex:230
#: lib/graphql/resolvers/participant.ex:240
msgid "Participant not found"
msgstr ""
@@ -450,22 +444,17 @@ msgid "Person with ID %{id} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:50
#: lib/graphql/resolvers/person.ex:51
msgid "Person with username %{username} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/picture.ex:41
msgid "Picture with ID %{id} was not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:165 lib/graphql/resolvers/post.ex:198
#: lib/graphql/resolvers/post.ex:167 lib/graphql/resolvers/post.ex:200
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:168 lib/graphql/resolvers/post.ex:201
#: lib/graphql/resolvers/post.ex:170 lib/graphql/resolvers/post.ex:203
msgid "Post doesn't exist"
msgstr ""
@@ -480,8 +469,8 @@ msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:131 lib/graphql/resolvers/post.ex:171
#: lib/graphql/resolvers/post.ex:204 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/post.ex:132 lib/graphql/resolvers/post.ex:173
#: lib/graphql/resolvers/post.ex:206 lib/graphql/resolvers/resource.ex:87 lib/graphql/resolvers/resource.ex:124
#: lib/graphql/resolvers/resource.ex:153 lib/graphql/resolvers/resource.ex:182 lib/graphql/resolvers/todos.ex:57
#: lib/graphql/resolvers/todos.ex:81 lib/graphql/resolvers/todos.ex:99 lib/graphql/resolvers/todos.ex:171
#: lib/graphql/resolvers/todos.ex:194 lib/graphql/resolvers/todos.ex:222
@@ -489,12 +478,12 @@ msgid "Profile is not member of group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:150 lib/graphql/resolvers/person.ex:178
#: lib/graphql/resolvers/person.ex:158 lib/graphql/resolvers/person.ex:186
msgid "Profile not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:101 lib/graphql/resolvers/participant.ex:235
#: lib/graphql/resolvers/event.ex:100 lib/graphql/resolvers/participant.ex:234
msgid "Provided moderator profile doesn't have permission on this event"
msgstr ""
@@ -509,12 +498,12 @@ msgid "Resource doesn't exist"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:121
#: lib/graphql/resolvers/participant.ex:120
msgid "The event has already reached its maximum capacity"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:261
#: lib/graphql/resolvers/participant.ex:260
msgid "This token is invalid"
msgstr ""
@@ -540,22 +529,22 @@ msgid "Token is not a valid UUID"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:317
#: lib/graphql/error.ex:87 lib/graphql/resolvers/person.ex:331
msgid "User not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:232
#: lib/graphql/resolvers/person.ex:252
msgid "You already have a profile for this user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:131
#: lib/graphql/resolvers/participant.ex:130
msgid "You are already a participant of this event"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:197
#: lib/graphql/resolvers/discussion.ex:190
msgid "You are not a member of the group the discussion belongs to"
msgstr ""
@@ -595,8 +584,8 @@ msgid "You are not allowed to update a comment if not connected"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:164
#: lib/graphql/resolvers/participant.ex:193
#: lib/graphql/resolvers/participant.ex:163
#: lib/graphql/resolvers/participant.ex:192
msgid "You can't leave event because you're the only event creator participant"
msgstr ""
@@ -611,7 +600,7 @@ msgid "You cannot delete this comment"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:275
#: lib/graphql/resolvers/event.ex:276
msgid "You cannot delete this event"
msgstr ""
@@ -661,7 +650,7 @@ msgid "You need to be logged-in and an administrator to save admin settings"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:75
#: lib/graphql/resolvers/discussion.ex:76
msgid "You need to be logged-in to access discussions"
msgstr ""
@@ -671,12 +660,12 @@ msgid "You need to be logged-in to access resources"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:210
#: lib/graphql/resolvers/event.ex:211
msgid "You need to be logged-in to create events"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:139
#: lib/graphql/resolvers/post.ex:140
msgid "You need to be logged-in to create posts"
msgstr ""
@@ -691,12 +680,12 @@ msgid "You need to be logged-in to create resources"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:284
#: lib/graphql/resolvers/event.ex:285
msgid "You need to be logged-in to delete an event"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:209
#: lib/graphql/resolvers/post.ex:211
msgid "You need to be logged-in to delete posts"
msgstr ""
@@ -706,22 +695,22 @@ msgid "You need to be logged-in to delete resources"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:105
#: lib/graphql/resolvers/participant.ex:104
msgid "You need to be logged-in to join an event"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:204
#: lib/graphql/resolvers/participant.ex:203
msgid "You need to be logged-in to leave an event"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:249
#: lib/graphql/resolvers/event.ex:250
msgid "You need to be logged-in to update an event"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:176
#: lib/graphql/resolvers/post.ex:178
msgid "You need to be logged-in to update posts"
msgstr ""
@@ -735,11 +724,6 @@ msgstr ""
msgid "You need to be logged-in to view a resource preview"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/picture.ex:79
msgid "You need to login to upload a picture"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:121
msgid "Parent resource doesn't belong to this group"
@@ -816,22 +800,22 @@ msgid "You can't reject this invitation with this profile."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/picture.ex:71
#: lib/graphql/resolvers/media.ex:62
msgid "File doesn't have an allowed MIME type."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:167
#: lib/graphql/resolvers/group.ex:164
msgid "Profile is not administrator for the group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:238
#: lib/graphql/resolvers/event.ex:239
msgid "You can't edit this event."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:241
#: lib/graphql/resolvers/event.ex:242
msgid "You can't attribute this event to this profile."
msgstr ""
@@ -851,21 +835,27 @@ msgid "You don't have the right to remove this member."
msgstr ""
#, elixir-format
#: lib/mobilizon/actors/actor.ex:344
#: lib/mobilizon/actors/actor.ex:351
msgid "This username is already taken."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/discussion.ex:72
#: lib/graphql/resolvers/discussion.ex:73
msgid "You must provide either an ID or a slug to access a discussion"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:199
#: lib/graphql/resolvers/event.ex:200
msgid "Organizer profile is not owned by the user"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:90
#: lib/graphql/resolvers/participant.ex:89
msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:128 lib/graphql/resolvers/person.ex:155
#: lib/graphql/resolvers/person.ex:246
msgid "The provided picture is too heavy"
msgstr ""