In LogInOut.pm, there is code:
if ( $username =~ /[^ \w\x80-\xFF\[\]\(\)#\%\+,\-\|\.:=\?\@\^]/sm ) {
fatal_error( 'invalid_character',
"$loginout_txt{'35'} $loginout_txt{'241'}" );
}
Here '35' and '241' needs to be combined as single translation, because in some languages there is no word boundary and the words are written differently in two cases where '35' is used.
Index: cgi-bin/yabb2/Languages/English/LogInOut.lng
===================================================================
--- cgi-bin/yabb2/Languages/English/LogInOut.lng (revision 1562)
+++ cgi-bin/yabb2/Languages/English/LogInOut.lng (working copy)
@@ -17,6 +17,7 @@
%loginout_txt = (
'34' => 'Login',
'35' => 'User ID or e-mail address',
+'35a' => 'User ID or e-mail address field.',
'35b' => 'User ID, Screen Name or e-mail address',
'36' => 'Password',
'36b' => 'Password Reset',
Index: cgi-bin/yabb2/Sources/LogInOut.pm
===================================================================
--- cgi-bin/yabb2/Sources/LogInOut.pm (revision 1562)
+++ cgi-bin/yabb2/Sources/LogInOut.pm (working copy)
@@ -46,7 +46,7 @@
$username =~ s/\s/_/gxsm;
if ( $username =~ /[^ \w\x80-\xFF\[\]\(\)#\%\+,\-\|\.:=\?\@\^]/sm ) {
fatal_error( 'invalid_character',
- "$loginout_txt{'35'} $loginout_txt{'241'}" );
+ "$loginout_txt{'35a'}" );
}
## Check if login ID is not an email address ##