2019-12-21 20:55:43 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module ExportHelper
|
|
|
|
# An EE-overwriteable list of descriptions
|
|
|
|
def project_export_descriptions
|
|
|
|
[
|
|
|
|
_('Project and wiki repositories'),
|
|
|
|
_('Project uploads'),
|
|
|
|
_('Project configuration, including services'),
|
|
|
|
_('Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities'),
|
|
|
|
_('LFS objects'),
|
2020-05-24 23:13:21 +05:30
|
|
|
_('Issue Boards'),
|
|
|
|
_('Design Management files and data')
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
|
|
|
def group_export_descriptions
|
|
|
|
[
|
|
|
|
_('Milestones'),
|
|
|
|
_('Labels'),
|
|
|
|
_('Boards and Board Lists'),
|
|
|
|
_('Badges'),
|
|
|
|
_('Subgroups')
|
2019-12-21 20:55:43 +05:30
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
ExportHelper.prepend_if_ee('EE::ExportHelper')
|