2019-09-27 05:06:26 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module ExportHelper
|
|
|
|
# An EE-overwriteable list of descriptions
|
|
|
|
def project_export_descriptions
|
|
|
|
[
|
|
|
|
_('Project and wiki repositories'),
|
|
|
|
_('Project uploads'),
|
2020-07-10 05:09:01 -04:00
|
|
|
_('Project configuration, excluding integrations'),
|
2019-09-27 05:06:26 -04:00
|
|
|
_('Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities'),
|
|
|
|
_('LFS objects'),
|
2020-05-12 17:08:14 -04:00
|
|
|
_('Issue Boards'),
|
|
|
|
_('Design Management files and data')
|
2019-09-27 05:06:26 -04:00
|
|
|
]
|
|
|
|
end
|
2020-04-21 14:09:31 -04:00
|
|
|
|
|
|
|
def group_export_descriptions
|
|
|
|
[
|
|
|
|
_('Milestones'),
|
|
|
|
_('Labels'),
|
|
|
|
_('Boards and Board Lists'),
|
|
|
|
_('Badges'),
|
|
|
|
_('Subgroups')
|
|
|
|
]
|
|
|
|
end
|
2019-09-27 05:06:26 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
ExportHelper.prepend_if_ee('EE::ExportHelper')
|