diff --git a/packages/moderation/data/messages/license/invalid_link.md b/packages/moderation/data/messages/license/invalid_link.md index 0c581bdaf..080d4deae 100644 --- a/packages/moderation/data/messages/license/invalid_link.md +++ b/packages/moderation/data/messages/license/invalid_link.md @@ -1,4 +1,4 @@ ## Invalid License Link -It's important that your project's License link is accurate and leads directly to a valid license for this content. +It's important that your project's %PROJECT_LICENSE_FLINK% link is accurate and leads directly to a valid license for this content. Your current link: `%PROJECT_LICENSE_URL%` does not appear to lead to a valid license for this project, or it is not publicly accessible. diff --git a/packages/moderation/data/messages/license/no_source-fork.md b/packages/moderation/data/messages/license/no_source-fork.md index 1ff659c73..ded248ea3 100644 --- a/packages/moderation/data/messages/license/no_source-fork.md +++ b/packages/moderation/data/messages/license/no_source-fork.md @@ -1,5 +1,5 @@ ## No Source Code Provided -Your project's license of `%PROJECT_LICENSE_NAME%`, requires source disclosure. +Your project's %PROJECT_LICENSE_FLINK% of `%PROJECT_LICENSE_NAME%`, requires source disclosure. Consider adding a Source link to your project's repository, or including a Sources file for each version as an Additional File. Keep in mind this may be a requirement of the source work's licensing, which must be abided per section 4 of %RULES%. diff --git a/packages/moderation/data/messages/license/no_source.md b/packages/moderation/data/messages/license/no_source.md index 76e7c7a9f..106efae08 100644 --- a/packages/moderation/data/messages/license/no_source.md +++ b/packages/moderation/data/messages/license/no_source.md @@ -1,4 +1,4 @@ ## No Source Code Provided -Your project's license of `%PROJECT_LICENSE_NAME%`, requires source disclosure. +Your project's %PROJECT_LICENSE_FLINK% of `%PROJECT_LICENSE_NAME%`, requires source disclosure. Consider adding a Source link to your project's repository, or including a Sources file for each version as an Additional File. You may also want to refer to %LICENSING_GUIDE% if you wish to select a different License, remember to make sure your selected License is consistent with the license in your project's files as well. diff --git a/packages/moderation/utils.ts b/packages/moderation/utils.ts index 0f6364186..9feb8c272 100644 --- a/packages/moderation/utils.ts +++ b/packages/moderation/utils.ts @@ -329,7 +329,7 @@ export function flattenProjectVariables(project: Project): Record