From d3073a874e4ead79e82a52cbac6d71bedfdac075 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 6 Nov 2023 16:29:20 +1300 Subject: [PATCH 1/2] TLN Update translations --- lang/en.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lang/en.yml b/lang/en.yml index a57053554..96c661874 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -6,7 +6,10 @@ en: EDITONLYTHESE: 'Only these groups (choose from list)' GroupPlaceholder: 'Click to select group' SilverStripe\SiteConfig\SiteConfig: + ACCESSONLYTHESEMEMBERS: 'Only these users (choose from list)' EDITHEADER: 'Who can edit pages on this site?' + EDITONLYTHESEMEMBERS: 'Only these users (choose from list)' + EDITORMEMBERS: 'Editor Users' EDIT_PERMISSION: 'Manage site configuration' EDIT_PERMISSION_HELP: 'Ability to edit global access settings/top-level page permissions.' PLURALNAME: 'Site Configs' @@ -22,6 +25,9 @@ en: TAGLINEDEFAULT: 'your tagline here' TOPLEVELCREATE: 'Who can create pages in the root of the site?' TOPLEVELCREATORGROUPS: 'Top level creators' + TOPLEVELCREATORGROUPS2: 'Top level creator groups' + TOPLEVELCREATORUSERS: 'Top level creator users' + VIEWERMEMBERS: 'Viewer Users' VIEWHEADER: 'Who can view pages on this site?' db_AccentColor: 'Accent color' db_AllChangesEnabled: 'All changes enabled' @@ -65,8 +71,11 @@ en: many_many_ContentReviewGroups: 'Content review groups' many_many_ContentReviewUsers: 'Content review users' many_many_CreateTopLevelGroups: 'Create top level groups' + many_many_CreateTopLevelMembers: 'Create top level members' many_many_EditorGroups: 'Editor groups' + many_many_EditorMembers: 'Editor members' many_many_ViewerGroups: 'Viewer groups' + many_many_ViewerMembers: 'Viewer members' SilverStripe\SiteConfig\SiteConfigLeftAndMain: MENUTITLE: Settings SilverStripe\SiteConfig\SiteConfigLeftAndMain_SilverStripeNavigator: From 55b02fff493e2a4076e954f9a5e4258fdc418eb5 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 14 Dec 2023 15:18:28 +1300 Subject: [PATCH 2/2] MNT Update @methods on class docblocks --- code/SiteConfig.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/SiteConfig.php b/code/SiteConfig.php index 70f669a55..f1f305125 100644 --- a/code/SiteConfig.php +++ b/code/SiteConfig.php @@ -31,9 +31,9 @@ * @property string CanViewType Type of restriction used for view permissions. * @property string CanEditType Type of restriction used for edit permissions. * @property string CanCreateTopLevelType Type of restriction used for creation of root-level pages. - * @method ManyManyList ViewerGroups() List of groups that can view SiteConfig. - * @method ManyManyList EditorGroups() List of groups that can edit SiteConfig. - * @method ManyManyList CreateTopLevelGroups() List of groups that can create root-level pages. + * @method ManyManyList CreateTopLevelGroups() + * @method ManyManyList EditorGroups() + * @method ManyManyList ViewerGroups() */ class SiteConfig extends DataObject implements PermissionProvider, TemplateGlobalProvider {