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'),
|
2020-07-28 23:09:34 +05:30
|
|
|
_('Project configuration, excluding integrations'),
|
2019-12-21 20:55:43 +05:30
|
|
|
_('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'),
|
2022-01-26 12:08:38 +05:30
|
|
|
_('Boards and board lists'),
|
2020-05-24 23:13:21 +05:30
|
|
|
_('Badges'),
|
|
|
|
_('Subgroups')
|
2019-12-21 20:55:43 +05:30
|
|
|
]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2021-06-08 01:23:25 +05:30
|
|
|
ExportHelper.prepend_mod_with('ExportHelper')
|