forked from nutomic/lemmy
Some corrections to total user points.
This commit is contained in:
parent
238be5f71c
commit
ee0c802476
3 changed files with 8 additions and 6 deletions
12
ui/src/components/user.tsx
vendored
12
ui/src/components/user.tsx
vendored
|
@ -356,11 +356,15 @@ export class User extends Component<any, UserState> {
|
||||||
<div>
|
<div>
|
||||||
{i18n.t('joined')} <MomentTime data={user} />
|
{i18n.t('joined')} <MomentTime data={user} />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div class="table-responsive mt-1">
|
||||||
{i18n.t('total_number_of_points', { count: (user.post_score + user.comment_score) })}
|
|
||||||
</div>
|
|
||||||
<div class="table-responsive">
|
|
||||||
<table class="table table-bordered table-sm mt-2 mb-0">
|
<table class="table table-bordered table-sm mt-2 mb-0">
|
||||||
|
<tr>
|
||||||
|
<td class="text-center" colSpan={2}>
|
||||||
|
{i18n.t('number_of_points', {
|
||||||
|
count: user.post_score + user.comment_score,
|
||||||
|
})}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
{i18n.t('number_of_points', { count: user.post_score })}
|
{i18n.t('number_of_points', { count: user.post_score })}
|
||||||
|
|
1
ui/src/translations/de.ts
vendored
1
ui/src/translations/de.ts
vendored
|
@ -74,7 +74,6 @@ export const de = {
|
||||||
number_of_users: '{{count}} Benutzer',
|
number_of_users: '{{count}} Benutzer',
|
||||||
number_of_subscribers: '{{count}} Abonnenten',
|
number_of_subscribers: '{{count}} Abonnenten',
|
||||||
number_of_points: '{{count}} Punkte',
|
number_of_points: '{{count}} Punkte',
|
||||||
total_number_of_points: '{{count}} Gesamtpunkte',
|
|
||||||
number_online: '{{count}} Benutzer online',
|
number_online: '{{count}} Benutzer online',
|
||||||
name: 'Name',
|
name: 'Name',
|
||||||
title: 'Titel',
|
title: 'Titel',
|
||||||
|
|
1
ui/src/translations/en.ts
vendored
1
ui/src/translations/en.ts
vendored
|
@ -81,7 +81,6 @@ export const en = {
|
||||||
number_of_users: '{{count}} Users',
|
number_of_users: '{{count}} Users',
|
||||||
number_of_subscribers: '{{count}} Subscribers',
|
number_of_subscribers: '{{count}} Subscribers',
|
||||||
number_of_points: '{{count}} Points',
|
number_of_points: '{{count}} Points',
|
||||||
total_number_of_points: '{{count}} Total Points',
|
|
||||||
number_online: '{{count}} Users Online',
|
number_online: '{{count}} Users Online',
|
||||||
name: 'Name',
|
name: 'Name',
|
||||||
title: 'Title',
|
title: 'Title',
|
||||||
|
|
Loading…
Reference in a new issue