]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
full sentence for invite-only error
authorEvan Prodromou <evan@controlyourself.ca>
Tue, 21 Oct 2008 18:30:35 +0000 (14:30 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Tue, 21 Oct 2008 18:30:35 +0000 (14:30 -0400)
darcs-hash:20081021183035-5ed1f-c40445017094a3f6c0e89fa8744ede28fd5ab20a.gz

actions/register.php

index 10336d41e60c0c6c37871dd7451d7711e872ecdb..1d7e71dfbc86138fefec984ec6c8af4afb9b53dd 100644 (file)
@@ -64,7 +64,7 @@ class RegisterAction extends Action {
                }
                
                if (common_config('site', 'inviteonly') && !($code && $invite)) {
-                       $this->client_error(_('Sorry, site is invite-only'));
+                       $this->client_error(_('Sorry, only invited people can register.'));
                        return;
                }
                
@@ -165,7 +165,7 @@ class RegisterAction extends Action {
                }
                
                if (common_config('site', 'inviteonly') && !($code && $invite)) {
-                       $this->client_error(_('Sorry, site is invite-only'));
+                       $this->client_error(_('Sorry, only invited people can register.'));
                        return;
                }