Browse Source

Minor improvements

pull/2191/head
Thomas 2 years ago
parent
commit
ff4728c510
  1. 28
      apps/client/src/app/components/home-overview/home-overview.html
  2. 2
      apps/client/src/app/components/home-overview/home-overview.module.ts
  3. 28
      apps/client/src/locales/messages.de.xlf
  4. 28
      apps/client/src/locales/messages.es.xlf
  5. 28
      apps/client/src/locales/messages.fr.xlf
  6. 28
      apps/client/src/locales/messages.it.xlf
  7. 28
      apps/client/src/locales/messages.nl.xlf
  8. 28
      apps/client/src/locales/messages.pt.xlf
  9. 17
      apps/client/src/locales/messages.xlf

28
apps/client/src/app/components/home-overview/home-overview.html

@ -7,12 +7,12 @@
>
<div class="col introduction">
<h4 i18n>Welcome to Ghostfolio</h4>
<p i18n>
Ready to take control of your finances? Just follow these simple steps
to get started with ease.
</p>
<p i18n>Ready to take control of your personal finances?</p>
<ol class="font-weight-bold">
<li class="mb-2">
<li
class="mb-2"
[ngClass]="{ 'text-muted': user?.accounts?.length > 1 }"
>
<a class="d-block" [routerLink]="['/accounts']"
><span i18n>Setup your accounts</span><br />
<span class="font-weight-normal" i18n
@ -40,6 +40,24 @@
</a>
</li>
</ol>
<div class="d-flex justify-content-center">
<a
*ngIf="user?.accounts?.length === 1"
color="primary"
mat-flat-button
[routerLink]="['/accounts']"
>
<ng-container i18n>Setup accounts</ng-container>
</a>
<a
*ngIf="user?.accounts?.length > 1"
color="primary"
mat-flat-button
[routerLink]="['/portfolio', 'activities']"
>
<ng-container i18n>Add activity</ng-container>
</a>
</div>
</div>
</div>
<ng-template #isUserActive>

2
apps/client/src/app/components/home-overview/home-overview.module.ts

@ -1,5 +1,6 @@
import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { RouterModule } from '@angular/router';
import { GfPortfolioPerformanceModule } from '@ghostfolio/client/components/portfolio-performance/portfolio-performance.module';
import { GfToggleModule } from '@ghostfolio/client/components/toggle/toggle.module';
@ -16,6 +17,7 @@ import { HomeOverviewComponent } from './home-overview.component';
GfNoTransactionsInfoModule,
GfPortfolioPerformanceModule,
GfToggleModule,
MatButtonModule,
RouterModule
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]

28
apps/client/src/locales/messages.de.xlf

@ -2140,6 +2140,10 @@
<trans-unit id="49af37bcd0c34e88ab989641e52ef92f3fb56e06" datatype="html">
<source>Add activity</source>
<target state="translate">Aktivität hinzufügen</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html</context>
<context context-type="linenumber">8</context>
@ -7093,14 +7097,6 @@
<context context-type="linenumber">9</context>
</context-group>
</trans-unit>
<trans-unit id="d2287142846b104ffa7938a0379a6f23848527a6" datatype="html">
<source> Ready to take control of your finances? Just follow these simple steps to get started with ease. </source>
<target state="translated"> Bist du bereit, die Kontrolle über deine Finanzen zu übernehmen? Dann folge diesen einfachen Schritten, um loszulegen. </target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10,13</context>
</context-group>
</trans-unit>
<trans-unit id="71c2ec88fc3953a1db6cfca218173fcf489fa803" datatype="html">
<source>Setup your accounts</source>
<target state="translated">Konten einrichten</target>
@ -7161,6 +7157,22 @@
<context context-type="linenumber">120</context>
</context-group>
</trans-unit>
<trans-unit id="06c1bcff740ab4b1d5283d937d22e9daf8b31933" datatype="html">
<source>Ready to take control of your personal finances?</source>
<target state="translated">Bist du bereit, die Kontrolle über deine Finanzen zu übernehmen?</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10</context>
</context-group>
</trans-unit>
<trans-unit id="1bdfdbf86e61060cf785b6bd53692b47c9afec63" datatype="html">
<source>Setup accounts</source>
<target state="translated">Konten einrichten</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

28
apps/client/src/locales/messages.es.xlf

