From 2286394f79fe0410a1343b7604bd25d9c498a6c3 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 4 Feb 2020 11:29:54 -0500 Subject: [PATCH] Some corrections to total user points. --- ui/src/components/user.tsx | 12 ++++++++---- ui/src/translations/de.ts | 1 - ui/src/translations/en.ts | 1 - 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/src/components/user.tsx b/ui/src/components/user.tsx index 329fff82..8f7b276f 100644 --- a/ui/src/components/user.tsx +++ b/ui/src/components/user.tsx @@ -356,11 +356,15 @@ export class User extends Component {
{i18n.t('joined')}
-
- {i18n.t('total_number_of_points', { count: (user.post_score + user.comment_score) })} -
-
+
+ + +
+ {i18n.t('number_of_points', { + count: user.post_score + user.comment_score, + })} +
{i18n.t('number_of_points', { count: user.post_score })} diff --git a/ui/src/translations/de.ts b/ui/src/translations/de.ts index 717cf375..7a1b0f5d 100644 --- a/ui/src/translations/de.ts +++ b/ui/src/translations/de.ts @@ -74,7 +74,6 @@ export const de = { number_of_users: '{{count}} Benutzer', number_of_subscribers: '{{count}} Abonnenten', number_of_points: '{{count}} Punkte', - total_number_of_points: '{{count}} Gesamtpunkte', number_online: '{{count}} Benutzer online', name: 'Name', title: 'Titel', diff --git a/ui/src/translations/en.ts b/ui/src/translations/en.ts index 0f5cb03c..7afb99ef 100644 --- a/ui/src/translations/en.ts +++ b/ui/src/translations/en.ts @@ -81,7 +81,6 @@ export const en = { number_of_users: '{{count}} Users', number_of_subscribers: '{{count}} Subscribers', number_of_points: '{{count}} Points', - total_number_of_points: '{{count}} Total Points', number_online: '{{count}} Users Online', name: 'Name', title: 'Title', -- 2.44.1