Commit 5cf44546 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1718289: Placing auth related title string in auth plugin



Rather than in core lang file to allow thirdparty lang strings to work

behatnotneeded

Change-Id: I5b23c471d246f6901695d7fdf102525e9ef8a666
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 457d11d1)
(cherry picked from commit c544f506)
parent 35ddf600
......@@ -21,7 +21,7 @@ $edit = param_boolean('edit');
$json = param_boolean('j');
$instanceid = param_variable('id', 0);
define('TITLE', get_string($plugin . 'config', 'admin'));
define('TITLE', get_string($plugin . 'config', 'auth.' . $plugin));
// IF WE'RE EDITING OR CREATING AN AUTHORITY:
if ($institution && $plugin) {
......
......@@ -12,6 +12,7 @@
defined('INTERNAL') || die();
$string['title'] = 'IMAP';
$string['imapconfig'] = 'IMAP configuration';
$string['description'] = 'Authenticate against an IMAP email server';
$string['notusable'] = 'Please install the PHP IMAP extension';
$string['domainname'] = 'Email address domain name';
......
......@@ -12,6 +12,7 @@
defined('INTERNAL') || die();
$string['title'] = 'LDAP';
$string['ldapconfig'] = 'LDAP configuration';
$string['description'] = 'Authenticate against an LDAP server';
$string['notusable'] = 'Please install the PHP LDAP extension';
......
......@@ -67,6 +67,7 @@ $string['obsoletesamlinstance'] = 'The SAML authentication instance <a href="%s"
$string['reallyreallysure1'] = "You are trying to save the Service Provider metadata for Mahara. This cannot be undone. Existing SAML logins will not work until you have reshared your new metadata with all Identity Providers.";
$string['reset'] = 'Reset metadata';
$string['resetmetadata'] = 'Reset the certificates for Mahara\'s metadata. This cannot be undone and you will have to reshare your metadata with the Identity Provider.';
$string['samlconfig'] = 'SAML configuration';
$string['samlfieldforemail'] = 'SSO field for email';
$string['samlfieldforfirstname'] = 'SSO field for first name';
$string['samlfieldforsurname'] = 'SSO field for surname';
......
......@@ -12,6 +12,7 @@
defined('INTERNAL') || die();
$string['title'] = 'XML-RPC';
$string['xmlrpcconfig'] = 'XML-RPC configuration';
$string['description'] = 'Authenticate via SSO from an external application';
$string['notusable'] = 'Please install the XML-RPC, Curl and OpenSSL PHP extensions.';
$string['networkingdisabledonthissite'] = 'Networking is disabled on this site.';
......
......@@ -896,10 +896,6 @@ $string['admininstitutions'] = 'Administer institutions';
$string['adminauthorities'] = 'Administer authorities';
$string['addinstitution'] = 'Add institution';
$string['authplugin'] = 'Authentication plugin';
$string['ldapconfig'] = 'LDAP configuration';
$string['samlconfig'] = 'SAML configuration';
$string['xmlrpcconfig'] = 'XML-RPC configuration';
$string['imapconfig'] = 'IMAP configuration';
$string['deleteinstitution'] = 'Delete institution';
$string['deleteinstitutionconfirm'] = 'Are you really sure you wish to delete this institution?';
$string['institutionstillhas'] = 'This institution still has %s';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment