diff --git a/CHANGELOG.md b/CHANGELOG.md index ed16e1a82..79169e6a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Added + +- Added support for translated labels of asset and asset sub class + ### Fixed - Improved the loading indicator of the portfolio evolution chart diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts index 96cf2294e..e51eb6e6a 100644 --- a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts +++ b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts @@ -17,6 +17,7 @@ import { UniqueAsset, User } from '@ghostfolio/common/interfaces'; +import { translate } from '@ghostfolio/ui/i18n'; import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { Market, ToggleOption } from '@ghostfolio/common/types'; import { Account, AssetClass, DataSource } from '@prisma/client'; @@ -174,7 +175,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { for (const assetClass of Object.keys(AssetClass)) { assetClassFilters.push({ id: assetClass, - label: assetClass, + label: translate(assetClass), type: 'ASSET_CLASS' }); } diff --git a/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts b/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts index eb6ff9f43..426bfff09 100644 --- a/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts +++ b/apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts @@ -12,6 +12,7 @@ import { PortfolioPosition, User } from '@ghostfolio/common/interfaces'; +import { translate } from '@ghostfolio/ui/i18n'; import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { AssetClass, DataSource } from '@prisma/client'; import { DeviceDetectorService } from 'ngx-device-detector'; @@ -130,7 +131,7 @@ export class HoldingsPageComponent implements OnDestroy, OnInit { for (const assetClass of Object.keys(AssetClass)) { assetClassFilters.push({ id: assetClass, - label: assetClass, + label: translate(assetClass), type: 'ASSET_CLASS' }); } diff --git a/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts b/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts index ce2c5856f..64f47cf53 100644 --- a/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts +++ b/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.component.ts @@ -14,6 +14,7 @@ import { CreateOrderDto } from '@ghostfolio/api/app/order/create-order.dto'; import { UpdateOrderDto } from '@ghostfolio/api/app/order/update-order.dto'; import { LookupItem } from '@ghostfolio/api/app/symbol/interfaces/lookup-item.interface'; import { DataService } from '@ghostfolio/client/services/data.service'; +import { translate } from '@ghostfolio/ui/i18n'; import { AssetClass, AssetSubClass, Type } from '@prisma/client'; import { isUUID } from 'class-validator'; import { isString } from 'lodash'; @@ -40,8 +41,12 @@ export class CreateOrUpdateTransactionDialog implements OnDestroy { @ViewChild('autocomplete') autocomplete; public activityForm: FormGroup; - public assetClasses = Object.keys(AssetClass); - public assetSubClasses = Object.keys(AssetSubClass); + public assetClasses = Object.keys(AssetClass).map((assetClass) => { + return { id: assetClass, label: translate(assetClass) }; + }); + public assetSubClasses = Object.keys(AssetSubClass).map((assetSubClass) => { + return { id: assetSubClass, label: translate(assetSubClass) }; + }); public currencies: string[] = []; public currentMarketPrice = null; public filteredLookupItems: LookupItem[]; diff --git a/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html b/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html index 3dbd34fda..45d34a47c 100644 --- a/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html +++ b/apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -4,17 +4,17 @@ (keyup.enter)="activityForm.valid && onSubmit()" (ngSubmit)="onSubmit()" > -

Update activity

-

Add activity

+

Update activity

+

Add activity

