summaryrefslogtreecommitdiff
path: root/app/helpers/export_helper.rb
blob: 38a4f7f1b4b971224c988909853c966afad27685 (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_if_ee('EE::ExportHelper')