External projects moderator database (#5692)
* Begin external projects moderator database frontend * add copy link button * begin project page permissions settings * MEL database backend routes * include filename in external files * Hook up frontend external license page to backend * more work on user-facing external projects stuff * put user-facing stuff behind feature flag * prepr * clippy --------- Co-authored-by: aecsocket <aecsocket@tutanota.com>
This commit is contained in:
@@ -952,6 +952,10 @@ export const commonProjectSettingsMessages = defineMessages({
|
||||
id: 'project.settings.versions.title',
|
||||
defaultMessage: 'Versions',
|
||||
},
|
||||
permissions: {
|
||||
id: 'project.settings.versions.permissions',
|
||||
defaultMessage: 'Permissions',
|
||||
},
|
||||
view: {
|
||||
id: 'project.settings.view.title',
|
||||
defaultMessage: 'View',
|
||||
@@ -1090,3 +1094,30 @@ export const paymentMethodMessages = defineMessages({
|
||||
defaultMessage: 'Charities',
|
||||
},
|
||||
})
|
||||
|
||||
export const externalProjectLicenseStatusMessages = defineMessages({
|
||||
yes: {
|
||||
id: 'external-project-license-status.yes',
|
||||
defaultMessage: 'Yes',
|
||||
},
|
||||
'with-attribution-and-source': {
|
||||
id: 'external-project-license-status.with-attribution-and-source',
|
||||
defaultMessage: 'With attribution and source',
|
||||
},
|
||||
'with-attribution': {
|
||||
id: 'external-project-license-status.with-attribution',
|
||||
defaultMessage: 'With attribution',
|
||||
},
|
||||
no: {
|
||||
id: 'external-project-license-status.no',
|
||||
defaultMessage: 'No',
|
||||
},
|
||||
'permanent-no': {
|
||||
id: 'external-project-license-status.permanent-no',
|
||||
defaultMessage: 'Permanent no',
|
||||
},
|
||||
unidentified: {
|
||||
id: 'external-project-license-status.unidentified',
|
||||
defaultMessage: 'Unidentified',
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user