Set Age Restrictions on library with a slider (#468)

* Adding groups logic and restrictions

* Cleaning up some redundant code

* hastily made translations

* Linter issues

* More linting

* PR comments

* Covering other APIs with age filters per comment

* Add ages to age ratings

* Making the linter happy

---------

Co-authored-by: Robert Clabough <robert@clabough.tech>
This commit is contained in:
AgentScrubbles
2026-08-06 16:13:43 +10:00
committed by GitHub
co-authored by Robert Clabough
parent b6b28afc2e
commit 26abc584a9
10 changed files with 357 additions and 153 deletions
+6
View File
@@ -501,6 +501,8 @@
"groups": {
"addBannedRating": "Add forbidden rating",
"addMember": "Pick a scallywag...",
"advancedOverrides": "Advanced: Manual Overrides",
"applyAgeRestriction": "Apply age restriction",
"bannedRatings": "Forbidden Ratings",
"createGroup": "Form a Crew",
"deleteConfirm": "Be ye sure ye want to disband this crew? There be no turnin' back!",
@@ -508,6 +510,9 @@
"description": "Manage yer crew groups and age restrictions on the plunder.",
"descriptionField": "Description",
"details": "Details",
"manualOverrideNote": "The current banned ratings don't match a standard age threshold. They may've been manually set by the captain.",
"maximumContentAge": "Age Restriction",
"maximumContentAgeDescription": "Set the maximum content age fer members of this crew. Ratings above this age be banned, arr!",
"members": "Crew Members",
"name": "Name",
"noBannedRatings": "No forbidden ratings set, captain.",
@@ -515,6 +520,7 @@
"oidcManagedNote": "Crew membership be managed by yer OIDC harbourmaster. Members be synced when they come aboard. To change crew membership, update yer identity provider's assignments.",
"removeBannedRating": "Remove",
"removeMember": "Cast overboard",
"sliderOverrideWarning": "Manually addin' or removin' ratings here will override the slider. Use the slider above to reset to a standard age threshold.",
"title": "Crew Groups",
"unratedNote": "Unrated plunder will also be hidden from scallywags in this crew."
},