mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Make error messages more consistent by fixing capitalization
Closes GH-5066 As a first step, let's capitalize their initial letter when it is applicable.
This commit is contained in:
parent
117b18d22d
commit
d1764ca330
432 changed files with 1525 additions and 1525 deletions
|
@ -51,7 +51,7 @@ int datefmt_process_calendar_arg(zval* calendar_zv,
|
|||
|
||||
zend_long v = Z_LVAL_P(calendar_zv);
|
||||
if (v != (zend_long)UCAL_TRADITIONAL && v != (zend_long)UCAL_GREGORIAN) {
|
||||
spprintf(&msg, 0, "%s: invalid value for calendar type; it must be "
|
||||
spprintf(&msg, 0, "%s: Invalid value for calendar type; it must be "
|
||||
"one of IntlDateFormatter::TRADITIONAL (locale's default "
|
||||
"calendar) or IntlDateFormatter::GREGORIAN. "
|
||||
"Alternatively, it can be an IntlCalendar object",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue