[CORE] Plugin API now extends a new Module API
This commit is contained in:
@@ -237,7 +237,7 @@ class XmppPlugin extends ImPlugin
|
||||
}
|
||||
|
||||
/**
|
||||
* Load related modules when needed
|
||||
* Load related Plugins when needed
|
||||
*
|
||||
* @param string $cls Name of the class to be loaded
|
||||
*
|
||||
@@ -440,7 +440,7 @@ class XmppPlugin extends ImPlugin
|
||||
return true;
|
||||
}
|
||||
|
||||
function onPluginVersion(array &$versions)
|
||||
public function onPluginVersion(array &$versions): bool
|
||||
{
|
||||
$versions[] = array('name' => 'XMPP',
|
||||
'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,12 +17,6 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: Presence announcement for XMPP.
|
||||
#. TRANS: Message for XMPP reconnect.
|
||||
#: lib/xmppmanager.php:90 lib/xmppmanager.php:218
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin display name.
|
||||
#: XmppPlugin.php:65
|
||||
msgid "XMPP/Jabber"
|
||||
@@ -102,3 +96,9 @@ msgid ""
|
||||
"The XMPP plugin allows users to send and receive notices over the XMPP/"
|
||||
"Jabber network."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Presence announcement for XMPP.
|
||||
#. TRANS: Message for XMPP reconnect.
|
||||
#: lib/xmppmanager.php:90 lib/xmppmanager.php:218
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr ""
|
||||
|
Reference in New Issue
Block a user