Improve admin views (2)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-01-14 18:10:50 +01:00
parent ca6ef9b06b
commit 6e5061250c
108 changed files with 12041 additions and 2526 deletions

View File

@@ -118,14 +118,19 @@ msgid "Error while saving user settings"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:99 lib/graphql/resolvers/group.ex:249
#: lib/graphql/resolvers/group.ex:281 lib/graphql/resolvers/group.ex:318 lib/graphql/resolvers/group.ex:349
#: lib/graphql/resolvers/group.ex:398 lib/graphql/resolvers/member.ex:81
#: lib/graphql/error.ex:99
#: lib/graphql/resolvers/group.ex:249
#: lib/graphql/resolvers/group.ex:281
#: lib/graphql/resolvers/group.ex:318
#: lib/graphql/resolvers/group.ex:349
#: lib/graphql/resolvers/group.ex:398
#: lib/graphql/resolvers/member.ex:81
msgid "Group not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:78 lib/graphql/resolvers/group.ex:82
#: lib/graphql/resolvers/group.ex:78
#: lib/graphql/resolvers/group.ex:82
msgid "Group with ID %{id} not found"
msgstr ""
@@ -150,15 +155,21 @@ msgid "No user to validate with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/person.ex:314 lib/graphql/resolvers/user.ex:298
#: lib/graphql/resolvers/person.ex:314
#: lib/graphql/resolvers/user.ex:298
msgid "No user with this email was found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:28
#: lib/graphql/resolvers/participant.ex:32 lib/graphql/resolvers/participant.ex:210 lib/graphql/resolvers/person.ex:236
#: lib/graphql/resolvers/person.ex:353 lib/graphql/resolvers/person.ex:380 lib/graphql/resolvers/person.ex:397
#: lib/graphql/resolvers/person.ex:425 lib/graphql/resolvers/person.ex:440
#: lib/graphql/resolvers/participant.ex:32
#: lib/graphql/resolvers/participant.ex:210
#: lib/graphql/resolvers/person.ex:236
#: lib/graphql/resolvers/person.ex:353
#: lib/graphql/resolvers/person.ex:380
#: lib/graphql/resolvers/person.ex:397
#: lib/graphql/resolvers/person.ex:425
#: lib/graphql/resolvers/person.ex:440
msgid "Profile is not owned by authenticated user"
msgstr ""
@@ -173,11 +184,13 @@ msgid "The current password is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/admin.ex:341
#: lib/graphql/resolvers/user.ex:472
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/admin.ex:344
#: lib/graphql/resolvers/user.ex:475
msgid "The new email must be different"
msgstr ""
@@ -188,7 +201,8 @@ msgid "The new password must be different"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:479 lib/graphql/resolvers/user.ex:541
#: lib/graphql/resolvers/user.ex:479
#: lib/graphql/resolvers/user.ex:541
#: lib/graphql/resolvers/user.ex:544
msgid "The password provided is invalid"
msgstr ""
@@ -209,7 +223,8 @@ msgid "This user has been disabled"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:252 lib/graphql/resolvers/user.ex:257
#: lib/graphql/resolvers/user.ex:252
#: lib/graphql/resolvers/user.ex:257
msgid "Unable to validate user"
msgstr ""
@@ -284,7 +299,8 @@ msgid "You need to have an existing token to get a refresh token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/user.ex:276 lib/graphql/resolvers/user.ex:301
#: lib/graphql/resolvers/user.ex:276
#: lib/graphql/resolvers/user.ex:301
msgid "You requested again a confirmation email too soon"
msgstr ""
@@ -304,7 +320,8 @@ msgid "No profile found with this ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:61 lib/graphql/resolvers/actor.ex:97
#: lib/graphql/resolvers/actor.ex:61
#: lib/graphql/resolvers/actor.ex:97
msgid "No remote profile found with this ID"
msgstr ""
@@ -355,17 +372,19 @@ msgid "Comment is already deleted"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:101 lib/graphql/resolvers/discussion.ex:69
#: lib/graphql/error.ex:101
#: lib/graphql/resolvers/discussion.ex:69
msgid "Discussion not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:63 lib/graphql/resolvers/report.ex:82
#: lib/graphql/resolvers/report.ex:71
#: lib/graphql/resolvers/report.ex:90
msgid "Error while saving report"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:102
#: lib/graphql/resolvers/report.ex:110
msgid "Error while updating report"
msgstr ""
@@ -375,14 +394,16 @@ msgid "Event id not found"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:98 lib/graphql/resolvers/event.ex:360
#: lib/graphql/error.ex:98
#: lib/graphql/resolvers/event.ex:360
#: lib/graphql/resolvers/event.ex:412
msgid "Event not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:87
#: lib/graphql/resolvers/participant.ex:128 lib/graphql/resolvers/participant.ex:155
#: lib/graphql/resolvers/participant.ex:128
#: lib/graphql/resolvers/participant.ex:155
#: lib/graphql/resolvers/participant.ex:336
msgid "Event with this ID %{id} doesn't exist"
msgstr ""
@@ -398,8 +419,11 @@ msgid "No discussion with ID %{id}"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/todos.ex:80 lib/graphql/resolvers/todos.ex:107
#: lib/graphql/resolvers/todos.ex:179 lib/graphql/resolvers/todos.ex:208 lib/graphql/resolvers/todos.ex:237
#: lib/graphql/resolvers/todos.ex:80
#: lib/graphql/resolvers/todos.ex:107
#: lib/graphql/resolvers/todos.ex:179
#: lib/graphql/resolvers/todos.ex:208
#: lib/graphql/resolvers/todos.ex:237
msgid "No profile found for user"
msgstr ""
@@ -415,7 +439,8 @@ msgstr ""
#, elixir-format
#: lib/graphql/resolvers/participant.ex:187
#: lib/graphql/resolvers/participant.ex:220 lib/graphql/resolvers/participant.ex:263
#: lib/graphql/resolvers/participant.ex:220
#: lib/graphql/resolvers/participant.ex:263
msgid "Participant not found"
msgstr ""
@@ -430,12 +455,14 @@ msgid "Person with username %{username} not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:169 lib/graphql/resolvers/post.ex:203
#: lib/graphql/resolvers/post.ex:169
#: lib/graphql/resolvers/post.ex:203
msgid "Post ID is not a valid ID"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:172 lib/graphql/resolvers/post.ex:206
#: lib/graphql/resolvers/post.ex:172
#: lib/graphql/resolvers/post.ex:206
msgid "Post doesn't exist"
msgstr ""
@@ -445,31 +472,42 @@ msgid "Profile invited doesn't exist"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:93 lib/graphql/resolvers/member.ex:97
#: lib/graphql/resolvers/member.ex:93
#: lib/graphql/resolvers/member.ex:97
msgid "Profile is already a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/post.ex:133 lib/graphql/resolvers/post.ex:175
#: lib/graphql/resolvers/post.ex:209 lib/graphql/resolvers/resource.ex:90 lib/graphql/resolvers/resource.ex:132
#: lib/graphql/resolvers/resource.ex:165 lib/graphql/resolvers/resource.ex:199 lib/graphql/resolvers/todos.ex:58
#: lib/graphql/resolvers/todos.ex:83 lib/graphql/resolvers/todos.ex:110 lib/graphql/resolvers/todos.ex:182
#: lib/graphql/resolvers/todos.ex:214 lib/graphql/resolvers/todos.ex:246
#: lib/graphql/resolvers/post.ex:133
#: lib/graphql/resolvers/post.ex:175
#: lib/graphql/resolvers/post.ex:209
#: lib/graphql/resolvers/resource.ex:90
#: lib/graphql/resolvers/resource.ex:132
#: lib/graphql/resolvers/resource.ex:165
#: lib/graphql/resolvers/resource.ex:199
#: lib/graphql/resolvers/todos.ex:58
#: lib/graphql/resolvers/todos.ex:83
#: lib/graphql/resolvers/todos.ex:110
#: lib/graphql/resolvers/todos.ex:182
#: lib/graphql/resolvers/todos.ex:214
#: lib/graphql/resolvers/todos.ex:246
msgid "Profile is not member of group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/actor.ex:67 lib/graphql/resolvers/person.ex:233
#: lib/graphql/resolvers/actor.ex:67
#: lib/graphql/resolvers/person.ex:233
msgid "Profile not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:40
#: lib/graphql/resolvers/report.ex:48
msgid "Report not found"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/resource.ex:169 lib/graphql/resolvers/resource.ex:196
#: lib/graphql/resolvers/resource.ex:169
#: lib/graphql/resolvers/resource.ex:196
msgid "Resource doesn't exist"
msgstr ""
@@ -484,12 +522,14 @@ msgid "This token is invalid"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/todos.ex:176 lib/graphql/resolvers/todos.ex:243
#: lib/graphql/resolvers/todos.ex:176
#: lib/graphql/resolvers/todos.ex:243
msgid "Todo doesn't exist"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/todos.ex:77 lib/graphql/resolvers/todos.ex:211
#: lib/graphql/resolvers/todos.ex:77
#: lib/graphql/resolvers/todos.ex:211
#: lib/graphql/resolvers/todos.ex:240
msgid "Todo list doesn't exist"
msgstr ""
@@ -500,12 +540,13 @@ msgid "Token does not exist"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/feed_token.ex:67 lib/graphql/resolvers/feed_token.ex:70
#: lib/graphql/resolvers/feed_token.ex:67
#: lib/graphql/resolvers/feed_token.ex:70
msgid "Token is not a valid UUID"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:96 lib/graphql/resolvers/person.ex:458
#: lib/graphql/error.ex:96
msgid "User not found"
msgstr ""
@@ -525,7 +566,8 @@ msgid "You are not a member of this group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/member.ex:157 lib/graphql/resolvers/member.ex:173
#: lib/graphql/resolvers/member.ex:157
#: lib/graphql/resolvers/member.ex:173
#: lib/graphql/resolvers/member.ex:188
msgid "You are not a moderator or admin for this group"
msgstr ""
@@ -587,37 +629,37 @@ msgid "You don't have permission to delete this token"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/admin.ex:54
#: lib/graphql/resolvers/admin.ex:56
msgid "You need to be logged-in and a moderator to list action logs"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:28
#: lib/graphql/resolvers/report.ex:36
msgid "You need to be logged-in and a moderator to list reports"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:107
#: lib/graphql/resolvers/report.ex:115
msgid "You need to be logged-in and a moderator to update a report"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:45
#: lib/graphql/resolvers/report.ex:53
msgid "You need to be logged-in and a moderator to view a report"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/admin.ex:255
#: lib/graphql/resolvers/admin.ex:257
msgid "You need to be logged-in and an administrator to access admin settings"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/admin.ex:239
#: lib/graphql/resolvers/admin.ex:241
msgid "You need to be logged-in and an administrator to access dashboard statistics"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/admin.ex:281
#: lib/graphql/resolvers/admin.ex:283
msgid "You need to be logged-in and an administrator to save admin settings"
msgstr ""
@@ -642,7 +684,7 @@ msgid "You need to be logged-in to create posts"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/report.ex:79
#: lib/graphql/resolvers/report.ex:87
msgid "You need to be logged-in to create reports"
msgstr ""
@@ -737,7 +779,8 @@ msgid "Reset your password to login"
msgstr ""
#, elixir-format
#: lib/graphql/error.ex:95 lib/graphql/error.ex:100
#: lib/graphql/error.ex:95
#: lib/graphql/error.ex:100
msgid "Resource not found"
msgstr ""
@@ -827,8 +870,11 @@ msgid "Profile ID provided is not the anonymous profile one"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/group.ex:161 lib/graphql/resolvers/group.ex:203
#: lib/graphql/resolvers/person.ex:148 lib/graphql/resolvers/person.ex:182 lib/graphql/resolvers/person.ex:304
#: lib/graphql/resolvers/group.ex:161
#: lib/graphql/resolvers/group.ex:203
#: lib/graphql/resolvers/person.ex:148
#: lib/graphql/resolvers/person.ex:182
#: lib/graphql/resolvers/person.ex:304
msgid "The provided picture is too heavy"
msgstr ""
@@ -853,7 +899,8 @@ msgid "Unable to fetch resource details from this URL."
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/event.ex:164 lib/graphql/resolvers/participant.ex:253
#: lib/graphql/resolvers/event.ex:164
#: lib/graphql/resolvers/participant.ex:253
#: lib/graphql/resolvers/participant.ex:328
msgid "Provided profile doesn't have moderator permissions on this event"
msgstr ""
@@ -904,6 +951,7 @@ msgid "Failed to update the group"
msgstr ""
#, elixir-format
#: lib/graphql/resolvers/admin.ex:338
#: lib/graphql/resolvers/user.ex:469
msgid "Failed to update user email"
msgstr ""
@@ -1032,3 +1080,23 @@ msgstr ""
#: lib/graphql/resolvers/user.ex:157
msgid "Your email seems to be using an invalid format"
msgstr ""
#, elixir-format, ex-autogen
#: lib/graphql/resolvers/admin.ex:387
msgid "Can't confirm an already confirmed user"
msgstr ""
#, elixir-format, ex-autogen
#: lib/graphql/resolvers/admin.ex:391
msgid "Deconfirming users is not supported"
msgstr ""
#, elixir-format, ex-autogen, fuzzy
#: lib/graphql/resolvers/admin.ex:363
msgid "The new role must be different"
msgstr ""
#, elixir-format, ex-autogen, fuzzy
#: lib/graphql/resolvers/admin.ex:314
msgid "You need to be logged-in and an administrator to edit an user's details"
msgstr ""