diff --git a/app/lang/en/topic.po b/app/lang/en/topic.po index 6c94d4f3..7e69b8cb 100644 --- a/app/lang/en/topic.po +++ b/app/lang/en/topic.po @@ -19,9 +19,12 @@ msgid "Topic closed" msgstr "Topic closed" msgid "From %s" -msgstr "Location: %s" +msgstr "Location: %s" msgid "Promote user" +msgstr "Promote user" + +msgid "Promote user title" msgstr "Promote user" msgid "IP address logged" @@ -32,11 +35,11 @@ msgstr "Note:" msgid "%s post" msgid_plural "%s posts" -msgstr[0] "%s post" -msgstr[1] "%s posts" +msgstr[0] "%s post" +msgstr[1] "%s posts" msgid "Registered: %s" -msgstr "Registered: %s" +msgstr "Registered: %s" msgid "Website" msgstr "Website" diff --git a/app/lang/ru/topic.po b/app/lang/ru/topic.po index 6650ee2e..80c7f03a 100644 --- a/app/lang/ru/topic.po +++ b/app/lang/ru/topic.po @@ -19,9 +19,12 @@ msgid "Topic closed" msgstr "Тема закрыта" msgid "From %s" -msgstr "Локация: %s" +msgstr "Локация: %s" msgid "Promote user" +msgstr "Продвинуть пользователя" + +msgid "Promote user title" msgstr "Продвинуть пользователя" msgid "IP address logged" @@ -32,12 +35,12 @@ msgstr "Замечание" msgid "%s post" msgid_plural "%s posts" -msgstr[0] "%s сообщение" -msgstr[1] "%s сообщения" -msgstr[2] "%s сообщений" +msgstr[0] "%s сообщение" +msgstr[1] "%s сообщения" +msgstr[2] "%s сообщений" msgid "Registered: %s" -msgstr "Здесь с %s" +msgstr "Здесь с %s" msgid "Website" msgstr "Сайт" diff --git a/app/templates/pm/topic.forkbb.php b/app/templates/pm/topic.forkbb.php index 4bf9a162..f685e102 100644 --- a/app/templates/pm/topic.forkbb.php +++ b/app/templates/pm/topic.forkbb.php @@ -81,7 +81,7 @@
  • {!! __($post->user->online ? 'Online' : 'Offline') !!}
  • @endif @if ($p->user->showUserInfo && $p->user->showPostCount && $post->user->num_posts) -
  • {!! __(['%s post', $post->user->num_posts, num($post->user->num_posts)]) !!}
  • +
  • {!! __(['%s post', $post->user->num_posts, num($post->user->num_posts)]) !!}
  • @endif @if (! $post->user->isGuest && $p->user->showUserInfo) @@ -89,9 +89,9 @@ @if ($p->user->isAdmMod && '' != $post->user->admin_note)
  • {{ $post->user->admin_note }}
  • @endif -
  • {!! __(['Registered: %s', dt($post->user->registered, true)]) !!}
  • +
  • {!! __(['Registered: %s', dt($post->user->registered, true)]) !!}
  • @if ($post->user->location) -
  • {!! __(['From %s', $post->user->censorLocation]) !!}
  • +
  • {!! __(['From %s', $post->user->censorLocation]) !!}
  • @endif @endif diff --git a/app/templates/topic.forkbb.php b/app/templates/topic.forkbb.php index c41ef4ca..ff171dea 100644 --- a/app/templates/topic.forkbb.php +++ b/app/templates/topic.forkbb.php @@ -92,10 +92,10 @@
  • {!! __($post->user->online ? 'Online' : 'Offline') !!}
  • @endif @if ($p->user->showUserInfo && $p->user->showPostCount && $post->user->num_posts) -
  • {!! __(['%s post', $post->user->num_posts, num($post->user->num_posts)]) !!}
  • +
  • {!! __(['%s post', $post->user->num_posts, num($post->user->num_posts)]) !!}
  • @endif @if ($linkPromote = $p->user->linkPromote($post)) -
  • {!! __('Promote user') !!}
  • +
  • {!! __('Promote user') !!}
  • @endif @if (! $post->user->isGuest && $p->user->showUserInfo) @@ -103,9 +103,9 @@ @if ($p->user->isAdmMod && '' != $post->user->admin_note)
  • {{ $post->user->admin_note }}
  • @endif -
  • {!! __(['Registered: %s', dt($post->user->registered, true)]) !!}
  • +
  • {!! __(['Registered: %s', dt($post->user->registered, true)]) !!}
  • @if ($post->user->location) -
  • {!! __(['From %s', $post->user->censorLocation]) !!}
  • +
  • {!! __(['From %s', $post->user->censorLocation]) !!}
  • @endif @endif diff --git a/public/style/ForkBB/style.css b/public/style/ForkBB/style.css index 92b64bad..d3bb706d 100644 --- a/public/style/ForkBB/style.css +++ b/public/style/ForkBB/style.css @@ -1590,6 +1590,35 @@ body, content: "\2022"; padding-inline-end: 0.3125rem; } + + .f-post-user .f-psfont::before { + display: inline-block; + font-family: "fa"; + font-weight: 900; + padding-inline-end: 0.3125rem; + } + + .f-post-user .f-psfont > span { + display: none; + } + + .f-postcount > .f-psfont::before { + font-weight: 400; + content: "\f086"; + } + + .f-registered > .f-psfont::before { + content: "\f2f6"; + } + + .f-location > .f-psfont::before { + content: "\f041"; + } + + .f-promoteuser > a > .f-psfont::before { + padding-inline-end: 0; + content: "\f007\f30c"; /* \e539 */ + } } @media screen and (min-width: 50rem) {