@ -2141,6 +2141,10 @@
<trans-unit id="49af37bcd0c34e88ab989641e52ef92f3fb56e06" datatype="html">
<source>Add activity</source>
<target state="translated">Añadir operación</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html</context>
<context context-type="linenumber">8</context>
@ -7094,14 +7098,6 @@
<context context-type="linenumber">9</context>
</context-group>
</trans-unit>
<trans-unit id="d2287142846b104ffa7938a0379a6f23848527a6" datatype="html">
<source> Ready to take control of your finances? Just follow these simple steps to get started with ease. </source>
<target state="new"> Ready to take control of your finances? Just follow these simple steps to get started with ease. </target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10,13</context>
</context-group>
</trans-unit>
<trans-unit id="71c2ec88fc3953a1db6cfca218173fcf489fa803" datatype="html">
<source>Setup your accounts</source>
<target state="new">Setup your accounts</target>
@ -7162,6 +7158,22 @@
<context context-type="linenumber">120</context>
</context-group>
</trans-unit>
<trans-unit id="06c1bcff740ab4b1d5283d937d22e9daf8b31933" datatype="html">
<source>Ready to take control of your personal finances?</source>
<target state="new">Ready to take control of your personal finances?</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10</context>
</context-group>
</trans-unit>
<trans-unit id="1bdfdbf86e61060cf785b6bd53692b47c9afec63" datatype="html">
<source>Setup accounts</source>
<target state="new">Setup accounts</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

28
apps/client/src/locales/messages.fr.xlf

@ -2388,6 +2388,10 @@
<trans-unit id="49af37bcd0c34e88ab989641e52ef92f3fb56e06" datatype="html">
<source>Add activity</source>
<target state="translated">Ajouter Activité</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html</context>
<context context-type="linenumber">8</context>
@ -7093,14 +7097,6 @@
<context context-type="linenumber">9</context>
</context-group>
</trans-unit>
<trans-unit id="d2287142846b104ffa7938a0379a6f23848527a6" datatype="html">
<source> Ready to take control of your finances? Just follow these simple steps to get started with ease. </source>
<target state="new"> Ready to take control of your finances? Just follow these simple steps to get started with ease. </target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10,13</context>
</context-group>
</trans-unit>
<trans-unit id="71c2ec88fc3953a1db6cfca218173fcf489fa803" datatype="html">
<source>Setup your accounts</source>
<target state="new">Setup your accounts</target>
@ -7161,6 +7157,22 @@
<context context-type="linenumber">120</context>
</context-group>
</trans-unit>
<trans-unit id="06c1bcff740ab4b1d5283d937d22e9daf8b31933" datatype="html">
<source>Ready to take control of your personal finances?</source>
<target state="new">Ready to take control of your personal finances?</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10</context>
</context-group>
</trans-unit>
<trans-unit id="1bdfdbf86e61060cf785b6bd53692b47c9afec63" datatype="html">
<source>Setup accounts</source>
<target state="new">Setup accounts</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

28
apps/client/src/locales/messages.it.xlf

@ -2141,6 +2141,10 @@
<trans-unit id="49af37bcd0c34e88ab989641e52ef92f3fb56e06" datatype="html">
<source>Add activity</source>
<target state="translated">Aggiungi un&apos;attività</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html</context>
<context context-type="linenumber">8</context>
@ -7094,14 +7098,6 @@
<context context-type="linenumber">9</context>
</context-group>
</trans-unit>
<trans-unit id="d2287142846b104ffa7938a0379a6f23848527a6" datatype="html">
<source> Ready to take control of your finances? Just follow these simple steps to get started with ease. </source>
<target state="new"> Ready to take control of your finances? Just follow these simple steps to get started with ease. </target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10,13</context>
</context-group>
</trans-unit>
<trans-unit id="71c2ec88fc3953a1db6cfca218173fcf489fa803" datatype="html">
<source>Setup your accounts</source>
<target state="new">Setup your accounts</target>
@ -7162,6 +7158,22 @@
<context context-type="linenumber">120</context>
</context-group>
</trans-unit>
<trans-unit id="06c1bcff740ab4b1d5283d937d22e9daf8b31933" datatype="html">
<source>Ready to take control of your personal finances?</source>
<target state="new">Ready to take control of your personal finances?</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10</context>
</context-group>
</trans-unit>
<trans-unit id="1bdfdbf86e61060cf785b6bd53692b47c9afec63" datatype="html">
<source>Setup accounts</source>
<target state="new">Setup accounts</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

