-
Notifications
You must be signed in to change notification settings - Fork 644
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reject empty readme file & fix error message for invalid extension (#…
…8464) * reject empty readme file & fix error message for invalid extension
- Loading branch information
1 parent
db62de4
commit 1eaa7e1
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1166,7 +1166,7 @@ The {1} Team</value> | |
<value>The <readme> element is not currently supported.</value> | ||
</data> | ||
<data name="UploadPackage_InvalidReadmeFileExtension" xml:space="preserve"> | ||
<value>The readme file has an invalid extension '{0}'. Extension must be one of the following: {1}.</value> | ||
<value>The readme file has an invalid extension '{0}'. The extension must be: '{1}'.</value> | ||
<comment>{0} is the readme file extension specified in the .nuspec, {1} is the list of allowed extensions</comment> | ||
</data> | ||
<data name="UploadPackage_ReadmeFileType" xml:space="preserve"> | ||
|
@@ -1215,4 +1215,7 @@ The {1} Team</value> | |
<data name="UploadPackage_OwnerlessIdNamespaceConflictHtml" xml:space="preserve"> | ||
<value>The package ID is reserved. You can upload your package with a different package ID. Reach out to <a href="mailto:[email protected]">[email protected]</a> if you have questions.</value> | ||
</data> | ||
<data name="ReadmeErrorEmpty" xml:space="preserve"> | ||
<value>The readme file '{0}' cannot be empty.</value> | ||
</data> | ||
</root> |