[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

@@ -89,7 +89,7 @@ class AccountManagerPlugin extends Plugin
}
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'AccountManager',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -206,7 +206,7 @@ class ActivityPubPlugin extends Plugin
* @param array $versions
* @return bool hook true
*/
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = [
'name' => 'ActivityPub',

View File

@@ -219,7 +219,7 @@ class ActivitySpamPlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'ActivitySpam',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -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';

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,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 ""

View File

@@ -69,7 +69,7 @@ class AntiBrutePlugin extends Plugin {
return true;
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'AntiBrute',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -76,7 +76,7 @@ class ApiLoggerPlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'ApiLogger',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -57,7 +57,7 @@ class AutoSandboxPlugin extends Plugin
}
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'AutoSandbox',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -54,7 +54,7 @@ class AutocompletePlugin extends Plugin
['action' => 'autocomplete']);
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Autocomplete',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -44,7 +44,7 @@ class AwesomenessPlugin extends Plugin
{
const PLUGIN_VERSION = '0.0.42';
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array(
'name' => 'Awesomeness',

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"

View File

@@ -146,7 +146,7 @@ class BitlyUrlPlugin extends UrlShortenerPlugin
return null;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => sprintf('BitlyUrl (%s)', $this->shortenerName),
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -263,7 +263,7 @@ class BlacklistPlugin extends Plugin
*
* @return boolean hook value
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Blacklist',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -118,7 +118,7 @@ class BlankAdPlugin extends UAPPlugin
'');
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'BlankAd',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -148,7 +148,7 @@ class BlogspamNetPlugin extends Plugin
return PLUGIN_VERSION;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'BlogspamNet',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -178,7 +178,7 @@ class BookmarkPlugin extends MicroAppPlugin
*
* @return value
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Bookmark',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -98,7 +98,7 @@ class CacheLogPlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'CacheLog',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -151,7 +151,7 @@ class CasAuthenticationPlugin extends AuthenticationPlugin
$casSettings['user_whitelist']=$this->user_whitelist;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'CAS Authentication',
'version' => self::PLUGIN_VERSION,

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,22 +17,6 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. TRANS: Client error displayed when trying to log in while already logged on.
#: actions/caslogin.php:29
msgid "Already logged in."
msgstr ""
#. TRANS: Server error displayed when trying to log in with incorrect username or password.
#. TRANS: Server error displayed when trying to log in with non-whitelisted user name (when whitelists are enabled.)
#: actions/caslogin.php:41 actions/caslogin.php:46
msgid "Incorrect username or password."
msgstr ""
#. TRANS: Server error displayed when login fails in CAS authentication plugin.
#: actions/caslogin.php:52
msgid "Error setting user. You are probably not authorized."
msgstr ""
#. TRANS: Menu item. CAS is Central Authentication Service.
#: CasAuthenticationPlugin.php:86
msgid "CAS"
@@ -72,3 +56,19 @@ msgid ""
"The CAS Authentication plugin allows for StatusNet to handle authentication "
"through CAS (Central Authentication Service)."
msgstr ""
#. TRANS: Client error displayed when trying to log in while already logged on.
#: actions/caslogin.php:29
msgid "Already logged in."
msgstr ""
#. TRANS: Server error displayed when trying to log in with incorrect username or password.
#. TRANS: Server error displayed when trying to log in with non-whitelisted user name (when whitelists are enabled.)
#: actions/caslogin.php:41 actions/caslogin.php:46
msgid "Incorrect username or password."
msgstr ""
#. TRANS: Server error displayed when login fails in CAS authentication plugin.
#: actions/caslogin.php:52
msgid "Error setting user. You are probably not authorized."
msgstr ""

View File

@@ -29,7 +29,7 @@ class ChooseThemePlugin extends Plugin {
$m->connect('main/choosethemesettings', ['action' => 'choosethemesettings']);
}
public function onPluginVersion(array &$versions) {
public function onPluginVersion(array &$versions): bool {
$versions[] = array('name' => 'ChooseTheme',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -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,

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,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 ""

View File

@@ -106,7 +106,7 @@ class CometPlugin extends RealtimePlugin
return '/' . implode('/', $path);
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Comet',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -33,7 +33,7 @@ class ConversationTreePlugin extends Plugin
return false;
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'ConversationTree',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -47,7 +47,7 @@ class CronishPlugin extends Plugin {
return true;
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Cronish',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -45,7 +45,7 @@ class DefaultLayoutPlugin extends Plugin
return true;
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Default Layout',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -78,7 +78,7 @@ class DiasporaPlugin extends Plugin
return true;
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Diaspora',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -212,15 +212,17 @@ class DirectMessagePlugin extends Plugin
return true;
}
public function onPluginVersion(array &$versions) : bool
public function onPluginVersion(array &$versions): bool
{
$versions[] = ['name' => 'Direct Message',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth, Bruno Casteleiro',
'homepage' => 'http://gnu.io/',
'rawdescription' =>
// TRANS: Plugin description.
_m('Direct Message to other local users.')];
$versions[] = [
'name' => 'Direct Message',
'version' => self::PLUGIN_VERSION,
'author' => 'Mikael Nordfeldth, Bruno Casteleiro',
'homepage' => 'https://gnu.social/',
'rawdescription' =>
// TRANS: Plugin description.
_m('Direct Message to other local users.')
];
return true;
}

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-21 10:51+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"
@@ -19,25 +19,45 @@ msgstr ""
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#. TRANS: Menu item in personal group navigation menu.
#: DirectMessagePlugin.php:130
#: DirectMessagePlugin.php:134
msgctxt "MENU"
msgid "Messages"
msgstr ""
#. TRANS: Link text for link on user profile.
#: DirectMessagePlugin.php:150
#: DirectMessagePlugin.php:167
msgctxt "BUTTON"
msgid "Message"
msgstr ""
#. TRANS: Plugin description.
#: DirectMessagePlugin.php:176
msgid "Direct Message to other local users (broken out of core)."
#: DirectMessagePlugin.php:223
msgid "Direct Message to other local users."
msgstr ""
#. TRANS: Form legend for direct notice.
#: lib/messageform.php:99
msgid "Send a direct notice"
msgstr ""
#. TRANS: Label entry in drop-down selection box in direct-message inbox/outbox.
#. TRANS: This is the default entry in the drop-down box, doubling as instructions
#. TRANS: and a brake against accidental submissions with the first user in the list.
#: lib/messageform.php:157
msgid "No subscriptions"
msgstr ""
#: lib/messageform.php:157
msgid "Select recipient:"
msgstr ""
#: lib/messageform.php:164
msgid "To"
msgstr ""
#. TRANS: Button text for sending a direct notice.
#: lib/messageform.php:175
msgctxt "Send button for sending notice"
#: lib/messageform.php:199
msgctxt "Send button for direct notice"
msgid "Send"
msgstr ""
@@ -63,40 +83,106 @@ msgstr[0] ""
msgstr[1] ""
#. TRANS: A possible notice source (web interface).
#: lib/messagelistitem.php:137
#: lib/messagelistitem.php:127
msgctxt "SOURCE"
msgid "web"
msgstr ""
#. TRANS: A possible notice source (XMPP).
#: lib/messagelistitem.php:139
#: lib/messagelistitem.php:129
msgctxt "SOURCE"
msgid "xmpp"
msgstr ""
#. TRANS: A possible notice source (e-mail).
#: lib/messagelistitem.php:141
#: lib/messagelistitem.php:131
msgctxt "SOURCE"
msgid "mail"
msgstr ""
#. TRANS: A possible notice source (OpenMicroBlogging).
#: lib/messagelistitem.php:143
#: lib/messagelistitem.php:133
msgctxt "SOURCE"
msgid "omb"
msgstr ""
#. TRANS: A possible notice source (Application Programming Interface).
#: lib/messagelistitem.php:145
#: lib/messagelistitem.php:135
msgctxt "SOURCE"
msgid "api"
msgstr ""
#. TRANS: Title for outbox for any but the fist page.
#. TRANS: %1$s is the user nickname, %2$d is the page number.
#: actions/outbox.php:50
#, php-format
msgid "Outbox for %1$s - page %2$d"
msgstr ""
#. TRANS: Title for first page of outbox.
#: actions/outbox.php:54
#, php-format
msgid "Outbox for %s"
msgstr ""
#. TRANS: Instructions for outbox.
#: actions/outbox.php:84
msgid "This is your outbox, which lists private messages you have sent."
msgstr ""
#. TRANS: Client error displayed requesting a single message that does not exist.
#: actions/showmessage.php:63
msgid "No such message."
msgstr ""
#. TRANS: Client error displayed requesting a single direct message the requesting user was not a party in.
#: actions/showmessage.php:83
msgid "Only the sender and recipients may read this message."
msgstr ""
#: actions/showmessage.php:109
#, php-format
msgid "Message to many on %1$s"
msgstr ""
#. TRANS: Page title for single direct message display when viewing user is the sender.
#. TRANS: %1$s is the addressed user's nickname, $2$s is a timestamp.
#: actions/showmessage.php:115
#, php-format
msgid "Message to %1$s on %2$s"
msgstr ""
#. TRANS: Page title for single message display.
#. TRANS: %1$s is the sending user's nickname, $2$s is a timestamp.
#: actions/showmessage.php:123
#, php-format
msgid "Message from %1$s on %2$s"
msgstr ""
#. TRANS: Form validation error displayed when message content is too long.
#. TRANS: %d is the maximum number of characters for a message.
#: actions/apidirectmessagenew.php:104 actions/newmessage.php:112
#: actions/apidirectmessagenew.php:104 actions/newmessage.php:99
#, php-format
msgid "That's too long. Maximum message size is %d character."
msgid_plural "That's too long. Maximum message size is %d characters."
msgstr[0] ""
msgstr[1] ""
#. TRANS: Title for all but the first page of the inbox page.
#. TRANS: %1$s is the user's nickname, %2$s is the page number.
#: actions/inbox.php:50
#, php-format
msgid "Inbox for %1$s - page %2$d"
msgstr ""
#. TRANS: Title for the first page of the inbox page.
#. TRANS: %s is the user's nickname.
#: actions/inbox.php:55
#, php-format
msgid "Inbox for %s"
msgstr ""
#. TRANS: Instructions for user inbox page.
#: actions/inbox.php:85
msgid "This is your inbox, which lists your incoming private messages."
msgstr ""

View File

@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: GNU social\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-02-02 17:47+0100\n"
"PO-Revision-Date: 2015-03-07 18:12+0000\n"
"PO-Revision-Date: 2019-08-21 10:53+0100\n"
"Last-Translator: Luke Hollins <luke@farcry.ca>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/gnu-social/gnu-social/language/en_GB/)\n"
"MIME-Version: 1.0\n"

View File

@@ -245,7 +245,7 @@ class DirectionDetectorPlugin extends Plugin {
/**
* plugin details
*/
function onPluginVersion(array &$versions){
public function onPluginVersion(array &$versions): bool{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/DirectionDetector';
$versions[] = array(

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"

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 ""

View File

@@ -158,7 +158,7 @@ class DiskCachePlugin extends Plugin
return false;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'DiskCache',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -192,7 +192,7 @@ class DomainStatusNetworkPlugin extends Plugin
return null;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'DomainStatusNetwork',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -269,7 +269,7 @@ class DomainWhitelistPlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'DomainWhitelist',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -51,7 +51,7 @@ class EmailAuthenticationPlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Email Authentication',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -174,7 +174,7 @@ class EmailRegistrationPlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'EmailRegistration',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -181,7 +181,7 @@ class EmailReminderPlugin extends Plugin
* @param type $versions
* @return type
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array(
'name' => 'EmailReminder',

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"

View File

@@ -67,7 +67,7 @@ class EmailSummaryPlugin extends Plugin
*
* @return boolean hook value; true means continue processing, false means stop.
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'EmailSummary',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -662,7 +662,7 @@ class EmbedPlugin extends Plugin
* @param &$versions array inherited from parent
* @return bool true hook value
*/
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = ['name' => 'Embed',
'version' => self::PLUGIN_VERSION,

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,13 +17,13 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. TRANS: Plugin description.
#: EmbedPlugin.php:633
msgid "Plugin for using and representing oEmbed, OpenGraph and other data."
msgstr ""
#. TRANS: Exception. %s is the URL we tried to GET.
#: lib/embedhelper.php:87
#, php-format
msgid "Could not GET URL %s."
msgstr ""
#. TRANS: Plugin description.
#: EmbedPlugin.php:634
msgid "Plugin for using and representing oEmbed, OpenGraph and other data."
msgstr ""

View File

@@ -99,7 +99,7 @@ class EventPlugin extends ActivityVerbHandlerPlugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Event',
'version' => self::PLUGIN_VERSION,

View File

@@ -148,13 +148,13 @@ class NeweventAction extends FormAction
/* We don't use these ourselves, but we add them to be nice RSS/XML citizens */
$actobj->extra[] = array('startdate',
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
common_date_iso8601($start_str));
$actobj->extra[] = array('enddate',
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
common_date_iso8601($end_str));
$actobj->extra[] = array('location',
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
$location);
$act->objects = array($actobj);

View File

@@ -259,13 +259,13 @@ class Happening extends Managed_DataObject
/* We don't use these ourselves, but we add them to be nice RSS/XML citizens */
$actobj->extra[] = array('startdate',
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
common_date_iso8601($this->start_time));
$actobj->extra[] = array('enddate',
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
common_date_iso8601($this->end_time));
$actobj->extra[] = array('location',
array('xmlns' => 'http://purl.org/rss/1.0/modules/event/'),
array('xmlns' => 'http://purl.org/rss/1.0/plugins/event/'),
$this->location);
return $actobj;

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"
@@ -247,57 +247,6 @@ msgstr ""
msgid "%1$s might attend %2$s."
msgstr ""
#. TRANS: Plugin description.
#: EventPlugin.php:110
msgid "Event invitations and RSVPs."
msgstr ""
#. TRANS: Title for event application.
#: EventPlugin.php:116
msgctxt "TITLE"
msgid "Event"
msgstr ""
#. TRANS: Exception thrown when event plugin comes across a unknown object type.
#: EventPlugin.php:213
msgid "Unknown object type."
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:340
msgid "Time:"
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:357
msgid "Location:"
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:365
msgid "Description:"
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:375
msgid "Attending:"
msgstr ""
#. TRANS: Content for a deleted RSVP list item (RSVP stands for "please respond").
#: EventPlugin.php:418
msgid "Deleted."
msgstr ""
#. TRANS: Menu item in sample plugin.
#: EventPlugin.php:431
msgid "Happenings"
msgstr ""
#. TRANS: Menu item title in sample plugin.
#: EventPlugin.php:433
msgid "A list of your events"
msgstr ""
#. TRANS: Field label on event form.
#: forms/event.php:103
msgctxt "LABEL"
@@ -420,3 +369,54 @@ msgstr ""
msgctxt "BUTTON"
msgid "Maybe"
msgstr ""
#. TRANS: Plugin description.
#: EventPlugin.php:110
msgid "Event invitations and RSVPs."
msgstr ""
#. TRANS: Title for event application.
#: EventPlugin.php:116
msgctxt "TITLE"
msgid "Event"
msgstr ""
#. TRANS: Exception thrown when event plugin comes across a unknown object type.
#: EventPlugin.php:213
msgid "Unknown object type."
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:340
msgid "Time:"
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:357
msgid "Location:"
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:365
msgid "Description:"
msgstr ""
#. TRANS: Field label for event description.
#: EventPlugin.php:375
msgid "Attending:"
msgstr ""
#. TRANS: Content for a deleted RSVP list item (RSVP stands for "please respond").
#: EventPlugin.php:418
msgid "Deleted."
msgstr ""
#. TRANS: Menu item in sample plugin.
#: EventPlugin.php:431
msgid "Happenings"
msgstr ""
#. TRANS: Menu item title in sample plugin.
#: EventPlugin.php:433
msgid "A list of your events"
msgstr ""

View File

@@ -31,7 +31,7 @@ class ExtendedProfilePlugin extends Plugin
{
const PLUGIN_VERSION = '2.0.0';
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array(
'name' => 'ExtendedProfile',

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"

View File

@@ -49,7 +49,7 @@ class FeedPollerPlugin extends Plugin {
return true;
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'FeedPoller',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -107,7 +107,7 @@ class FetchRemotePlugin extends Plugin
return true;
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'FetchRemote',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -167,7 +167,7 @@ class FollowEveryonePlugin extends Plugin
* @return boolean hook value
*
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'FollowEveryone',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -107,7 +107,7 @@ class ForceGroupPlugin 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/ForceGroup';

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"

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"

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,10 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""
#: actions/photoupload.php:57
msgid "Upload Photos"
msgstr ""
@@ -58,7 +62,3 @@ msgstr ""
#: classes/gnusocialphotoalbum.php:98
msgid "Error creating new album."
msgstr ""
#: GNUsocialPhotosPlugin.php:65
msgid "Problem saving photo."
msgstr ""

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"

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"

View File

@@ -118,7 +118,7 @@ class GeoURLPlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'GeoURL',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -489,7 +489,7 @@ class GeonamesPlugin extends Plugin
return $document->geoname;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'Geonames',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -65,19 +65,20 @@ class GroupFavoritedPlugin extends Plugin
*
* @param array &$versions array of version data arrays; see EVENTS.txt
*
* @return boolean hook value
* @return bool hook value
*/
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$url = 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/GroupFavorited';
$versions[] = array('name' => 'GroupFavorited',
$versions[] = ['name' => 'GroupFavorited',
'version' => self::PLUGIN_VERSION,
'author' => 'Brion Vibber',
'homepage' => $url,
'rawdescription' =>
// TRANS: Plugin description.
_m('This plugin adds a menu item for popular notices in groups.'));
_m('This plugin adds a menu item for popular notices in groups.')
];
return true;
}

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,18 +17,6 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. TRANS: %s is a group name.
#: actions/groupfavorited.php:48
#, php-format
msgid "Popular posts in %s group"
msgstr ""
#. TRANS: %1$s is a group name, %2$s is a group number.
#: actions/groupfavorited.php:51
#, php-format
msgid "Popular posts in %1$s group, page %2$d"
msgstr ""
#. TRANS: Menu item in the group navigation page.
#: GroupFavoritedPlugin.php:53
msgctxt "MENU"
@@ -47,3 +35,15 @@ msgstr ""
#: GroupFavoritedPlugin.php:80
msgid "This plugin adds a menu item for popular notices in groups."
msgstr ""
#. TRANS: %s is a group name.
#: actions/groupfavorited.php:48
#, php-format
msgid "Popular posts in %s group"
msgstr ""
#. TRANS: %1$s is a group name, %2$s is a group number.
#: actions/groupfavorited.php:51
#, php-format
msgid "Popular posts in %1$s group, page %2$d"
msgstr ""

View File

@@ -407,7 +407,7 @@ class GroupPrivateMessagePlugin extends Plugin
return true;
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'GroupPrivateMessage',
'version' => self::PLUGIN_VERSION,

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"
@@ -211,29 +211,6 @@ msgid ""
"%6$s"
msgstr ""
#. TRANS: Form legend for sending private message to group %s.
#: forms/groupmessage.php:89
#, php-format
msgid "Message to %s"
msgstr ""
#. TRANS: Field label for private group message to group %s.
#: forms/groupmessage.php:128
#, php-format
msgid "Direct message to %s"
msgstr ""
#. TRANS: Indicator for number of chatacters still available for notice.
#: forms/groupmessage.php:141
msgid "Available characters"
msgstr ""
#. TRANS: Send button text for sending private group notice.
#: forms/groupmessage.php:162
msgctxt "Send button for sending notice"
msgid "Send"
msgstr ""
#. TRANS: Menu item in group page.
#: GroupPrivateMessagePlugin.php:114
msgctxt "MENU"
@@ -320,3 +297,26 @@ msgstr ""
#: GroupPrivateMessagePlugin.php:418
msgid "Allow posting private messages to groups."
msgstr ""
#. TRANS: Form legend for sending private message to group %s.
#: forms/groupmessage.php:89
#, php-format
msgid "Message to %s"
msgstr ""
#. TRANS: Field label for private group message to group %s.
#: forms/groupmessage.php:128
#, php-format
msgid "Direct message to %s"
msgstr ""
#. TRANS: Indicator for number of chatacters still available for notice.
#: forms/groupmessage.php:141
msgid "Available characters"
msgstr ""
#. TRANS: Send button text for sending private group notice.
#: forms/groupmessage.php:162
msgctxt "Send button for sending notice"
msgid "Send"
msgstr ""

View File

@@ -134,7 +134,7 @@ class ImageMagickPlugin extends Plugin
return getimagesize($outpath); // Verify that we wrote an understandable image.
}
public function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'ImageMagick',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -78,7 +78,7 @@ class ImapPlugin extends Plugin
$classes[] = new ImapManager($this);
}
function onPluginVersion(array &$versions)
public function onPluginVersion(array &$versions): bool
{
$versions[] = array('name' => 'IMAP',
'version' => self::PLUGIN_VERSION,

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"

View File

@@ -56,4 +56,4 @@ msgstr "En poll_frequency måste anges."
msgid ""
"The IMAP plugin allows for StatusNet to check a POP or IMAP mailbox for "
"incoming mail containing user posts."
msgstr "IMAP-insticksmodulen gör det möjligt för StatusNet att kontrollera en POP- eller IMAP-brevlåda för inkommande e-post som innehåller användarinlägg."
msgstr "IMAP-instickspluginn gör det möjligt för StatusNet att kontrollera en POP- eller IMAP-brevlåda för inkommande e-post som innehåller användarinlägg."

View File

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

Some files were not shown because too many files have changed in this diff Show More