Skip to content

Commit 53d1c79

Browse files
committed
Fix spelling of 'unrecognised' to en_US version
1 parent 5863d27 commit 53d1c79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

class.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ XS(injected_constructor)
238238
while((he = hv_iternext(params)))
239239
sv_catpvf(paramnames, ", %" SVf, SVfARG(HeSVKEY_force(he)));
240240

241-
croak("Unrecognised parameters for %" HvNAMEf_QUOTEDPREFIX " constructor: %" SVf,
241+
croak("Unrecognized parameters for %" HvNAMEf_QUOTEDPREFIX " constructor: %" SVf,
242242
HvNAMEfARG(stash), SVfARG(paramnames));
243243
}
244244

pod/perldiag.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7544,7 +7544,7 @@ The message attempts to include the name of the called subroutine. If
75447544
the subroutine has been aliased, the subroutine's original name will be
75457545
shown, regardless of what name the caller used.
75467546

7547-
=item Unrecognised parameters for "%s" constructor: %s
7547+
=item Unrecognized parameters for "%s" constructor: %s
75487548

75497549
(F) You called new on a class but supplied a parameter name that
75507550
didn't match a class field name.

0 commit comments

Comments
 (0)