Forráskód Böngészése

Fix for admin note

Visman 1 éve
szülő
commit
a0b67dd229

+ 1 - 1
app/Models/Pages/Admin/Users/Result.php

@@ -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,
             ];
 

+ 1 - 0
app/Models/Pages/Profile/Edit.php

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

+ 2 - 2
app/lang/en/admin_users.po

@@ -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"

+ 4 - 1
app/lang/en/profile.po

@@ -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"

+ 1 - 1
app/lang/ru/admin_users.po

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

+ 3 - 0
app/lang/ru/profile.po

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