ucfirst Smarty modifier is deprecated

See https://github.com/smarty-php/smarty/issues/813
This commit is contained in:
Pierre Rudloff 2023-03-21 20:25:47 +01:00
parent 71647158d3
commit 9564764633
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ class Locale
*/
public function getFullName(): string
{
return PHPLocale::getDisplayName($this->getIso15897(), $this->getIso15897());
return mb_convert_case(PHPLocale::getDisplayName($this->getIso15897(), $this->getIso15897()), MB_CASE_TITLE);
}
/**