mirror of
https://github.com/openvk/openvk
synced 2024-12-22 16:42:32 +03:00
Merge branch 'master' of github.com:openvk/openvk
This commit is contained in:
commit
b731cb4c87
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue