From 406a91c28f0471e668b702ace2ef91799b3023c0 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Wed, 19 Jun 2024 09:34:00 +0200 Subject: [PATCH] Add some default role translations --- includes/functions/_setup-admin.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/includes/functions/_setup-admin.php b/includes/functions/_setup-admin.php index 47d8fbfc..965b64e1 100644 --- a/includes/functions/_setup-admin.php +++ b/includes/functions/_setup-admin.php @@ -768,6 +768,7 @@ function fcntr_admin( $key, $escape = false ) { // Define default translations if ( $strings === null ) { $strings = array( + 'Super Admin' => _x( 'Super Admin', 'Role translation', 'fictioneer' ), 'Administrator' => _x( 'Administrator', 'Role translation', 'fictioneer' ), 'Editor' => _x( 'Editor', 'Role translation', 'fictioneer' ), 'Moderator' => _x( 'Moderator', 'Role translation', 'fictioneer' ), @@ -775,6 +776,10 @@ function fcntr_admin( $key, $escape = false ) { 'Contributor' => _x( 'Contributor', 'Role translation', 'fictioneer' ), 'Subscriber' => _x( 'Subscriber', 'Role translation', 'fictioneer' ), 'Translator' => _x( 'Translator', 'Role translation', 'fictioneer' ), + 'Developer' => _x( 'Developer', 'Role translation', 'fictioneer' ), + 'Member' => _x( 'Member', 'Role translation', 'fictioneer' ), + 'Supporter' => _x( 'Supporter', 'Role translation', 'fictioneer' ), + 'Tester' => _x( 'Tester', 'Role translation', 'fictioneer' ), 'fcn_shortcodes' => _x( 'Shortcodes', 'Capability translation', 'fictioneer' ), 'fcn_select_page_template' => _x( 'Select Page Templates', 'Capability translation', 'fictioneer' ), 'fcn_custom_page_css' => _x( 'Custom Page CSS', 'Capability translation', 'fictioneer' ),