Fix for admin note

This commit is contained in:
Visman 2023-07-30 01:07:23 +07:00
parent a956829ae8
commit a0b67dd229
6 changed files with 12 additions and 5 deletions

View file

@ -325,7 +325,7 @@ class Result extends Users
$fields["l{$number}-note"] = [
'class' => '' === \trim($user->admin_note ?? '') ? ['result', 'note', 'no-data'] : ['result', 'note'],
'type' => 'str',
'caption' => 'Примечание админа',
'caption' => 'Results admin note head',
'value' => $user->admin_note,
];

View file

@ -382,6 +382,7 @@ class Edit extends Profile
'maxlength' => '30',
'caption' => 'Admin note',
'value' => $this->curUser->admin_note,
'help' => 'Admin note help',
],
],
];

View file

@ -106,7 +106,7 @@ msgid "Signature label"
msgstr "Signature"
msgid "Admin note label"
msgstr "Admin note"
msgstr "Administration note"
msgid "Posts label"
msgstr "Posts"
@ -187,7 +187,7 @@ msgid "Results posts head"
msgstr "Posts"
msgid "Results admin note head"
msgstr "Admin note"
msgstr "Note"
msgid "Results IP address head"
msgstr "IP address"

View file

@ -133,7 +133,10 @@ msgid "Style"
msgstr "Style"
msgid "Admin note"
msgstr "Admin note"
msgstr "Administration note"
msgid "Admin note help"
msgstr "For administrators and moderators."
msgid "Delete user"
msgstr "Delete"

View file

@ -106,7 +106,7 @@ msgid "Signature label"
msgstr "Подпись"
msgid "Admin note label"
msgstr "Примечание админа"
msgstr "Примечание администрации"
msgid "Posts label"
msgstr "Сообщений"

View file

@ -135,6 +135,9 @@ msgstr "Стиль"
msgid "Admin note"
msgstr "Примечание администрации"
msgid "Admin note help"
msgstr "Для администраторов и модераторов."
msgid "Delete user"
msgstr "Удалить"