[CORE] Plugin API now extends a new Module API
This commit is contained in:
@@ -56,7 +56,7 @@ class ClientSideShortenPlugin extends Plugin
|
||||
}
|
||||
}
|
||||
|
||||
function onPluginVersion(array &$versions)
|
||||
public function onPluginVersion(array &$versions): bool
|
||||
{
|
||||
$versions[] = array('name' => 'Shorten',
|
||||
'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,14 +17,14 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: Client exception thrown when a text argument is not present.
|
||||
#: actions/shorten.php:56
|
||||
msgid "\"text\" argument must be specified."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
#: ClientSideShortenPlugin.php:67
|
||||
msgid ""
|
||||
"ClientSideShorten causes the web interface's notice form to automatically "
|
||||
"shorten URLs as they entered, and before the notice is submitted."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Client exception thrown when a text argument is not present.
|
||||
#: actions/shorten.php:56
|
||||
msgid "\"text\" argument must be specified."
|
||||
msgstr ""
|
||||
|
Reference in New Issue
Block a user