[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

@@ -107,7 +107,7 @@ class SphinxSearchPlugin extends Plugin
*
* @return boolean hook value
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/SphinxSearch';

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,11 +17,6 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. TRANS: Server exception thrown when a database name cannot be identified.
#: sphinxsearch.php:129
msgid "Sphinx search could not identify database name."
msgstr ""
#. TRANS: Server exception.
#: SphinxSearchPlugin.php:89
msgid "Sphinx PHP extension must be installed."
@@ -31,3 +26,8 @@ msgstr ""
#: SphinxSearchPlugin.php:120
msgid "Plugin for Sphinx search backend."
msgstr ""
#. TRANS: Server exception thrown when a database name cannot be identified.
#: sphinxsearch.php:129
msgid "Sphinx search could not identify database name."
msgstr ""