Skip to content
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.

Commit

Permalink
#467486 by neilnz: Grammar fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
smk committed Oct 5, 2009
1 parent 2fe0c81 commit 07db57c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.TXT
@@ -1,4 +1,4 @@
// $Id: CHANGELOG.TXT,v 1.7.2.8 2009-10-04 14:35:51 smk Exp $
// $Id: CHANGELOG.TXT,v 1.7.2.9 2009-10-05 13:24:15 smk Exp $

Invite 6.x-2.x, xxxx-xx-xx
--------------------------
Expand All @@ -8,6 +8,7 @@ Invite 6.x-2.x, xxxx-xx-xx
#374869 by webchick, smk-ka: Denying access to the user registration form at
the menu callback level, not at the form level, for better compatibility with
other modules.
#467486 by neilnz: Grammar fix.


Invite 6.x-2.0-ALPHA-1, 2009-04-19
Expand Down
4 changes: 2 additions & 2 deletions invite.module
@@ -1,5 +1,5 @@
<?php
// $Id: invite.module,v 1.25.2.9 2009-10-04 14:35:51 smk Exp $
// $Id: invite.module,v 1.25.2.10 2009-10-05 13:24:15 smk Exp $

/**
* @file
Expand Down Expand Up @@ -950,7 +950,7 @@ function invite_form_validate($form, &$form_state) {
// Filter out already invited users, but pass validation.
$failed_emails = _invite_validate_emails("SELECT email FROM {invite} WHERE email IN (". db_placeholders($emails, 'varchar') .") AND uid = %d AND canceled = 0", $emails, $user->uid);
if (count($failed_emails)) {
$error = format_plural(count($failed_emails), 'You did already invite the following recipient:', 'You did already invite the following recipients:') .'<br />';
$error = format_plural(count($failed_emails), 'You have already invited the following recipient:', 'You have already invited the following recipients:') .'<br />';
$error .= implode(', ', array_map('check_plain', $failed_emails));
drupal_set_message($error, 'error');
}
Expand Down
2 changes: 1 addition & 1 deletion translations/de.po
Expand Up @@ -75,7 +75,7 @@ msgstr "Abgelaufen"

#: invite.module:160
msgid "New user registration by invitation only."
msgstr "Anmeldung neuer Benutzer nur mit Einladung"
msgstr "Anmeldung neuer Benutzer nur mit Einladung."

#: invite.module:191
msgid "Sorry, new user registration by invitation only."
Expand Down
6 changes: 3 additions & 3 deletions translations/fr.po
@@ -1,4 +1,4 @@
# $Id: fr.po,v 1.1.2.1 2009-04-19 20:14:49 sun Exp $
# $Id: fr.po,v 1.1.2.2 2009-10-05 13:24:16 smk Exp $
#
# LANGUAGE translation of Drupal (general)
# Copyright YEAR NAME <EMAIL@ADDRESS>
Expand Down Expand Up @@ -533,8 +533,8 @@ msgstr[0] "Le destinataire suivant est déjà un membre :"
msgstr[1] "Les destinataires suivants sont déjà membres :"

#: invite.module:909
msgid "You did already invite the following recipient:"
msgid_plural "You did already invite the following recipients:"
msgid "You have already invited the following recipient:"
msgid_plural "You have already invited the following recipients:"
msgstr[0] "Vous avez déjà invité le destinataire suivant:"
msgstr[1] "Vous avez déjà invité les destinataire suivanst:"

Expand Down
6 changes: 3 additions & 3 deletions translations/ja.po
@@ -1,4 +1,4 @@
# $Id: ja.po,v 1.1.2.1 2008-11-14 06:43:49 pineray Exp $
# $Id: ja.po,v 1.1.2.2 2009-10-05 13:24:16 smk Exp $
#
# Japanese translation of Drupal (general)
# Copyright YEAR NAME <EMAIL@ADDRESS>
Expand Down Expand Up @@ -532,8 +532,8 @@ msgstr[0] "以下の受取人はすでにユーザ登録済みです:"
msgstr[1] "以下の受取人はすでにユーザ登録済みです:"

#: invite.module:909
msgid "You did already invite the following recipient:"
msgid_plural "You did already invite the following recipients:"
msgid "You have already invited the following recipient:"
msgid_plural "You have already invited the following recipients:"
msgstr[0] "下記の受信者へは招待状をすでに送信済みです:"
msgstr[1] "下記の受信者へは招待状をすでに送信済みです:"

Expand Down

0 comments on commit 07db57c

Please sign in to comment.