Bug 21233: (QA follow-up) We do not like the plural form of whitespace
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 24 Aug 2018 09:06:14 +0000 (11:06 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 14 Sep 2018 17:54:13 +0000 (17:54 +0000)
The word "whitespace" is usually uncountable.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Koha/Exceptions/Password.pm

index bffafdb..c64873d 100644 (file)
@@ -35,9 +35,9 @@ use Exception::Class (
         isa => 'Koha::Exceptions::Password',
         description => 'Password is too weak'
     },
-    'Koha::Exceptions::Password::TrailingWhitespaces' => {
+    'Koha::Exceptions::Password::TrailingWhitespace' => {
         isa => 'Koha::Exceptions::Password',
-        description => 'Password contains trailing whitespace(s)'
+        description => 'Password contains trailing whitespace character(s)'
     }
 );
 
@@ -77,7 +77,7 @@ Password is too short.
 
 Password is too weak.
 
-=head2 Koha::Exceptions::Password::TrailingWhitespaces
+=head2 Koha::Exceptions::Password::TrailingWhitespace
 
 Password contains trailing spaces, which is forbidden.