summaryrefslogtreecommitdiff
path: root/app/views/notify/github_gists_import_errors_email.text.erb
blob: 2743a65826960c5e2b128cc4cd7ec4fa6dcbdaa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<%= s_('GithubImporter|Your import of GitHub gists into GitLab snippets is complete.') %>

<%= s_('GithubImporter|GitHub gists that were not imported:') %>
<% @errors.each do |gist_id, error| %>
  - <%= s_("GithubImporter|Gist with id %{gist_id} failed due to error: %{error}.") % { gist_id: gist_id, error: error } %>
  <% if error == Gitlab::GithubGistsImport::Importer::GistImporter::FILE_COUNT_LIMIT_MESSAGE %>
    <% import_snippets_url = help_page_url('api/import.md', anchor: 'import-github-gists-into-gitlab-snippets') %>
    <%= s_("GithubImporter|Please follow %{import_snippets_url} for more details.") % { import_snippets_url: import_snippets_url } %>
  <% end %>
<% end %>

<%= s_('GithubImporter|GitHub gists with more than 10 files must be manually migrated.') %>