diff --git a/actions/avatarsettings.php b/actions/avatarsettings.php index d9542a39c8..7cc55e1e3f 100644 --- a/actions/avatarsettings.php +++ b/actions/avatarsettings.php @@ -277,6 +277,7 @@ class AvatarsettingsAction extends SettingsAction $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/cancelsubscription.php b/actions/cancelsubscription.php index 0cd922ff70..30726e0d04 100644 --- a/actions/cancelsubscription.php +++ b/actions/cancelsubscription.php @@ -71,6 +71,7 @@ class CancelsubscriptionAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. ' . 'Try again, please.')); return; diff --git a/actions/deleteapplication.php b/actions/deleteapplication.php index 9f9ac18971..8c3b8e0ba7 100644 --- a/actions/deleteapplication.php +++ b/actions/deleteapplication.php @@ -99,6 +99,7 @@ class DeleteapplicationAction extends Action // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token.')); return; } diff --git a/actions/deletenotice.php b/actions/deletenotice.php index c997bb756a..9032de8974 100644 --- a/actions/deletenotice.php +++ b/actions/deletenotice.php @@ -174,6 +174,7 @@ class DeletenoticeAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. ' . 'Try again, please.')); return; diff --git a/actions/editapplication.php b/actions/editapplication.php index 4e67d9e57b..02fae3eb49 100644 --- a/actions/editapplication.php +++ b/actions/editapplication.php @@ -128,6 +128,7 @@ class EditApplicationAction extends OwnerDesignAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token.')); return; } diff --git a/actions/emailsettings.php b/actions/emailsettings.php index b3bd6d104c..d515715eda 100644 --- a/actions/emailsettings.php +++ b/actions/emailsettings.php @@ -289,6 +289,7 @@ class EmailsettingsAction extends SettingsAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->show_form(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/favor.php b/actions/favor.php index 61db235738..494648f671 100644 --- a/actions/favor.php +++ b/actions/favor.php @@ -72,6 +72,7 @@ class FavorAction extends Action $notice = Notice::staticGet($id); $token = $this->trimmed('token-'.$notice->id); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. Try again, please.')); return; } diff --git a/actions/geocode.php b/actions/geocode.php index 123a839f56..9e208914c1 100644 --- a/actions/geocode.php +++ b/actions/geocode.php @@ -52,6 +52,7 @@ class GeocodeAction extends Action parent::prepare($args); $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. '. 'Try again, please.')); } diff --git a/actions/groupblock.php b/actions/groupblock.php index d426563d8c..3f8cb90e9e 100644 --- a/actions/groupblock.php +++ b/actions/groupblock.php @@ -62,6 +62,7 @@ class GroupblockAction extends RedirectingAction } $token = $this->trimmed('token'); if (empty($token) || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. Try again, please.')); return; } diff --git a/actions/groupunblock.php b/actions/groupunblock.php index de0af59821..7b92e83f71 100644 --- a/actions/groupunblock.php +++ b/actions/groupunblock.php @@ -62,6 +62,7 @@ class GroupunblockAction extends Action } $token = $this->trimmed('token'); if (empty($token) || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. Try again, please.')); return; } diff --git a/actions/imsettings.php b/actions/imsettings.php index b887fdb231..e809981a3f 100644 --- a/actions/imsettings.php +++ b/actions/imsettings.php @@ -240,6 +240,7 @@ class ImsettingsAction extends SettingsAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/invite.php b/actions/invite.php index bbb6b26c11..7a1f8b3f5b 100644 --- a/actions/invite.php +++ b/actions/invite.php @@ -57,6 +57,7 @@ class InviteAction extends CurrentUserDesignAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. Try again, please.')); return; } diff --git a/actions/makeadmin.php b/actions/makeadmin.php index 3613e1eb70..0ca537f755 100644 --- a/actions/makeadmin.php +++ b/actions/makeadmin.php @@ -64,6 +64,7 @@ class MakeadminAction extends RedirectingAction } $token = $this->trimmed('token'); if (empty($token) || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. Try again, please.')); return; } diff --git a/actions/newapplication.php b/actions/newapplication.php index a2c4f58b8d..ca5d902a26 100644 --- a/actions/newapplication.php +++ b/actions/newapplication.php @@ -109,6 +109,7 @@ class NewApplicationAction extends OwnerDesignAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token.')); return; } diff --git a/actions/newmessage.php b/actions/newmessage.php index 8a03aebfac..8f185b55b5 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -137,6 +137,7 @@ class NewmessageAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. ' . 'Try again, please.')); return; diff --git a/actions/newnotice.php b/actions/newnotice.php index f48134c3b2..3b7cabaced 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -101,6 +101,7 @@ class NewnoticeAction extends Action // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. '. 'Try again, please.')); } diff --git a/actions/nudge.php b/actions/nudge.php index 61874c7505..401285b9f3 100644 --- a/actions/nudge.php +++ b/actions/nudge.php @@ -78,6 +78,7 @@ class NudgeAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. Try again, please.')); return; } diff --git a/actions/oauthconnectionssettings.php b/actions/oauthconnectionssettings.php index bcef773ac6..5c66730931 100644 --- a/actions/oauthconnectionssettings.php +++ b/actions/oauthconnectionssettings.php @@ -132,6 +132,7 @@ class OauthconnectionssettingsAction extends SettingsAction $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/passwordsettings.php b/actions/passwordsettings.php index d9a6d32ae0..3ac1a3f946 100644 --- a/actions/passwordsettings.php +++ b/actions/passwordsettings.php @@ -143,6 +143,7 @@ class PasswordsettingsAction extends SettingsAction $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/pluginenable.php b/actions/pluginenable.php index 0f2b4ba670..4caa6baf37 100644 --- a/actions/pluginenable.php +++ b/actions/pluginenable.php @@ -84,6 +84,7 @@ class PluginEnableAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token.'. ' Try again, please.')); return false; diff --git a/actions/register.php b/actions/register.php index 084e3e6f1d..d8f752d2bb 100644 --- a/actions/register.php +++ b/actions/register.php @@ -160,6 +160,7 @@ class RegisterAction extends Action if (Event::handle('StartRegistrationTry', array($this))) { $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index 66cee65cab..5514b9a98c 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -74,6 +74,7 @@ class RemotesubscribeAction extends Action /* Use a session token for CSRF protection. */ $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/repeat.php b/actions/repeat.php index 44c57456fa..333e1cd02e 100644 --- a/actions/repeat.php +++ b/actions/repeat.php @@ -76,6 +76,7 @@ class RepeatAction extends Action $token = $this->trimmed('token-'.$id); if (empty($token) || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. Try again, please.')); return false; } diff --git a/actions/showapplication.php b/actions/showapplication.php index 38e6f1953e..c9cdbf1848 100644 --- a/actions/showapplication.php +++ b/actions/showapplication.php @@ -113,6 +113,7 @@ class ShowApplicationAction extends OwnerDesignAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token.')); return; } diff --git a/actions/smssettings.php b/actions/smssettings.php index 1545679c17..d151ff45d6 100644 --- a/actions/smssettings.php +++ b/actions/smssettings.php @@ -246,6 +246,7 @@ class SmssettingsAction extends SettingsAction $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/subedit.php b/actions/subedit.php index 3b77aff584..f8b22d72b9 100644 --- a/actions/subedit.php +++ b/actions/subedit.php @@ -37,6 +37,7 @@ class SubeditAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. '. 'Try again, please.')); return false; diff --git a/actions/tagother.php b/actions/tagother.php index 518c707201..6d63ea5b5e 100644 --- a/actions/tagother.php +++ b/actions/tagother.php @@ -153,6 +153,7 @@ class TagotherAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/unsubscribe.php b/actions/unsubscribe.php index 8f90619f64..73661a4f16 100644 --- a/actions/unsubscribe.php +++ b/actions/unsubscribe.php @@ -66,6 +66,7 @@ class UnsubscribeAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->clientError(_('There was a problem with your session token. ' . 'Try again, please.')); return; diff --git a/actions/urlsettings.php b/actions/urlsettings.php index aaaa1b78dd..02a895955d 100644 --- a/actions/urlsettings.php +++ b/actions/urlsettings.php @@ -167,6 +167,7 @@ class UrlsettingsAction extends SettingsAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return; diff --git a/actions/userauthorization.php b/actions/userauthorization.php index e58a096bac..fd01cd7c02 100644 --- a/actions/userauthorization.php +++ b/actions/userauthorization.php @@ -50,6 +50,7 @@ class UserauthorizationAction extends Action $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { $srv = $this->getStoredParams(); + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm($srv->getRemoteUser(), _('There was a problem ' . 'with your session token. Try again, ' . 'please.')); diff --git a/lib/designsettings.php b/lib/designsettings.php index eb3a5908e6..e88bbf88cf 100644 --- a/lib/designsettings.php +++ b/lib/designsettings.php @@ -119,6 +119,7 @@ class DesignSettingsAction extends SettingsAction // CSRF protection $token = $this->trimmed('token'); if (!$token || $token != common_session_token()) { + // TRANS: Client error displayed when the session token does not match or is not given. $this->showForm(_('There was a problem with your session token. '. 'Try again, please.')); return;