summaryrefslogtreecommitdiff
path: root/plugins/Facebook/FBConnectSettings.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-12-22 16:44:19 -0800
committerEvan Prodromou <evan@status.net>2009-12-22 16:44:19 -0800
commitf6bf9529805cd58fdd1671dd9b133bde05e8ae87 (patch)
treecf272bd1105da48f016b635db4d9c34810adcbda /plugins/Facebook/FBConnectSettings.php
parentf987273f118a12d443b6789c2ab59d7a4b01f678 (diff)
parent30c2e2ce83282f0bc268153d7ec465fbb5cf00ca (diff)
Merge branch 'testing'
Diffstat (limited to 'plugins/Facebook/FBConnectSettings.php')
-rw-r--r--plugins/Facebook/FBConnectSettings.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/plugins/Facebook/FBConnectSettings.php b/plugins/Facebook/FBConnectSettings.php
index 911c56787..590dffd8a 100644
--- a/plugins/Facebook/FBConnectSettings.php
+++ b/plugins/Facebook/FBConnectSettings.php
@@ -53,7 +53,7 @@ class FBConnectSettingsAction extends ConnectSettingsAction
function title()
{
- return _('Facebook Connect Settings');
+ return _m('Facebook Connect Settings');
}
/**
@@ -64,7 +64,7 @@ class FBConnectSettingsAction extends ConnectSettingsAction
function getInstructions()
{
- return _('Manage how your account connects to Facebook');
+ return _m('Manage how your account connects to Facebook');
}
/**
@@ -89,7 +89,7 @@ class FBConnectSettingsAction extends ConnectSettingsAction
if (!$flink) {
$this->element('p', 'instructions',
- _('There is no Facebook user connected to this account.'));
+ _m('There is no Facebook user connected to this account.'));
$this->element('fb:login-button', array('onlogin' => 'goto_login()',
'length' => 'long'));
@@ -97,7 +97,7 @@ class FBConnectSettingsAction extends ConnectSettingsAction
} else {
$this->element('p', 'form_note',
- _('Connected Facebook user'));
+ _m('Connected Facebook user'));
$this->elementStart('p', array('class' => 'facebook-user-display'));
$this->elementStart('fb:profile-pic',
@@ -116,18 +116,18 @@ class FBConnectSettingsAction extends ConnectSettingsAction
$this->elementStart('fieldset');
- $this->element('legend', null, _('Disconnect my account from Facebook'));
+ $this->element('legend', null, _m('Disconnect my account from Facebook'));
if (!$user->password) {
$this->elementStart('p', array('class' => 'form_guide'));
- $this->text(_('Disconnecting your Faceboook ' .
- 'would make it impossible to log in! Please '));
+ $this->text(_m('Disconnecting your Faceboook ' .
+ 'would make it impossible to log in! Please '));
$this->element('a',
array('href' => common_local_url('passwordsettings')),
- _('set a password'));
+ _m('set a password'));
- $this->text(_(' first.'));
+ $this->text(_m(' first.'));
$this->elementEnd('p');
} else {
@@ -139,7 +139,7 @@ class FBConnectSettingsAction extends ConnectSettingsAction
$this->element('p', 'instructions',
sprintf($note, $site, $site));
- $this->submit('disconnect', _('Disconnect'));
+ $this->submit('disconnect', _m('Disconnect'));
}
$this->elementEnd('fieldset');
@@ -161,8 +161,8 @@ class FBConnectSettingsAction extends ConnectSettingsAction
// CSRF protection
$token = $this->trimmed('token');
if (!$token || $token != common_session_token()) {
- $this->showForm(_('There was a problem with your session token. '.
- 'Try again, please.'));
+ $this->showForm(_m('There was a problem with your session token. '.
+ 'Try again, please.'));
return;
}
@@ -175,7 +175,7 @@ class FBConnectSettingsAction extends ConnectSettingsAction
if ($result === false) {
common_log_db_error($user, 'DELETE', __FILE__);
- $this->serverError(_('Couldn\'t delete link to Facebook.'));
+ $this->serverError(_m('Couldn\'t delete link to Facebook.'));
return;
}
@@ -191,10 +191,10 @@ class FBConnectSettingsAction extends ConnectSettingsAction
$e->getMessage());
}
- $this->showForm(_('You have disconnected from Facebook.'), true);
+ $this->showForm(_m('You have disconnected from Facebook.'), true);
} else {
- $this->showForm(_('Not sure what you\'re trying to do.'));
+ $this->showForm(_m('Not sure what you\'re trying to do.'));
return;
}