Move package settings to package instead of being tied to version (#37026)
Unties settings page from package version and adds button to delete the package version Settings page now allows for deletion of entire package and it's versions as opposed to a single version Adds an API endpoint to delete the entire package with all versions from registry fixes: https://github.com/go-gitea/gitea/issues/36904 Co-Authored-By: gemini-3-flash --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
@@ -3506,6 +3506,7 @@
|
||||
"packages.dependencies": "Dependencies",
|
||||
"packages.keywords": "Keywords",
|
||||
"packages.details": "Details",
|
||||
"packages.name": "Package Name",
|
||||
"packages.details.author": "Author",
|
||||
"packages.details.project_site": "Project Site",
|
||||
"packages.details.repository_site": "Repository Site",
|
||||
@@ -3614,8 +3615,13 @@
|
||||
"packages.settings.delete": "Delete package",
|
||||
"packages.settings.delete.description": "Deleting a package is permanent and cannot be undone.",
|
||||
"packages.settings.delete.notice": "You are about to delete %s (%s). This operation is irreversible, are you sure?",
|
||||
"packages.settings.delete.notice.package": "You are about to delete %s and all its versions. This operation is irreversible, are you sure?",
|
||||
"packages.settings.delete.success": "The package has been deleted.",
|
||||
"packages.settings.delete.version.success": "The package version has been deleted.",
|
||||
"packages.settings.delete.error": "Failed to delete the package.",
|
||||
"packages.settings.delete.version": "Delete version",
|
||||
"packages.settings.delete.confirm": "Enter package name to confirm",
|
||||
"packages.settings.delete.invalid_package_name": "The package name you entered is incorrect.",
|
||||
"packages.owner.settings.cargo.title": "Cargo Registry Index",
|
||||
"packages.owner.settings.cargo.initialize": "Initialize Index",
|
||||
"packages.owner.settings.cargo.initialize.description": "A special index Git repository is needed to use the Cargo registry. Using this option will (re-)create the repository and configure it automatically.",
|
||||
|
||||
Reference in New Issue
Block a user