i18n/L10n issues fixed.
Superfluous whitespace removed.
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class AccountManagementControlDocumentAction extends Action
{
/**
*
* @return void
*/
-
function handle($args)
{
parent::handle($args);
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
-
class AccountManagementSessionStatusAction extends Action
{
/**
*
* @return void
*/
-
function handle($args)
{
parent::handle($args);
class AccountManagerPlugin extends Plugin
{
-
const AM_REL = 'acct-mgmt';
function __construct()
default:
return true;
}
-
}
function onPluginVersion(&$versions)
// TRANS: Menu item title/tooltip
$menu_title = _m('AdSense configuration');
// TRANS: Menu item for site administration
- $menu->out->menuItem(common_local_url('adsenseadminpanel'), _m('AdSense'),
+ $menu->out->menuItem(common_local_url('adsenseadminpanel'), _m('MENU','AdSense'),
$menu_title, $action_name == 'adsenseadminpanel', 'nav_adsense_admin_panel');
}
return true;
'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;
}
$this->out->elementStart('ul', 'form_data');
$this->li();
$this->input('client',
+ // TRANS: Field label in AdSense administration panel.
_m('Client ID'),
- _m('Google 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'),
- _m('Script URL (advanced)'),
+ // 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'),
- _m('Medium rectangle slot code'),
+ // 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'),
- _m('Rectangle slot code'),
+ // 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'),
- _m('Leaderboard slot code'),
+ // 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'),
- _m('Wide skyscraper slot code'),
+ // TRANS: Field title in AdSense administration panel.
+ _m('Wide skyscraper slot code.'),
'adsense');
$this->unli();
$this->out->elementEnd('ul');
*/
function formActions()
{
- $this->out->submit('submit', _m('Save'), 'submit', null, _m('Save AdSense settings'));
+ // 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.'));
}
}
* @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;
function getDisplayName()
{
+ // TRANS: Display name.
return _m('AIM');
}
function microiduri($screenname)
{
- return 'aim:' . $screenname;
+ return 'aim:' . $screenname;
}
function sendMessage($screenname, $body)
function initialize(){
if(!isset($this->user)){
- throw new Exception("must specify a 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)){
- throw new Exception("must specify a 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);
'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;
}
}
-
$this->would_be_sent = array($sflap_type, $sflap_data, $no_null, $formatted);
}
}
-
* 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.
$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;
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html AGPL 3.0
* @link http://status.net/
*/
-
class AnonymousFavePlugin extends Plugin
{
-
// Array of users who should not have anon faving. The default is
// that anonymous faving is allowed for all users.
public $restricted = array();
return true;
}
-
}
*/
class AnonFavorForm extends FavorForm
{
-
/**
* Constructor
*
{
return common_local_url('AnonFavor');
}
-
}
while ($notice->fetch()) {
Fave_tally::ensureTally($notice->id);
}
-