From 8028be7ff2c1d66f93070f098001460ecce46bc1 Mon Sep 17 00:00:00 2001 From: Thomas Imbreckx Date: Sat, 23 Jan 2016 13:55:05 +0100 Subject: [PATCH] Fix some strings and typos --- controller/registercontroller.php | 6 +++--- templates/admin.php | 2 +- templates/domains.php | 2 +- templates/register.php | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/controller/registercontroller.php b/controller/registercontroller.php index 4b37337..e30a98b 100644 --- a/controller/registercontroller.php +++ b/controller/registercontroller.php @@ -70,7 +70,7 @@ class RegisterController extends Controller { if ( !$this->mailer->validateMailAddress($email) ) { return new TemplateResponse('', 'error', array( 'errors' => array(array( - 'error' => $this->l10n->t('Email address you entered is not valid'), + 'error' => $this->l10n->t('The email address you entered is not valid'), 'hint' => '' )) ), 'error'); @@ -191,7 +191,7 @@ class RegisterController extends Controller { if ( $user === false ) { return new TemplateResponse('', 'error', array( 'errors' => array(array( - 'error' => $this->l10n->t('Unable to create user, there are problems with user backend.'), + 'error' => $this->l10n->t('Unable to create user, there are problems with the user backend.'), 'hint' => '' )) ), 'error'); @@ -305,7 +305,7 @@ class RegisterController extends Controller { $html_part = $html_template->render(); $plaintext_template = new TemplateResponse('registration', 'email.newuser_plaintext', $template_var, 'blank'); $plaintext_part = $plaintext_template->render(); - $subject = $this->l10n->t('A new user "%s" had created an account on %s', [$username, $this->defaults->getName()]); + $subject = $this->l10n->t('A new user "%s" has created an account on %s', [$username, $this->defaults->getName()]); $from = Util::getDefaultEmailAddress('register'); $message = $this->mailer->createMessage(); diff --git a/templates/admin.php b/templates/admin.php index e8bc935..09fc84e 100644 --- a/templates/admin.php +++ b/templates/admin.php @@ -20,7 +20,7 @@ foreach ( $_['groups'] as $group ) { >

- t('Enter a semicolon-seperated list of allowed domains. Example: owncloud.com;github.com'));?> + t('Enter a semicolon-separated list of allowed domains. Example: owncloud.com;github.com'));?>

diff --git a/templates/domains.php b/templates/domains.php index f628040..08cb3dd 100644 --- a/templates/domains.php +++ b/templates/domains.php @@ -2,7 +2,7 @@ \OCP\Util::addStyle('registration', 'style'); ?>