summaryrefslogtreecommitdiff
path: root/app/helpers/export_helper.rb
blob: 2699681fed7bad565dd3901714e459a88498e472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# frozen_string_literal: true

module ExportHelper
  # An EE-overwriteable list of descriptions
  def project_export_descriptions
    [
      _('Project and wiki repositories'),
      _('Project uploads'),
      _('Project configuration, excluding integrations'),
      _('Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities'),
      _('LFS objects'),
      _('Issue Boards'),
      _('Design Management files and data')
    ]
  end

  def group_export_descriptions
    [
      _('Milestones'),
      _('Labels'),
      _('Boards and board lists'),
      _('Badges'),
      _('Subgroups')
    ]
  end
end

ExportHelper.prepend_mod_with('ExportHelper')