[CORE] Plugin API now extends a new Module API
This commit is contained in:
@@ -271,7 +271,7 @@ class AnonymousFavePlugin 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/AnonymousFave';
|
||||
|
||||
|
@@ -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,21 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: Label for tally for number of times a notice was favored.
|
||||
#: AnonymousFavePlugin.php:165
|
||||
msgid "Favored"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#: AnonymousFavePlugin.php:198 AnonymousFavePlugin.php:209
|
||||
msgid "Could not create anonymous user session."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
#: AnonymousFavePlugin.php:284
|
||||
msgid "Allow anonymous users to favorite notices."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Client error.
|
||||
#: actions/anondisfavor.php:59
|
||||
msgid ""
|
||||
@@ -57,18 +72,3 @@ msgstr ""
|
||||
#, php-format
|
||||
msgid "Could not create favorite tally for notice ID %d."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Label for tally for number of times a notice was favored.
|
||||
#: AnonymousFavePlugin.php:165
|
||||
msgid "Favored"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Server exception.
|
||||
#: AnonymousFavePlugin.php:198 AnonymousFavePlugin.php:209
|
||||
msgid "Could not create anonymous user session."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
#: AnonymousFavePlugin.php:284
|
||||
msgid "Allow anonymous users to favorite notices."
|
||||
msgstr ""
|
||||
|
Reference in New Issue
Block a user