Type - BUY - DIVIDEND - ITEM - SELL + BUY + DIVIDEND + ITEM + SELL
@@ -156,8 +156,8 @@ {{ assetClass }}{{ assetClass.label }} @@ -171,8 +171,8 @@ {{ assetSubClass }}{{ assetSubClass.label }} diff --git a/apps/client/src/locales/messages.de.xlf b/apps/client/src/locales/messages.de.xlf index a06eed8a4..63f017d05 100644 --- a/apps/client/src/locales/messages.de.xlf +++ b/apps/client/src/locales/messages.de.xlf @@ -98,7 +98,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 215 + 218 apps/client/src/app/pages/portfolio/portfolio-page.html @@ -354,7 +354,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 76 + 77 @@ -942,11 +942,11 @@ Einlage apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 40 + 37 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 118 + 119 @@ -954,7 +954,7 @@ Absolute Brutto Performance apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 51 + 48 @@ -962,7 +962,7 @@ Brutto Performance (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 62 + 59 @@ -970,7 +970,7 @@ Gebühren für apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 77,80 + 74,77 @@ -978,7 +978,7 @@ {VAR_PLURAL, plural, =1 {Transaktion} other {Transaktionen}} apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 78,79 + 75,76 @@ -986,7 +986,7 @@ Absolute Netto Performance apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 95 + 92 @@ -994,7 +994,7 @@ Netto Performance (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 106 + 103 @@ -1002,7 +1002,7 @@ Gesamtanlagevermögen apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 122 + 119 @@ -1010,7 +1010,7 @@ Wertsachen apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 134 + 131 @@ -1018,7 +1018,7 @@ Notfallfonds apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 145 + 142 @@ -1026,7 +1026,7 @@ Kaufkraft apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 165 + 162 @@ -1034,7 +1034,7 @@ Gesamtvermögen apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 190 + 187 @@ -1042,7 +1042,7 @@ Performance pro Jahr apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 201 + 198 @@ -1050,7 +1050,7 @@ Dividenden apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 217 + 214 @@ -1066,7 +1066,7 @@ Sektoren apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 188 + 189 apps/client/src/app/pages/public/public-page.html @@ -1078,7 +1078,7 @@ Länder apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 199 + 201 @@ -1086,7 +1086,7 @@ Tags apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 235 + 238 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -1098,7 +1098,7 @@ Datenfehler melden apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 250 + 253 @@ -1118,7 +1118,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 56 + 57 apps/client/src/app/components/positions-table/positions-table.component.html @@ -1642,7 +1642,7 @@ Nach Währung apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 66 + 67 @@ -1650,7 +1650,7 @@ Nach Asset Class apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 94 + 96 @@ -1658,7 +1658,7 @@ Nach Position apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 122 + 125 @@ -1666,7 +1666,7 @@ Nach Sektor apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 150 + 154 @@ -1674,7 +1674,7 @@ Nach Kontinent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 179 + 184 @@ -1682,7 +1682,7 @@ Nach Land apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 207 + 213 @@ -1690,7 +1690,7 @@ Regionen apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 238 + 245 apps/client/src/app/pages/public/public-page.html @@ -1722,7 +1722,7 @@ Zeitstrahl der Investitionen apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 140 + 142 @@ -1730,7 +1730,7 @@ Gewinner apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 33 + 34 @@ -1738,7 +1738,7 @@ Verlierer apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 69 + 70 @@ -1774,7 +1774,7 @@ 4% Regel apps/client/src/app/pages/portfolio/fire/fire-page.html - 20 + 21 @@ -1958,7 +1958,7 @@ Anzahl apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 108 + 109 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2010,7 +2010,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 146 + 147 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2038,7 +2038,7 @@ Der Import wurde abgeschlossen apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts - 337 + 338,337 @@ -2054,7 +2054,7 @@ Portfolio apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 99 + 101 apps/client/src/app/pages/public/public-page-routing.module.ts @@ -2358,7 +2358,7 @@ Änderung apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 45 + 46 @@ -2366,7 +2366,7 @@ Ø Preis pro Einheit apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 66 + 67 @@ -2374,7 +2374,7 @@ Minimum Preis apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 87 + 88 @@ -2382,7 +2382,7 @@ Maximum Preis apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 98 + 99 @@ -2390,7 +2390,7 @@ Datum des Erstkaufs apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 128 + 129 @@ -2402,7 +2402,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 155 + 156 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2414,7 +2414,7 @@ Sektor apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 170 + 171 @@ -2422,7 +2422,7 @@ Land apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 182 + 183 @@ -2430,7 +2430,7 @@ Entwickelte Länder apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 264 + 271 apps/client/src/app/pages/public/public-page.html @@ -2442,7 +2442,7 @@ Schwellenländer apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 273 + 280 apps/client/src/app/pages/public/public-page.html @@ -2454,7 +2454,7 @@ Andere Länder apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 282 + 289 apps/client/src/app/pages/public/public-page.html @@ -2466,7 +2466,7 @@ Transaktionen apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 137 + 138 @@ -2482,7 +2482,7 @@ Beginn apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 57 + 58 @@ -2490,7 +2490,7 @@ Aktuell apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 58 + 59 @@ -2498,7 +2498,7 @@ Monatlich apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts - 40 + 41 @@ -2506,11 +2506,11 @@ Einlage apps/client/src/app/components/investment-chart/investment-chart.component.ts - 139 + 137 libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 279 + 281 @@ -2518,7 +2518,7 @@ Verzinsung libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 289 + 291 @@ -2526,7 +2526,7 @@ Ersparnisse libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 299 + 301 @@ -2574,11 +2574,11 @@ Filtern nach Konto oder Tag... apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 136 + 137 apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts - 87 + 88 @@ -2638,7 +2638,7 @@ Benchmark apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 108 + 110 @@ -2662,7 +2662,7 @@ Von der Analyse ausgenommen apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 176 + 173 @@ -2670,7 +2670,7 @@ Wenn du heute in den Ruhestand gehen würdest, könnest du pro Jahr oder pro Monat entnehmen, bezogen auf dein Gesamtanlagevermögen von und einer Entnahmerate von 4%. apps/client/src/app/pages/portfolio/fire/fire-page.html - 38,66 + 39,67 @@ -2718,7 +2718,7 @@ Gesamtbetrag apps/client/src/app/components/investment-chart/investment-chart.component.ts - 160 + 158 @@ -2726,7 +2726,7 @@ Portfolio Wertentwicklung apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 112 + 113 @@ -2734,7 +2734,135 @@ Sparrate apps/client/src/app/components/investment-chart/investment-chart.component.ts - 201 + 199 + + + + Account + Konto + + libs/ui/src/lib/i18n.ts + 4 + + + + Asset class + Anlageklasse + + libs/ui/src/lib/i18n.ts + 5 + + + + Symbol + Symbol + + libs/ui/src/lib/i18n.ts + 6 + + + + Tag + Tag + + libs/ui/src/lib/i18n.ts + 7 + + + + Cash + Bargeld + + libs/ui/src/lib/i18n.ts + 10 + + + + Commodity + Rohstoff + + libs/ui/src/lib/i18n.ts + 11 + + + + Equity + Anteilskapital + + libs/ui/src/lib/i18n.ts + 12 + + + + Fixed income + Feste Einkünfte + + libs/ui/src/lib/i18n.ts + 13 + + + + Real estate + Immobilien + + libs/ui/src/lib/i18n.ts + 14 + + + + Bond + Anleihe + + libs/ui/src/lib/i18n.ts + 17 + + + + Cryptocurrency + Kryptowährung + + libs/ui/src/lib/i18n.ts + 18 + + + + ETF + ETF + + libs/ui/src/lib/i18n.ts + 19 + + + + Mutual fund + Investmentfonds + + libs/ui/src/lib/i18n.ts + 20 + + + + Precious metal + Edelmetall + + libs/ui/src/lib/i18n.ts + 21 + + + + Private equity + Privates Beteiligungskapital + + libs/ui/src/lib/i18n.ts + 22 + + + + Stock + Aktie + + libs/ui/src/lib/i18n.ts + 23 diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlf index 709a11a1d..26f597606 100644 --- a/apps/client/src/locales/messages.es.xlf +++ b/apps/client/src/locales/messages.es.xlf @@ -99,7 +99,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 215 + 218 apps/client/src/app/pages/portfolio/portfolio-page.html @@ -355,7 +355,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 76 + 77 @@ -943,11 +943,11 @@ Inversión apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 40 + 37 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 118 + 119 @@ -955,7 +955,7 @@ Rendimiento bruto absoluto apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 51 + 48 @@ -963,7 +963,7 @@ Rendimiento bruto (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 62 + 59 @@ -971,7 +971,7 @@ Comisiones por apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 77,80 + 74,77 @@ -979,7 +979,7 @@ {VAR_PLURAL, plural, =1 {transacción} other {transacciones}} apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 78,79 + 75,76 @@ -987,7 +987,7 @@ Rendimiento neto absoluto apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 95 + 92 @@ -995,7 +995,7 @@ Rendimiento neto (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 106 + 103 @@ -1003,7 +1003,7 @@ Total de activos apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 122 + 119 @@ -1011,7 +1011,7 @@ Objetos de valor apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 134 + 131 @@ -1019,7 +1019,7 @@ Fondo de emergencia apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 145 + 142 @@ -1027,7 +1027,7 @@ Capacidad de compra apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 165 + 162 @@ -1035,7 +1035,7 @@ Patrimonio neto apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 190 + 187 @@ -1043,7 +1043,7 @@ Rendimiento anualizado apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 201 + 198 @@ -1051,7 +1051,7 @@ Dividendo apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 217 + 214 @@ -1067,7 +1067,7 @@ Sectores apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 188 + 189 apps/client/src/app/pages/public/public-page.html @@ -1079,7 +1079,7 @@ Países apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 199 + 201 @@ -1087,7 +1087,7 @@ Etiquetas apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 235 + 238 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -1099,7 +1099,7 @@ Reporta un anomalía de los datos apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 250 + 253 @@ -1119,7 +1119,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 56 + 57 apps/client/src/app/components/positions-table/positions-table.component.html @@ -1643,7 +1643,7 @@ Por divisa apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 66 + 67 @@ -1651,7 +1651,7 @@ Por tipo de activo apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 94 + 96 @@ -1659,7 +1659,7 @@ Por participación apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 122 + 125 @@ -1667,7 +1667,7 @@ Por sector apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 150 + 154 @@ -1675,7 +1675,7 @@ Por continente apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 179 + 184 @@ -1683,7 +1683,7 @@ Por país apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 207 + 213 @@ -1691,7 +1691,7 @@ Regiones apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 238 + 245 apps/client/src/app/pages/public/public-page.html @@ -1723,7 +1723,7 @@ Cronología de la inversión apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 140 + 142 @@ -1731,7 +1731,7 @@ Lo mejor apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 33 + 34 @@ -1739,7 +1739,7 @@ Lo peor apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 69 + 70 @@ -1775,7 +1775,7 @@ Regla del 4% apps/client/src/app/pages/portfolio/fire/fire-page.html - 20 + 21 @@ -1959,7 +1959,7 @@ Cantidad apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 108 + 109 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2011,7 +2011,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 146 + 147 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2039,7 +2039,7 @@ La importación se ha completado apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts - 337 + 338,337 @@ -2055,7 +2055,7 @@ Cartera apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 99 + 101 apps/client/src/app/pages/public/public-page-routing.module.ts @@ -2359,7 +2359,7 @@ Modificar apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 45 + 46 @@ -2367,7 +2367,7 @@ Mercados desarrollados apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 264 + 271 apps/client/src/app/pages/public/public-page.html @@ -2383,7 +2383,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 155 + 156 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2395,7 +2395,7 @@ Precio unitario medio apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 66 + 67 @@ -2403,7 +2403,7 @@ Precio máximo apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 98 + 99 @@ -2411,7 +2411,7 @@ Otros mercados apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 282 + 289 apps/client/src/app/pages/public/public-page.html @@ -2423,7 +2423,7 @@ Mercados emergentes apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 273 + 280 apps/client/src/app/pages/public/public-page.html @@ -2435,7 +2435,7 @@ Sector apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 170 + 171 @@ -2443,7 +2443,7 @@ País apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 182 + 183 @@ -2451,7 +2451,7 @@ Precio mínimo apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 87 + 88 @@ -2459,7 +2459,7 @@ Fecha de la primera compra apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 128 + 129 @@ -2467,7 +2467,7 @@ Transacciones apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 137 + 138 @@ -2483,7 +2483,7 @@ Ahorros libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 299 + 301 @@ -2491,7 +2491,7 @@ Inicial apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 57 + 58 @@ -2499,7 +2499,7 @@ Interés libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 289 + 291 @@ -2507,11 +2507,11 @@ Depósito apps/client/src/app/components/investment-chart/investment-chart.component.ts - 139 + 137 libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 279 + 281 @@ -2519,7 +2519,7 @@ Actual apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 58 + 59 @@ -2527,7 +2527,7 @@ Mensual apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts - 40 + 41 @@ -2567,11 +2567,11 @@ Filtrar por cuenta o etiqueta... apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 136 + 137 apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts - 87 + 88 @@ -2623,7 +2623,7 @@ Benchmark apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 108 + 110 @@ -2663,7 +2663,7 @@ Excluido del análisis apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 176 + 173 @@ -2671,7 +2671,7 @@ Si te jubilas hoy, podrías retirar por año o por mes, calculado sobre el total de activos de y una tasa de disposición del 4%. apps/client/src/app/pages/portfolio/fire/fire-page.html - 38,66 + 39,67 @@ -2719,7 +2719,7 @@ Total Amount apps/client/src/app/components/investment-chart/investment-chart.component.ts - 160 + 158 @@ -2727,7 +2727,7 @@ Portfolio Evolution apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 112 + 113 @@ -2735,7 +2735,135 @@ Tasa de ahorro apps/client/src/app/components/investment-chart/investment-chart.component.ts - 201 + 199 + + + + Account + Account + + libs/ui/src/lib/i18n.ts + 4 + + + + Asset class + Asset class + + libs/ui/src/lib/i18n.ts + 5 + + + + Symbol + Symbol + + libs/ui/src/lib/i18n.ts + 6 + + + + Tag + Tag + + libs/ui/src/lib/i18n.ts + 7 + + + + Cash + Cash + + libs/ui/src/lib/i18n.ts + 10 + + + + Commodity + Commodity + + libs/ui/src/lib/i18n.ts + 11 + + + + Equity + Equity + + libs/ui/src/lib/i18n.ts + 12 + + + + Fixed income + Fixed income + + libs/ui/src/lib/i18n.ts + 13 + + + + Real estate + Real estate + + libs/ui/src/lib/i18n.ts + 14 + + + + Bond + Bond + + libs/ui/src/lib/i18n.ts + 17 + + + + Cryptocurrency + Cryptocurrency + + libs/ui/src/lib/i18n.ts + 18 + + + + ETF + ETF + + libs/ui/src/lib/i18n.ts + 19 + + + + Mutual fund + Mutual fund + + libs/ui/src/lib/i18n.ts + 20 + + + + Precious metal + Precious metal + + libs/ui/src/lib/i18n.ts + 21 + + + + Private equity + Private equity + + libs/ui/src/lib/i18n.ts + 22 + + + + Stock + Stock + + libs/ui/src/lib/i18n.ts + 23 diff --git a/apps/client/src/locales/messages.it.xlf b/apps/client/src/locales/messages.it.xlf index bb7d895aa..0aa21f985 100644 --- a/apps/client/src/locales/messages.it.xlf +++ b/apps/client/src/locales/messages.it.xlf @@ -99,7 +99,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 215 + 218 apps/client/src/app/pages/portfolio/portfolio-page.html @@ -355,7 +355,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 76 + 77 @@ -943,11 +943,11 @@ Investimento apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 40 + 37 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 118 + 119 @@ -955,7 +955,7 @@ Prestazioni lorde assolute apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 51 + 48 @@ -963,7 +963,7 @@ Prestazioni lorde (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 62 + 59 @@ -971,7 +971,7 @@ Commissioni per apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 77,80 + 74,77 @@ -979,7 +979,7 @@ {VAR_PLURAL, plural, =1 {transazione} other {transazioni}} apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 78,79 + 75,76 @@ -987,7 +987,7 @@ Prestazioni nette assolute apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 95 + 92 @@ -995,7 +995,7 @@ Prestazioni nette (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 106 + 103 @@ -1003,7 +1003,7 @@ Asset totali apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 122 + 119 @@ -1011,7 +1011,7 @@ Oggetti di valore apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 134 + 131 @@ -1019,7 +1019,7 @@ Fondo di emergenza apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 145 + 142 @@ -1027,7 +1027,7 @@ Potere d'acquisto apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 165 + 162 @@ -1035,7 +1035,7 @@ Patrimonio netto apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 190 + 187 @@ -1043,7 +1043,7 @@ Prestazioni annualizzate apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 201 + 198 @@ -1051,7 +1051,7 @@ Dividendo apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 217 + 214 @@ -1067,7 +1067,7 @@ Settori apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 188 + 189 apps/client/src/app/pages/public/public-page.html @@ -1079,7 +1079,7 @@ Paesi apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 199 + 201 @@ -1087,7 +1087,7 @@ Tag apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 235 + 238 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -1099,7 +1099,7 @@ Segnala un'anomalia dei dati apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 250 + 253 @@ -1119,7 +1119,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 56 + 57 apps/client/src/app/components/positions-table/positions-table.component.html @@ -1643,7 +1643,7 @@ Per valuta apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 66 + 67 @@ -1651,7 +1651,7 @@ Per asset class apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 94 + 96 @@ -1659,7 +1659,7 @@ Per partecipazione apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 122 + 125 @@ -1667,7 +1667,7 @@ Per settore apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 150 + 154 @@ -1675,7 +1675,7 @@ Per continente apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 179 + 184 @@ -1683,7 +1683,7 @@ Per paese apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 207 + 213 @@ -1691,7 +1691,7 @@ Regioni apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 238 + 245 apps/client/src/app/pages/public/public-page.html @@ -1723,7 +1723,7 @@ Cronologia degli investimenti apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 140 + 142 @@ -1731,7 +1731,7 @@ In alto apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 33 + 34 @@ -1739,7 +1739,7 @@ In basso apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 69 + 70 @@ -1775,7 +1775,7 @@ Regola del 4% apps/client/src/app/pages/portfolio/fire/fire-page.html - 20 + 21 @@ -1959,7 +1959,7 @@ Quantità apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 108 + 109 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2011,7 +2011,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 146 + 147 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2039,7 +2039,7 @@ L'importazione è stata completata apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts - 337 + 338,337 @@ -2055,7 +2055,7 @@ Portafoglio apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 99 + 101 apps/client/src/app/pages/public/public-page-routing.module.ts @@ -2359,7 +2359,7 @@ Modifica apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 45 + 46 @@ -2367,7 +2367,7 @@ Mercati sviluppati apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 264 + 271 apps/client/src/app/pages/public/public-page.html @@ -2383,7 +2383,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 155 + 156 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2395,7 +2395,7 @@ Prezzo unitario medio apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 66 + 67 @@ -2403,7 +2403,7 @@ Prezzo massimo apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 98 + 99 @@ -2411,7 +2411,7 @@ Altri mercati apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 282 + 289 apps/client/src/app/pages/public/public-page.html @@ -2423,7 +2423,7 @@ Mercati emergenti apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 273 + 280 apps/client/src/app/pages/public/public-page.html @@ -2435,7 +2435,7 @@ Settore apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 170 + 171 @@ -2443,7 +2443,7 @@ Paese apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 182 + 183 @@ -2451,7 +2451,7 @@ Prezzo minimo apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 87 + 88 @@ -2459,7 +2459,7 @@ Data del primo acquisto apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 128 + 129 @@ -2467,7 +2467,7 @@ Transazioni apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 137 + 138 @@ -2483,7 +2483,7 @@ Risparmio libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 299 + 301 @@ -2491,7 +2491,7 @@ Iniziale apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 57 + 58 @@ -2499,7 +2499,7 @@ Interesse libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 289 + 291 @@ -2507,11 +2507,11 @@ Deposito apps/client/src/app/components/investment-chart/investment-chart.component.ts - 139 + 137 libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 279 + 281 @@ -2519,7 +2519,7 @@ Attuale apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 58 + 59 @@ -2527,7 +2527,7 @@ Mensile apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts - 40 + 41 @@ -2567,11 +2567,11 @@ Filtra per account o tag... apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 136 + 137 apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts - 87 + 88 @@ -2623,7 +2623,7 @@ Benchmark apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 108 + 110 @@ -2655,7 +2655,7 @@ Escluso dall'analisi apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 176 + 173 @@ -2671,7 +2671,7 @@ Se andassi in pensione oggi, potresti ritirare all'anno o al mese, sulla base dei tuoi asset totali pari a e un tasso di prelievo del 4%. apps/client/src/app/pages/portfolio/fire/fire-page.html - 38,66 + 39,67 @@ -2719,7 +2719,7 @@ Total Amount apps/client/src/app/components/investment-chart/investment-chart.component.ts - 160 + 158 @@ -2727,15 +2727,143 @@ Portfolio Evolution apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 112 + 113 Savings Rate - Tasso di risparmio + Tasso di risparmio apps/client/src/app/components/investment-chart/investment-chart.component.ts - 201 + 199 + + + + Account + Account + + libs/ui/src/lib/i18n.ts + 4 + + + + Asset class + Asset class + + libs/ui/src/lib/i18n.ts + 5 + + + + Symbol + Symbol + + libs/ui/src/lib/i18n.ts + 6 + + + + Tag + Tag + + libs/ui/src/lib/i18n.ts + 7 + + + + Cash + Cash + + libs/ui/src/lib/i18n.ts + 10 + + + + Commodity + Commodity + + libs/ui/src/lib/i18n.ts + 11 + + + + Equity + Equity + + libs/ui/src/lib/i18n.ts + 12 + + + + Fixed income + Fixed income + + libs/ui/src/lib/i18n.ts + 13 + + + + Real estate + Real estate + + libs/ui/src/lib/i18n.ts + 14 + + + + Bond + Bond + + libs/ui/src/lib/i18n.ts + 17 + + + + Cryptocurrency + Cryptocurrency + + libs/ui/src/lib/i18n.ts + 18 + + + + ETF + ETF + + libs/ui/src/lib/i18n.ts + 19 + + + + Mutual fund + Mutual fund + + libs/ui/src/lib/i18n.ts + 20 + + + + Precious metal + Precious metal + + libs/ui/src/lib/i18n.ts + 21 + + + + Private equity + Private equity + + libs/ui/src/lib/i18n.ts + 22 + + + + Stock + Stock + + libs/ui/src/lib/i18n.ts + 23 diff --git a/apps/client/src/locales/messages.nl.xlf b/apps/client/src/locales/messages.nl.xlf index 55e89278e..eb010e6b3 100644 --- a/apps/client/src/locales/messages.nl.xlf +++ b/apps/client/src/locales/messages.nl.xlf @@ -98,7 +98,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 215 + 218 apps/client/src/app/pages/portfolio/portfolio-page.html @@ -354,7 +354,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 76 + 77 @@ -942,11 +942,11 @@ Belegging apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 40 + 37 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 118 + 119 @@ -954,7 +954,7 @@ Absoluut bruto rendement apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 51 + 48 @@ -962,7 +962,7 @@ Bruto resultaat (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 62 + 59 @@ -970,7 +970,7 @@ Transactiekosten voor apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 77,80 + 74,77 @@ -978,7 +978,7 @@ {VAR_PLURAL, meervoud, =1 {transaction} other {transactions}} apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 78,79 + 75,76 @@ -986,7 +986,7 @@ Absolute Netto Prestatie apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 95 + 92 @@ -994,7 +994,7 @@ Netto resultaat (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 106 + 103 @@ -1002,7 +1002,7 @@ Totaal Activa apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 122 + 119 @@ -1010,7 +1010,7 @@ Kostbaarheden apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 134 + 131 @@ -1018,7 +1018,7 @@ Noodfonds apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 145 + 142 @@ -1026,7 +1026,7 @@ Koopkracht apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 165 + 162 @@ -1034,7 +1034,7 @@ Netto Waarde apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 190 + 187 @@ -1042,7 +1042,7 @@ Jaarlijks rendement apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 201 + 198 @@ -1050,7 +1050,7 @@ Dividend apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 217 + 214 @@ -1066,7 +1066,7 @@ Sectoren apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 188 + 189 apps/client/src/app/pages/public/public-page.html @@ -1078,7 +1078,7 @@ Landen apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 199 + 201 @@ -1086,7 +1086,7 @@ Tags apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 235 + 238 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -1098,7 +1098,7 @@ Gegevensstoring melden apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 250 + 253 @@ -1118,7 +1118,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 56 + 57 apps/client/src/app/components/positions-table/positions-table.component.html @@ -1642,7 +1642,7 @@ Per valuta apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 66 + 67 @@ -1650,7 +1650,7 @@ Per activaklasse apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 94 + 96 @@ -1658,7 +1658,7 @@ Per participatie apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 122 + 125 @@ -1666,7 +1666,7 @@ Per Sector apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 150 + 154 @@ -1674,7 +1674,7 @@ Per continent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 179 + 184 @@ -1682,7 +1682,7 @@ Per land apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 207 + 213 @@ -1690,7 +1690,7 @@ Regio's apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 238 + 245 apps/client/src/app/pages/public/public-page.html @@ -1722,7 +1722,7 @@ Tijdlijn investeringen apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 140 + 142 @@ -1730,7 +1730,7 @@ Top apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 33 + 34 @@ -1738,7 +1738,7 @@ Onder apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 69 + 70 @@ -1774,7 +1774,7 @@ 4% regel apps/client/src/app/pages/portfolio/fire/fire-page.html - 20 + 21 @@ -1958,7 +1958,7 @@ Hoeveelheid apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 108 + 109 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2010,7 +2010,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 146 + 147 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2038,7 +2038,7 @@ Import is voltooid apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts - 337 + 338,337 @@ -2054,7 +2054,7 @@ Portefeuille apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 99 + 101 apps/client/src/app/pages/public/public-page-routing.module.ts @@ -2358,7 +2358,7 @@ Verandering apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 45 + 46 @@ -2366,7 +2366,7 @@ Ontwikkelde markten apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 264 + 271 apps/client/src/app/pages/public/public-page.html @@ -2382,7 +2382,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 155 + 156 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2394,7 +2394,7 @@ Gemiddelde prijs per eenheid apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 66 + 67 @@ -2402,7 +2402,7 @@ Maximale prijs apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 98 + 99 @@ -2410,7 +2410,7 @@ Andere markten apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 282 + 289 apps/client/src/app/pages/public/public-page.html @@ -2422,7 +2422,7 @@ Opkomende markten apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 273 + 280 apps/client/src/app/pages/public/public-page.html @@ -2434,7 +2434,7 @@ Sector apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 170 + 171 @@ -2442,7 +2442,7 @@ Land apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 182 + 183 @@ -2450,7 +2450,7 @@ Minimale prijs apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 87 + 88 @@ -2458,7 +2458,7 @@ Eerste aankoopdatum apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 128 + 129 @@ -2466,7 +2466,7 @@ Transacties apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 137 + 138 @@ -2482,7 +2482,7 @@ Besparingen libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 299 + 301 @@ -2490,7 +2490,7 @@ Aanvankelijk apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 57 + 58 @@ -2498,7 +2498,7 @@ Rente libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 289 + 291 @@ -2506,11 +2506,11 @@ Storting apps/client/src/app/components/investment-chart/investment-chart.component.ts - 139 + 137 libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 279 + 281 @@ -2518,7 +2518,7 @@ Huidige apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 58 + 59 @@ -2526,7 +2526,7 @@ Maandelijks apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts - 40 + 41 @@ -2566,11 +2566,11 @@ Filter op account of tag... apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 136 + 137 apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts - 87 + 88 @@ -2622,7 +2622,7 @@ Benchmark apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 108 + 110 @@ -2662,7 +2662,7 @@ Excluded from Analysis apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 176 + 173 @@ -2670,7 +2670,7 @@ If you retire today, you would be able to withdraw per year or per month, based on your total assets of and a withdrawal rate of 4%. apps/client/src/app/pages/portfolio/fire/fire-page.html - 38,66 + 39,67 @@ -2718,7 +2718,7 @@ Total Amount apps/client/src/app/components/investment-chart/investment-chart.component.ts - 160 + 158 @@ -2726,7 +2726,7 @@ Portfolio Evolution apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 112 + 113 @@ -2734,7 +2734,135 @@ Spaarquote apps/client/src/app/components/investment-chart/investment-chart.component.ts - 201 + 199 + + + + Account + Account + + libs/ui/src/lib/i18n.ts + 4 + + + + Asset class + Asset class + + libs/ui/src/lib/i18n.ts + 5 + + + + Symbol + Symbol + + libs/ui/src/lib/i18n.ts + 6 + + + + Tag + Tag + + libs/ui/src/lib/i18n.ts + 7 + + + + Cash + Cash + + libs/ui/src/lib/i18n.ts + 10 + + + + Commodity + Commodity + + libs/ui/src/lib/i18n.ts + 11 + + + + Equity + Equity + + libs/ui/src/lib/i18n.ts + 12 + + + + Fixed income + Fixed income + + libs/ui/src/lib/i18n.ts + 13 + + + + Real estate + Real estate + + libs/ui/src/lib/i18n.ts + 14 + + + + Bond + Bond + + libs/ui/src/lib/i18n.ts + 17 + + + + Cryptocurrency + Cryptocurrency + + libs/ui/src/lib/i18n.ts + 18 + + + + ETF + ETF + + libs/ui/src/lib/i18n.ts + 19 + + + + Mutual fund + Mutual fund + + libs/ui/src/lib/i18n.ts + 20 + + + + Precious metal + Precious metal + + libs/ui/src/lib/i18n.ts + 21 + + + + Private equity + Private equity + + libs/ui/src/lib/i18n.ts + 22 + + + + Stock + Stock + + libs/ui/src/lib/i18n.ts + 23 diff --git a/apps/client/src/locales/messages.xlf b/apps/client/src/locales/messages.xlf index 2424ad009..43ae23ff0 100644 --- a/apps/client/src/locales/messages.xlf +++ b/apps/client/src/locales/messages.xlf @@ -91,7 +91,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 215 + 218 apps/client/src/app/pages/portfolio/portfolio-page.html @@ -326,7 +326,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 76 + 77 @@ -855,102 +855,102 @@ Investment apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 40 + 37 apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 118 + 119 Absolute Gross Performance apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 51 + 48 Gross Performance (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 62 + 59 Fees for apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 77,80 + 74,77 {VAR_PLURAL, plural, =1 {transaction} other {transactions}} apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 78,79 + 75,76 Absolute Net Performance apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 95 + 92 Net Performance (TWR) apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 106 + 103 Total Assets apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 122 + 119 Valuables apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 134 + 131 Emergency Fund apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 145 + 142 Buying Power apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 165 + 162 Net Worth apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 190 + 187 Annualized Performance apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 201 + 198 Dividend apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 217 + 214 @@ -964,7 +964,7 @@ Sectors apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 188 + 189 apps/client/src/app/pages/public/public-page.html @@ -975,14 +975,14 @@ Countries apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 199 + 201 Tags apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 235 + 238 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -993,7 +993,7 @@ Report Data Glitch apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 250 + 253 @@ -1011,7 +1011,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 56 + 57 apps/client/src/app/components/positions-table/positions-table.component.html @@ -1476,49 +1476,49 @@ By Currency apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 66 + 67 By Asset Class apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 94 + 96 By Holding apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 122 + 125 By Sector apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 150 + 154 By Continent apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 179 + 184 By Country apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 207 + 213 Regions apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 238 + 245 apps/client/src/app/pages/public/public-page.html @@ -1547,21 +1547,21 @@ Investment Timeline apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 140 + 142 Top apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 33 + 34 Bottom apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 69 + 70 @@ -1593,7 +1593,7 @@ 4% Rule apps/client/src/app/pages/portfolio/fire/fire-page.html - 20 + 21 @@ -1755,7 +1755,7 @@ Quantity apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 108 + 109 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -1803,7 +1803,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 146 + 147 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -1828,7 +1828,7 @@ Import has been completed apps/client/src/app/pages/portfolio/transactions/transactions-page.component.ts - 337 + 338,337 @@ -1842,7 +1842,7 @@ Portfolio apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 99 + 101 apps/client/src/app/pages/public/public-page-routing.module.ts @@ -2109,14 +2109,14 @@ Change apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 45 + 46 Developed Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 264 + 271 apps/client/src/app/pages/public/public-page.html @@ -2131,7 +2131,7 @@ apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 155 + 156 apps/client/src/app/pages/portfolio/transactions/create-or-update-transaction-dialog/create-or-update-transaction-dialog.html @@ -2142,21 +2142,21 @@ Average Unit Price apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 66 + 67 Maximum Price apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 98 + 99 Other Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 282 + 289 apps/client/src/app/pages/public/public-page.html @@ -2167,7 +2167,7 @@ Emerging Markets apps/client/src/app/pages/portfolio/allocations/allocations-page.html - 273 + 280 apps/client/src/app/pages/public/public-page.html @@ -2178,35 +2178,35 @@ Sector apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 170 + 171 Country apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 182 + 183 Minimum Price apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 87 + 88 First Buy Date apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 128 + 129 Transactions apps/client/src/app/components/position/position-detail-dialog/position-detail-dialog.html - 137 + 138 @@ -2220,46 +2220,46 @@ Savings libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 299 + 301 Initial apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 57 + 58 Interest libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 289 + 291 Deposit apps/client/src/app/components/investment-chart/investment-chart.component.ts - 139 + 137 libs/ui/src/lib/fire-calculator/fire-calculator.component.ts - 279 + 281 Current apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 58 + 59 Monthly apps/client/src/app/pages/portfolio/analysis/analysis-page.component.ts - 40 + 41 @@ -2294,11 +2294,11 @@ Filter by account or tag... apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts - 136 + 137 apps/client/src/app/pages/portfolio/holdings/holdings-page.component.ts - 87 + 88 @@ -2344,7 +2344,7 @@ Benchmark apps/client/src/app/components/benchmark-comparator/benchmark-comparator.component.ts - 108 + 110 @@ -2372,7 +2372,7 @@ Excluded from Analysis apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html - 176 + 173 @@ -2386,7 +2386,7 @@ If you retire today, you would be able to withdraw per year or per month, based on your total assets of and a withdrawal rate of 4%. apps/client/src/app/pages/portfolio/fire/fire-page.html - 38,66 + 39,67 @@ -2428,21 +2428,133 @@ Total Amount apps/client/src/app/components/investment-chart/investment-chart.component.ts - 160 + 158 Portfolio Evolution apps/client/src/app/pages/portfolio/analysis/analysis-page.html - 112 + 113 Savings Rate apps/client/src/app/components/investment-chart/investment-chart.component.ts - 201 + 199 + + + + Precious metal + + libs/ui/src/lib/i18n.ts + 21 + + + + Tag + + libs/ui/src/lib/i18n.ts + 7 + + + + Equity + + libs/ui/src/lib/i18n.ts + 12 + + + + Real estate + + libs/ui/src/lib/i18n.ts + 14 + + + + Cryptocurrency + + libs/ui/src/lib/i18n.ts + 18 + + + + Account + + libs/ui/src/lib/i18n.ts + 4 + + + + Stock + + libs/ui/src/lib/i18n.ts + 23 + + + + Private equity + + libs/ui/src/lib/i18n.ts + 22 + + + + Asset class + + libs/ui/src/lib/i18n.ts + 5 + + + + Mutual fund + + libs/ui/src/lib/i18n.ts + 20 + + + + Cash + + libs/ui/src/lib/i18n.ts + 10 + + + + Symbol + + libs/ui/src/lib/i18n.ts + 6 + + + + Commodity + + libs/ui/src/lib/i18n.ts + 11 + + + + Bond + + libs/ui/src/lib/i18n.ts + 17 + + + + ETF + + libs/ui/src/lib/i18n.ts + 19 + + + + Fixed income + + libs/ui/src/lib/i18n.ts + 13 diff --git a/libs/ui/src/lib/activities-filter/activities-filter.component.ts b/libs/ui/src/lib/activities-filter/activities-filter.component.ts index fc5ba7f7f..7a02c562b 100644 --- a/libs/ui/src/lib/activities-filter/activities-filter.component.ts +++ b/libs/ui/src/lib/activities-filter/activities-filter.component.ts @@ -17,6 +17,7 @@ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete'; import { MatChipInputEvent } from '@angular/material/chips'; +import { translate } from '@ghostfolio/ui/i18n'; import { Filter, FilterGroup } from '@ghostfolio/common/interfaces'; import { groupBy } from 'lodash'; import { BehaviorSubject, Observable, Subject } from 'rxjs'; @@ -136,7 +137,7 @@ export class ActivitiesFilterComponent implements OnChanges, OnDestroy { for (const type of Object.keys(filterGroupsMap)) { filterGroups.push({ - name: type, + name: translate(type), filters: filterGroupsMap[type] }); } diff --git a/libs/ui/src/lib/i18n.ts b/libs/ui/src/lib/i18n.ts new file mode 100644 index 000000000..26f2b007c --- /dev/null +++ b/libs/ui/src/lib/i18n.ts @@ -0,0 +1,28 @@ +import '@angular/localize/init'; + +const locales = { + ACCOUNT: $localize`Account`, + ASSET_CLASS: $localize`Asset class`, + SYMBOL: $localize`Symbol`, + TAG: $localize`Tag`, + + // enum AssetClass + CASH: $localize`Cash`, + COMMODITY: $localize`Commodity`, + EQUITY: $localize`Equity`, + FIXED_INCOME: $localize`Fixed income`, + REAL_ESTATE: $localize`Real estate`, + + // enum AssetSubClass + BOND: $localize`Bond`, + CRYPTOCURRENCY: $localize`Cryptocurrency`, + ETF: $localize`ETF`, + MUTUALFUND: $localize`Mutual fund`, + PRECIOUS_METAL: $localize`Precious metal`, + PRIVATE_EQUITY: $localize`Private equity`, + STOCK: $localize`Stock` +}; + +export function translate(aKey: string) { + return locales[aKey] ?? aKey; +}