mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +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
|
@ -195,7 +195,7 @@ U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone,
|
|||
}
|
||||
timeZone = TimeZone::createTimeZone(id);
|
||||
if (timeZone == NULL) {
|
||||
spprintf(&message, 0, "%s: could not create time zone", func);
|
||||
spprintf(&message, 0, "%s: Could not create time zone", func);
|
||||
if (message) {
|
||||
intl_errors_set(outside_error, U_MEMORY_ALLOCATION_ERROR, message, 1);
|
||||
efree(message);
|
||||
|
@ -204,7 +204,7 @@ U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone,
|
|||
return NULL;
|
||||
}
|
||||
if (timeZone->getID(gottenId) != id) {
|
||||
spprintf(&message, 0, "%s: no such time zone: '%s'",
|
||||
spprintf(&message, 0, "%s: No such time zone: '%s'",
|
||||
func, Z_STRVAL_P(zv_timezone));
|
||||
if (message) {
|
||||
intl_errors_set(outside_error, U_ILLEGAL_ARGUMENT_ERROR, message, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue