Add a proper error message when adding an instance that doesn't respond

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-05-06 13:06:41 +02:00
parent 6a937d6ede
commit cd3d0c5fc4
82 changed files with 8792 additions and 8199 deletions

View File

@@ -25,198 +25,198 @@ msgstr ""
## date. Leave "msgstr"s empty as changing them here as no
## effect: edit them in PO (.po) files instead.
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:19
#: lib/web/templates/email/activity/_member_activity_item.html.heex:14
#: lib/web/templates/email/activity/_member_activity_item.text.eex:12
msgid "%{member} accepted the invitation to join the group."
msgstr "Ghabh %{member} ris a bhallrachd sa bhuidheann."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:26
#: lib/web/templates/email/activity/_member_activity_item.html.heex:19
#: lib/web/templates/email/activity/_member_activity_item.text.eex:17
msgid "%{member} rejected the invitation to join the group."
msgstr "Dhiùlt %{member} a bhallrachd sa bhuidheann."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:4
#: lib/web/templates/email/activity/_member_activity_item.html.heex:3
#: lib/web/templates/email/activity/_member_activity_item.text.eex:1
msgid "%{member} requested to join the group."
msgstr "Dhiarr %{member} ballrachd sa bhuidheann."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:11
#: lib/web/templates/email/activity/_member_activity_item.html.heex:8
#: lib/web/templates/email/activity/_member_activity_item.text.eex:6
msgid "%{member} was invited by %{profile}."
msgstr "Fhuair %{member} cuireadh o %{profile}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:40
#: lib/web/templates/email/activity/_member_activity_item.html.heex:30
#: lib/web/templates/email/activity/_member_activity_item.text.eex:27
msgid "%{profile} added the member %{member}."
msgstr "Chuir %{profile} am ball %{member} ris."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:46
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:27
#: lib/web/templates/email/activity/_discussion_activity_item.text.eex:19
msgid "%{profile} archived the discussion %{discussion}."
msgstr "Chuir %{profile} an deasbad %{discussion} san tasg-lann."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:4
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:3
#: lib/web/templates/email/activity/_discussion_activity_item.text.eex:1
msgid "%{profile} created the discussion %{discussion}."
msgstr "Chruthaich %{profile} an deasbad %{discussion}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:5
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:4
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:2
msgid "%{profile} created the folder %{resource}."
msgstr "Chruthaich %{profile} am pasgan %{resource}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_group_activity_item.html.heex:4
#: lib/web/templates/email/activity/_group_activity_item.html.heex:3
#: lib/web/templates/email/activity/_group_activity_item.text.eex:1
msgid "%{profile} created the group %{group}."
msgstr "Chruthaich %{profile} am buidheann %{group}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:20
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:14
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:8
msgid "%{profile} created the resource %{resource}."
msgstr "Chruthaich %{profile} an goireas %{resource}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:60
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:35
#: lib/web/templates/email/activity/_discussion_activity_item.text.eex:25
msgid "%{profile} deleted the discussion %{discussion}."
msgstr "Sguab %{profile} às an deasbad %{discussion}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:103
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:80
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:40
msgid "%{profile} deleted the folder %{resource}."
msgstr "Sguab %{profile} às am pasgan %{resource}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:111
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:86
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:45
msgid "%{profile} deleted the resource %{resource}."
msgstr "Sguab %{profile} às an goireas %{resource}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:56
#: lib/web/templates/email/activity/_member_activity_item.html.heex:42
#: lib/web/templates/email/activity/_member_activity_item.text.eex:39
msgid "%{profile} excluded member %{member}."
msgstr "Dhùin %{profile} am ball %{member} a-mach."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:71
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:58
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:28
msgid "%{profile} moved the folder %{resource}."
msgstr "Ghluais %{profile} am pasgan %{resource}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:86
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:68
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:34
msgid "%{profile} moved the resource %{resource}."
msgstr "Ghluais %{profile} an goireas %{resource}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:64
#: lib/web/templates/email/activity/_member_activity_item.html.heex:48
#: lib/web/templates/email/activity/_member_activity_item.text.eex:45
msgid "%{profile} quit the group."
msgstr "Dhfhàg %{profile} am buidheann."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:32
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:19
#: lib/web/templates/email/activity/_discussion_activity_item.text.eex:13
msgid "%{profile} renamed the discussion %{discussion}."
msgstr "Thug %{profile} ainm ùr air an deasbad %{discussion}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:37
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:26
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:14
msgid "%{profile} renamed the folder from %{old_resource_title} to %{resource}."
msgstr "Thug %{profile} %{resource} air a phasgan %{old_resource_title}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:53
#: lib/web/templates/email/activity/_resource_activity_item.html.heex:41
#: lib/web/templates/email/activity/_resource_activity_item.text.eex:21
msgid "%{profile} renamed the resource from %{old_resource_title} to %{resource}."
msgstr "Thug %{profile} %{resource} air a ghoireas %{old_resource_title}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:18
#: lib/web/templates/email/activity/_discussion_activity_item.html.heex:11
#: lib/web/templates/email/activity/_discussion_activity_item.text.eex:7
msgid "%{profile} replied to the discussion %{discussion}."
msgstr "Fhreagair %{profile} dhan deasbad %{discussion}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_group_activity_item.html.heex:19
#: lib/web/templates/email/activity/_group_activity_item.html.heex:13
#: lib/web/templates/email/activity/_group_activity_item.text.eex:7
msgid "%{profile} updated the group %{group}."
msgstr "Dhùraich %{profile} am buidheann %{group}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:48
#: lib/web/templates/email/activity/_member_activity_item.html.heex:36
#: lib/web/templates/email/activity/_member_activity_item.text.eex:33
msgid "%{profile} updated the member %{member}."
msgstr "Dhùraich %{profile} am ball %{member}."
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/event.ex:23
#: lib/web/templates/email/activity/_event_activity_item.html.heex:4
#: lib/web/templates/email/activity/_event_activity_item.html.heex:3
#: lib/web/templates/email/activity/_event_activity_item.text.eex:1
msgid "The event %{event} was created by %{profile}."
msgstr "Chaidh an tachartas %{event} a chruthachadh le %{profile}."
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/event.ex:43
#: lib/web/templates/email/activity/_event_activity_item.html.heex:34
#: lib/web/templates/email/activity/_event_activity_item.html.heex:23
#: lib/web/templates/email/activity/_event_activity_item.text.eex:13
msgid "The event %{event} was deleted by %{profile}."
msgstr "Chaidh an tachartas %{event} a sguabadh às le %{profile}."
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/event.ex:33
#: lib/web/templates/email/activity/_event_activity_item.html.heex:19
#: lib/web/templates/email/activity/_event_activity_item.html.heex:13
#: lib/web/templates/email/activity/_event_activity_item.text.eex:7
msgid "The event %{event} was updated by %{profile}."
msgstr "Chaidh an tachartas %{event} ùrachadh le %{profile}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_post_activity_item.html.heex:4
#: lib/web/templates/email/activity/_post_activity_item.html.heex:3
#: lib/web/templates/email/activity/_post_activity_item.text.eex:1
msgid "The post %{post} was created by %{profile}."
msgstr "Chaidh am post %{post} a chruthachadh le %{profile}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_post_activity_item.html.heex:34
#: lib/web/templates/email/activity/_post_activity_item.html.heex:23
#: lib/web/templates/email/activity/_post_activity_item.text.eex:13
msgid "The post %{post} was deleted by %{profile}."
msgstr "Chaidh am post %{post} a sguabadh às le %{profile}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_post_activity_item.html.heex:19
#: lib/web/templates/email/activity/_post_activity_item.html.heex:13
#: lib/web/templates/email/activity/_post_activity_item.text.eex:7
msgid "The post %{post} was updated by %{profile}."
msgstr "Chaidh am post %{post} ùrachadh le %{profile}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/activity/_member_activity_item.html.heex:33
#: lib/web/templates/email/activity/_member_activity_item.html.heex:24
#: lib/web/templates/email/activity/_member_activity_item.text.eex:22
msgid "%{member} joined the group."
msgstr "Fhuair %{member} ballrachd sa bhuidheann."
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/event.ex:63
#: lib/web/templates/email/activity/_event_activity_item.html.heex:58
#: lib/web/templates/email/activity/_event_activity_item.html.heex:40
#: lib/web/templates/email/activity/_event_activity_item.text.eex:25
msgid "%{profile} posted a comment on the event %{event}."
msgstr "Thug %{profile} beachd air an tachartas %{event}."
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/event.ex:54
#: lib/web/templates/email/activity/_event_activity_item.html.heex:43
#: lib/web/templates/email/activity/_event_activity_item.html.heex:30
#: lib/web/templates/email/activity/_event_activity_item.text.eex:19
msgid "%{profile} replied to a comment on the event %{event}."
msgstr "Fhreagair %{profile} do bheachd air an tachartas %{event}."
@@ -230,7 +230,7 @@ msgstr ""
"roghainnean agad."
#, elixir-format
#: lib/web/templates/email/email_direct_activity.html.heex:135
#: lib/web/templates/email/email_direct_activity.html.heex:219
#: lib/web/templates/email/email_direct_activity.text.eex:23
msgid "View one more activity"
msgid_plural "View %{count} more activities"
@@ -240,8 +240,8 @@ msgstr[2] "Seall %{count} gnìomhachdan a bharrachd"
msgstr[3] "Seall %{count} gnìomhachd a bharrachd"
#, elixir-format
#: lib/web/templates/email/email_direct_activity.html.heex:44
#: lib/web/templates/email/email_direct_activity.html.heex:46
#: lib/web/templates/email/email_direct_activity.html.heex:53
#: lib/web/templates/email/email_direct_activity.html.heex:60
#: lib/web/templates/email/email_direct_activity.text.eex:6
#: lib/web/templates/email/email_direct_activity.text.eex:7
msgid "There has been an activity!"
@@ -258,22 +258,22 @@ msgstr "Gnìomhachd air %{instance}"
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/comment.ex:38
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:19
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:13
#: lib/web/templates/email/activity/_comment_activity_item.text.eex:7
#: lib/web/templates/email/email_anonymous_activity.html.heex:41
#: lib/web/templates/email/email_anonymous_activity.html.heex:48
#: lib/web/templates/email/email_anonymous_activity.text.eex:5
msgid "%{profile} has posted an announcement under event %{event}."
msgstr "Chuir %{profile} brath-fios ris an tachartas %{event}."
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/comment.ex:24
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:4
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:3
#: lib/web/templates/email/activity/_comment_activity_item.text.eex:1
msgid "%{profile} mentionned you in a comment under event %{event}."
msgstr "Thug %{profile} iomradh ort ann am beachd san tachartas %{event}."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/email_direct_activity.html.heex:155
#: lib/web/templates/email/email_direct_activity.html.heex:249
msgid "Don't want to receive activity notifications? You may change frequency or disable them in %{tag_start}your settings%{tag_end}."
msgstr ""
"A bheil thu airson brathan fhaighinn mu ghnìomhachd? S urrainn dhut "
@@ -281,7 +281,7 @@ msgstr ""
"%{tag_start}roghainnean%{tag_end} agad."
#, elixir-autogen, elixir-format
#: lib/web/templates/email/email_direct_activity.html.heex:42
#: lib/web/templates/email/email_direct_activity.html.heex:51
#: lib/web/templates/email/email_direct_activity.text.eex:5
msgid "Here's your weekly activity recap"
msgstr "Seo dhut ath-shùil air gnìomhachd na seachdaine"
@@ -298,7 +298,7 @@ msgid "Daily activity recap for %{instance}"
msgstr "Ath-shùil air gnìomhachd %{instance} làitheil"
#, elixir-autogen, elixir-format
#: lib/web/templates/email/email_direct_activity.html.heex:40
#: lib/web/templates/email/email_direct_activity.html.heex:49
#: lib/web/templates/email/email_direct_activity.text.eex:4
msgid "Here's your daily activity recap"
msgstr "Seo dhut ath-shùil air gnìomhachd an latha"
@@ -310,14 +310,14 @@ msgstr "Ath-shùil air gnìomhachd %{instance} sheachdaineil"
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/comment.ex:66
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:51
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:34
#: lib/web/templates/email/activity/_comment_activity_item.text.eex:19
msgid "%{profile} has posted a new comment under your event %{event}."
msgstr "Thug %{profile} beachd ùr fon tachartas %{event} agad."
#, elixir-autogen, elixir-format
#: lib/service/activity/renderer/comment.ex:53
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:36
#: lib/web/templates/email/activity/_comment_activity_item.html.heex:24
#: lib/web/templates/email/activity/_comment_activity_item.text.eex:13
msgid "%{profile} has posted a new reply under your event %{event}."
msgstr "Chuir %{profile} freagairt ùr ris fon tachartas %{event} agad."

File diff suppressed because it is too large Load Diff

View File

@@ -169,10 +169,10 @@ msgstr ""
#: lib/graphql/resolvers/participant.ex:210
#: lib/graphql/resolvers/person.ex:236
#: lib/graphql/resolvers/person.ex:353
#: lib/graphql/resolvers/person.ex:388
#: lib/graphql/resolvers/person.ex:395
#: lib/graphql/resolvers/person.ex:423
#: lib/graphql/resolvers/person.ex:438
#: lib/graphql/resolvers/person.ex:389
#: lib/graphql/resolvers/person.ex:396
#: lib/graphql/resolvers/person.ex:425
#: lib/graphql/resolvers/person.ex:440
msgid "Profile is not owned by authenticated user"
msgstr ""
@@ -187,13 +187,13 @@ msgid "The current password is invalid"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:340
#: lib/graphql/resolvers/admin.ex:334
#: lib/graphql/resolvers/user.ex:470
msgid "The new email doesn't seem to be valid"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:343
#: lib/graphql/resolvers/admin.ex:337
#: lib/graphql/resolvers/user.ex:473
msgid "The new email must be different"
msgstr ""
@@ -652,17 +652,17 @@ msgid "You need to be logged-in and a moderator to view a report"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:256
#: lib/graphql/resolvers/admin.ex:250
msgid "You need to be logged-in and an administrator to access admin settings"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:240
#: lib/graphql/resolvers/admin.ex:234
msgid "You need to be logged-in and an administrator to access dashboard statistics"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:282
#: lib/graphql/resolvers/admin.ex:276
msgid "You need to be logged-in and an administrator to save admin settings"
msgstr ""
@@ -954,7 +954,7 @@ msgid "Failed to update the group"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:337
#: lib/graphql/resolvers/admin.ex:331
#: lib/graphql/resolvers/user.ex:467
msgid "Failed to update user email"
msgstr ""
@@ -1085,22 +1085,22 @@ msgid "Your email seems to be using an invalid format"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:386
#: lib/graphql/resolvers/admin.ex:380
msgid "Can't confirm an already confirmed user"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:390
#: lib/graphql/resolvers/admin.ex:384
msgid "Deconfirming users is not supported"
msgstr ""
#, elixir-autogen, elixir-format, fuzzy
#: lib/graphql/resolvers/admin.ex:362
#: lib/graphql/resolvers/admin.ex:356
msgid "The new role must be different"
msgstr ""
#, elixir-autogen, elixir-format, fuzzy
#: lib/graphql/resolvers/admin.ex:313
#: lib/graphql/resolvers/admin.ex:307
msgid "You need to be logged-in and an administrator to edit an user's details"
msgstr ""
@@ -1108,3 +1108,8 @@ msgstr ""
#: lib/graphql/api/groups.ex:33
msgid "A profile or group with that name already exists"
msgstr ""
#, elixir-autogen, elixir-format
#: lib/graphql/resolvers/admin.ex:506
msgid "Unable to find an instance to follow at this address"
msgstr ""