]> Untitled Git - lemmy.git/commitdiff
Some corrections to total user points.
authorDessalines <tyhou13@gmx.com>
Tue, 4 Feb 2020 16:29:54 +0000 (11:29 -0500)
committerDessalines <tyhou13@gmx.com>
Tue, 4 Feb 2020 16:29:54 +0000 (11:29 -0500)
ui/src/components/user.tsx
ui/src/translations/de.ts
ui/src/translations/en.ts

index 329fff82bcd52faa15d402d0a0aee09a0d484f2f..8f7b276f893ba7073afdc0b0f80e576a2ef91313 100644 (file)
@@ -356,11 +356,15 @@ export class User extends Component<any, UserState> {
             <div>
               {i18n.t('joined')} <MomentTime data={user} />
             </div>
-            <div>
-              {i18n.t('total_number_of_points', { count: (user.post_score + user.comment_score) })}
-            </div>
-            <div class="table-responsive">
+            <div class="table-responsive mt-1">
               <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>
                   <td>
                     {i18n.t('number_of_points', { count: user.post_score })}
index 717cf375eff812eb4d41dbeab45455075d16efdc..7a1b0f5d1aac51d3999c47d400a5a650cc159aee 100644 (file)
@@ -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',
index 0f5cb03c169ec19241607c576ffeedf68aaea4e6..7afb99ef564ffa5e711463e195f69ef5c364ba30 100644 (file)
@@ -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',