28
apps/client/src/locales/messages.nl.xlf

@ -2140,6 +2140,10 @@
<trans-unit id="49af37bcd0c34e88ab989641e52ef92f3fb56e06" datatype="html">
<source>Add activity</source>
<target state="translated">Activiteit toevoegen</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html</context>
<context context-type="linenumber">8</context>
@ -7093,14 +7097,6 @@
<context context-type="linenumber">9</context>
</context-group>
</trans-unit>
<trans-unit id="d2287142846b104ffa7938a0379a6f23848527a6" datatype="html">
<source> Ready to take control of your finances? Just follow these simple steps to get started with ease. </source>
<target state="new"> Ready to take control of your finances? Just follow these simple steps to get started with ease. </target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10,13</context>
</context-group>
</trans-unit>
<trans-unit id="71c2ec88fc3953a1db6cfca218173fcf489fa803" datatype="html">
<source>Setup your accounts</source>
<target state="new">Setup your accounts</target>
@ -7161,6 +7157,22 @@
<context context-type="linenumber">120</context>
</context-group>
</trans-unit>
<trans-unit id="06c1bcff740ab4b1d5283d937d22e9daf8b31933" datatype="html">
<source>Ready to take control of your personal finances?</source>
<target state="new">Ready to take control of your personal finances?</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10</context>
</context-group>
</trans-unit>
<trans-unit id="1bdfdbf86e61060cf785b6bd53692b47c9afec63" datatype="html">
<source>Setup accounts</source>
<target state="new">Setup accounts</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

28
apps/client/src/locales/messages.pt.xlf

@ -2300,6 +2300,10 @@
<trans-unit id="49af37bcd0c34e88ab989641e52ef92f3fb56e06" datatype="html">
<source>Add activity</source>
<target state="translated">Adicionar atividade</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html</context>
<context context-type="linenumber">8</context>
@ -7093,14 +7097,6 @@
<context context-type="linenumber">9</context>
</context-group>
</trans-unit>
<trans-unit id="d2287142846b104ffa7938a0379a6f23848527a6" datatype="html">
<source> Ready to take control of your finances? Just follow these simple steps to get started with ease. </source>
<target state="new"> Ready to take control of your finances? Just follow these simple steps to get started with ease. </target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10,13</context>
</context-group>
</trans-unit>
<trans-unit id="71c2ec88fc3953a1db6cfca218173fcf489fa803" datatype="html">
<source>Setup your accounts</source>
<target state="new">Setup your accounts</target>
@ -7161,6 +7157,22 @@
<context context-type="linenumber">120</context>
</context-group>
</trans-unit>
<trans-unit id="06c1bcff740ab4b1d5283d937d22e9daf8b31933" datatype="html">
<source>Ready to take control of your personal finances?</source>
<target state="new">Ready to take control of your personal finances?</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10</context>
</context-group>
</trans-unit>
<trans-unit id="1bdfdbf86e61060cf785b6bd53692b47c9afec63" datatype="html">
<source>Setup accounts</source>
<target state="new">Setup accounts</target>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
</body>
</file>
</xliff>

17
apps/client/src/locales/messages.xlf

@ -1958,6 +1958,10 @@
</trans-unit>
<trans-unit id="49af37bcd0c34e88ab989641e52ef92f3fb56e06" datatype="html">
<source>Add activity</source>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">58</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html</context>
<context context-type="linenumber">8</context>
@ -6704,11 +6708,18 @@
<context context-type="linenumber">37,38</context>
</context-group>
</trans-unit>
<trans-unit id="d2287142846b104ffa7938a0379a6f23848527a6" datatype="html">
<source> Ready to take control of your finances? Just follow these simple steps to get started with ease. </source>
<trans-unit id="06c1bcff740ab4b1d5283d937d22e9daf8b31933" datatype="html">
<source>Ready to take control of your personal finances?</source>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10</context>
</context-group>
</trans-unit>
<trans-unit id="1bdfdbf86e61060cf785b6bd53692b47c9afec63" datatype="html">
<source>Setup accounts</source>
<context-group purpose="location">
<context context-type="sourcefile">apps/client/src/app/components/home-overview/home-overview.html</context>
<context context-type="linenumber">10,13</context>
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
</body>

Loading…
Cancel
Save