forked from GNUsocial/gnu-social
Removing some plugins that were moved to plugins-unmaintained
See https://gitorious.org/social/plugins-unmaintained/
This commit is contained in:
parent
7e6ba94241
commit
82ef687730
@ -1,116 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2009, StatusNet, Inc.
|
||||
*
|
||||
* Plugin to implement cache interface for APC variable cache
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Cache
|
||||
* @package StatusNet
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @copyright 2009 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
// This check helps protect against security problems;
|
||||
// your code file can't be executed directly from the web.
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* A plugin to use APC's variable cache for the cache interface
|
||||
*
|
||||
* New plugin interface lets us use alternative cache systems
|
||||
* for caching. This one uses APC's variable cache.
|
||||
*
|
||||
* @category Cache
|
||||
* @package StatusNet
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @copyright 2009 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
class APCPlugin extends Plugin
|
||||
{
|
||||
/**
|
||||
* Get a value associated with a key
|
||||
*
|
||||
* The value should have been set previously.
|
||||
*
|
||||
* @param string &$key in; Lookup key
|
||||
* @param mixed &$value out; value associated with key
|
||||
*
|
||||
* @return boolean hook success
|
||||
*/
|
||||
function onStartCacheGet(&$key, &$value)
|
||||
{
|
||||
$value = apc_fetch($key);
|
||||
Event::handle('EndCacheGet', array($key, &$value));
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Associate a value with a key
|
||||
*
|
||||
* @param string &$key in; Key to use for lookups
|
||||
* @param mixed &$value in; Value to associate
|
||||
* @param integer &$flag in; Flag (passed through to Memcache)
|
||||
* @param integer &$expiry in; Expiry (passed through to Memcache)
|
||||
* @param boolean &$success out; Whether the set was successful
|
||||
*
|
||||
* @return boolean hook success
|
||||
*/
|
||||
function onStartCacheSet(&$key, &$value, &$flag, &$expiry, &$success)
|
||||
{
|
||||
$success = apc_store($key, $value, ((is_null($expiry)) ? 0 : $expiry));
|
||||
|
||||
Event::handle('EndCacheSet', array($key, $value, $flag,
|
||||
$expiry));
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete a value associated with a key
|
||||
*
|
||||
* @param string &$key in; Key to lookup
|
||||
* @param boolean &$success out; whether it worked
|
||||
*
|
||||
* @return boolean hook success
|
||||
*/
|
||||
function onStartCacheDelete(&$key, &$success)
|
||||
{
|
||||
$success = apc_delete($key);
|
||||
Event::handle('EndCacheDelete', array($key));
|
||||
return false;
|
||||
}
|
||||
|
||||
function onPluginVersion(&$versions)
|
||||
{
|
||||
$versions[] = array('name' => 'APC',
|
||||
'version' => GNUSOCIAL_VERSION,
|
||||
'author' => 'Evan Prodromou',
|
||||
'homepage' => 'http://status.net/wiki/Plugin:APC',
|
||||
'rawdescription' =>
|
||||
// TRANS: Plugin description.
|
||||
_m('Use the <a href="http://pecl.php.net/package/apc">APC</a> variable cache to cache query results.'));
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
#: APCPlugin.php:113
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Asturian (asturianu)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Xuacu
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:37+0000\n"
|
||||
"Language-Team: Asturian <https://translatewiki.net/wiki/Portal:ast>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ast\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Usar la caché variable <a href=\"http://pecl.php.net/package/apc\">APC</a> "
|
||||
"pa cachear los resultaos de la consulta."
|
@ -1,31 +0,0 @@
|
||||
# Translation of StatusNet - APC to Belarusian (Taraškievica orthography) (беларуская (тарашкевіца))
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: EugeneZelenko
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:37+0000\n"
|
||||
"Language-Team: Belarusian (Taraškievica orthography) <https://translatewiki."
|
||||
"net/wiki/Portal:be-tarask>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: be-tarask\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Выкарыстоўваць кэш зьменных <a href=\"http://pecl.php.net/package/apc\">APC</"
|
||||
"a> для захаваньня вынікаў запытаў."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Breton (brezhoneg)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Fulup
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:37+0000\n"
|
||||
"Language-Team: Breton <https://translatewiki.net/wiki/Portal:br>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: br\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Ober gant an <a href=\"http://pecl.php.net/package/apc\">APC</a> grubuilh "
|
||||
"kemm-digemm evit krubuilhañ disoc'hoù ar rekedoù."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to German (Deutsch)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Fujnky
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:37+0000\n"
|
||||
"Language-Team: German <https://translatewiki.net/wiki/Portal:de>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: de\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Benutze den <a href=\"http://pecl.php.net/package/apc\">APC-</a>Variablen-"
|
||||
"Cache um Anfragenergebnisse zwischenzuspeichern."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Spanish (español)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Translationista
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:37+0000\n"
|
||||
"Language-Team: Spanish <https://translatewiki.net/wiki/Portal:es>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: es\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Usa el caché de variable <a href=\"http://pecl.php.net/package/apc\">APC</a> "
|
||||
"para copiar en caché los resultados de consulta."
|
@ -1,27 +0,0 @@
|
||||
# Translation of StatusNet - APC to Basque (euskara)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Artsuaga
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:37+0000\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Erabili <a href=\"http://pecl.php.net/package/apc\">APC</a> aldagairen "
|
||||
"katxea kontsultako emaitzak katxean kopiatzeko."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to French (français)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Verdy p
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: French <https://translatewiki.net/wiki/Portal:fr>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: fr\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Utilisez le cache variable <a href=\"http://pecl.php.net/package/apc\">APC</"
|
||||
"a> pour mettre en cache les résultats de requêtes."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Galician (galego)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Toliño
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Galician <https://translatewiki.net/wiki/Portal:gl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: gl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Use a caché variable <a href=\"http://pecl.php.net/package/apc\">APC</a> "
|
||||
"para memorizar os resultados da pescuda."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Hebrew (עברית)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: YaronSh
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Hebrew <https://translatewiki.net/wiki/Portal:he>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: he\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"שימוש במטמון המשתנים <a href=\"http://pecl.php.net/package/apc\">APC</a> כדי "
|
||||
"לשמור תוצאות לשאילתות במטמון."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Interlingua (interlingua)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: McDutchie
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Interlingua <https://translatewiki.net/wiki/Portal:ia>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ia\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Usar le cache de variabiles <a href=\"http://pecl.php.net/package/apc\">APC</"
|
||||
"a> pro immagazinar le resultatos de consultas."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Indonesian (Bahasa Indonesia)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Farras
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Indonesian <https://translatewiki.net/wiki/Portal:id>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: id\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Gunakan singgahan variabel <a href=\"http://pecl.php.net/package/apc\">APC</"
|
||||
"a> untuk menyinggah hasil pencarian."
|
@ -1,27 +0,0 @@
|
||||
# Translation of StatusNet - APC to Italian (italiano)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Ximo17
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Utilizzare la cache variabile <a href=\"http://pecl.php.net/package/apc"
|
||||
"\">APC</a> per i risultati della query cache."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Macedonian (македонски)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Bjankuloski06
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Macedonian <https://translatewiki.net/wiki/Portal:mk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: mk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Користи променлив кеш <a href=\"http://pecl.php.net/package/apc\">APC</a> за "
|
||||
"кеширање на резултати од барања."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Malay (Bahasa Melayu)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Anakmalaysia
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Malay <https://translatewiki.net/wiki/Portal:ms>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ms\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Gunakan cache pembolehubah <a href=\"http://pecl.php.net/package/apc\">APC</"
|
||||
"a> untuk meng-cache-kan hasil pertanyaan."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Norwegian Bokmål (norsk (bokmål))
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Nghtwlkr
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Norwegian Bokmål <https://translatewiki.net/wiki/Portal:nb>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: nb\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Bruk <a href=\"http://pecl.php.net/package/apc\">APC</a>-"
|
||||
"variabelhurtiglagring til å hurtiglagre søkeresultat."
|
@ -1,31 +0,0 @@
|
||||
# Translation of StatusNet - APC to Dutch (Nederlands)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: McDutchie
|
||||
# Author: Siebrand
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:38+0000\n"
|
||||
"Language-Team: Dutch <https://translatewiki.net/wiki/Portal:nl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: nl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"De variabelencache <a href=\"http://pecl.php.net/package/apc\">APC</a> "
|
||||
"gebruiken om resultaten van zoekopdrachten te cachen."
|
@ -1,31 +0,0 @@
|
||||
# Translation of StatusNet - APC to Polish (polski)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Sp5uhe
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:39+0000\n"
|
||||
"Language-Team: Polish <https://translatewiki.net/wiki/Portal:pl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: pl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n == 1) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && "
|
||||
"(n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Korzystaj z <a href=\"http://pecl.php.net/package/apc\">APC</a> pamięci "
|
||||
"podręcznej zmiennych do przechowywania wyników zapytań."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Portuguese (português)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Waldir
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:39+0000\n"
|
||||
"Language-Team: Portuguese <https://translatewiki.net/wiki/Portal:pt>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: pt\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Usar o <a href=\"http://pecl.php.net/package/apc\">APC</a> para armazenar "
|
||||
"resultados de consultas em cache."
|
@ -1,31 +0,0 @@
|
||||
# Translation of StatusNet - APC to Brazilian Portuguese (português do Brasil)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Giro720
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:39+0000\n"
|
||||
"Language-Team: Brazilian Portuguese <https://translatewiki.net/wiki/Portal:"
|
||||
"pt-br>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: pt-br\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Usar o <a href=\"http://pecl.php.net/package/apc\">APC</a> para armazenar "
|
||||
"resultados de consultas em cache."
|
@ -1,31 +0,0 @@
|
||||
# Translation of StatusNet - APC to Russian (русский)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Александр Сигачёв
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:39+0000\n"
|
||||
"Language-Team: Russian <https://translatewiki.net/wiki/Portal:ru>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ru\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= "
|
||||
"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Использование кеша переменных <a href=\"http://pecl.php.net/package/apc"
|
||||
"\">APC</a> для хранения результатов запросов."
|
@ -1,30 +0,0 @@
|
||||
# Translation of StatusNet - APC to Tagalog (Tagalog)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: AnakngAraw
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:39+0000\n"
|
||||
"Language-Team: Tagalog <https://translatewiki.net/wiki/Portal:tl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: tl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Gamitin ang pabagubagong taguan ng <a href=\"http://pecl.php.net/package/apc"
|
||||
"\">APC</a> upang ikubli ang resulta ng pagtatanong."
|
@ -1,31 +0,0 @@
|
||||
# Translation of StatusNet - APC to Ukrainian (українська)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Boogie
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:39+0000\n"
|
||||
"Language-Team: Ukrainian <https://translatewiki.net/wiki/Portal:uk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: uk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= "
|
||||
"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"Використання <a href=\"http://pecl.php.net/package/apc\">APC</a> для "
|
||||
"різноманітних запитів до кешу."
|
@ -1,31 +0,0 @@
|
||||
# Translation of StatusNet - APC to Simplified Chinese (中文(简体))
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Chenxiaoqino
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - APC\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:39+0000\n"
|
||||
"Language-Team: Simplified Chinese <https://translatewiki.net/wiki/Portal:zh-"
|
||||
"hans>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:40+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: zh-hans\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-apc\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"Use the <a href=\"http://pecl.php.net/package/apc\">APC</a> variable cache "
|
||||
"to cache query results."
|
||||
msgstr ""
|
||||
"使用 <a href=\"http://pecl.php.net/package/apc\">APC</a> 变量缓存来缓存查询结"
|
||||
"果。"
|
@ -1,199 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* StatusNet, the distributed open-source microblogging tool
|
||||
*
|
||||
* Plugin for Google Adsense
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENCE: This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Ads
|
||||
* @package StatusNet
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @copyright 2010 StatusNet Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Plugin to add Google Adsense to StatusNet sites
|
||||
*
|
||||
* This plugin lets you add Adsense ad units to your StatusNet site.
|
||||
*
|
||||
* We support the 4 ad sizes for the Universal Ad Platform (UAP):
|
||||
*
|
||||
* Medium Rectangle
|
||||
* (Small) Rectangle
|
||||
* Leaderboard
|
||||
* Wide Skyscraper
|
||||
*
|
||||
* They fit in different places on the default theme. Some themes
|
||||
* might interact quite poorly with this plugin.
|
||||
*
|
||||
* To enable advertising, you must sign up with Google Adsense and
|
||||
* get a client ID.
|
||||
*
|
||||
* https://www.google.com/adsense/
|
||||
*
|
||||
* You'll also need to create an Adsense for Content unit in one
|
||||
* of the four sizes described above. At the end of the process,
|
||||
* note the "google_ad_client" and "google_ad_slot" values in the
|
||||
* resultant Javascript.
|
||||
*
|
||||
* Add the plugin to config.php like so:
|
||||
*
|
||||
* addPlugin('Adsense', array('client' => 'Your client ID',
|
||||
* 'rectangle' => 'slot'));
|
||||
*
|
||||
* Here, your client ID is the value of google_ad_client and the
|
||||
* slot is the value of google_ad_slot. Note that if you create
|
||||
* a different size, you'll need to provide different arguments:
|
||||
* 'mediumRectangle', 'leaderboard', or 'wideSkyscraper'.
|
||||
*
|
||||
* If for some reason your ad server is different from the default,
|
||||
* use the 'adScript' parameter to set the full path to the ad script.
|
||||
*
|
||||
* @category Plugin
|
||||
* @package StatusNet
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*
|
||||
* @seeAlso UAPPlugin
|
||||
*/
|
||||
class AdsensePlugin extends UAPPlugin
|
||||
{
|
||||
public $adScript = 'http://pagead2.googlesyndication.com/pagead/show_ads.js';
|
||||
public $client = null;
|
||||
|
||||
function initialize()
|
||||
{
|
||||
parent::initialize();
|
||||
|
||||
// A little bit of chicanery so we avoid overwriting values that
|
||||
// are passed in with the constructor
|
||||
foreach (array('mediumRectangle', 'rectangle', 'leaderboard', 'wideSkyscraper', 'adScript', 'client') as $setting) {
|
||||
$value = common_config('adsense', strtolower($setting));
|
||||
if (!empty($value)) { // not found
|
||||
$this->$setting = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a medium rectangle 'ad'
|
||||
*
|
||||
* @param Action $action Action being shown
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function showMediumRectangle($action)
|
||||
{
|
||||
$this->showAdsenseCode($action, 300, 250, $this->mediumRectangle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a rectangle 'ad'
|
||||
*
|
||||
* @param Action $action Action being shown
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function showRectangle($action)
|
||||
{
|
||||
$this->showAdsenseCode($action, 180, 150, $this->rectangle);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a wide skyscraper ad
|
||||
*
|
||||
* @param Action $action Action being shown
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function showWideSkyscraper($action)
|
||||
{
|
||||
$this->showAdsenseCode($action, 160, 600, $this->wideSkyscraper);
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a leaderboard ad
|
||||
*
|
||||
* @param Action $action Action being shown
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function showLeaderboard($action)
|
||||
{
|
||||
$this->showAdsenseCode($action, 728, 90, $this->leaderboard);
|
||||
}
|
||||
|
||||
/**
|
||||
* Output the bits of JavaScript code to show Adsense
|
||||
*
|
||||
* @param Action $action Action being shown
|
||||
* @param integer $width Width of the block
|
||||
* @param integer $height Height of the block
|
||||
* @param string $slot Slot identifier
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function showAdsenseCode($action, $width, $height, $slot)
|
||||
{
|
||||
$code = 'google_ad_client = "'.$this->client.'"; ';
|
||||
$code .= 'google_ad_slot = "'.$slot.'"; ';
|
||||
$code .= 'google_ad_width = '.$width.'; ';
|
||||
$code .= 'google_ad_height = '.$height.'; ';
|
||||
|
||||
$action->inlineScript($code);
|
||||
|
||||
$action->script($this->adScript);
|
||||
}
|
||||
|
||||
function onRouterInitialized($m)
|
||||
{
|
||||
$m->connect('panel/adsense',
|
||||
array('action' => 'adsenseadminpanel'));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function onEndAdminPanelNav($menu) {
|
||||
if (AdminPanelAction::canAdmin('adsense')) {
|
||||
// TRANS: Menu item title/tooltip
|
||||
$menu_title = _m('AdSense configuration');
|
||||
// TRANS: Menu item for site administration
|
||||
$menu->out->menuItem(common_local_url('adsenseadminpanel'), _m('MENU','AdSense'),
|
||||
$menu_title, $action_name == 'adsenseadminpanel', 'nav_adsense_admin_panel');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function onPluginVersion(&$versions)
|
||||
{
|
||||
$versions[] = array('name' => 'BlankAdPlugin',
|
||||
'version' => GNUSOCIAL_VERSION,
|
||||
'author' => 'Evan Prodromou',
|
||||
'homepage' => 'http://status.net/wiki/Plugin:Adsense',
|
||||
'rawdescription' =>
|
||||
// TRANS: Plugin description.
|
||||
_m('Plugin to add Google AdSense to StatusNet sites.'));
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,227 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* StatusNet, the distributed open-source microblogging tool
|
||||
*
|
||||
* Adsense administration panel
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENCE: This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Adsense
|
||||
* @package StatusNet
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @copyright 2010 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Administer adsense settings
|
||||
*
|
||||
* @category Adsense
|
||||
* @package StatusNet
|
||||
* @author Evan Prodromou <evan@status.net>
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
class AdsenseadminpanelAction extends AdminPanelAction
|
||||
{
|
||||
/**
|
||||
* Returns the page title
|
||||
*
|
||||
* @return string page title
|
||||
*/
|
||||
function title()
|
||||
{
|
||||
// TRANS: Title of AdSense administrator panel.
|
||||
return _m('TITLE', 'AdSense');
|
||||
}
|
||||
|
||||
/**
|
||||
* Instructions for using this form.
|
||||
*
|
||||
* @return string instructions
|
||||
*/
|
||||
function getInstructions()
|
||||
{
|
||||
// TRANS: Instructions for AdSense administrator panel.
|
||||
return _m('AdSense settings for this StatusNet site');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the site admin panel form
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function showForm()
|
||||
{
|
||||
$form = new AdsenseAdminPanelForm($this);
|
||||
$form->show();
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* Save settings from the form
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function saveSettings()
|
||||
{
|
||||
static $settings = array('adsense' => array('adScript', 'client', 'mediumRectangle', 'rectangle', 'leaderboard', 'wideSkyscraper'));
|
||||
|
||||
$values = array();
|
||||
|
||||
foreach ($settings as $section => $parts) {
|
||||
foreach ($parts as $setting) {
|
||||
$values[$section][$setting] = $this->trimmed($setting);
|
||||
}
|
||||
}
|
||||
|
||||
// This throws an exception on validation errors
|
||||
$this->validate($values);
|
||||
|
||||
// assert(all values are valid);
|
||||
$config = new Config();
|
||||
|
||||
$config->query('BEGIN');
|
||||
|
||||
foreach ($settings as $section => $parts) {
|
||||
foreach ($parts as $setting) {
|
||||
Config::save($section, $setting, $values[$section][$setting]);
|
||||
}
|
||||
}
|
||||
|
||||
$config->query('COMMIT');
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
function validate(&$values)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Form for the adsense admin panel
|
||||
*/
|
||||
class AdsenseAdminPanelForm extends AdminForm
|
||||
{
|
||||
/**
|
||||
* ID of the form
|
||||
*
|
||||
* @return int ID of the form
|
||||
*/
|
||||
function id()
|
||||
{
|
||||
return 'form_adsense_admin_panel';
|
||||
}
|
||||
|
||||
/**
|
||||
* class of the form
|
||||
*
|
||||
* @return string class of the form
|
||||
*/
|
||||
function formClass()
|
||||
{
|
||||
return 'form_adsense';
|
||||
}
|
||||
|
||||
/**
|
||||
* Action of the form
|
||||
*
|
||||
* @return string URL of the action
|
||||
*/
|
||||
function action()
|
||||
{
|
||||
return common_local_url('adsenseadminpanel');
|
||||
}
|
||||
|
||||
/**
|
||||
* Data elements of the form
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function formData()
|
||||
{
|
||||
$this->out->elementStart('fieldset', array('id' => 'adsense_admin'));
|
||||
$this->out->elementStart('ul', 'form_data');
|
||||
$this->li();
|
||||
$this->input('client',
|
||||
// TRANS: Field label in AdSense administration panel.
|
||||
_m('Client ID'),
|
||||
// TRANS: Field title in AdSense administration panel.
|
||||
_m('Google client ID.'),
|
||||
'adsense');
|
||||
$this->unli();
|
||||
$this->li();
|
||||
$this->input('adScript',
|
||||
// TRANS: Field label in AdSense administration panel.
|
||||
_m('Ad script URL'),
|
||||
// TRANS: Field title in AdSense administration panel.
|
||||
_m('Script URL (advanced).'),
|
||||
'adsense');
|
||||
$this->unli();
|
||||
$this->li();
|
||||
$this->input('mediumRectangle',
|
||||
// TRANS: Field label in AdSense administration panel.
|
||||
_m('Medium rectangle'),
|
||||
// TRANS: Field title in AdSense administration panel.
|
||||
_m('Medium rectangle slot code.'),
|
||||
'adsense');
|
||||
$this->unli();
|
||||
$this->li();
|
||||
$this->input('rectangle',
|
||||
// TRANS: Field label in AdSense administration panel.
|
||||
_m('Rectangle'),
|
||||
// TRANS: Field title in AdSense administration panel.
|
||||
_m('Rectangle slot code.'),
|
||||
'adsense');
|
||||
$this->unli();
|
||||
$this->li();
|
||||
$this->input('leaderboard',
|
||||
// TRANS: Field label in AdSense administration panel.
|
||||
_m('Leaderboard'),
|
||||
// TRANS: Field title in AdSense administration panel.
|
||||
_m('Leaderboard slot code.'),
|
||||
'adsense');
|
||||
$this->unli();
|
||||
$this->li();
|
||||
$this->input('wideSkyscraper',
|
||||
// TRANS: Field label in AdSense administration panel.
|
||||
_m('Skyscraper'),
|
||||
// TRANS: Field title in AdSense administration panel.
|
||||
_m('Wide skyscraper slot code.'),
|
||||
'adsense');
|
||||
$this->unli();
|
||||
$this->out->elementEnd('ul');
|
||||
}
|
||||
|
||||
/**
|
||||
* Action elements
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function formActions()
|
||||
{
|
||||
// TRANS: Button text to save settings in AdSense administration panel.
|
||||
$this->out->submit('submit', _m('BUTTON','Save'),
|
||||
// TRANS: Button title to save settings in AdSense administration panel.
|
||||
'submit', null, _m('Save AdSense settings.'));
|
||||
}
|
||||
}
|
@ -1,115 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
#: AdsensePlugin.php:194
|
||||
msgid "AdSense configuration"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#: AdsensePlugin.php:196
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
#: AdsensePlugin.php:210
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
#: adsenseadminpanel.php:53
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
#: adsenseadminpanel.php:64
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:167
|
||||
msgid "Client ID"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:169
|
||||
msgid "Google client ID."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:175
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:177
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:183
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:185
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:191
|
||||
msgid "Rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:193
|
||||
msgid "Rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:199
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:201
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:207
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:209
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:223
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
#: adsenseadminpanel.php:225
|
||||
msgid "Save AdSense settings."
|
||||
msgstr ""
|
@ -1,112 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Belarusian (Taraškievica orthography) (беларуская (тарашкевіца))
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: EugeneZelenko
|
||||
# Author: Jim-by
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: Belarusian (Taraškievica orthography) <https://translatewiki."
|
||||
"net/wiki/Portal:be-tarask>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: be-tarask\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Устаноўкі AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#, fuzzy
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Дапаўненьне для даданьня Google AdSense на сайты StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Устаноўкі AdSense для гэтага сайта StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Ідэнтыфікатар кліента"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Google client ID."
|
||||
msgstr "Ідэнтыфікатар кліента Google"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL-адрас скрыпта рэклямы"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL-адрас скрыпта (палепшаная ўстаноўка)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Сярэдні прамавугольнік"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Слот-код сярэдняга прамавугольніка"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Прамавугольнік"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Слот-код прамавугольніка"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Дошка гонару"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Слот-код дошкі гонару"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Хмарачос"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Слот-код хмарачосу"
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Захаваць"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Захаваць устаноўкі AdSense"
|
@ -1,110 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Breton (brezhoneg)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Y-M D
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: Breton <https://translatewiki.net/wiki/Portal:br>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: br\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Kefluniadur AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#, fuzzy
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Plugin evit ouzhpennañ Google AdSense da lec'hiennoù StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Arventennoù Adsense evit al lec'hienn StatusNet-mañ."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID an arval"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Google client ID."
|
||||
msgstr "ID an arval Google"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL ar skript kemenn"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL ar skript (araokaet)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Skouergornek etre"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Kod lakaet en ur skouergornek etre"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Skouergornek"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Kod lakaet er skouergornek"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Panell an urzhiadoù"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Kod lakaet e panell an urzhiadoù"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Giton a-serzh"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Kod lakaet en ur giton ledan a-serzh"
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Enrollañ"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Enrollañ arventennoù AdSense"
|
@ -1,102 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Catalan (català)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Toniher
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: Catalan <https://translatewiki.net/wiki/Portal:ca>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ca\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configuració de l'AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
"Connector per afegir el Google AdSense a llocs web basats en StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Paràmetres de l'AdSense per a aquest lloc basat en StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID del client"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "ID del client de Google"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL de l'script de l'anunci"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL de l'script (avançat)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Rectangle mitjà"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Codi de ranura del rectangle mitjà"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rectangle"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Codi de ranura del rectangle"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Desa"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Desa els paràmetres de l'AdSense."
|
@ -1,106 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to German (Deutsch)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Fujnky
|
||||
# Author: Giftpflanze
|
||||
# Author: MF-Warburg
|
||||
# Author: Marcel083
|
||||
# Author: Michael
|
||||
# Author: The Evil IP address
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: German <https://translatewiki.net/wiki/Portal:de>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: de\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense-Konfiguration"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Plugin, das Google AdSense auf StatusNet-Websites hinzufügt."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "AdSense-Einstellungen dieser StatusNet-Website"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Client-ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Google-Client-ID"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "Skript-URL"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "Skript-URL (erweitert)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Mittleres Rechteck"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Slotcode des mittleren Rechtecks."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rechteck"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Rectangle-Slot-Code."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Rangliste"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Slotcode der Rangliste."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Hochhaus"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Slotcode des weiten Hochhauses."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Speichern"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "AdSense-Einstellungen speichern"
|
@ -1,103 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Spanish (español)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Armando-Martin
|
||||
# Author: Erchache2000
|
||||
# Author: Translationista
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: Spanish <https://translatewiki.net/wiki/Portal:es>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: es\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configuración de \"AdSense\""
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Extensión para añadir Google AdSense a sitios StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "configuración de AdSense para este sitio StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID de cliente"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "ID de cliente de Google"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL del script del anuncio"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL del script (avanzado)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Rectángulo mediano"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Código de espacio de rectángulo mediano"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rectángulo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Código de espacio de rectángulo"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Clasificación"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Código colocado en el panel de comandos"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Banderola rascacielos"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Código colocado en rectángulo (''banner'') vertical ancho"
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Guardar configuración de AdSense."
|
@ -1,102 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Basque (euskara)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Artsuaga
|
||||
# Author: Unai Fdz. de Betoño
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: Basque <https://translatewiki.net/wiki/Portal:eu>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: eu\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense konfigurazioa"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Google Adsense Statusnet guneetara gehitzeko plugina."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "AdSense aukerak StatusNet gune hontarako"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID bezeroa"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Google bezero IDa."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "Gehitu scriptaren URLa"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "Scriptaren URLa (aurreratua)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Laukizuzen ertaina"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Lauki ertaineko kodea."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Laukizuzena"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Laukiko kodea."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Sailkapena"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Sailkapeneko kodea."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Lauki bertikala"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Lauki bertikaleko kodea."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Gorde"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Gorde AdSense aukerak."
|
@ -1,105 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to French (français)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Brunoperel
|
||||
# Author: Iketsi
|
||||
# Author: Od1n
|
||||
# Author: Peter17
|
||||
# Author: Verdy p
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: French <https://translatewiki.net/wiki/Portal:fr>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: fr\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configuration d’AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Greffon pour ajouter Google AdSense aux sites StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Paramètres AdSense pour ce site StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Identifiant du client"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "ID client Google."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "Adresse URL du script d’annonce"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL du script (avancé)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Rectangle moyen"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Code placé dans un rectangle moyen"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rectangle"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Codé placé dans le rectangle"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Panneau de commande"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Code placé dans le panneau de commande"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Bannière verticale"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Code placé dans une bannière verticale large"
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Sauvegarder"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Sauvegarder les paramètres AdSense."
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Galician (galego)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Toliño
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: Galician <https://translatewiki.net/wiki/Portal:gl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: gl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configuración de AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Complemento para engadir Google AdSense aos sitios de StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Configuración de AdSense para este sitio StatusNet."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Identificación do cliente"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Identificación do cliente de Google."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "Enderezo URL da escritura do anuncio"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "Enderezo URL da escritura (avanzado)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Rectángulo mediano"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Código disposto no rectángulo mediano."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rectángulo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Código disposto no rectángulo."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Taboleiro de logros"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Código disposto no taboleiro de logros."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Rañaceos"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Código disposto no rañaceos."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Gardar"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Gardar a configuración de AdSense."
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Hebrew (עברית)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: YaronSh
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-01-15 00:20+0000\n"
|
||||
"PO-Revision-Date: 2011-01-15 00:23:05+0000\n"
|
||||
"Language-Team: Hebrew <http://translatewiki.net/wiki/Portal:he>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-01-14 13:18:25+0000\n"
|
||||
"X-Generator: MediaWiki 1.18alpha (r80364); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: he\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
#: AdsensePlugin.php:194
|
||||
msgid "AdSense configuration"
|
||||
msgstr "תצורת AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#: AdsensePlugin.php:196
|
||||
msgid "AdSense"
|
||||
msgstr ""
|
||||
|
||||
#: AdsensePlugin.php:209
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:52
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:62
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:164
|
||||
msgid "Client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:165
|
||||
msgid "Google client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:170
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:171
|
||||
msgid "Script URL (advanced)"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:176
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:177
|
||||
msgid "Medium rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:182
|
||||
msgid "Rectangle"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:183
|
||||
msgid "Rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:188
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:189
|
||||
msgid "Leaderboard slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:194
|
||||
msgid "Skyscraper"
|
||||
msgstr "גורד שחקים"
|
||||
|
||||
#: adsenseadminpanel.php:195
|
||||
msgid "Wide skyscraper slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save"
|
||||
msgstr "שמירה"
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save AdSense settings"
|
||||
msgstr ""
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Interlingua (interlingua)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: McDutchie
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:31+0000\n"
|
||||
"Language-Team: Interlingua <https://translatewiki.net/wiki/Portal:ia>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ia\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configuration de AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Plug-in pro adder Google AdSense a sitos StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Configuration de AdSense pro iste sito StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID de cliente"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "ID de cliente Google."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL del script de publicitate"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL del script (avantiate)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Rectangulo medie"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Codice pro interstitio a rectangulo medie."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rectangulo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Codice pro interstitio a rectangulo."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Bandiera large"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Codice pro interstitio a bandiera large."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Grattacelo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Codice pro interstitio a grattacelo large."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Salveguardar"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Salveguardar configurationes de AdSense."
|
@ -1,104 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Italian (italiano)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Milocasagrande
|
||||
# Author: Od1n
|
||||
# Author: Rippitippi
|
||||
# Author: Ximo17
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Italian <https://translatewiki.net/wiki/Portal:it>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: it\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configurazione AdSene"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Plugin per aggiungere Google AdSense ai siti StatusNet"
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Impostazioni AdSense per questo sito StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID client"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Codice utente Google"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL script Ad"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL script (avanzato)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Rettangolo medio"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Rettangolo medio"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rettangolo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Codice di apertura del rettangolo."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Classifica"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Codice di apertura della bacheca principale."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Banner"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Codice di apertura del banner esteso."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Salva"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Salva le impostazioni di AdSense."
|
@ -1,99 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Japanese (日本語)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Miwa ka
|
||||
# Author: Shirayuki
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense の設定"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "クライアント ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Google のクライアント ID です。"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "AdSense 設定を保存する"
|
@ -1,106 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Georgian (ქართული)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Zaal
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Georgian <https://translatewiki.net/wiki/Portal:ka>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ka\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense კონფიგურაცია"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#, fuzzy
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "AdSense პარამეტრები ამ საიტისათვის."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "კლიენტის ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Google client ID."
|
||||
msgstr "Google კლიენტის ID"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "სარეკლამო სკრიპტის URL"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "სკრიპტის URL (გაფართოებული)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "საშუალო მართკუთხედი"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "საშუალო მართკუთხედი"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "მართკუთხედი"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "მართკუთხედი"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr ""
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Luxembourgish (Lëtzebuergesch)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: Robby
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-01-14 10:29+0000\n"
|
||||
"PO-Revision-Date: 2011-01-14 10:32:40+0000\n"
|
||||
"Language-Team: Luxembourgish <http://translatewiki.net/wiki/Portal:lb>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-01-10 18:25:56+0000\n"
|
||||
"X-Generator: MediaWiki 1.18alpha (r80246); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: lb\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
#: AdsensePlugin.php:194
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense Astellungen"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#: AdsensePlugin.php:196
|
||||
msgid "AdSense"
|
||||
msgstr ""
|
||||
|
||||
#: AdsensePlugin.php:209
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:52
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:62
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:164
|
||||
msgid "Client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:165
|
||||
msgid "Google client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:170
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:171
|
||||
msgid "Script URL (advanced)"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:176
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:177
|
||||
msgid "Medium rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:182
|
||||
msgid "Rectangle"
|
||||
msgstr "Rechteck"
|
||||
|
||||
#: adsenseadminpanel.php:183
|
||||
msgid "Rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:188
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:189
|
||||
msgid "Leaderboard slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:194
|
||||
msgid "Skyscraper"
|
||||
msgstr "Vertikale Banner"
|
||||
|
||||
#: adsenseadminpanel.php:195
|
||||
msgid "Wide skyscraper slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save"
|
||||
msgstr "Späicheren"
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save AdSense settings"
|
||||
msgstr "AdSense-Astellunge späicheren"
|
@ -1,102 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Lithuanian (lietuvių)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Eitvys200
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Lithuanian <https://translatewiki.net/wiki/Portal:lt>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: lt\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= "
|
||||
"2 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense konfigūracija"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Įskiepiai Google AdSense pridėjimui į StatusNet svetaines."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "AdSense nustatymui šiai StatusNet svetainei"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Kliento ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Google kliento ID."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Išsaugoti"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Išsaugoti AdSense nustatymus."
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Macedonian (македонски)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Bjankuloski06
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Macedonian <https://translatewiki.net/wiki/Portal:mk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: mk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Нагодувања на AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Приклучок за додавање на Google AdSense во мреж. места со StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Поставки на AdSense за ова мрежно место со StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID на клиент"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Назнака на Google-клиент."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL на рекламната скрипта"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL на скриптата (напредно)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Среден правоаголник"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Код на жлебот на средниот правоаголник."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Правоаголник"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Код на жлебот на правоаголникот."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Табла на предводници"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Код на жлебот на таблата на предводници."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Облакодер"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Код на жлебот на широкиот облакодер."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Зачувај"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Зачувај нагодувања на AdSense."
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Malay (Bahasa Melayu)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Anakmalaysia
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Malay <https://translatewiki.net/wiki/Portal:ms>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ms\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Konfigurasi AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Pemalam untuk menambahkan Google AdSense pada tapak StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Tetapan pengguna untuk tapak StatusNet ini"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID Klien"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "ID klien Google."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL skrip iklan"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL Skrip (termaju)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Medium rectangle"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Kod slot segi Medium rectangle."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rectangle"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Kod slot Rectangle."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Leaderboard"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Kod slot Leaderboard."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Skyscraper"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Kod slot Wide skyscraper."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Simpan"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Simpan tetapan AdSense."
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Norwegian Bokmål (norsk (bokmål))
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Nghtwlkr
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Norwegian Bokmål <https://translatewiki.net/wiki/Portal:nb>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: nb\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense-konfigurasjon"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Utvidelse for å legge til Google AdSense til StatusNet-nettsteder."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "AdSense-innstillinger for dette StatusNet-nettstedet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Klient-ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Google klient-ID."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Lagre"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Lagre AdSense-innstillinger."
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Dutch (Nederlands)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Siebrand
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Dutch <https://translatewiki.net/wiki/Portal:nl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: nl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense-instellingen"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Plug-in om Google AdSense toe te voegen aan Statusnetsites."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "AdSense-instellingen voor deze StatusNet-website"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Client-ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr ".Google client-ID."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL voor advertentiescript"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL voor script (gevorderd)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Middelgrote rechthoek"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Slotcode voor gemiddelde rechthoek."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rechthoek"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Slotcode voor rechthoek."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Breedbeeldbanner"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Slotcode voor breedbeeldbanner."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Skyscraper"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Slotcode voor brede skyscraper."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Opslaan"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "AdSense-instellingen opslaan."
|
@ -1,102 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Polish (Polski)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: Raven
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2011-01-15 00:20+0000\n"
|
||||
"PO-Revision-Date: 2011-01-15 00:23:05+0000\n"
|
||||
"Language-Team: Polish <http://translatewiki.net/wiki/Portal:pl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-01-14 13:18:25+0000\n"
|
||||
"X-Generator: MediaWiki 1.18alpha (r80364); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: pl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n == 1) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && "
|
||||
"(n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
#: AdsensePlugin.php:194
|
||||
msgid "AdSense configuration"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#: AdsensePlugin.php:196
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#: AdsensePlugin.php:209
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:52
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#: adsenseadminpanel.php:62
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:164
|
||||
msgid "Client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:165
|
||||
msgid "Google client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:170
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:171
|
||||
msgid "Script URL (advanced)"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:176
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:177
|
||||
msgid "Medium rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:182
|
||||
msgid "Rectangle"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:183
|
||||
msgid "Rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:188
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:189
|
||||
msgid "Leaderboard slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:194
|
||||
msgid "Skyscraper"
|
||||
msgstr "Skyscraper"
|
||||
|
||||
#: adsenseadminpanel.php:195
|
||||
msgid "Wide skyscraper slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save AdSense settings"
|
||||
msgstr ""
|
@ -1,108 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Portuguese (português)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Waldir
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:32+0000\n"
|
||||
"Language-Team: Portuguese <https://translatewiki.net/wiki/Portal:pt>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: pt\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configuração do AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#, fuzzy
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Plugin para adicionar Google AdSense aos sites StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Configurações do AdSense para este site StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Identificação do cliente"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Google client ID."
|
||||
msgstr "ID de cliente Google"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL do script do anúncio"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL do script (avançado)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Retângulo médio"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Retângulo médio"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Retângulo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Retângulo"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Gravar"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Gravar as configurações do AdSense"
|
@ -1,112 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Brazilian Portuguese (português do Brasil)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Giro720
|
||||
# Author: Luckas Blade
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Brazilian Portuguese <https://translatewiki.net/wiki/Portal:"
|
||||
"pt-br>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: pt-br\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Configuração do AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#, fuzzy
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Plugin para adicionar Google AdSense aos sites StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Configurações do AdSense para este site StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Identificação do cliente"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Google client ID."
|
||||
msgstr "ID de cliente Google"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL do script do anúncio"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL do script (avançado)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Retângulo médio"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Código colocado dentro de um retângulo médio."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Retângulo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Código colocado dentro de um retângulo."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Classificação"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Classificação"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Código colocado dentro de um retângulo."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Salvar"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Salvar as configurações do AdSense"
|
@ -1,108 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Russian (русский)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Eleferen
|
||||
# Author: Lockal
|
||||
# Author: Сrower
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Russian <https://translatewiki.net/wiki/Portal:ru>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ru\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= "
|
||||
"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Конфигурация AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Плагин для добавления Google AdSense на сайты StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Настройки AdSense для этого сайта StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID клиента"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Идентификатор клиента Google."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL-адрес скрипта рекламы"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL-адрес скрипта (расширенная настройка)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Средний прямоугольник"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Слот-код среднего прямоугольника"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Прямоугольник"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Слот-код прямоугольника"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Доска лидеров"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Слот-код доски лидеров"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Небоскреб"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Слот-код широкого небоскреба"
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Сохранить настройки AdSense."
|
@ -1,102 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Swedish (svenska)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Jamminjohn
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Swedish <https://translatewiki.net/wiki/Portal:sv>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: sv\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Konfiguration av AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
"Insticksmodul för att lägga till Google AdSense på StatusNet-webbplatser."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "AdSense-inställningar för denna StatusNet-webbplats"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "Klient-ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Google klient-ID."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "Skript-URL för annons"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "Skript-URL (avancerat)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Medium rektangel"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Platskod för mellanstor rektangel."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Rektangel"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Platskod för rektangel."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Leaderboard"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Platskod för leaderboard."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Skyskrapa"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Platskod för bred skyskrapa."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Spara"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Spara inställningar för AdSense."
|
@ -1,102 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Tagalog (Tagalog)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: AnakngAraw
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Tagalog <https://translatewiki.net/wiki/Portal:tl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: tl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Pagkakaayos ng AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
"Pampasak upang maidagdag ang AdSense ng Google sa mga sityo ng StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Mga katakdaan ng Adsense para sa sityong ito ng StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ID ng kliyente"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "ID ng kliyente ng Google."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "URL ng panitik ng anunsyo"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL ng panitik (mas masulong)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Hindi kalakihang parihaba"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Kodigo ng puwang na hindi kalakihang parihaba."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Parihaba"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Kodigo ng puwang na parihaba."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Pangunahing-pisara"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Kodigo ng puwang ng pangunahing-pisara."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Tukud-langit"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Kodigo ng puwang ng maluwang na tukud-langit."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Sagipin"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Sagipin ang mga katakdaan ng AdSense."
|
@ -1,101 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Turkish (Türkçe)
|
||||
# Expored from translatewiki.net
|
||||
#
|
||||
# Author: Maidis
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2010-12-16 15:08+0000\n"
|
||||
"PO-Revision-Date: 2010-12-16 15:11:27+0000\n"
|
||||
"Language-Team: Turkish <http://translatewiki.net/wiki/Portal:tr>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2010-11-30 20:40:24+0000\n"
|
||||
"X-Generator: MediaWiki 1.18alpha (r78478); Translate extension (2010-09-17)\n"
|
||||
"X-Translation-Project: translatewiki.net at http://translatewiki.net\n"
|
||||
"X-Language-Code: tr\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
#: AdsensePlugin.php:194
|
||||
msgid "AdSense configuration"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#: AdsensePlugin.php:196
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#: AdsensePlugin.php:209
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:52
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#: adsenseadminpanel.php:62
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:164
|
||||
msgid "Client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:165
|
||||
msgid "Google client ID"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:170
|
||||
msgid "Ad script URL"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:171
|
||||
msgid "Script URL (advanced)"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:176
|
||||
msgid "Medium rectangle"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:177
|
||||
msgid "Medium rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:182
|
||||
msgid "Rectangle"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:183
|
||||
msgid "Rectangle slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:188
|
||||
msgid "Leaderboard"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:189
|
||||
msgid "Leaderboard slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:194
|
||||
msgid "Skyscraper"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:195
|
||||
msgid "Wide skyscraper slot code"
|
||||
msgstr ""
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save"
|
||||
msgstr "Kaydet"
|
||||
|
||||
#: adsenseadminpanel.php:208
|
||||
msgid "Save AdSense settings"
|
||||
msgstr "AdSense ayarlarını kaydet"
|
@ -1,102 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Ukrainian (українська)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Boogie
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Ukrainian <https://translatewiki.net/wiki/Portal:uk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: uk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= "
|
||||
"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "Конфігурація AdSense"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "Додаток для відображення Google AdSense на сторінці сайту StatusNet."
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "Налаштування AdSense на даному сайті StatusNet"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "ІД клієнта"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Google client ID."
|
||||
msgstr "Ідентифікатор клієнта Google."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "Адреса скрипту AdSense"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "URL-адреса сценарію (розширена опція)."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "Середній прямокутник"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "Слот-код середнього прямокутника."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "Прямокутник"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "Слот-код прямокутника."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "Банер"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "Слот-код банеру."
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "Хмарочос"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "Слот-код хмарочосу."
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "Зберегти"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "Зберегти налаштування AdSense."
|
@ -1,112 +0,0 @@
|
||||
# Translation of StatusNet - Adsense to Simplified Chinese (中文(简体))
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Chenxiaoqino
|
||||
# Author: ZhengYiFeng
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Adsense\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Simplified Chinese <https://translatewiki.net/wiki/Portal:zh-"
|
||||
"hans>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-12-03 10:22:41+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: zh-hans\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-adsense\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: Menu item title/tooltip
|
||||
msgid "AdSense configuration"
|
||||
msgstr "AdSense配置"
|
||||
|
||||
#. TRANS: Menu item for site administration
|
||||
#, fuzzy
|
||||
msgctxt "MENU"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid "Plugin to add Google AdSense to StatusNet sites."
|
||||
msgstr "添加 Google AdSense 到 StatusNet 网站的插件。"
|
||||
|
||||
#. TRANS: Title of AdSense administrator panel.
|
||||
msgctxt "TITLE"
|
||||
msgid "AdSense"
|
||||
msgstr "AdSense"
|
||||
|
||||
#. TRANS: Instructions for AdSense administrator panel.
|
||||
msgid "AdSense settings for this StatusNet site"
|
||||
msgstr "这个 StatusNet 网站的 AdSense 设置"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Client ID"
|
||||
msgstr "客户ID"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Google client ID."
|
||||
msgstr "Google 发布商 ID(例如:pub-1234567890123456)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Ad script URL"
|
||||
msgstr "广告脚本地址"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Script URL (advanced)."
|
||||
msgstr "高级脚本地址"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Medium rectangle"
|
||||
msgstr "中等矩形"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Medium rectangle slot code."
|
||||
msgstr "中等矩形广告代码(#ID)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Rectangle"
|
||||
msgstr "小矩形"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Rectangle slot code."
|
||||
msgstr "小矩形广告代码(#ID)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Leaderboard"
|
||||
msgstr "首页横幅"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Leaderboard slot code."
|
||||
msgstr "首页横幅广告代码(#ID)"
|
||||
|
||||
#. TRANS: Field label in AdSense administration panel.
|
||||
msgid "Skyscraper"
|
||||
msgstr "宽幅摩天大楼"
|
||||
|
||||
#. TRANS: Field title in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Wide skyscraper slot code."
|
||||
msgstr "宽幅摩天大楼广告代码(#ID)"
|
||||
|
||||
#. TRANS: Button text to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgctxt "BUTTON"
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
|
||||
#. TRANS: Button title to save settings in AdSense administration panel.
|
||||
#, fuzzy
|
||||
msgid "Save AdSense settings."
|
||||
msgstr "保存AdSense设置"
|
@ -1,165 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2009, StatusNet, Inc.
|
||||
*
|
||||
* Send and receive notices using the AIM network
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category IM
|
||||
* @package StatusNet
|
||||
* @author Craig Andrews <candrews@integralblue.com>
|
||||
* @copyright 2009 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
// This check helps protect against security problems;
|
||||
// your code file can't be executed directly from the web.
|
||||
exit(1);
|
||||
}
|
||||
// We bundle the phptoclib library...
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib/phptoclib');
|
||||
|
||||
/**
|
||||
* Plugin for AIM
|
||||
*
|
||||
* @category Plugin
|
||||
* @package StatusNet
|
||||
* @author Craig Andrews <candrews@integralblue.com>
|
||||
* @copyright 2009 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
class AimPlugin extends ImPlugin
|
||||
{
|
||||
public $user = null;
|
||||
public $password = null;
|
||||
public $publicFeed = array();
|
||||
|
||||
public $transport = 'aim';
|
||||
|
||||
function getDisplayName()
|
||||
{
|
||||
// TRANS: Display name.
|
||||
return _m('AIM');
|
||||
}
|
||||
|
||||
function normalize($screenname)
|
||||
{
|
||||
$screenname = str_replace(" ","", $screenname);
|
||||
return strtolower($screenname);
|
||||
}
|
||||
|
||||
function daemonScreenname()
|
||||
{
|
||||
return $this->user;
|
||||
}
|
||||
|
||||
function validate($screenname)
|
||||
{
|
||||
if(preg_match('/^[a-z]\w{2,15}$/i', $screenname)) {
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Load related modules when needed
|
||||
*
|
||||
* @param string $cls Name of the class to be loaded
|
||||
*
|
||||
* @return boolean hook value; true means continue processing, false means stop.
|
||||
*/
|
||||
function onAutoload($cls)
|
||||
{
|
||||
$dir = dirname(__FILE__);
|
||||
|
||||
switch ($cls)
|
||||
{
|
||||
case 'Aim':
|
||||
require_once(INSTALLDIR.'/plugins/Aim/extlib/phptoclib/aimclassw.php');
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::onAutoload($cls);
|
||||
}
|
||||
|
||||
function onStartImDaemonIoManagers(&$classes)
|
||||
{
|
||||
parent::onStartImDaemonIoManagers($classes);
|
||||
$classes[] = new AimManager($this); // handles sending/receiving
|
||||
return true;
|
||||
}
|
||||
|
||||
function microiduri($screenname)
|
||||
{
|
||||
return 'aim:' . $screenname;
|
||||
}
|
||||
|
||||
function sendMessage($screenname, $body)
|
||||
{
|
||||
$this->fake_aim->sendIm($screenname, $body);
|
||||
$this->enqueueOutgoingRaw($this->fake_aim->would_be_sent);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Accept a queued input message.
|
||||
*
|
||||
* @return true if processing completed, false if message should be reprocessed
|
||||
*/
|
||||
function receiveRawMessage($message)
|
||||
{
|
||||
$info=Aim::getMessageInfo($message);
|
||||
$from = $info['from'];
|
||||
$user = $this->getUser($from);
|
||||
$notice_text = $info['message'];
|
||||
|
||||
$this->handleIncoming($from, $notice_text);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function initialize(){
|
||||
if(!isset($this->user)){
|
||||
// TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
throw new Exception(_m('Must specify a user.'));
|
||||
}
|
||||
if(!isset($this->password)){
|
||||
// TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
throw new Exception(_m('Must specify a password.'));
|
||||
}
|
||||
|
||||
$this->fake_aim = new Fake_Aim($this->user,$this->password,4);
|
||||
return true;
|
||||
}
|
||||
|
||||
function onPluginVersion(&$versions)
|
||||
{
|
||||
$versions[] = array('name' => 'AIM',
|
||||
'version' => GNUSOCIAL_VERSION,
|
||||
'author' => 'Craig Andrews',
|
||||
'homepage' => 'http://status.net/wiki/Plugin:AIM',
|
||||
'rawdescription' =>
|
||||
// TRANS: Plugin description.
|
||||
_m('The AIM plugin allows users to send and receive notices over the AIM network.'));
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
The AIM plugin allows users to send and receive notices over the AIM network.
|
||||
|
||||
Installation
|
||||
============
|
||||
add "addPlugin('aim',
|
||||
array('setting'=>'value', 'setting2'=>'value2', ...);"
|
||||
to the bottom of your config.php
|
||||
|
||||
scripts/imdaemon.php included with StatusNet must be running. It will be started by
|
||||
the plugin along with their other daemons when you run scripts/startdaemons.sh.
|
||||
See the StatusNet README for more about queuing and daemons.
|
||||
|
||||
Settings
|
||||
========
|
||||
user*: username (screenname) to use when logging into AIM
|
||||
password*: password for that user
|
||||
|
||||
* required
|
||||
default values are in (parenthesis)
|
||||
|
||||
Example
|
||||
=======
|
||||
addPlugin('aim', array(
|
||||
'user=>'...',
|
||||
'password'=>'...'
|
||||
));
|
||||
|
@ -1,42 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* StatusNet, the distributed open-source microblogging tool
|
||||
*
|
||||
* Instead of sending AIM messages, retrieve the raw data that would be sent
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENCE: This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category Network
|
||||
* @package StatusNet
|
||||
* @author Craig Andrews <candrews@integralblue.com>
|
||||
* @copyright 2010 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
class Fake_Aim extends Aim
|
||||
{
|
||||
public $would_be_sent = null;
|
||||
|
||||
function sflapSend($sflap_type, $sflap_data, $no_null, $formatted)
|
||||
{
|
||||
$this->would_be_sent = array($sflap_type, $sflap_data, $no_null, $formatted);
|
||||
}
|
||||
}
|
@ -1,169 +0,0 @@
|
||||
phpTOCLib version 1.0 RC1
|
||||
|
||||
This is released under the LGPL. AIM,TOC,OSCAR, and all other related protocols/terms are
|
||||
copyright AOL/Time Warner. This project is in no way affiliated with them, nor is this
|
||||
project supported by them.
|
||||
|
||||
Some of the code is loosely based off of a script by Jeffrey Grafton. Mainly the decoding of packets, and the
|
||||
function for roasting passwords is entirly his.
|
||||
|
||||
TOC documentation used is available at http://simpleaim.sourceforge.net/docs/TOC.txt
|
||||
|
||||
|
||||
About:
|
||||
phpTOCLib aims to be a PHP equivalent to the PERL module NET::AIM. Due to some limitations,
|
||||
this is difficult. Many features have been excluded in the name of simplicity, and leaves
|
||||
you alot of room to code with externally, providing function access to the variables that
|
||||
need them.
|
||||
|
||||
I have aimed to make this extensible, and easy to use, therefore taking away some built in
|
||||
functionality that I had originally out in. This project comes after several months of
|
||||
researching the TOC protocol.
|
||||
|
||||
example.php is included with the class. It needs to be executed from the command line
|
||||
(ie:php -q testscript.php) and you need to call php.exe with the -q
|
||||
example is provided as a demonstaration only. Though it creats a very simple, functional bot, it lacks any sort of commands, it merely resends the message it recieves in reverse.
|
||||
|
||||
|
||||
Revisions:
|
||||
|
||||
-----------------------------------
|
||||
by Rajiv Makhijani
|
||||
(02/24/04)
|
||||
- Fixed Bug in Setting Permit/Deny Mode
|
||||
- Fixes so Uninitialized string offset notice doesn't appear
|
||||
- Replaced New Lines Outputed for Each Flap Read with " . " so
|
||||
that you can still tell it is active but it does not take so much space
|
||||
- Removed "eh?" message
|
||||
- Added MySQL Database Connection Message
|
||||
- New Functions:
|
||||
update_profile(profile data string, powered by boolean)
|
||||
* The profile data string is the text that goes in the profile.
|
||||
* The powered by boolean if set to true displays a link to the
|
||||
sourceforge page of the script.
|
||||
(02/28/04)
|
||||
- Silent option added to set object not to output any information
|
||||
- To follow silent rule use sEcho function instead of Echo
|
||||
-----------------------------------
|
||||
by Jeremy (pickleman78)
|
||||
(05/26/04) beta 1 release
|
||||
-Complete overhaul of class design and message handling
|
||||
-Fixed bug involving sign off after long periods of idling
|
||||
-Added new function $Aim->registerHandler
|
||||
-Added the capability to handle all AIM messages
|
||||
-Processing the messages is still the users responsibility
|
||||
-Did a little bit of code cleanup
|
||||
-Added a few internal functions to make the classes internal life easier
|
||||
-Improved AIM server error message processing
|
||||
-Updated this document (hopefully Rajiv will clean it up some, since I'm a terrible documenter)
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Functions:
|
||||
|
||||
Several methods are provided in the class that allow for simple access to some of the
|
||||
common features of AIM. Below are details.
|
||||
|
||||
$Aim->Aim($sn,$password,$pdmode, $silent=false)
|
||||
The constructor, it takes 4 arguments.
|
||||
$sn is your screen name
|
||||
$password is you password, in plain text
|
||||
$pdmode is the permit deny mode. This can be as follows:
|
||||
1 - Allow All
|
||||
2 - Deny All
|
||||
3 - Permit only those on your permit list
|
||||
4 - Permit all those not on your deny list
|
||||
$silent if set to true prints out nothing
|
||||
|
||||
So, if your screen-name is JohnDoe746 and your password is fertu, and you want to allow
|
||||
all users of the AIM server to contact you, you would code as follows
|
||||
$myaim=new Aim("JohnDoe746","fertu",1);
|
||||
|
||||
|
||||
$Aim->add_permit($buddy)
|
||||
This adds the buddy passed to the function to your permit list.
|
||||
ie: $myaim->add_permit("My friend22");
|
||||
|
||||
$Aim->block_buddy($buddy)
|
||||
Blocks a user. This will switch your pd mode to 4. After using this, for the user to remain
|
||||
out of contact with you, it is required to provide the constructor with a pd mode of 4
|
||||
ie:$myaim->block_buddy("Annoying guy 4");
|
||||
|
||||
$Aim->send_im($to,$message,$auto=false)
|
||||
Sends $message to $user. If you set the 3rd argument to true, then the recipient will receive it in
|
||||
the same format as an away message. (Auto Response from me:)
|
||||
A message longer than 65535 will be truncated
|
||||
ie:$myaim->send_im("myfriend","This is a happy message");
|
||||
|
||||
$Aim->set_my_info()
|
||||
Sends an update buddy command to the server and allows some internal values about yourself
|
||||
to be set.
|
||||
ie:$myaim->set_my_info();
|
||||
|
||||
$Aim->signon()
|
||||
Call this to connect to the server. This must be called before any other methods will work
|
||||
properly
|
||||
ie:$mybot->signon();
|
||||
|
||||
$Aim->getLastReceived()
|
||||
Returns $this->myLastReceived['decoded']. This should be the only peice of the gotten data
|
||||
you need to concern yourself with. This is a preferred method of accessing this variable to prevent
|
||||
accidental modification of $this->myLastReceived. Accidently modifying this variable can
|
||||
cause some internal failures.
|
||||
|
||||
$Aim->read_from_aim()
|
||||
This is a wrapper for $Aim->sflap_read(), and only returns the $this->myLastReceived['data']
|
||||
portion of the message. It is preferred that you do not call $Aim->sflap_read() and use this
|
||||
function instead. This function has a return value. Calling this prevents the need to call
|
||||
$Aim->getLastReceived()
|
||||
|
||||
$Aim->setWarning($wl)
|
||||
This allows you to update the bots warning level when warned.
|
||||
|
||||
$Aim->getBuddies()
|
||||
Returns the $this->myBuddyList array. Use this instead of modifying the internal variable
|
||||
|
||||
$Aim->getPermit()
|
||||
Returns the $this->myPermitList array. Use this instead of modifying the internal variable
|
||||
|
||||
$Aim->getBlocked()
|
||||
Returns the $this->myBlockedList array. Use this instead of modifying the internal variable
|
||||
|
||||
$Aim->warn_user($user,$anon=false)
|
||||
Warn $user. If anon is set to true, then it warns the user anonomously
|
||||
|
||||
$Aim->update_profile($information, $poweredby=false)
|
||||
Updates Profile to $information. If $poweredby is true a link to
|
||||
sourceforge page for this script is appended to profile
|
||||
|
||||
$Aim->registerHandler($function_name,$command)
|
||||
This is by far the best thing about the new release.
|
||||
For more information please reas supplement.txt. It is not included here because of the sheer size of the document.
|
||||
supplement.txt contains full details on using registerHandler and what to expect for each input.
|
||||
|
||||
|
||||
For convenience, I have provided some functions to simplify message processing.
|
||||
|
||||
They can be read about in the file "supplement.txt". I chose not to include the text here because it
|
||||
is a huge document
|
||||
|
||||
|
||||
|
||||
There are a few things you should note about AIM
|
||||
1)An incoming message has HTML tags in it. You are responsible for stripping those tags
|
||||
2)Outgoing messages can have HTML tags, but will work fine if they don't. To include things
|
||||
in the time feild next to the users name, send it as a comment
|
||||
|
||||
Conclusion:
|
||||
The class is released under the LGPL. If you have any bug reports, comments, questions
|
||||
feature requests, or want to help/show me what you've created with this(I am very interested in this),
|
||||
please drop me an email: pickleman78@users.sourceforge.net. This code was written by
|
||||
Jeremy(a.k.a pickleman78) and Rajiv M (a.k.a compwiz562).
|
||||
|
||||
|
||||
Special thanks:
|
||||
I'd like to thank all of the people who have contributed ideas, testing, bug reports, and code additions to
|
||||
this project. I'd like to especially thank Rajiv, who has done do much for the project, and has kept this documnet
|
||||
looking nice. He also has done alot of testing of this script too. I'd also like to thank SpazLink for his help in
|
||||
testing. And finally I'd like to thank Jeffery Grafton, whose script inspired me to start this project.
|
File diff suppressed because it is too large
Load Diff
@ -1,229 +0,0 @@
|
||||
<?php
|
||||
|
||||
//The following class was created June 30th 2004 by Jeremy(pickle)
|
||||
//This class is designed to handle a direct connection
|
||||
|
||||
class Dconnect
|
||||
{
|
||||
var $sock;
|
||||
var $lastReceived;
|
||||
var $lastMessage;
|
||||
var $connected;
|
||||
var $cookie;
|
||||
var $type=2;
|
||||
var $connectedTo;
|
||||
|
||||
|
||||
function Dconnect($ip,$port)
|
||||
{
|
||||
if(!$this->connect($ip,$port))
|
||||
{
|
||||
sEcho("Connection failed constructor");
|
||||
$this->connected=false;
|
||||
}
|
||||
else
|
||||
$this->connected=true;
|
||||
|
||||
$this->lastMessage="";
|
||||
$this->lastReceived="";
|
||||
}
|
||||
|
||||
function readDIM()
|
||||
{
|
||||
/*
|
||||
if(!$this->stuffToRead())
|
||||
{
|
||||
sEcho("Nothing to read");
|
||||
$this->lastMessage=$this->lastReceived="";
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
$head=fread($this->sock,6);
|
||||
if(strlen($head)<=0)
|
||||
{
|
||||
sEcho("The direct connection has been closed");
|
||||
return false;
|
||||
}
|
||||
$minihead=unpack("a4ver/nsize",$head);
|
||||
if($minihead['size'] <=0)
|
||||
return;
|
||||
$headerinfo=unpack("nchan/nsix/nzero/a6cookie/Npt1/Npt2/npt3/Nlen/Npt/npt0/ntype/Nzerom/a*sn",fread($this->sock,($minihead['size']-6)));
|
||||
$allheader=array_merge($minihead,$headerinfo);
|
||||
sEcho($allheader);
|
||||
if($allheader['len']>0 && $allheader['len'] <= MAX_DIM_SIZE)
|
||||
{
|
||||
$left=$allheader['len'];
|
||||
$stuff="";
|
||||
$nonin=0;
|
||||
while(strlen($stuff) < $allheader['len'] && $nonin<3)
|
||||
{
|
||||
$stuffg=fread($this->sock,$left);
|
||||
if(strlen($stuffg)<0)
|
||||
{
|
||||
$nonin++;
|
||||
continue;
|
||||
}
|
||||
$left=$left - strlen($stuffg);
|
||||
$stuff.=$stuffg;
|
||||
}
|
||||
$data=unpack("a*decoded",$stuff);
|
||||
}
|
||||
|
||||
else if($allheader['len'] > MAX_DIM_SIZE)
|
||||
{
|
||||
$data['decoded']="too big";
|
||||
}
|
||||
|
||||
else
|
||||
$data['decoded']="";
|
||||
$all=array_merge($allheader,$data);
|
||||
|
||||
$this->lastReceived=$all;
|
||||
$this->lastMessage=$all['decoded'];
|
||||
|
||||
//$function=$this->DimInf . "(\$all);";
|
||||
//eval($function);
|
||||
|
||||
return $all;
|
||||
}
|
||||
|
||||
function sendMessage($message,$sn)
|
||||
{
|
||||
//Make the "mini header"
|
||||
$minihead=pack("a4n","ODC2",76);
|
||||
$header=pack("nnna6NNnNNnnNa*",1,6,0,$this->cookie,0,0,0,strlen($message),0,0,96,0,$sn);
|
||||
$bighead=$minihead . $header;
|
||||
while(strlen($bighead)<76)
|
||||
$bighead.=pack("c",0);
|
||||
|
||||
$tosend=$bighead . pack("a*",$message);
|
||||
$w=array($this->sock);
|
||||
stream_select($r=NULL,$w,$e=NULL,NULL);
|
||||
//Now send it all
|
||||
fputs($this->sock,$tosend,strlen($tosend));
|
||||
}
|
||||
function stuffToRead()
|
||||
{
|
||||
//$info=stream_get_meta_data($this->sock);
|
||||
//sEcho($info);
|
||||
$s=array($this->sock);
|
||||
$changed=stream_select($s,$fds=NULL,$m=NULL,0,20000);
|
||||
return ($changed>0);
|
||||
}
|
||||
|
||||
function close()
|
||||
{
|
||||
$this->connected=false;
|
||||
return fclose($this->sock);
|
||||
}
|
||||
|
||||
function connect($ip,$port)
|
||||
{
|
||||
$this->sock=fsockopen($ip,$port,$en,$es,3);
|
||||
if(!$this->sock)
|
||||
{ sEcho("Connection failed");
|
||||
$this->sock=null;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class FileSendConnect
|
||||
{
|
||||
var $sock;
|
||||
var $lastReceived;
|
||||
var $lastMessage;
|
||||
var $connected;
|
||||
var $cookie;
|
||||
var $tpye=3;
|
||||
|
||||
|
||||
function FileSendConnect($ip,$port)
|
||||
{
|
||||
if(!$this->connect($ip,$port))
|
||||
{
|
||||
sEcho("Connection failed constructor");
|
||||
$this->connected=false;
|
||||
}
|
||||
else
|
||||
$this->connected=true;
|
||||
|
||||
$this->lastMessage="";
|
||||
$this->lastReceived="";
|
||||
}
|
||||
|
||||
function readDIM()
|
||||
{
|
||||
|
||||
if(!$this->stuffToRead())
|
||||
{
|
||||
sEcho("Nothing to read");
|
||||
$this->lastMessage=$this->lastReceived="";
|
||||
return;
|
||||
}
|
||||
|
||||
$minihead=unpack("a4ver/nsize",fread($this->sock,6));
|
||||
if($minihead['size'] <=0)
|
||||
return;
|
||||
$headerinfo=unpack("nchan/nsix/nzero/a6cookie/Npt1/Npt2/npt3/Nlen/Npt/npt0/ntype/Nzerom/a*sn",fread($this->sock,($minihead['size']-6)));
|
||||
$allheader=array_merge($minihead,$headerinfo);
|
||||
sEcho($allheader);
|
||||
if($allheader['len']>0)
|
||||
$data=unpack("a*decoded",fread($this->sock,$allheader['len']));
|
||||
else
|
||||
$data['decoded']="";
|
||||
$all=array_merge($allheader,$data);
|
||||
|
||||
$this->lastReceived=$all;
|
||||
$this->lastMessage=$all['decoded'];
|
||||
|
||||
//$function=$this->DimInf . "(\$all);";
|
||||
//eval($function);
|
||||
|
||||
return $all;
|
||||
}
|
||||
|
||||
function sendMessage($message,$sn)
|
||||
{
|
||||
//Make the "mini header"
|
||||
$minihead=pack("a4n","ODC2",76);
|
||||
$header=pack("nnna6NNnNNnnNa*",1,6,0,$this->cookie,0,0,0,strlen($message),0,0,96,0,$sn);
|
||||
$bighead=$minihead . $header;
|
||||
while(strlen($bighead)<76)
|
||||
$bighead.=pack("c",0);
|
||||
|
||||
$tosend=$bighead . pack("a*",$message);
|
||||
|
||||
//Now send it all
|
||||
fwrite($this->sock,$tosend,strlen($tosend));
|
||||
}
|
||||
function stuffToRead()
|
||||
{
|
||||
//$info=stream_get_meta_data($this->sock);
|
||||
//sEcho($info);
|
||||
$s=array($this->sock);
|
||||
$changed=stream_select($s,$fds=NULL,$m=NULL,1);
|
||||
return ($changed>0);
|
||||
}
|
||||
|
||||
function close()
|
||||
{
|
||||
$this->connected=false;
|
||||
fclose($this->sock);
|
||||
unset($this->sock);
|
||||
return true;
|
||||
}
|
||||
|
||||
function connect($ip,$port)
|
||||
{
|
||||
$this->sock=fsockopen($ip,$port,$en,$es,3);
|
||||
if(!$this->sock)
|
||||
{ sEcho("Connection failed to" . $ip . ":" . $port);
|
||||
$this->sock=null;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,100 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2008, 2009, StatusNet, Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
|
||||
|
||||
/**
|
||||
* AIM background connection manager for AIM-using queue handlers,
|
||||
* allowing them to send outgoing messages on the right connection.
|
||||
*
|
||||
* Input is handled during socket select loop, keepalive pings during idle.
|
||||
* Any incoming messages will be handled.
|
||||
*
|
||||
* In a multi-site queuedaemon.php run, one connection will be instantiated
|
||||
* for each site being handled by the current process that has XMPP enabled.
|
||||
*/
|
||||
class AimManager extends ImManager
|
||||
{
|
||||
public $conn = null;
|
||||
/**
|
||||
* Initialize connection to server.
|
||||
* @return boolean true on success
|
||||
*/
|
||||
public function start($master)
|
||||
{
|
||||
if(parent::start($master))
|
||||
{
|
||||
$this->connect();
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function getSockets()
|
||||
{
|
||||
$this->connect();
|
||||
if($this->conn){
|
||||
return array($this->conn->myConnection);
|
||||
}else{
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Process AIM events that have come in over the wire.
|
||||
* @param resource $socket
|
||||
*/
|
||||
public function handleInput($socket)
|
||||
{
|
||||
common_log(LOG_DEBUG, "Servicing the AIM queue.");
|
||||
$this->stats('aim_process');
|
||||
$this->conn->receive();
|
||||
}
|
||||
|
||||
function connect()
|
||||
{
|
||||
if (!$this->conn) {
|
||||
$this->conn=new Aim($this->plugin->user,$this->plugin->password,4);
|
||||
$this->conn->registerHandler("IMIn",array($this,"handle_aim_message"));
|
||||
$this->conn->myServer="toc.oscar.aol.com";
|
||||
$this->conn->signon();
|
||||
// @todo i18n FIXME: Update translator documentation, please.
|
||||
// TRANS: No idea what the use case for this message is.
|
||||
$this->conn->setProfile(_m('Send me a message to post a notice'),false);
|
||||
}
|
||||
return $this->conn;
|
||||
}
|
||||
|
||||
function handle_aim_message($data)
|
||||
{
|
||||
$this->plugin->enqueueIncomingRaw($data);
|
||||
return true;
|
||||
}
|
||||
|
||||
function send_raw_message($data)
|
||||
{
|
||||
$this->connect();
|
||||
if (!$this->conn) {
|
||||
return false;
|
||||
}
|
||||
$this->conn->sflapSend($data[0],$data[1],$data[2],$data[3]);
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
#: aimmanager.php:80
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Display name.
|
||||
#: AimPlugin.php:60
|
||||
msgid "AIM"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
#: AimPlugin.php:149
|
||||
msgid "Must specify a user."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
#: AimPlugin.php:153
|
||||
msgid "Must specify a password."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
#: AimPlugin.php:168
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Afrikaans (Afrikaans)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Naudefj
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Afrikaans <https://translatewiki.net/wiki/Portal:af>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: af\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Stuur my 'n boodskap om 'n kennisgewing te pos"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Die AIM-uitbreiding laat gebruikers toe om kennisgewings oor die AIM-netwerk "
|
||||
"te stuur en te ontvang."
|
@ -1,47 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Catalan (català)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Dvdgmz
|
||||
# Author: Gemmaa
|
||||
# Author: Toniher
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:33+0000\n"
|
||||
"Language-Team: Catalan <https://translatewiki.net/wiki/Portal:ca>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ca\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Envia'm un missatge per publicar un avís"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Has d'especificar un usuari"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Has d'especificar una contrassenya"
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"El connector XMPP permet als usuaris enviar i rebre avisos des de la xarxa "
|
||||
"XMPP/Jabber."
|
@ -1,46 +0,0 @@
|
||||
# Translation of StatusNet - Aim to German (Deutsch)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Giftpflanze
|
||||
# Author: Marcel083
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: German <https://translatewiki.net/wiki/Portal:de>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: de\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Sende mir eine Nachricht um eine Notiz zu schreiben"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Du musst einen Benutzer angeben."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Du musst ein Passwort angeben."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Das AIM-Plugin ermöglicht es Benutzern, Nachrichten über das AIM-Netzwerk zu "
|
||||
"senden und zu empfangen."
|
@ -1,47 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Spanish (español)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Erchache2000
|
||||
# Author: Od1n
|
||||
# Author: Plaxed
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Spanish <https://translatewiki.net/wiki/Portal:es>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: es\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Enviarme un mensaje para publicar un aviso"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Debe especificar un usuario."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Debe especificar una contraseña."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"El plugin AIM permite a los usuarios enviar y recibir mensajes de una red "
|
||||
"AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Basque (euskara)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Artsuaga
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Basque <https://translatewiki.net/wiki/Portal:eu>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: eu\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Bidali mezu bat niri ohar bat argitartzeko"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Erabiltzaile bat zehaztu."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Pasahitz bat zehaztu."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"AIM pluginak erabiltzaileei AIM sare bidez mezuak bidali eta jasotzea "
|
||||
"ahalbidetzen die."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Finnish (suomi)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Tne
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Finnish <https://translatewiki.net/wiki/Portal:fi>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: fi\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Lähetä minulle viesti lähettääksesi päivityksen"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Käyttäjä pitää määrittää."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Salasana pitää määrittää."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"AIM-liitännäisen avulla käyttäjät voivat lähettää ja vastaanottaa "
|
||||
"päivityksiä AIM-verkoston kautta."
|
@ -1,46 +0,0 @@
|
||||
# Translation of StatusNet - Aim to French (français)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Coyau
|
||||
# Author: Iketsi
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: French <https://translatewiki.net/wiki/Portal:fr>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: fr\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Envoyez-moi un message pour envoyer un avis"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Vous devez indiquer un utilisateur."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Vous devez indiquer un mot de passe."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Le plugin AIM permet aux utilisateurs d'envoyer et de recevoir des messages "
|
||||
"depuis le réseau AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Galician (galego)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Toliño
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Galician <https://translatewiki.net/wiki/Portal:gl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: gl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Envíame unha mensaxe para publicar unha nota"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Cómpre especificar un usuario."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Cómpre especificar un contrasinal."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"O complemento AIM permite aos usuarios enviar e recibir mensaxes desde a "
|
||||
"rede de AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Interlingua (interlingua)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: McDutchie
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Interlingua <https://translatewiki.net/wiki/Portal:ia>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ia\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Inviar me un message pro publicar un nota"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Es necessari specificar un usator."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Es necessari specificar un contrasigno."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Le plug-in de AIM permitte que usatores invia e recipe notas per le rete de "
|
||||
"AIM."
|
@ -1,43 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Italian (italiano)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Od1n
|
||||
# Author: Ximo17
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Mandami un messaggio per pubblicare una notizia"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Devi specificare un utente."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Devi specificare una password."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Il plugin per AIM consente agli utenti di inviare e ricevere le notizie "
|
||||
"tramite la rete AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Macedonian (македонски)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Bjankuloski06
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Macedonian <https://translatewiki.net/wiki/Portal:mk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: mk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n == 1 || n%10 == 1) ? 0 : 1;\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Испрати ми порака за да објавам забелешка"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Мора да наведете корисник."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Мора да наведете лозинка."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Приклучокот AIM им овозможува на корисниците да испраќаат и примаат "
|
||||
"забелешки преку мрежата AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Malay (Bahasa Melayu)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Anakmalaysia
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Malay <https://translatewiki.net/wiki/Portal:ms>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: ms\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Hantarkan pesanan kepada saya untuk mengirim notis"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Pengguna mesti ditentukan."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Kata laluan mesti ditentukan."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Pemalam AIM membolehkan pengguna menghantar dan menerima notis menerusi "
|
||||
"rangkaian AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Dutch (Nederlands)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Siebrand
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Language-Team: Dutch <https://translatewiki.net/wiki/Portal:nl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: nl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Mij een bericht sturen om een mededeling te verzenden"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Er moet een gebruiker opgegeven worden."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Er moet een wachtwoord opgegeven worden."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Maakt het mogelijk om mededelingen te zenden naar en ontvangen van een AIM-"
|
||||
"netwerk."
|
@ -1,43 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Polish (polski)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: BeginaFelicysym
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:34+0000\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n == 1) ? 0 : ( (n%10 >= 2 && n%10 <= 4 && "
|
||||
"(n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Wyślij do mnie wiadomość by dodać ogłoszenie"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Należy określić użytkownika."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Należy określić hasło."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Wtyczka AIM umożliwia użytkownikom wysyłanie i otrzymywanie powiadomień w "
|
||||
"sieci AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Portuguese (português)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: SandroHc
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:35+0000\n"
|
||||
"Language-Team: Portuguese <https://translatewiki.net/wiki/Portal:pt>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: pt\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Envie-me uma mensagem para colocar uma notícia"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"O plugin AIM permite aos utilizadores enviar e receber avisos sobre a rede "
|
||||
"AIM."
|
@ -1,46 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Swedish (svenska)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Jamminjohn
|
||||
# Author: WikiPhoenix
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:35+0000\n"
|
||||
"Language-Team: Swedish <https://translatewiki.net/wiki/Portal:sv>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: sv\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr ""
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Måste ange en användare."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Du måste ange ett lösenord."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"AIM-tillägget tillåter användare skicka och ta emot meddelanden över AIM-"
|
||||
"nätverket."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Tagalog (Tagalog)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: AnakngAraw
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:35+0000\n"
|
||||
"Language-Team: Tagalog <https://translatewiki.net/wiki/Portal:tl>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: tl\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Padalhan ako ng isang mensahe upang makapagpaskil ng isang pabatid"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Kailangang tumukoy ng isang tagagamit."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Kailangang tumukoy ng isang hudyat."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Nagpapahintulot sa mga tagagamit ang pampasak na AIM upang makapagpadala at "
|
||||
"makatanggap ng mga pabatid sa ibabaw ng kalambatan ng AIM."
|
@ -1,45 +0,0 @@
|
||||
# Translation of StatusNet - Aim to Ukrainian (українська)
|
||||
# Exported from translatewiki.net
|
||||
#
|
||||
# Author: Boogie
|
||||
# --
|
||||
# This file is distributed under the same license as the StatusNet package.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: StatusNet - Aim\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-06-30 11:07+0000\n"
|
||||
"PO-Revision-Date: 2012-06-30 11:07:35+0000\n"
|
||||
"Language-Team: Ukrainian <https://translatewiki.net/wiki/Portal:uk>\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POT-Import-Date: 2011-06-18 16:18:38+0000\n"
|
||||
"X-Generator: MediaWiki 1.20alpha (233fc08); Translate 2012-06-21\n"
|
||||
"X-Translation-Project: translatewiki.net <https://translatewiki.net>\n"
|
||||
"X-Language-Code: uk\n"
|
||||
"X-Message-Group: #out-statusnet-plugin-aim\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10 == 1 && n%100 != 11) ? 0 : ( (n%10 >= "
|
||||
"2 && n%10 <= 4 && (n%100 < 10 || n%100 >= 20)) ? 1 : 2 );\n"
|
||||
|
||||
#. TRANS: No idea what the use case for this message is.
|
||||
msgid "Send me a message to post a notice"
|
||||
msgstr "Надішліть мені повідомлення, щоб опублікувати свій допис"
|
||||
|
||||
#. TRANS: Display name.
|
||||
msgid "AIM"
|
||||
msgstr "AIM"
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when user has not been specified.
|
||||
msgid "Must specify a user."
|
||||
msgstr "Необхідно зазначити користувача."
|
||||
|
||||
#. TRANS: Exception thrown in AIM plugin when password has not been specified.
|
||||
msgid "Must specify a password."
|
||||
msgstr "Необхідно вказати пароль."
|
||||
|
||||
#. TRANS: Plugin description.
|
||||
msgid ""
|
||||
"The AIM plugin allows users to send and receive notices over the AIM network."
|
||||
msgstr ""
|
||||
"Додаток AIM дозволяє користувачам надсилати і отримувати дописи у мережі AIM."
|
@ -1,5 +0,0 @@
|
||||
This doesn't seem to have been functional for a while; can't find other references
|
||||
to the enjit configuration or transport enqueuing. Keeping it in case someone
|
||||
wants to bring it up to date.
|
||||
|
||||
-- brion vibber <brion@status.net> 2009-12-03
|
@ -1,83 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2008, 2009, StatusNet, Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET') && !defined('LACONICA')) {
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Queue handler for watching new notices and posting to enjit.
|
||||
* @todo FIXME: Is this actually being used/functional atm?
|
||||
*/
|
||||
class EnjitQueueHandler extends QueueHandler
|
||||
{
|
||||
function transport()
|
||||
{
|
||||
return 'enjit';
|
||||
}
|
||||
|
||||
function handle($notice)
|
||||
{
|
||||
|
||||
$profile = Profile::getKV($notice->profile_id);
|
||||
|
||||
$this->log(LOG_INFO, "Posting Notice ".$notice->id." from ".$profile->nickname);
|
||||
|
||||
if ( ! $notice->is_local ) {
|
||||
$this->log(LOG_INFO, "Skipping remote notice");
|
||||
return "skipped";
|
||||
}
|
||||
|
||||
#
|
||||
// Build an Atom message from the notice
|
||||
#
|
||||
$noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
|
||||
$msg = $profile->nickname . ': ' . $notice->content;
|
||||
|
||||
$atom = "<entry xmlns='http://www.w3.org/2005/Atom'>\n";
|
||||
$atom .= "<apisource>".common_config('enjit','source')."</apisource>\n";
|
||||
$atom .= "<source>\n";
|
||||
$atom .= "<title>" . $profile->nickname . " - " . common_config('site', 'name') . "</title>\n";
|
||||
$atom .= "<link href='" . $profile->profileurl . "'/>\n";
|
||||
$atom .= "<link rel='self' type='application/rss+xml' href='" . common_local_url('userrss', array('nickname' => $profile->nickname)) . "'/>\n";
|
||||
$atom .= "<author><name>" . $profile->nickname . "</name></author>\n";
|
||||
$atom .= "<icon>" . $profile->avatarUrl(AVATAR_PROFILE_SIZE) . "</icon>\n";
|
||||
$atom .= "</source>\n";
|
||||
$atom .= "<title>" . htmlspecialchars($msg) . "</title>\n";
|
||||
$atom .= "<summary>" . htmlspecialchars($msg) . "</summary>\n";
|
||||
$atom .= "<link rel='alternate' href='" . $noticeurl . "' />\n";
|
||||
$atom .= "<id>". $notice->uri . "</id>\n";
|
||||
$atom .= "<published>".common_date_w3dtf($notice->created)."</published>\n";
|
||||
$atom .= "<updated>".common_date_w3dtf($notice->modified)."</updated>\n";
|
||||
$atom .= "</entry>\n";
|
||||
|
||||
$url = common_config('enjit', 'apiurl') . "/submit/". common_config('enjit','apikey');
|
||||
$data = array(
|
||||
'msg' => $atom,
|
||||
);
|
||||
|
||||
#
|
||||
// POST the message to $config['enjit']['apiurl']
|
||||
#
|
||||
$request = HTTPClient::start();
|
||||
$response = $request->post($url, null, $data);
|
||||
|
||||
return $response->isOk();
|
||||
}
|
||||
}
|
@ -1,385 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
* Copyright (C) 2010, StatusNet, Inc.
|
||||
*
|
||||
* Send and receive notices using an IRC network
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @category IM
|
||||
* @package StatusNet
|
||||
* @author Luke Fitzgerald <lw.fitzgerald@googlemail.com>
|
||||
* @copyright 2010 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
if (!defined('STATUSNET')) {
|
||||
// This check helps protect against security problems;
|
||||
// your code file can't be executed directly from the web.
|
||||
exit(1);
|
||||
}
|
||||
|
||||
// We bundle the Phergie library...
|
||||
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib/phergie');
|
||||
|
||||
/**
|
||||
* Plugin for IRC
|
||||
*
|
||||
* @category Plugin
|
||||
* @package StatusNet
|
||||
* @author Luke Fitzgerald <lw.fitzgerald@googlemail.com>
|
||||
* @copyright 2010 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
class IrcPlugin extends ImPlugin {
|
||||
public $host = null;
|
||||
public $port = null;
|
||||
public $username = null;
|
||||
public $realname = null;
|
||||
public $nick = null;
|
||||
public $password = null;
|
||||
public $nickservidentifyregexp = null;
|
||||
public $nickservpassword = null;
|
||||
public $channels = null;
|
||||
public $transporttype = null;
|
||||
public $encoding = null;
|
||||
public $pinginterval = null;
|
||||
|
||||
public $regcheck = null;
|
||||
public $unregregexp = null;
|
||||
public $regregexp = null;
|
||||
|
||||
public $transport = 'irc';
|
||||
protected $whiteList;
|
||||
protected $fake_irc;
|
||||
|
||||
/**
|
||||
* Get the internationalized/translated display name of this IM service
|
||||
*
|
||||
* @return string Name of service
|
||||
*/
|
||||
public function getDisplayName() {
|
||||
// TRANS: Service name for IRC.
|
||||
return _m('IRC');
|
||||
}
|
||||
|
||||
/**
|
||||
* Normalize a screenname for comparison
|
||||
*
|
||||
* @param string $screenname Screenname to normalize
|
||||
* @return string An equivalent screenname in normalized form
|
||||
*/
|
||||
public function normalize($screenname) {
|
||||
$screenname = str_replace(" ","", $screenname);
|
||||
return strtolower($screenname);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the screenname of the daemon that sends and receives messages
|
||||
*
|
||||
* @return string Screenname
|
||||
*/
|
||||
public function daemonScreenname() {
|
||||
return $this->nick;
|
||||
}
|
||||
|
||||
/**
|
||||
* Validate (ensure the validity of) a screenname
|
||||
*
|
||||
* @param string $screenname Screenname to validate
|
||||
* @return boolean true if screenname is valid
|
||||
*/
|
||||
public function validate($screenname) {
|
||||
if (preg_match('/\A[a-z0-9\-_]{1,1000}\z/i', $screenname)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Load related modules when needed
|
||||
*
|
||||
* @param string $cls Name of the class to be loaded
|
||||
* @return boolean hook value; true means continue processing, false means stop.
|
||||
*/
|
||||
public function onAutoload($cls) {
|
||||
// in the beginning of this file, we have added an include path
|
||||
if (substr($cls, 0, 7) == 'Phergie') {
|
||||
include_once str_replace('_', DIRECTORY_SEPARATOR, $cls) . '.php';
|
||||
return false;
|
||||
}
|
||||
|
||||
return parent::onAutoload($cls);
|
||||
}
|
||||
|
||||
/*
|
||||
* Start manager on daemon start
|
||||
*
|
||||
* @param array &$versions Array to insert manager into
|
||||
* @return boolean
|
||||
*/
|
||||
public function onStartImDaemonIoManagers(&$classes) {
|
||||
parent::onStartImDaemonIoManagers($classes);
|
||||
$classes[] = new IrcManager($this); // handles sending/receiving
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Ensure the database table is present
|
||||
*
|
||||
*/
|
||||
public function onCheckSchema() {
|
||||
$schema = Schema::get();
|
||||
|
||||
// For storing messages while sessions become ready
|
||||
$schema->ensureTable('irc_waiting_message', Irc_waiting_message::schemaDef());
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a microid URI for the given screenname
|
||||
*
|
||||
* @param string $screenname Screenname
|
||||
* @return string microid URI
|
||||
*/
|
||||
public function microiduri($screenname) {
|
||||
return 'irc:' . $screenname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Send a message to a given screenname
|
||||
*
|
||||
* @param string $screenname Screenname to send to
|
||||
* @param string $body Text to send
|
||||
* @return boolean true on success
|
||||
*/
|
||||
public function sendMessage($screenname, $body) {
|
||||
$lines = explode("\n", $body);
|
||||
foreach ($lines as $line) {
|
||||
$this->fake_irc->doPrivmsg($screenname, $line);
|
||||
$this->enqueueOutgoingRaw(array('type' => 'message', 'prioritise' => 0, 'data' => $this->fake_irc->would_be_sent));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Accept a queued input message.
|
||||
*
|
||||
* @return boolean true if processing completed, false if message should be reprocessed
|
||||
*/
|
||||
public function receiveRawMessage($data) {
|
||||
if (strpos($data['source'], '#') === 0) {
|
||||
$message = $data['message'];
|
||||
$parts = explode(' ', $message, 2);
|
||||
$command = $parts[0];
|
||||
if (in_array($command, $this->whiteList)) {
|
||||
$this->handle_channel_incoming($data['sender'], $data['source'], $message);
|
||||
} else {
|
||||
$this->handleIncoming($data['sender'], $message);
|
||||
}
|
||||
} else {
|
||||
$this->handleIncoming($data['sender'], $data['message']);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper for handling incoming messages from a channel requiring response
|
||||
* to the channel instead of via PM
|
||||
*
|
||||
* @param string $nick Screenname the message was sent from
|
||||
* @param string $channel Channel the message originated from
|
||||
* @param string $message Message text
|
||||
* @param boolean true on success
|
||||
*/
|
||||
protected function handle_channel_incoming($nick, $channel, $notice_text) {
|
||||
$user = $this->getUser($nick);
|
||||
// For common_current_user to work
|
||||
global $_cur;
|
||||
$_cur = $user;
|
||||
|
||||
if (!$user) {
|
||||
$this->sendFromSite($nick, 'Unknown user; go to ' .
|
||||
common_local_url('imsettings') .
|
||||
' to add your address to your account');
|
||||
common_log(LOG_WARNING, 'Message from unknown user ' . $nick);
|
||||
return;
|
||||
}
|
||||
if ($this->handle_channel_command($user, $channel, $notice_text)) {
|
||||
common_log(LOG_INFO, "Command message by $nick handled.");
|
||||
return;
|
||||
} else if ($this->isAutoreply($notice_text)) {
|
||||
common_log(LOG_INFO, 'Ignoring auto reply from ' . $nick);
|
||||
return;
|
||||
} else if ($this->isOtr($notice_text)) {
|
||||
common_log(LOG_INFO, 'Ignoring OTR from ' . $nick);
|
||||
return;
|
||||
} else {
|
||||
common_log(LOG_INFO, 'Posting a notice from ' . $user->nickname);
|
||||
$this->addNotice($nick, $user, $notice_text);
|
||||
}
|
||||
|
||||
$user->free();
|
||||
unset($user);
|
||||
unset($_cur);
|
||||
unset($message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Attempt to handle a message from a channel as a command
|
||||
*
|
||||
* @param User $user User the message is from
|
||||
* @param string $channel Channel the message originated from
|
||||
* @param string $body Message text
|
||||
* @return boolean true if the message was a command and was executed, false if it was not a command
|
||||
*/
|
||||
protected function handle_channel_command($user, $channel, $body) {
|
||||
$inter = new CommandInterpreter();
|
||||
$cmd = $inter->handle_command($user, $body);
|
||||
if ($cmd) {
|
||||
$chan = new ChannelResponseChannel($this, $channel);
|
||||
$cmd->execute($chan);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Send a confirmation code to a user
|
||||
*
|
||||
* @param string $screenname screenname sending to
|
||||
* @param string $code the confirmation code
|
||||
* @param User $user user sending to
|
||||
* @return boolean success value
|
||||
*/
|
||||
public function sendConfirmationCode($screenname, $code, $user, $checked = false) {
|
||||
// TRANS: Body text for e-mail confirmation message for IRC.
|
||||
// TRANS: %1$s is a user nickname, %2$s is the StatusNet sitename,
|
||||
// TRANS: %3$s is the plugin display name ("IRC"), %4$s is the confirm address URL.
|
||||
$body = sprintf(_m('User "%1$s" on %2$s has said that your %3$s screenname belongs to them. ' .
|
||||
'If that\'s true, you can confirm by clicking on this URL: ' .
|
||||
'%4$s' .
|
||||
' . (If you cannot click it, copy-and-paste it into the ' .
|
||||
'address bar of your browser). If that user is not you, ' .
|
||||
'or if you did not request this confirmation, just ignore this message.'),
|
||||
$user->nickname, common_config('site', 'name'), $this->getDisplayName(), common_local_url('confirmaddress', array('code' => $code)));
|
||||
|
||||
if ($this->regcheck && !$checked) {
|
||||
return $this->checked_sendConfirmationCode($screenname, $code, $user);
|
||||
} else {
|
||||
return $this->sendMessage($screenname, $body);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Only sends the confirmation message if the nick is
|
||||
* registered
|
||||
*
|
||||
* @param string $screenname Screenname sending to
|
||||
* @param string $code The confirmation code
|
||||
* @param User $user User sending to
|
||||
* @return boolean true on succes
|
||||
*/
|
||||
public function checked_sendConfirmationCode($screenname, $code, $user) {
|
||||
$this->fake_irc->doPrivmsg('NickServ', 'INFO '.$screenname);
|
||||
$this->enqueueOutgoingRaw(
|
||||
array(
|
||||
'type' => 'nickcheck',
|
||||
'prioritise' => 1,
|
||||
'data' => $this->fake_irc->would_be_sent,
|
||||
'nickdata' =>
|
||||
array(
|
||||
'screenname' => $screenname,
|
||||
'code' => $code,
|
||||
'user' => $user
|
||||
)
|
||||
)
|
||||
);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize plugin
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public function initialize() {
|
||||
if (!isset($this->host)) {
|
||||
// TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration.
|
||||
throw new Exception(_m('You must specify a host.'));
|
||||
}
|
||||
if (!isset($this->username)) {
|
||||
// TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration.
|
||||
throw new Exception(_m('You must specify a username.'));
|
||||
}
|
||||
if (!isset($this->realname)) {
|
||||
// TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration.
|
||||
throw new Exception(_m('You must specify a "real name".'));
|
||||
}
|
||||
if (!isset($this->nick)) {
|
||||
// TRANS: Exception thrown when initialising the IRC plugin fails because of an incorrect configuration.
|
||||
throw new Exception(_m('You must specify a nickname.'));
|
||||
}
|
||||
|
||||
if (!isset($this->port)) {
|
||||
$this->port = 6667;
|
||||
}
|
||||
if (!isset($this->transporttype)) {
|
||||
$this->transporttype = 'tcp';
|
||||
}
|
||||
if (!isset($this->encoding)) {
|
||||
$this->encoding = 'UTF-8';
|
||||
}
|
||||
if (!isset($this->pinginterval)) {
|
||||
$this->pinginterval = 120;
|
||||
}
|
||||
|
||||
if (!isset($this->regcheck)) {
|
||||
$this->regcheck = true;
|
||||
}
|
||||
|
||||
$this->fake_irc = new FakeIrc;
|
||||
|
||||
/*
|
||||
* Commands allowed to return output to a channel
|
||||
*/
|
||||
$this->whiteList = array('stats', 'last', 'get');
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get plugin information
|
||||
*
|
||||
* @param array $versions Array to insert information into
|
||||
* @return void
|
||||
*/
|
||||
public function onPluginVersion(&$versions) {
|
||||
$versions[] = array('name' => 'IRC',
|
||||
'version' => GNUSOCIAL_VERSION,
|
||||
'author' => 'Luke Fitzgerald',
|
||||
'homepage' => 'http://status.net/wiki/Plugin:IRC',
|
||||
'rawdescription' =>
|
||||
// TRANS: Plugin description.
|
||||
_m('The IRC plugin allows users to send and receive notices over an IRC network.'));
|
||||
return true;
|
||||
}
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
The IRC plugin allows users to send and receive notices over an IRC network.
|
||||
|
||||
Installation
|
||||
============
|
||||
add "addPlugin('irc',
|
||||
array('setting'=>'value', 'setting2'=>'value2', ...);"
|
||||
to the bottom of your config.php
|
||||
|
||||
scripts/imdaemon.php included with StatusNet must be running. It will be started by
|
||||
the plugin along with their other daemons when you run scripts/startdaemons.sh.
|
||||
See the StatusNet README for more about queuing and daemons.
|
||||
|
||||
Settings
|
||||
========
|
||||
host*: Hostname of IRC server
|
||||
port: Port of IRC server (defaults to 6667)
|
||||
username*: Username of bot
|
||||
realname*: Real name of bot
|
||||
nick*: Nickname of bot
|
||||
password: Password
|
||||
nickservpassword: NickServ password for identification
|
||||
nickservidentifyregexp: Override existing regexp matching request for identification from NickServ
|
||||
channels: Channels for bot to idle in
|
||||
transporttype: Set to 'ssl' to enable SSL
|
||||
encoding: Set to change encoding
|
||||
pinginterval: Set to change the number of seconds between pings (helps keep the connection open)
|
||||
Defaults to 120 seconds
|
||||
regcheck: Check user's nicknames are registered, enabled by default, set to false to disable
|
||||
regregexp: Override existing regexp matching response from NickServ if nick checked is registered.
|
||||
Must contain a capturing group catching the nick
|
||||
unregregexp: Override existing regexp matching response from NickServ if nick checked is unregistered
|
||||
Must contain a capturing group catching the nick
|
||||
|
||||
* required
|
||||
|
||||
Example
|
||||
=======
|
||||
addPlugin('irc', array(
|
||||
'host' => '...',
|
||||
'username' => '...',
|
||||
'realname' => '...',
|
||||
'nick' => '...',
|
||||
'channels' => array('#channel1', '#channel2')
|
||||
));
|
||||
|
@ -1,101 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Table Definition for irc_waiting_message
|
||||
*/
|
||||
|
||||
require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
|
||||
|
||||
class Irc_waiting_message extends Managed_DataObject {
|
||||
|
||||
public $__table = 'irc_waiting_message'; // table name
|
||||
public $id; // int primary_key not_null auto_increment
|
||||
public $data; // blob not_null
|
||||
public $prioritise; // tinyint(1) not_null
|
||||
public $attempts; // int not_null
|
||||
public $claimed; // datetime()
|
||||
public $created; // datetime() not_null
|
||||
public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP
|
||||
|
||||
public static function schemaDef()
|
||||
{
|
||||
return array(
|
||||
'fields' => array(
|
||||
'id' => array('type' => 'serial', 'not null' => true, 'description' => 'Unique ID for entry'),
|
||||
'data' => array('type' => 'blob', 'not null' => true, 'description' => 'data blob'),
|
||||
'prioritise' => array('type' => 'int', 'size' => 'tiny', 'description' => 'tinyint priority value'),
|
||||
'attempts' => array('type' => 'int', 'not null' => true, 'description' => 'attempts count'),
|
||||
'claimed' => array('type' => 'datetime', 'description' => 'date this irc message was claimed'),
|
||||
'created' => array('type' => 'datetime', 'not null' => true, 'description' => 'date this record was created'),
|
||||
'modified' => array('type' => 'timestamp', 'not null' => true, 'description' => 'date this record was modified'),
|
||||
),
|
||||
'primary key' => array('id'),
|
||||
'indexes' => array(
|
||||
'irc_waiting_message_prioritise_idx' => array('prioritise'),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the next item in the queue
|
||||
*
|
||||
* @return Irc_waiting_message Next message if there is one
|
||||
*/
|
||||
public static function top() {
|
||||
$wm = new Irc_waiting_message();
|
||||
|
||||
$wm->orderBy('prioritise DESC, created');
|
||||
$wm->whereAdd('claimed is null');
|
||||
|
||||
$wm->limit(1);
|
||||
|
||||
$cnt = $wm->find(true);
|
||||
|
||||
if ($cnt) {
|
||||
// XXX: potential race condition
|
||||
// can we force it to only update if claimed is still null
|
||||
// (or old)?
|
||||
common_log(LOG_INFO, 'claiming IRC waiting message id = ' . $wm->id);
|
||||
$orig = clone($wm);
|
||||
$wm->claimed = common_sql_now();
|
||||
$result = $wm->update($orig);
|
||||
if ($result) {
|
||||
common_log(LOG_INFO, 'claim succeeded.');
|
||||
return $wm;
|
||||
} else {
|
||||
common_log(LOG_INFO, 'claim failed.');
|
||||
}
|
||||
}
|
||||
$wm = null;
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Increment the attempts count
|
||||
*
|
||||
* @return void
|
||||
* @throws Exception
|
||||
*/
|
||||
public function incAttempts() {
|
||||
$orig = clone($this);
|
||||
$this->attempts++;
|
||||
$result = $this->update($orig);
|
||||
|
||||
if (!$result) {
|
||||
// TRANS: Exception thrown when an IRC attempts count could not be updated.
|
||||
// TRANS: %d is the object ID for which the count could not be updated.
|
||||
throw new Exception(sprintf(_m('Could not increment attempts count for %d.'), $this->id));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Release a claimed item.
|
||||
*/
|
||||
public function releaseClaim() {
|
||||
// DB_DataObject doesn't let us save nulls right now
|
||||
$sql = sprintf("UPDATE irc_waiting_message SET claimed=NULL WHERE id=%d", $this->id);
|
||||
$this->query($sql);
|
||||
|
||||
$this->claimed = null;
|
||||
$this->encache();
|
||||
}
|
||||
}
|
2
plugins/Irc/extlib/.gitignore
vendored
2
plugins/Irc/extlib/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
Settings.php
|
||||
*.db
|
2
plugins/Irc/extlib/phergie/.gitignore
vendored
2
plugins/Irc/extlib/phergie/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
Settings.php
|
||||
*.db
|
@ -1,27 +0,0 @@
|
||||
Copyright (c) 2010, Phergie Development Team
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
Neither the name of the Phergie Development Team nor the names of its
|
||||
contributors may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@ -1,81 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Autoloader for Phergie classes.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Autoload
|
||||
{
|
||||
/**
|
||||
* Constructor to add the base Phergie path to the include_path.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$path = realpath(dirname(__FILE__) . '/..');
|
||||
$includePath = get_include_path();
|
||||
$includePathList = explode(PATH_SEPARATOR, $includePath);
|
||||
if (!in_array($path, $includePathList)) {
|
||||
self::addPath($path);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Autoload callback for loading class files.
|
||||
*
|
||||
* @param string $class Class to load
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function load($class)
|
||||
{
|
||||
include str_replace('_', DIRECTORY_SEPARATOR, $class) . '.php';
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers an instance of this class as an autoloader.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function registerAutoloader()
|
||||
{
|
||||
spl_autoload_register(array(new self, 'load'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a path to the include path.
|
||||
*
|
||||
* @param string $path Path to add
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function addPath($path)
|
||||
{
|
||||
set_include_path($path . PATH_SEPARATOR . get_include_path());
|
||||
}
|
||||
}
|
@ -1,390 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Composite class for other components to represent the bot.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Bot
|
||||
{
|
||||
/**
|
||||
* Current version of Phergie
|
||||
*/
|
||||
const VERSION = '2.0.1';
|
||||
|
||||
/**
|
||||
* Current driver instance
|
||||
*
|
||||
* @var Phergie_Driver_Abstract
|
||||
*/
|
||||
protected $driver;
|
||||
|
||||
/**
|
||||
* Current configuration instance
|
||||
*
|
||||
* @var Phergie_Config
|
||||
*/
|
||||
protected $config;
|
||||
|
||||
/**
|
||||
* Current connection handler instance
|
||||
*
|
||||
* @var Phergie_Connection_Handler
|
||||
*/
|
||||
protected $connections;
|
||||
|
||||
/**
|
||||
* Current plugin handler instance
|
||||
*
|
||||
* @var Phergie_Plugin_Handler
|
||||
*/
|
||||
protected $plugins;
|
||||
|
||||
/**
|
||||
* Current event handler instance
|
||||
*
|
||||
* @var Phergie_Event_Handler
|
||||
*/
|
||||
protected $events;
|
||||
|
||||
/**
|
||||
* Current end-user interface instance
|
||||
*
|
||||
* @var Phergie_Ui_Abstract
|
||||
*/
|
||||
protected $ui;
|
||||
|
||||
/**
|
||||
* Current processor instance
|
||||
*
|
||||
* @var Phergie_Process_Abstract
|
||||
*/
|
||||
protected $processor;
|
||||
|
||||
/**
|
||||
* Returns a driver instance, creating one of the default class if
|
||||
* none has been set.
|
||||
*
|
||||
* @return Phergie_Driver_Abstract
|
||||
*/
|
||||
public function getDriver()
|
||||
{
|
||||
if (empty($this->driver)) {
|
||||
// Check if a driver has been defined in the configuration to use
|
||||
// as the default
|
||||
$config = $this->getConfig();
|
||||
if (isset($config['driver'])) {
|
||||
$class = 'Phergie_Driver_' . ucfirst($config['driver']);
|
||||
} else {
|
||||
// Otherwise default to the Streams driver.
|
||||
$class = 'Phergie_Driver_Streams';
|
||||
}
|
||||
|
||||
$this->driver = new $class;
|
||||
}
|
||||
return $this->driver;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the driver instance to use.
|
||||
*
|
||||
* @param Phergie_Driver_Abstract $driver Driver instance
|
||||
*
|
||||
* @return Phergie_Bot Provides a fluent interface
|
||||
*/
|
||||
public function setDriver(Phergie_Driver_Abstract $driver)
|
||||
{
|
||||
$this->driver = $driver;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the configuration to use.
|
||||
*
|
||||
* @param Phergie_Config $config Configuration instance
|
||||
*
|
||||
* @return Phergie_Runner_Abstract Provides a fluent interface
|
||||
*/
|
||||
public function setConfig(Phergie_Config $config)
|
||||
{
|
||||
$this->config = $config;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the entire configuration in use or the value of a specific
|
||||
* configuration setting.
|
||||
*
|
||||
* @param string $index Optional index of a specific configuration
|
||||
* setting for which the corresponding value should be returned
|
||||
* @param mixed $default Value to return if no match is found for $index
|
||||
*
|
||||
* @return mixed Value corresponding to $index or the entire
|
||||
* configuration if $index is not specified
|
||||
*/
|
||||
public function getConfig($index = null, $default = null)
|
||||
{
|
||||
if (empty($this->config)) {
|
||||
$this->config = new Phergie_Config;
|
||||
$this->config->read('Settings.php');
|
||||
}
|
||||
if ($index !== null) {
|
||||
if (isset($this->config[$index])) {
|
||||
return $this->config[$index];
|
||||
} else {
|
||||
return $default;
|
||||
}
|
||||
}
|
||||
return $this->config;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a plugin handler instance, creating it if it does not already
|
||||
* exist and using a default class if none has been set.
|
||||
*
|
||||
* @return Phergie_Plugin_Handler
|
||||
*/
|
||||
public function getPluginHandler()
|
||||
{
|
||||
if (empty($this->plugins)) {
|
||||
$this->plugins = new Phergie_Plugin_Handler(
|
||||
$this->getConfig(),
|
||||
$this->getEventHandler()
|
||||
);
|
||||
}
|
||||
return $this->plugins;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the plugin handler instance to use.
|
||||
*
|
||||
* @param Phergie_Plugin_Handler $handler Plugin handler instance
|
||||
*
|
||||
* @return Phergie_Bot Provides a fluent interface
|
||||
*/
|
||||
public function setPluginHandler(Phergie_Plugin_Handler $handler)
|
||||
{
|
||||
$this->plugins = $handler;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an event handler instance, creating it if it does not already
|
||||
* exist and using a default class if none has been set.
|
||||
*
|
||||
* @return Phergie_Event_Handler
|
||||
*/
|
||||
public function getEventHandler()
|
||||
{
|
||||
if (empty($this->events)) {
|
||||
$this->events = new Phergie_Event_Handler;
|
||||
}
|
||||
return $this->events;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the event handler instance to use.
|
||||
*
|
||||
* @param Phergie_Event_Handler $handler Event handler instance
|
||||
*
|
||||
* @return Phergie_Bot Provides a fluent interface
|
||||
*/
|
||||
public function setEventHandler(Phergie_Event_Handler $handler)
|
||||
{
|
||||
$this->events = $handler;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a connection handler instance, creating it if it does not
|
||||
* already exist and using a default class if none has been set.
|
||||
*
|
||||
* @return Phergie_Connection_Handler
|
||||
*/
|
||||
public function getConnectionHandler()
|
||||
{
|
||||
if (empty($this->connections)) {
|
||||
$this->connections = new Phergie_Connection_Handler;
|
||||
}
|
||||
return $this->connections;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the connection handler instance to use.
|
||||
*
|
||||
* @param Phergie_Connection_Handler $handler Connection handler instance
|
||||
*
|
||||
* @return Phergie_Bot Provides a fluent interface
|
||||
*/
|
||||
public function setConnectionHandler(Phergie_Connection_Handler $handler)
|
||||
{
|
||||
$this->connections = $handler;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an end-user interface instance, creating it if it does not
|
||||
* already exist and using a default class if none has been set.
|
||||
*
|
||||
* @return Phergie_Ui_Abstract
|
||||
*/
|
||||
public function getUi()
|
||||
{
|
||||
if (empty($this->ui)) {
|
||||
$this->ui = new Phergie_Ui_Console;
|
||||
}
|
||||
return $this->ui;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the end-user interface instance to use.
|
||||
*
|
||||
* @param Phergie_Ui_Abstract $ui End-user interface instance
|
||||
*
|
||||
* @return Phergie_Bot Provides a fluent interface
|
||||
*/
|
||||
public function setUi(Phergie_Ui_Abstract $ui)
|
||||
{
|
||||
$this->ui = $ui;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a processer instance, creating one if none exists.
|
||||
*
|
||||
* @return Phergie_Process_Abstract
|
||||
*/
|
||||
public function getProcessor()
|
||||
{
|
||||
if (empty($this->processor)) {
|
||||
$class = 'Phergie_Process_Standard';
|
||||
|
||||
$type = $this->getConfig('processor');
|
||||
if (!empty($type)) {
|
||||
$class = 'Phergie_Process_' . ucfirst($type);
|
||||
}
|
||||
|
||||
$this->processor = new $class(
|
||||
$this,
|
||||
$this->getConfig('processor.options', array())
|
||||
);
|
||||
}
|
||||
return $this->processor;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the processer instance to use.
|
||||
*
|
||||
* @param Phergie_Process_Abstract $processor Processer instance
|
||||
*
|
||||
* @return Phergie_Bot Provides a fluent interface
|
||||
*/
|
||||
public function setProcessor(Phergie_Process_Abstract $processor)
|
||||
{
|
||||
$this->processor = $processor;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads plugins into the plugin handler.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function loadPlugins()
|
||||
{
|
||||
$config = $this->getConfig();
|
||||
$plugins = $this->getPluginHandler();
|
||||
$ui = $this->getUi();
|
||||
|
||||
$plugins->setAutoload($config['plugins.autoload']);
|
||||
foreach ($config['plugins'] as $name) {
|
||||
try {
|
||||
$plugin = $plugins->addPlugin($name);
|
||||
$ui->onPluginLoad($name);
|
||||
} catch (Phergie_Plugin_Exception $e) {
|
||||
$ui->onPluginFailure($name, $e->getMessage());
|
||||
if (!empty($plugin)) {
|
||||
$plugins->removePlugin($plugin);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures and establishes connections to IRC servers.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function loadConnections()
|
||||
{
|
||||
$config = $this->getConfig();
|
||||
$driver = $this->getDriver();
|
||||
$connections = $this->getConnectionHandler();
|
||||
$plugins = $this->getPluginHandler();
|
||||
$ui = $this->getUi();
|
||||
|
||||
foreach ($config['connections'] as $data) {
|
||||
$connection = new Phergie_Connection($data);
|
||||
$connections->addConnection($connection);
|
||||
|
||||
$ui->onConnect($data['host']);
|
||||
$driver->setConnection($connection)->doConnect();
|
||||
$plugins->setConnection($connection);
|
||||
$plugins->onConnect();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Establishes server connections and initiates an execution loop to
|
||||
* continuously receive and process events.
|
||||
*
|
||||
* @return Phergie_Bot Provides a fluent interface
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
set_time_limit(0);
|
||||
|
||||
$timezone = $this->getConfig('timezone', 'UTC');
|
||||
date_default_timezone_set($timezone);
|
||||
|
||||
$ui = $this->getUi();
|
||||
$ui->setEnabled($this->getConfig('ui.enabled'));
|
||||
|
||||
$this->loadPlugins();
|
||||
$this->loadConnections();
|
||||
|
||||
$processor = $this->getProcessor();
|
||||
|
||||
$connections = $this->getConnectionHandler();
|
||||
while (count($connections)) {
|
||||
$processor->handleEvents();
|
||||
}
|
||||
|
||||
$ui->onShutdown();
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
@ -1,186 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Reads from and writes to PHP configuration files and provides access to
|
||||
* the settings they contain.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Config implements ArrayAccess
|
||||
{
|
||||
/**
|
||||
* Mapping of configuration file paths to an array of names of settings
|
||||
* they contain
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $files = array();
|
||||
|
||||
/**
|
||||
* Mapping of setting names to their current corresponding values
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $settings = array();
|
||||
|
||||
/**
|
||||
* Includes a specified PHP configuration file and incorporates its
|
||||
* return value (which should be an associative array) into the current
|
||||
* configuration settings.
|
||||
*
|
||||
* @param string $file Path to the file to read
|
||||
*
|
||||
* @return Phergie_Config Provides a fluent interface
|
||||
* @throws Phergie_Config_Exception
|
||||
*/
|
||||
public function read($file)
|
||||
{
|
||||
if (!(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'
|
||||
&& file_exists($file))
|
||||
&& !is_executable($file)
|
||||
) {
|
||||
throw new Phergie_Config_Exception(
|
||||
'Path "' . $file . '" does not reference an executable file',
|
||||
Phergie_Config_Exception::ERR_FILE_NOT_EXECUTABLE
|
||||
);
|
||||
}
|
||||
|
||||
$settings = include $file;
|
||||
if (!is_array($settings)) {
|
||||
throw new Phergie_Config_Exception(
|
||||
'File "' . $file . '" does not return an array',
|
||||
Phergie_Config_Exception::ERR_ARRAY_NOT_RETURNED
|
||||
);
|
||||
}
|
||||
|
||||
$this->files[$file] = array_keys($settings);
|
||||
$this->settings += $settings;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Merges an associative array of configuration setting values into the
|
||||
* current configuration settings.
|
||||
*
|
||||
* @param array $settings Associative array of configuration setting
|
||||
* values keyed by setting name
|
||||
*
|
||||
* @return Phergie_Config Provides a fluent interface
|
||||
*/
|
||||
public function readArray(array $settings)
|
||||
{
|
||||
$this->settings += $settings;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes the values of the current configuration settings back to their
|
||||
* originating files.
|
||||
*
|
||||
* @return Phergie_Config Provides a fluent interface
|
||||
*/
|
||||
public function write()
|
||||
{
|
||||
foreach ($this->files as $file => &$settings) {
|
||||
$values = array();
|
||||
foreach ($settings as $setting) {
|
||||
$values[$setting] = $this->settings[$setting];
|
||||
}
|
||||
$source = '<?php' . PHP_EOL . PHP_EOL .
|
||||
'return ' . var_export($value, true) . ';';
|
||||
file_put_contents($file, $source);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks to see if a configuration setting is assigned a value.
|
||||
*
|
||||
* @param string $offset Configuration setting name
|
||||
*
|
||||
* @return bool TRUE if the setting has a value, FALSE otherwise
|
||||
* @see ArrayAccess::offsetExists()
|
||||
*/
|
||||
public function offsetExists($offset)
|
||||
{
|
||||
return isset($this->settings[$offset]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the value of a configuration setting.
|
||||
*
|
||||
* @param string $offset Configuration setting name
|
||||
*
|
||||
* @return mixed Configuration setting value or NULL if it is not
|
||||
* assigned a value
|
||||
* @see ArrayAccess::offsetGet()
|
||||
*/
|
||||
public function offsetGet($offset)
|
||||
{
|
||||
if (isset($this->settings[$offset])) {
|
||||
$value = &$this->settings[$offset];
|
||||
} else {
|
||||
$value = null;
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value of a configuration setting.
|
||||
*
|
||||
* @param string $offset Configuration setting name
|
||||
* @param mixed $value New setting value
|
||||
*
|
||||
* @return void
|
||||
* @see ArrayAccess::offsetSet()
|
||||
*/
|
||||
public function offsetSet($offset, $value)
|
||||
{
|
||||
$this->settings[$offset] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes the value set for a configuration setting.
|
||||
*
|
||||
* @param string $offset Configuration setting name
|
||||
*
|
||||
* @return void
|
||||
* @see ArrayAccess::offsetUnset()
|
||||
*/
|
||||
public function offsetUnset($offset)
|
||||
{
|
||||
unset($this->settings[$offset]);
|
||||
|
||||
foreach ($this->files as $file => $settings) {
|
||||
$key = array_search($offset, $settings);
|
||||
if ($key !== false) {
|
||||
unset($this->files[$file][$key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Exception related to configuration.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Config_Exception extends Phergie_Exception
|
||||
{
|
||||
/**
|
||||
* Error indicating that an attempt was made to read a configuration
|
||||
* file that could not be executed
|
||||
*/
|
||||
const ERR_FILE_NOT_EXECUTABLE = 1;
|
||||
|
||||
/**
|
||||
* Error indicating that a read configuration file does not return an
|
||||
* array
|
||||
*/
|
||||
const ERR_ARRAY_NOT_RETURNED = 2;
|
||||
}
|
@ -1,401 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Data structure for connection metadata.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Connection
|
||||
{
|
||||
/**
|
||||
* Host to which the client will connect
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $host;
|
||||
|
||||
/**
|
||||
* Port on which the client will connect, defaults to the standard IRC
|
||||
* port
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
protected $port;
|
||||
|
||||
/**
|
||||
* Transport for the connection, defaults to tcp but can be set to ssl
|
||||
* or variations thereof to connect over SSL
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $transport;
|
||||
|
||||
/**
|
||||
* Encoding method for the connection, defaults to ISO-8859-1 but can
|
||||
* be set to UTF8 if necessary
|
||||
*
|
||||
* @var strng
|
||||
*/
|
||||
protected $encoding;
|
||||
|
||||
/**
|
||||
* Nick that the client will use
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $nick;
|
||||
|
||||
/**
|
||||
* Username that the client will use
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $username;
|
||||
|
||||
/**
|
||||
* Realname that the client will use
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $realname;
|
||||
|
||||
/**
|
||||
* Password that the client will use
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $password;
|
||||
|
||||
/**
|
||||
* Hostmask for the connection
|
||||
*
|
||||
* @var Phergie_Hostmask
|
||||
*/
|
||||
protected $hostmask;
|
||||
|
||||
/**
|
||||
* Constructor to initialize instance properties.
|
||||
*
|
||||
* @param array $options Optional associative array of property values
|
||||
* to initialize
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(array $options = array())
|
||||
{
|
||||
$this->transport = 'tcp';
|
||||
$this->encoding = 'ISO-8859-1';
|
||||
// @note this may need changed to something different, for broader support.
|
||||
// @note also may need to make use of http://us.php.net/manual/en/function.stream-encoding.php
|
||||
|
||||
$this->setOptions($options);
|
||||
}
|
||||
|
||||
/**
|
||||
* Emits an error related to a required connection setting does not have
|
||||
* value set for it.
|
||||
*
|
||||
* @param string $setting Name of the setting
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function checkSetting($setting)
|
||||
{
|
||||
if (empty($this->$setting)) {
|
||||
throw new Phergie_Connection_Exception(
|
||||
'Required connection setting "' . $setting . '" missing',
|
||||
Phergie_Connection_Exception::ERR_REQUIRED_SETTING_MISSING
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a hostmask that uniquely identifies the connection.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getHostmask()
|
||||
{
|
||||
if (empty($this->hostmask)) {
|
||||
$this->hostmask = new Phergie_Hostmask(
|
||||
$this->getNick(),
|
||||
$this->getUsername(),
|
||||
$this->getHost()
|
||||
);
|
||||
}
|
||||
|
||||
return $this->hostmask;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the host to which the client will connect.
|
||||
*
|
||||
* @param string $host Hostname
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setHost($host)
|
||||
{
|
||||
if (empty($this->host)) {
|
||||
$this->host = (string) $host;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the host to which the client will connect if it is set or
|
||||
* emits an error if it is not set.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getHost()
|
||||
{
|
||||
$this->checkSetting('host');
|
||||
|
||||
return $this->host;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the port on which the client will connect.
|
||||
*
|
||||
* @param int $port Port
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setPort($port)
|
||||
{
|
||||
if (empty($this->port)) {
|
||||
$this->port = (int) $port;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the port on which the client will connect.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getPort()
|
||||
{
|
||||
if (empty($this->port)) {
|
||||
$this->port = 6667;
|
||||
}
|
||||
|
||||
return $this->port;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the transport for the connection to use.
|
||||
*
|
||||
* @param string $transport Transport (ex: tcp, ssl, etc.)
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setTransport($transport)
|
||||
{
|
||||
$this->transport = (string) $transport;
|
||||
|
||||
if (!in_array($this->transport, stream_get_transports())) {
|
||||
throw new Phergie_Connection_Exception(
|
||||
'Transport ' . $this->transport . ' is not supported',
|
||||
Phergie_Connection_Exception::ERR_TRANSPORT_NOT_SUPPORTED
|
||||
);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the transport in use by the connection.
|
||||
*
|
||||
* @return string Transport (ex: tcp, ssl, etc.)
|
||||
*/
|
||||
public function getTransport()
|
||||
{
|
||||
return $this->transport;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the encoding for the connection to use.
|
||||
*
|
||||
* @param string $encoding Encoding to use (ex: ASCII, ISO-8859-1, UTF8, etc.)
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setEncoding($encoding)
|
||||
{
|
||||
$this->encoding = (string) $encoding;
|
||||
|
||||
if (!in_array($this->encoding, mb_list_encodings())) {
|
||||
throw new Phergie_Connection_Exception(
|
||||
'Encoding ' . $this->encoding . ' is not supported',
|
||||
Phergie_Connection_Exception::ERR_ENCODING_NOT_SUPPORTED
|
||||
);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the encoding in use by the connection.
|
||||
*
|
||||
* @return string Encoding (ex: ASCII, ISO-8859-1, UTF8, etc.)
|
||||
*/
|
||||
public function getEncoding()
|
||||
{
|
||||
return $this->encoding;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the nick that the client will use.
|
||||
*
|
||||
* @param string $nick Nickname
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setNick($nick)
|
||||
{
|
||||
if (empty($this->nick)) {
|
||||
$this->nick = (string) $nick;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the nick that the client will use.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getNick()
|
||||
{
|
||||
$this->checkSetting('nick');
|
||||
|
||||
return $this->nick;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the username that the client will use.
|
||||
*
|
||||
* @param string $username Username
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setUsername($username)
|
||||
{
|
||||
if (empty($this->username)) {
|
||||
$this->username = (string) $username;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the username that the client will use.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getUsername()
|
||||
{
|
||||
$this->checkSetting('username');
|
||||
|
||||
return $this->username;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the realname that the client will use.
|
||||
*
|
||||
* @param string $realname Real name
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setRealname($realname)
|
||||
{
|
||||
if (empty($this->realname)) {
|
||||
$this->realname = (string) $realname;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the realname that the client will use.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRealname()
|
||||
{
|
||||
$this->checkSetting('realname');
|
||||
|
||||
return $this->realname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the password that the client will use.
|
||||
*
|
||||
* @param string $password Password
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setPassword($password)
|
||||
{
|
||||
if (empty($this->password)) {
|
||||
$this->password = (string) $password;
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the password that the client will use.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPassword()
|
||||
{
|
||||
return $this->password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets multiple connection settings using an array.
|
||||
*
|
||||
* @param array $options Associative array of setting names mapped to
|
||||
* corresponding values
|
||||
*
|
||||
* @return Phergie_Connection Provides a fluent interface
|
||||
*/
|
||||
public function setOptions(array $options)
|
||||
{
|
||||
foreach ($options as $option => $value) {
|
||||
$method = 'set' . ucfirst($option);
|
||||
if (method_exists($this, $method)) {
|
||||
$this->$method($value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Exception related to a connection to an IRC server.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Connection_Exception extends Phergie_Exception
|
||||
{
|
||||
/**
|
||||
* Error indicating that an operation was attempted requiring a value
|
||||
* for a specific configuration setting, but none was set
|
||||
*/
|
||||
const ERR_REQUIRED_SETTING_MISSING = 1;
|
||||
|
||||
/**
|
||||
* Error indicating that a connection is configured to use a transport,
|
||||
* but that transport is not supported by the current PHP installation
|
||||
*/
|
||||
const ERR_TRANSPORT_NOT_SUPPORTED = 2;
|
||||
|
||||
/**
|
||||
* Error indicating that a connection is configured to use an encoding,
|
||||
* but that encoding is not supported by the current PHP installation
|
||||
*/
|
||||
const ERR_ENCODING_NOT_SUPPORTED = 3;
|
||||
}
|
@ -1,130 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Handles connections initiated by the bot.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Connection_Handler implements Countable, IteratorAggregate
|
||||
{
|
||||
/**
|
||||
* Map of connections indexed by hostmask
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $connections;
|
||||
|
||||
/**
|
||||
* Constructor to initialize storage for connections.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->connections = array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a connection to the connection list.
|
||||
*
|
||||
* @param Phergie_Connection $connection Connection to add
|
||||
*
|
||||
* @return Phergie_Connection_Handler Provides a fluent interface
|
||||
*/
|
||||
public function addConnection(Phergie_Connection $connection)
|
||||
{
|
||||
$this->connections[(string) $connection->getHostmask()] = $connection;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes a connection from the connection list.
|
||||
*
|
||||
* @param Phergie_Connection|string $connection Instance or hostmask for
|
||||
* the connection to remove
|
||||
*
|
||||
* @return Phergie_Connection_Handler Provides a fluent interface
|
||||
*/
|
||||
public function removeConnection($connection)
|
||||
{
|
||||
if ($connection instanceof Phergie_Connection) {
|
||||
$hostmask = (string) $connection->getHostmask();
|
||||
} elseif (is_string($connection)
|
||||
&& isset($this->connections[$connection])) {
|
||||
$hostmask = $connection;
|
||||
} else {
|
||||
return $this;
|
||||
}
|
||||
unset($this->connections[$hostmask]);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the number of connections in the list.
|
||||
*
|
||||
* @return int Number of connections
|
||||
*/
|
||||
public function count()
|
||||
{
|
||||
return count($this->connections);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an iterator for the connection list.
|
||||
*
|
||||
* @return ArrayIterator
|
||||
*/
|
||||
public function getIterator()
|
||||
{
|
||||
return new ArrayIterator($this->connections);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a list of specified connection objects.
|
||||
*
|
||||
* @param array|string $keys One or more hostmasks identifying the
|
||||
* connections to return
|
||||
*
|
||||
* @return array List of Phergie_Connection objects corresponding to the
|
||||
* specified hostmask(s)
|
||||
*/
|
||||
public function getConnections($keys)
|
||||
{
|
||||
$connections = array();
|
||||
|
||||
if (!is_array($keys)) {
|
||||
$keys = array($keys);
|
||||
}
|
||||
|
||||
foreach ($keys as $key) {
|
||||
if (isset($this->connections[$key])) {
|
||||
$connections[] = $this->connections[$key];
|
||||
}
|
||||
}
|
||||
|
||||
return $connections;
|
||||
}
|
||||
}
|
@ -1,301 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Base class for drivers which handle issuing client commands to the IRC
|
||||
* server and converting responses into usable data objects.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
abstract class Phergie_Driver_Abstract
|
||||
{
|
||||
/**
|
||||
* Currently active connection
|
||||
*
|
||||
* @var Phergie_Connection
|
||||
*/
|
||||
protected $connection;
|
||||
|
||||
/**
|
||||
* Sets the currently active connection.
|
||||
*
|
||||
* @param Phergie_Connection $connection Active connection
|
||||
*
|
||||
* @return Phergie_Driver_Abstract Provides a fluent interface
|
||||
*/
|
||||
public function setConnection(Phergie_Connection $connection)
|
||||
{
|
||||
$this->connection = $connection;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the currently active connection.
|
||||
*
|
||||
* @return Phergie_Connection
|
||||
* @throws Phergie_Driver_Exception
|
||||
*/
|
||||
public function getConnection()
|
||||
{
|
||||
if (empty($this->connection)) {
|
||||
throw new Phergie_Driver_Exception(
|
||||
'Operation requires an active connection, but none is set',
|
||||
Phergie_Driver_Exception::ERR_NO_ACTIVE_CONNECTION
|
||||
);
|
||||
}
|
||||
|
||||
return $this->connection;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an event if one has been received from the server.
|
||||
*
|
||||
* @return Phergie_Event_Interface|null Event instance if an event has
|
||||
* been received, NULL otherwise
|
||||
*/
|
||||
public abstract function getEvent();
|
||||
|
||||
/**
|
||||
* Initiates a connection with the server.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public abstract function doConnect();
|
||||
|
||||
/**
|
||||
* Terminates the connection with the server.
|
||||
*
|
||||
* @param string $reason Reason for connection termination (optional)
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_1_6
|
||||
*/
|
||||
public abstract function doQuit($reason = null);
|
||||
|
||||
/**
|
||||
* Joins a channel.
|
||||
*
|
||||
* @param string $channels Comma-delimited list of channels to join
|
||||
* @param string $keys Optional comma-delimited list of channel keys
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_1
|
||||
*/
|
||||
public abstract function doJoin($channels, $keys = null);
|
||||
|
||||
/**
|
||||
* Leaves a channel.
|
||||
*
|
||||
* @param string $channels Comma-delimited list of channels to leave
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_2
|
||||
*/
|
||||
public abstract function doPart($channels);
|
||||
|
||||
/**
|
||||
* Invites a user to an invite-only channel.
|
||||
*
|
||||
* @param string $nick Nick of the user to invite
|
||||
* @param string $channel Name of the channel
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_7
|
||||
*/
|
||||
public abstract function doInvite($nick, $channel);
|
||||
|
||||
/**
|
||||
* Obtains a list of nicks of users in specified channels.
|
||||
*
|
||||
* @param string $channels Comma-delimited list of one or more channels
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_5
|
||||
*/
|
||||
public abstract function doNames($channels);
|
||||
|
||||
/**
|
||||
* Obtains a list of channel names and topics.
|
||||
*
|
||||
* @param string $channels Comma-delimited list of one or more channels
|
||||
* to which the response should be restricted
|
||||
* (optional)
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_6
|
||||
*/
|
||||
public abstract function doList($channels = null);
|
||||
|
||||
/**
|
||||
* Retrieves or changes a channel topic.
|
||||
*
|
||||
* @param string $channel Name of the channel
|
||||
* @param string $topic New topic to assign (optional)
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_4
|
||||
*/
|
||||
public abstract function doTopic($channel, $topic = null);
|
||||
|
||||
/**
|
||||
* Retrieves or changes a channel or user mode.
|
||||
*
|
||||
* @param string $target Channel name or user nick
|
||||
* @param string $mode New mode to assign (optional)
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_3
|
||||
*/
|
||||
public abstract function doMode($target, $mode = null);
|
||||
|
||||
/**
|
||||
* Changes the client nick.
|
||||
*
|
||||
* @param string $nick New nick to assign
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_1_2
|
||||
*/
|
||||
public abstract function doNick($nick);
|
||||
|
||||
/**
|
||||
* Retrieves information about a nick.
|
||||
*
|
||||
* @param string $nick Nick
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_5_2
|
||||
*/
|
||||
public abstract function doWhois($nick);
|
||||
|
||||
/**
|
||||
* Sends a message to a nick or channel.
|
||||
*
|
||||
* @param string $target Channel name or user nick
|
||||
* @param string $text Text of the message to send
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_4_1
|
||||
*/
|
||||
public abstract function doPrivmsg($target, $text);
|
||||
|
||||
/**
|
||||
* Sends a notice to a nick or channel.
|
||||
*
|
||||
* @param string $target Channel name or user nick
|
||||
* @param string $text Text of the notice to send
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_4_2
|
||||
*/
|
||||
public abstract function doNotice($target, $text);
|
||||
|
||||
/**
|
||||
* Kicks a user from a channel.
|
||||
*
|
||||
* @param string $nick Nick of the user
|
||||
* @param string $channel Channel name
|
||||
* @param string $reason Reason for the kick (optional)
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_2_8
|
||||
*/
|
||||
public abstract function doKick($nick, $channel, $reason = null);
|
||||
|
||||
/**
|
||||
* Responds to a server test of client responsiveness.
|
||||
*
|
||||
* @param string $daemon Daemon from which the original request originates
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_6_3
|
||||
*/
|
||||
public abstract function doPong($daemon);
|
||||
|
||||
/**
|
||||
* Sends a CTCP ACTION (/me) command to a nick or channel.
|
||||
*
|
||||
* @param string $target Channel name or user nick
|
||||
* @param string $text Text of the action to perform
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.invlogic.com/irc/ctcp.html#4.4
|
||||
*/
|
||||
public abstract function doAction($target, $text);
|
||||
|
||||
/**
|
||||
* Sends a CTCP PING request to a user.
|
||||
*
|
||||
* @param string $nick User nick
|
||||
* @param string $hash Hash to use in the handshake
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.invlogic.com/irc/ctcp.html#4.2
|
||||
*/
|
||||
public abstract function doPing($nick, $hash);
|
||||
|
||||
/**
|
||||
* Sends a CTCP VERSION request or response to a user.
|
||||
*
|
||||
* @param string $nick User nick
|
||||
* @param string $version Version string to send for a response
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.invlogic.com/irc/ctcp.html#4.1
|
||||
*/
|
||||
public abstract function doVersion($nick, $version = null);
|
||||
|
||||
/**
|
||||
* Sends a CTCP TIME request to a user.
|
||||
*
|
||||
* @param string $nick User nick
|
||||
* @param string $time Time string to send for a response
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.invlogic.com/irc/ctcp.html#4.6
|
||||
*/
|
||||
public abstract function doTime($nick, $time = null);
|
||||
|
||||
/**
|
||||
* Sends a CTCP FINGER request to a user.
|
||||
*
|
||||
* @param string $nick User nick
|
||||
* @param string $finger Finger string to send for a response
|
||||
*
|
||||
* @return void
|
||||
* @link http://www.irchelp.org/irchelp/rfc/ctcpspec.html
|
||||
*/
|
||||
public abstract function doFinger($nick, $finger = null);
|
||||
|
||||
/**
|
||||
* Sends a raw command to the server.
|
||||
*
|
||||
* @param string $command Command string to send
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public abstract function doRaw($command);
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* Phergie
|
||||
*
|
||||
* PHP version 5
|
||||
*
|
||||
* LICENSE
|
||||
*
|
||||
* This source file is subject to the new BSD license that is bundled
|
||||
* with this package in the file LICENSE.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://phergie.org/license
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @copyright 2008-2010 Phergie Development Team (http://phergie.org)
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
|
||||
/**
|
||||
* Exception related to driver operations.
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie
|
||||
* @author Phergie Development Team <team@phergie.org>
|
||||
* @license http://phergie.org/license New BSD License
|
||||
* @link http://pear.phergie.org/package/Phergie
|
||||
*/
|
||||
class Phergie_Driver_Exception extends Phergie_Exception
|
||||
{
|
||||
/**
|
||||
* Error indicating that an operation was requested requiring an active
|
||||
* connection before one had been set
|
||||
*/
|
||||
const ERR_NO_ACTIVE_CONNECTION = 1;
|
||||
|
||||
/**
|
||||
* Error indicating that an operation was requested requiring an active
|
||||
* connection where one had been set but not initiated
|
||||
*/
|
||||
const ERR_NO_INITIATED_CONNECTION = 2;
|
||||
|
||||
/**
|
||||
* Error indicating that an attempt to initiate a connection failed
|
||||
*/
|
||||
const ERR_CONNECTION_ATTEMPT_FAILED = 3;
|
||||
|
||||
/**
|
||||
* Error indicating that an attempt to send data via a connection failed
|
||||
*/
|
||||
const ERR_CONNECTION_WRITE_FAILED = 4;
|
||||
|
||||
/**
|
||||
* Error indicating that an attempt to read data via a connection failed
|
||||
*/
|
||||
const ERR_CONNECTION_READ_FAILED = 5;
|
||||
}
|
@ -1,66 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* StatusNet - the distributed open-source microblogging tool
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Extends the Streams driver (Phergie_Driver_Streams) to give external access
|
||||
* to the socket resources and send method
|
||||
*
|
||||
* @category Phergie
|
||||
* @package Phergie_Driver_Statusnet
|
||||
* @author Luke Fitzgerald <lw.fitzgerald@googlemail.com>
|
||||
* @copyright 2010 StatusNet, Inc.
|
||||
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
|
||||
* @link http://status.net/
|
||||
*/
|
||||
|
||||
class Phergie_Driver_Statusnet extends Phergie_Driver_Streams {
|
||||
/**
|
||||
* Handles construction of command strings and their transmission to the
|
||||
* server.
|
||||
*
|
||||
* @param string $command Command to send
|
||||
* @param string|array $args Optional string or array of sequential
|
||||
* arguments
|
||||
*
|
||||
* @return string Command string that was sent
|
||||
* @throws Phergie_Driver_Exception
|
||||
*/
|
||||
public function send($command, $args = '') {
|
||||
return parent::send($command, $args);
|
||||
}
|
||||
|
||||
public function forceQuit() {
|
||||
try {
|
||||
// Send a QUIT command to the server
|
||||
$this->send('QUIT', 'Reconnecting');
|
||||
} catch (Phergie_Driver_Exception $e){}
|
||||
|
||||
// Terminate the socket connection
|
||||
fclose($this->socket);
|
||||
|
||||
// Remove the socket from the internal socket list
|
||||
unset($this->sockets[(string) $this->getConnection()->getHostmask()]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the array of sockets
|
||||
*
|
||||
* @return array Array of socket resources
|
||||
*/
|
||||
public function getSockets() {
|
||||
return $this->sockets;
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user