diff --git a/Web/Models/Entities/User.php b/Web/Models/Entities/User.php index 71dba465..03948970 100644 --- a/Web/Models/Entities/User.php +++ b/Web/Models/Entities/User.php @@ -149,7 +149,7 @@ class User extends RowModel { $name = $this->getRecord()->deleted ? "DELETED" : mb_convert_case($this->getRecord()->first_name, MB_CASE_TITLE); if((($ts = tr("__transNames")) !== "@__transNames") && !$pristine) - return transliterator_transliterate($ts, $name); + return mb_convert_case(transliterator_transliterate($ts, $name), MB_CASE_TITLE); else return $name; } @@ -158,7 +158,7 @@ class User extends RowModel { $name = $this->getRecord()->deleted ? "DELETED" : mb_convert_case($this->getRecord()->last_name, MB_CASE_TITLE); if((($ts = tr("__transNames")) !== "@__transNames") && !$pristine) - return transliterator_transliterate($ts, $name); + return mb_convert_case(transliterator_transliterate($ts, $name), MB_CASE_TITLE); else return $name; } diff --git a/locales/en.strings b/locales/en.strings index 2e733ede..23551e2b 100644 --- a/locales/en.strings +++ b/locales/en.strings @@ -1,5 +1,5 @@ "__locale" = "en_US.UTF-8;Eng"; -"__transNames" = "Latin"; +"__transNames" = "Russian-Latin/BGN; Any-Latin"; /* Check for https://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html */