[CORE] Plugin API now extends a new Module API

This commit is contained in:
Diogo Cordeiro
2019-08-12 15:03:30 +01:00
committed by Diogo Peralta Cordeiro
parent 3821d2317e
commit 20a6f1d4f4
397 changed files with 3093 additions and 1450 deletions

View File

@@ -233,7 +233,7 @@ class DirectoryPlugin extends Plugin
/*
* Version info
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array(
'name' => 'Directory',

View File

@@ -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,6 +17,22 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. TRANS: Menu item text for user directory.
#: DirectoryPlugin.php:223
msgctxt "MENU"
msgid "People"
msgstr ""
#. TRANS: Menu item title for user directory.
#: DirectoryPlugin.php:225
msgid "People."
msgstr ""
#. TRANS: Plugin description.
#: DirectoryPlugin.php:244
msgid "Add a user directory."
msgstr ""
#. TRANS: Column header in table for user nickname.
#: lib/sortablegrouplist.php:51 lib/sortablesubscriptionlist.php:51
msgid "Nickname"
@@ -165,19 +181,3 @@ msgstr ""
#, php-format
msgid "No users starting with %s"
msgstr ""
#. TRANS: Menu item text for user directory.
#: DirectoryPlugin.php:223
msgctxt "MENU"
msgid "People"
msgstr ""
#. TRANS: Menu item title for user directory.
#: DirectoryPlugin.php:225
msgid "People."
msgstr ""
#. TRANS: Plugin description.
#: DirectoryPlugin.php:244
msgid "Add a user directory."
msgstr ""