Skip to content

Commit 63d715b

Browse files
authored
Merge pull request #3192 from HughieW/fix/MessageFormatter-issues
ArgType 'String' is not valid in MessageFormatter class. Fixes #3191
2 parents b9940bb + f413d6d commit 63d715b

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

system/Language/en/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'sendFailurePHPMail' => 'Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.',
2424
'sendFailureSendmail' => 'Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.',
2525
'sendFailureSmtp' => 'Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.',
26-
'sent' => 'Your message has been successfully sent using the following protocol: {0, string}',
26+
'sent' => 'Your message has been successfully sent using the following protocol: {0}',
2727
'noSocket' => 'Unable to open a socket to Sendmail. Please check settings.',
2828
'noHostname' => 'You did not specify a SMTP hostname.',
2929
'SMTPError' => 'The following SMTP error was encountered: {0}',

system/Language/en/HTTP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
'emptySupportedNegotiations' => 'You must provide an array of supported values to all Negotiations.',
3232

3333
// RedirectResponse
34-
'invalidRoute' => '{0, string} route cannot be found while reverse-routing.',
34+
'invalidRoute' => '{0} route cannot be found while reverse-routing.',
3535

3636
// DownloadResponse
3737
'cannotSetBinary' => 'When setting filepath cannot set binary.',
@@ -42,7 +42,7 @@
4242

4343
// Response
4444
'missingResponseStatus' => 'HTTP Response is missing a status code',
45-
'invalidStatusCode' => '{0, string} is not a valid HTTP return status code',
45+
'invalidStatusCode' => '{0} is not a valid HTTP return status code',
4646
'unknownStatusCode' => 'Unknown HTTP status code provided with no message: {0}',
4747

4848
// URI

system/Language/en/Images.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
'unsupportedImageCreate' => 'Your server does not support the GD function required to process this type of image.',
2727
'jpgOrPngRequired' => 'The image resize protocol specified in your preferences only works with JPEG or PNG image types.',
2828
'rotateUnsupported' => 'Image rotation does not appear to be supported by your server.',
29-
'libPathInvalid' => 'The path to your image library is not correct. Please set the correct path in your image preferences. {0, string)',
29+
'libPathInvalid' => 'The path to your image library is not correct. Please set the correct path in your image preferences. {0}',
3030
'imageProcessFailed' => 'Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.',
3131
'rotationAngleRequired' => 'An angle of rotation is required to rotate the image.',
3232
'invalidPath' => 'The path to the image is not correct.',

0 commit comments

Comments
 (0)