From f89df74f54a73d676a847b8ff2b669eb575569bf Mon Sep 17 00:00:00 2001
From: smiley
Date: Tue, 16 Jun 2026 00:00:00 +0000
Subject: [PATCH] Update UI to reflect that packages inherit the permission
settings of attached repos. Translations needed for non-english locales.
---
options/locale/locale_en-US.json | 2 +-
templates/package/settings.tmpl | 7 -------
2 files changed, 1 insertion(+), 8 deletions(-)
diff --git a/options/locale/locale_en-US.json b/options/locale/locale_en-US.json
index f6e71cccb3..2f0d173348 100644
--- a/options/locale/locale_en-US.json
+++ b/options/locale/locale_en-US.json
@@ -3646,7 +3646,7 @@
"packages.settings.link": "Link this package to a repository",
"packages.settings.link.description": "If you link a package with a repository, the package will appear in the repository's package list.",
"packages.settings.link.notice1": "Only repositories under the same owner can be linked.",
- "packages.settings.link.notice2": "Linking a repository does not change the package visibility.",
+ "packages.settings.link.notice2": "Linking a repository changes the package visibility to match the repository.",
"packages.settings.link.notice3": "Leaving the field empty will remove the link.",
"packages.settings.visibility": "Package visibility",
"packages.settings.visibility.inherit": "Package visibility is inherited from the owner and cannot be changed independently here. To change it, update the visibility settings of the user or organization that owns this package.",
diff --git a/templates/package/settings.tmpl b/templates/package/settings.tmpl
index 0192376652..2b2dcf0b09 100644
--- a/templates/package/settings.tmpl
+++ b/templates/package/settings.tmpl
@@ -17,13 +17,6 @@
/ {{ctx.Locale.Tr "repo.settings"}}
-
-