[CORE] Plugin API now extends a new Module API
This commit is contained in:
@@ -151,7 +151,7 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
|
||||
$casSettings['user_whitelist']=$this->user_whitelist;
|
||||
}
|
||||
|
||||
function onPluginVersion(array &$versions)
|
||||
public function onPluginVersion(array &$versions): bool
|
||||
{
|
||||
$versions[] = array('name' => 'CAS Authentication',
|
||||
'version' => self::PLUGIN_VERSION,
|
||||
|
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-08-14 14:44+0100\n"
|
||||
"POT-Creation-Date: 2019-08-14 14:50+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -17,22 +17,6 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: Client error displayed when trying to log in while already logged on.
|
||||
#: actions/caslogin.php:29
|
||||
msgid "Already logged in."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server error displayed when trying to log in with incorrect username or password.
|
||||
#. TRANS: Server error displayed when trying to log in with non-whitelisted user name (when whitelists are enabled.)
|
||||
#: actions/caslogin.php:41 actions/caslogin.php:46
|
||||
msgid "Incorrect username or password."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server error displayed when login fails in CAS authentication plugin.
|
||||
#: actions/caslogin.php:52
|
||||
msgid "Error setting user. You are probably not authorized."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Menu item. CAS is Central Authentication Service.
|
||||
#: CasAuthenticationPlugin.php:86
|
||||
msgid "CAS"
|
||||
@@ -72,3 +56,19 @@ msgid ""
|
||||
"The CAS Authentication plugin allows for StatusNet to handle authentication "
|
||||
"through CAS (Central Authentication Service)."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Client error displayed when trying to log in while already logged on.
|
||||
#: actions/caslogin.php:29
|
||||
msgid "Already logged in."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server error displayed when trying to log in with incorrect username or password.
|
||||
#. TRANS: Server error displayed when trying to log in with non-whitelisted user name (when whitelists are enabled.)
|
||||
#: actions/caslogin.php:41 actions/caslogin.php:46
|
||||
msgid "Incorrect username or password."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server error displayed when login fails in CAS authentication plugin.
|
||||
#: actions/caslogin.php:52
|
||||
msgid "Error setting user. You are probably not authorized."
|
||||
msgstr ""
|
||||
|
Reference in New Issue
Block a user