]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/designsettings.php
Only unbind privacy checkbox when actually on mobile profile, oops.
[quix0rs-gnu-social.git] / lib / designsettings.php
index eb3a5908e6ff8c05fec602461fff15553c608686..cb65ca14cbfa80b2d7395817dfd116658fe42d4a 100644 (file)
@@ -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;
@@ -213,7 +214,7 @@ class DesignSettingsAction extends SettingsAction
             if ($result === false) {
                 common_log_db_error($design, 'UPDATE', __FILE__);
                 // TRANS: Error message displayed if design settings could not be saved.
-                $this->showForm(_('Couldn\'t update your design.'));
+                $this->showForm(_('Could not update your design.'));
                 return;
             }
         }
@@ -235,7 +236,7 @@ class DesignSettingsAction extends SettingsAction
             if ($result === false) {
                 common_log_db_error($design, 'DELETE', __FILE__);
                 // TRANS: Error message displayed if design settings could not be saved after clicking "Use defaults".
-                $this->showForm(_('Couldn\'t update your design.'));
+                $this->showForm(_('Could not update your design.'));
                 return;
             }
         }