diff --git a/CHANGELOG.md b/CHANGELOG.md index 627a7d7d1..4f0cdabbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Upgraded the _Internet Identity_ dependencies from version `0.12.1` to `0.15.1` - Upgraded `prisma` from version `4.7.1` to `4.8.0` +### Fixed + +- Fixed the language localization of the account type + ## 1.221.0 - 2022-12-26 ### Added diff --git a/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts b/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts index a0c11bce8..250b89498 100644 --- a/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts +++ b/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts @@ -12,7 +12,7 @@ import { UserService } from '@ghostfolio/client/services/user/user.service'; import { downloadAsFile } from '@ghostfolio/common/helper'; import { User } from '@ghostfolio/common/interfaces'; import { OrderWithAccount } from '@ghostfolio/common/types'; -import { AccountType } from '@prisma/client'; +import { translate } from '@ghostfolio/ui/i18n'; import { format, parseISO } from 'date-fns'; import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @@ -27,7 +27,7 @@ import { AccountDetailDialogParams } from './interfaces/interfaces'; styleUrls: ['./account-detail-dialog.component.scss'] }) export class AccountDetailDialog implements OnDestroy, OnInit { - public accountType: AccountType; + public accountType: string; public name: string; public orders: OrderWithAccount[]; public platformName: string; @@ -59,7 +59,7 @@ export class AccountDetailDialog implements OnDestroy, OnInit { .fetchAccount(this.data.accountId) .pipe(takeUntil(this.unsubscribeSubject)) .subscribe(({ accountType, name, Platform, valueInBaseCurrency }) => { - this.accountType = accountType; + this.accountType = translate(accountType); this.name = name; this.platformName = Platform?.name ?? '-'; this.valueInBaseCurrency = valueInBaseCurrency; diff --git a/apps/client/src/locales/messages.de.xlf b/apps/client/src/locales/messages.de.xlf index 23fa0515d..19a2a3a50 100644 --- a/apps/client/src/locales/messages.de.xlf +++ b/apps/client/src/locales/messages.de.xlf @@ -54,7 +54,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 56 + 78 @@ -126,7 +126,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 93 + 115 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -142,7 +142,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 51 + 73 @@ -162,11 +162,11 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 235 + 257 libs/ui/src/lib/activities-table/activities-table.component.html - 270 + 292 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -182,7 +182,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 404 + 426 @@ -202,7 +202,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 420 + 442 @@ -342,7 +342,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 44 + 66 @@ -378,7 +378,11 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 226,230 + 248,252 + + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 87,91 apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html @@ -406,7 +410,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 233,238 + 255,260 @@ -1138,7 +1142,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 209,211 + 207,210 @@ -1252,6 +1256,10 @@ apps/client/src/app/core/http-response.interceptor.ts 89 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 66,62 + About @@ -1370,7 +1378,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 301 + 323 @@ -1558,7 +1566,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 123 + 145 @@ -1878,7 +1886,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 144 + 166 @@ -1890,7 +1898,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 173 + 195 @@ -1906,7 +1914,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 202 + 224 @@ -1962,7 +1970,7 @@ Der Import wurde abgeschlossen apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts - 167,166 + 55,54 @@ -2098,7 +2106,7 @@ Geplant libs/ui/src/lib/activities-table/activities-table.component.html - 103 + 125 @@ -2106,7 +2114,7 @@ Aktivitäten importieren libs/ui/src/lib/activities-table/activities-table.component.html - 367 + 389 @@ -2114,7 +2122,7 @@ Aktivitäten exportieren libs/ui/src/lib/activities-table/activities-table.component.html - 377 + 399 @@ -2122,7 +2130,7 @@ Geplante Aktivitäten als ICS exportieren libs/ui/src/lib/activities-table/activities-table.component.html - 387 + 409 @@ -2130,7 +2138,7 @@ Kopieren libs/ui/src/lib/activities-table/activities-table.component.html - 408 + 430 @@ -2138,7 +2146,7 @@ Geplante Aktivität als ICS exportieren libs/ui/src/lib/activities-table/activities-table.component.html - 416 + 438 @@ -2146,7 +2154,7 @@ Möchtest du diese Aktivität wirklich löschen? libs/ui/src/lib/activities-table/activities-table.component.ts - 149 + 196 @@ -2256,6 +2264,10 @@ apps/client/src/app/core/http-response.interceptor.ts 88 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 65,62 + Oops! Something went wrong. @@ -2264,6 +2276,10 @@ apps/client/src/app/core/http-response.interceptor.ts 86 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 63 + Change @@ -2514,7 +2530,7 @@ Filtern nach Konto, Währung, Symbol oder Typ... libs/ui/src/lib/activities-table/activities-table.component.ts - 321 + 376 @@ -2686,7 +2702,7 @@ Symbol libs/ui/src/lib/i18n.ts - 9 + 10 @@ -2694,7 +2710,7 @@ Tag libs/ui/src/lib/i18n.ts - 10 + 11 @@ -2702,7 +2718,7 @@ Bargeld libs/ui/src/lib/i18n.ts - 13 + 14 @@ -2710,7 +2726,7 @@ Rohstoff libs/ui/src/lib/i18n.ts - 14 + 15 @@ -2718,7 +2734,7 @@ Anteilskapital libs/ui/src/lib/i18n.ts - 15 + 16 @@ -2726,7 +2742,7 @@ Feste Einkünfte libs/ui/src/lib/i18n.ts - 16 + 17 @@ -2734,7 +2750,7 @@ Immobilien libs/ui/src/lib/i18n.ts - 17 + 18 @@ -2742,7 +2758,7 @@ Anleihe libs/ui/src/lib/i18n.ts - 20 + 21 @@ -2750,7 +2766,7 @@ Kryptowährung libs/ui/src/lib/i18n.ts - 21 + 22 @@ -2758,7 +2774,7 @@ ETF libs/ui/src/lib/i18n.ts - 22 + 23 @@ -2766,7 +2782,7 @@ Investmentfonds libs/ui/src/lib/i18n.ts - 23 + 24 @@ -2774,7 +2790,7 @@ Edelmetall libs/ui/src/lib/i18n.ts - 24 + 25 @@ -2782,7 +2798,7 @@ Privates Beteiligungskapital libs/ui/src/lib/i18n.ts - 25 + 26 @@ -2790,7 +2806,7 @@ Aktie libs/ui/src/lib/i18n.ts - 26 + 27 @@ -2830,7 +2846,7 @@ Nordamerika libs/ui/src/lib/i18n.ts - 32 + 33 @@ -2838,7 +2854,7 @@ Afrika libs/ui/src/lib/i18n.ts - 29 + 30 @@ -2846,7 +2862,7 @@ Asien libs/ui/src/lib/i18n.ts - 30 + 31 @@ -2854,7 +2870,7 @@ Europa libs/ui/src/lib/i18n.ts - 31 + 32 @@ -2862,7 +2878,7 @@ Ozeanien libs/ui/src/lib/i18n.ts - 33 + 34 @@ -2870,7 +2886,7 @@ Südamerika libs/ui/src/lib/i18n.ts - 34 + 35 @@ -2894,7 +2910,7 @@ Zurück apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html - 61,67 + 79,83 @@ -2969,6 +2985,30 @@ 102 + + Validating data... + Daten validieren... + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 86 + + + + Import + Importieren + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 94,99 + + + + Securities + Wertschriften + + libs/ui/src/lib/i18n.ts + 9 + + diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlf index 3e86ff92c..a2dbbb6b7 100644 --- a/apps/client/src/locales/messages.es.xlf +++ b/apps/client/src/locales/messages.es.xlf @@ -55,7 +55,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 56 + 78 @@ -127,7 +127,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 93 + 115 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -143,7 +143,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 51 + 73 @@ -163,11 +163,11 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 235 + 257 libs/ui/src/lib/activities-table/activities-table.component.html - 270 + 292 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -183,7 +183,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 404 + 426 @@ -203,7 +203,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 420 + 442 @@ -343,7 +343,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 44 + 66 @@ -379,7 +379,11 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 226,230 + 248,252 + + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 87,91 apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html @@ -407,7 +411,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 233,238 + 255,260 @@ -1139,7 +1143,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 209,211 + 207,210 @@ -1253,6 +1257,10 @@ apps/client/src/app/core/http-response.interceptor.ts 89 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 66,62 + About @@ -1371,7 +1379,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 301 + 323 @@ -1559,7 +1567,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 123 + 145 @@ -1879,7 +1887,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 144 + 166 @@ -1891,7 +1899,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 173 + 195 @@ -1907,7 +1915,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 202 + 224 @@ -1963,7 +1971,7 @@ La importación se ha completado apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts - 167,166 + 55,54 @@ -2099,7 +2107,7 @@ Borrador libs/ui/src/lib/activities-table/activities-table.component.html - 103 + 125 @@ -2107,7 +2115,7 @@ Importar operaciones libs/ui/src/lib/activities-table/activities-table.component.html - 367 + 389 @@ -2115,7 +2123,7 @@ Exportar operaciones libs/ui/src/lib/activities-table/activities-table.component.html - 377 + 399 @@ -2123,7 +2131,7 @@ Exportar borrador como ICS libs/ui/src/lib/activities-table/activities-table.component.html - 387 + 409 @@ -2131,7 +2139,7 @@ Clonar libs/ui/src/lib/activities-table/activities-table.component.html - 408 + 430 @@ -2139,7 +2147,7 @@ Exportar borrador como ICS libs/ui/src/lib/activities-table/activities-table.component.html - 416 + 438 @@ -2147,7 +2155,7 @@ ¿Estás seguro de eliminar esta operación? libs/ui/src/lib/activities-table/activities-table.component.ts - 149 + 196 @@ -2253,6 +2261,10 @@ apps/client/src/app/core/http-response.interceptor.ts 86 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 63 + Please try again later. @@ -2265,6 +2277,10 @@ apps/client/src/app/core/http-response.interceptor.ts 88 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 65,62 + Change @@ -2515,7 +2531,7 @@ Filtrar por cuenta, divisa, símbolo o tipo... libs/ui/src/lib/activities-table/activities-table.component.ts - 321 + 376 @@ -2687,7 +2703,7 @@ Símbolo libs/ui/src/lib/i18n.ts - 9 + 10 @@ -2695,7 +2711,7 @@ Etiqueta libs/ui/src/lib/i18n.ts - 10 + 11 @@ -2703,7 +2719,7 @@ Efectivo libs/ui/src/lib/i18n.ts - 13 + 14 @@ -2711,7 +2727,7 @@ Bien libs/ui/src/lib/i18n.ts - 14 + 15 @@ -2719,7 +2735,7 @@ Capital libs/ui/src/lib/i18n.ts - 15 + 16 @@ -2727,7 +2743,7 @@ Renta fija libs/ui/src/lib/i18n.ts - 16 + 17 @@ -2735,7 +2751,7 @@ Propiedad inmobiliaria libs/ui/src/lib/i18n.ts - 17 + 18 @@ -2743,7 +2759,7 @@ Bono libs/ui/src/lib/i18n.ts - 20 + 21 @@ -2751,7 +2767,7 @@ Criptomoneda libs/ui/src/lib/i18n.ts - 21 + 22 @@ -2759,7 +2775,7 @@ ETF libs/ui/src/lib/i18n.ts - 22 + 23 @@ -2767,7 +2783,7 @@ Fondo de inversión libs/ui/src/lib/i18n.ts - 23 + 24 @@ -2775,7 +2791,7 @@ Metal precioso libs/ui/src/lib/i18n.ts - 24 + 25 @@ -2783,7 +2799,7 @@ Capital riesgo libs/ui/src/lib/i18n.ts - 25 + 26 @@ -2791,7 +2807,7 @@ Acción libs/ui/src/lib/i18n.ts - 26 + 27 @@ -2831,7 +2847,7 @@ América del Norte libs/ui/src/lib/i18n.ts - 32 + 33 @@ -2839,7 +2855,7 @@ África libs/ui/src/lib/i18n.ts - 29 + 30 @@ -2847,7 +2863,7 @@ Asia libs/ui/src/lib/i18n.ts - 30 + 31 @@ -2855,7 +2871,7 @@ Europa libs/ui/src/lib/i18n.ts - 31 + 32 @@ -2863,7 +2879,7 @@ Oceanía libs/ui/src/lib/i18n.ts - 33 + 34 @@ -2871,7 +2887,7 @@ América del Sur libs/ui/src/lib/i18n.ts - 34 + 35 @@ -2895,7 +2911,7 @@ Volver apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html - 61,67 + 79,83 @@ -2970,6 +2986,30 @@ 102 + + Validating data... + Validating data... + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 86 + + + + Import + Import + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 94,99 + + + + Securities + Securities + + libs/ui/src/lib/i18n.ts + 9 + + diff --git a/apps/client/src/locales/messages.it.xlf b/apps/client/src/locales/messages.it.xlf index 2c2d166cf..7fa5ed803 100644 --- a/apps/client/src/locales/messages.it.xlf +++ b/apps/client/src/locales/messages.it.xlf @@ -55,7 +55,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 56 + 78 @@ -127,7 +127,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 93 + 115 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -143,7 +143,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 51 + 73 @@ -163,11 +163,11 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 235 + 257 libs/ui/src/lib/activities-table/activities-table.component.html - 270 + 292 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -183,7 +183,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 404 + 426 @@ -203,7 +203,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 420 + 442 @@ -343,7 +343,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 44 + 66 @@ -379,7 +379,11 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 226,230 + 248,252 + + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 87,91 apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html @@ -407,7 +411,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 233,238 + 255,260 @@ -1139,7 +1143,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 209,211 + 207,210 @@ -1253,6 +1257,10 @@ apps/client/src/app/core/http-response.interceptor.ts 89 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 66,62 + About @@ -1371,7 +1379,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 301 + 323 @@ -1559,7 +1567,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 123 + 145 @@ -1879,7 +1887,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 144 + 166 @@ -1891,7 +1899,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 173 + 195 @@ -1907,7 +1915,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 202 + 224 @@ -1963,7 +1971,7 @@ L'importazione è stata completata apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts - 167,166 + 55,54 @@ -2099,7 +2107,7 @@ Bozza libs/ui/src/lib/activities-table/activities-table.component.html - 103 + 125 @@ -2107,7 +2115,7 @@ Importa le attività libs/ui/src/lib/activities-table/activities-table.component.html - 367 + 389 @@ -2115,7 +2123,7 @@ Esporta le attività libs/ui/src/lib/activities-table/activities-table.component.html - 377 + 399 @@ -2123,7 +2131,7 @@ Esporta le bozze come ICS libs/ui/src/lib/activities-table/activities-table.component.html - 387 + 409 @@ -2131,7 +2139,7 @@ Clona libs/ui/src/lib/activities-table/activities-table.component.html - 408 + 430 @@ -2139,7 +2147,7 @@ Esporta la bozza come ICS libs/ui/src/lib/activities-table/activities-table.component.html - 416 + 438 @@ -2147,7 +2155,7 @@ Vuoi davvero eliminare questa attività? libs/ui/src/lib/activities-table/activities-table.component.ts - 149 + 196 @@ -2253,6 +2261,10 @@ apps/client/src/app/core/http-response.interceptor.ts 86 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 63 + Please try again later. @@ -2265,6 +2277,10 @@ apps/client/src/app/core/http-response.interceptor.ts 88 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 65,62 + Change @@ -2515,7 +2531,7 @@ Filtra per account, valuta, simbolo o tipo... libs/ui/src/lib/activities-table/activities-table.component.ts - 321 + 376 @@ -2687,7 +2703,7 @@ Symbol libs/ui/src/lib/i18n.ts - 9 + 10 @@ -2695,7 +2711,7 @@ Tag libs/ui/src/lib/i18n.ts - 10 + 11 @@ -2703,7 +2719,7 @@ Cash libs/ui/src/lib/i18n.ts - 13 + 14 @@ -2711,7 +2727,7 @@ Commodity libs/ui/src/lib/i18n.ts - 14 + 15 @@ -2719,7 +2735,7 @@ Equity libs/ui/src/lib/i18n.ts - 15 + 16 @@ -2727,7 +2743,7 @@ Fixed Income libs/ui/src/lib/i18n.ts - 16 + 17 @@ -2735,7 +2751,7 @@ Real Estate libs/ui/src/lib/i18n.ts - 17 + 18 @@ -2743,7 +2759,7 @@ Bond libs/ui/src/lib/i18n.ts - 20 + 21 @@ -2751,7 +2767,7 @@ Cryptocurrency libs/ui/src/lib/i18n.ts - 21 + 22 @@ -2759,7 +2775,7 @@ ETF libs/ui/src/lib/i18n.ts - 22 + 23 @@ -2767,7 +2783,7 @@ Mutual Fund libs/ui/src/lib/i18n.ts - 23 + 24 @@ -2775,7 +2791,7 @@ Precious Metal libs/ui/src/lib/i18n.ts - 24 + 25 @@ -2783,7 +2799,7 @@ Private Equity libs/ui/src/lib/i18n.ts - 25 + 26 @@ -2791,7 +2807,7 @@ Stock libs/ui/src/lib/i18n.ts - 26 + 27 @@ -2831,7 +2847,7 @@ North America libs/ui/src/lib/i18n.ts - 32 + 33 @@ -2839,7 +2855,7 @@ Africa libs/ui/src/lib/i18n.ts - 29 + 30 @@ -2847,7 +2863,7 @@ Asia libs/ui/src/lib/i18n.ts - 30 + 31 @@ -2855,7 +2871,7 @@ Europe libs/ui/src/lib/i18n.ts - 31 + 32 @@ -2863,7 +2879,7 @@ Oceania libs/ui/src/lib/i18n.ts - 33 + 34 @@ -2871,7 +2887,7 @@ South America libs/ui/src/lib/i18n.ts - 34 + 35 @@ -2895,7 +2911,7 @@ Back apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html - 61,67 + 79,83 @@ -2970,6 +2986,30 @@ 102 + + Validating data... + Validating data... + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 86 + + + + Import + Import + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 94,99 + + + + Securities + Securities + + libs/ui/src/lib/i18n.ts + 9 + + diff --git a/apps/client/src/locales/messages.nl.xlf b/apps/client/src/locales/messages.nl.xlf index 4d1ca4466..f606c08b5 100644 --- a/apps/client/src/locales/messages.nl.xlf +++ b/apps/client/src/locales/messages.nl.xlf @@ -54,7 +54,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 56 + 78 @@ -126,7 +126,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 93 + 115 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -142,7 +142,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 51 + 73 @@ -162,11 +162,11 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 235 + 257 libs/ui/src/lib/activities-table/activities-table.component.html - 270 + 292 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -182,7 +182,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 404 + 426 @@ -202,7 +202,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 420 + 442 @@ -342,7 +342,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 44 + 66 @@ -378,7 +378,11 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 226,230 + 248,252 + + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 87,91 apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html @@ -406,7 +410,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 233,238 + 255,260 @@ -1138,7 +1142,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 209,211 + 207,210 @@ -1252,6 +1256,10 @@ apps/client/src/app/core/http-response.interceptor.ts 89 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 66,62 + About @@ -1370,7 +1378,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 301 + 323 @@ -1558,7 +1566,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 123 + 145 @@ -1878,7 +1886,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 144 + 166 @@ -1890,7 +1898,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 173 + 195 @@ -1906,7 +1914,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 202 + 224 @@ -1962,7 +1970,7 @@ Import is voltooid apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts - 167,166 + 55,54 @@ -2098,7 +2106,7 @@ Ontwerp libs/ui/src/lib/activities-table/activities-table.component.html - 103 + 125 @@ -2106,7 +2114,7 @@ Activiteiten importeren libs/ui/src/lib/activities-table/activities-table.component.html - 367 + 389 @@ -2114,7 +2122,7 @@ Activiteiten exporteren libs/ui/src/lib/activities-table/activities-table.component.html - 377 + 399 @@ -2122,7 +2130,7 @@ Concepten exporteren als ICS libs/ui/src/lib/activities-table/activities-table.component.html - 387 + 409 @@ -2130,7 +2138,7 @@ Kloon libs/ui/src/lib/activities-table/activities-table.component.html - 408 + 430 @@ -2138,7 +2146,7 @@ Concepten exporteren als ICS libs/ui/src/lib/activities-table/activities-table.component.html - 416 + 438 @@ -2146,7 +2154,7 @@ Wilt u deze activiteit echt verwijderen? libs/ui/src/lib/activities-table/activities-table.component.ts - 149 + 196 @@ -2252,6 +2260,10 @@ apps/client/src/app/core/http-response.interceptor.ts 86 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 63 + Please try again later. @@ -2264,6 +2276,10 @@ apps/client/src/app/core/http-response.interceptor.ts 88 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 65,62 + Change @@ -2514,7 +2530,7 @@ Filter op rekening, valuta, symbool of type... libs/ui/src/lib/activities-table/activities-table.component.ts - 321 + 376 @@ -2686,7 +2702,7 @@ Symbol libs/ui/src/lib/i18n.ts - 9 + 10 @@ -2694,7 +2710,7 @@ Tag libs/ui/src/lib/i18n.ts - 10 + 11 @@ -2702,7 +2718,7 @@ Cash libs/ui/src/lib/i18n.ts - 13 + 14 @@ -2710,7 +2726,7 @@ Commodity libs/ui/src/lib/i18n.ts - 14 + 15 @@ -2718,7 +2734,7 @@ Equity libs/ui/src/lib/i18n.ts - 15 + 16 @@ -2726,7 +2742,7 @@ Fixed Income libs/ui/src/lib/i18n.ts - 16 + 17 @@ -2734,7 +2750,7 @@ Real Estate libs/ui/src/lib/i18n.ts - 17 + 18 @@ -2742,7 +2758,7 @@ Bond libs/ui/src/lib/i18n.ts - 20 + 21 @@ -2750,7 +2766,7 @@ Cryptocurrency libs/ui/src/lib/i18n.ts - 21 + 22 @@ -2758,7 +2774,7 @@ ETF libs/ui/src/lib/i18n.ts - 22 + 23 @@ -2766,7 +2782,7 @@ Mutual Fund libs/ui/src/lib/i18n.ts - 23 + 24 @@ -2774,7 +2790,7 @@ Precious Metal libs/ui/src/lib/i18n.ts - 24 + 25 @@ -2782,7 +2798,7 @@ Private Equity libs/ui/src/lib/i18n.ts - 25 + 26 @@ -2790,7 +2806,7 @@ Stock libs/ui/src/lib/i18n.ts - 26 + 27 @@ -2830,7 +2846,7 @@ North America libs/ui/src/lib/i18n.ts - 32 + 33 @@ -2838,7 +2854,7 @@ Africa libs/ui/src/lib/i18n.ts - 29 + 30 @@ -2846,7 +2862,7 @@ Asia libs/ui/src/lib/i18n.ts - 30 + 31 @@ -2854,7 +2870,7 @@ Europe libs/ui/src/lib/i18n.ts - 31 + 32 @@ -2862,7 +2878,7 @@ Oceania libs/ui/src/lib/i18n.ts - 33 + 34 @@ -2870,7 +2886,7 @@ South America libs/ui/src/lib/i18n.ts - 34 + 35 @@ -2894,7 +2910,7 @@ Back apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html - 61,67 + 79,83 @@ -2969,6 +2985,30 @@ 102 + + Validating data... + Validating data... + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 86 + + + + Import + Import + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 94,99 + + + + Securities + Securities + + libs/ui/src/lib/i18n.ts + 9 + + diff --git a/apps/client/src/locales/messages.xlf b/apps/client/src/locales/messages.xlf index 9f506ae1d..f1acd8057 100644 --- a/apps/client/src/locales/messages.xlf +++ b/apps/client/src/locales/messages.xlf @@ -51,7 +51,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 56 + 78 @@ -118,7 +118,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 93 + 115 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -133,7 +133,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 51 + 73 @@ -152,11 +152,11 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 235 + 257 libs/ui/src/lib/activities-table/activities-table.component.html - 270 + 292 libs/ui/src/lib/holdings-table/holdings-table.component.html @@ -171,7 +171,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 404 + 426 @@ -190,7 +190,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 420 + 442 @@ -315,7 +315,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 44 + 66 @@ -349,7 +349,11 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 226,230 + 248,252 + + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 87,91 apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html @@ -376,7 +380,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 233,238 + 255,260 @@ -1034,7 +1038,7 @@ apps/client/src/app/pages/portfolio/activities/create-or-update-activity-dialog/create-or-update-activity-dialog.html - 209,211 + 207,210 @@ -1136,6 +1140,10 @@ apps/client/src/app/core/http-response.interceptor.ts 89 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 66,62 + About @@ -1240,7 +1248,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 301 + 323 @@ -1406,7 +1414,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 123 + 145 @@ -1690,7 +1698,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 144 + 166 @@ -1701,7 +1709,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 173 + 195 @@ -1716,7 +1724,7 @@ libs/ui/src/lib/activities-table/activities-table.component.html - 202 + 224 @@ -1767,7 +1775,7 @@ Import has been completed apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts - 167,166 + 55,54 @@ -1887,49 +1895,49 @@ Draft libs/ui/src/lib/activities-table/activities-table.component.html - 103 + 125 Import Activities libs/ui/src/lib/activities-table/activities-table.component.html - 367 + 389 Export Activities libs/ui/src/lib/activities-table/activities-table.component.html - 377 + 399 Export Drafts as ICS libs/ui/src/lib/activities-table/activities-table.component.html - 387 + 409 Clone libs/ui/src/lib/activities-table/activities-table.component.html - 408 + 430 Export Draft as ICS libs/ui/src/lib/activities-table/activities-table.component.html - 416 + 438 Do you really want to delete this activity? libs/ui/src/lib/activities-table/activities-table.component.ts - 149 + 196 @@ -2022,6 +2030,10 @@ apps/client/src/app/core/http-response.interceptor.ts 86 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 63 + Please try again later. @@ -2033,6 +2045,10 @@ apps/client/src/app/core/http-response.interceptor.ts 88 + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 65,62 + Change @@ -2257,7 +2273,7 @@ Filter by account, currency, symbol or type... libs/ui/src/lib/activities-table/activities-table.component.ts - 321 + 376 @@ -2394,35 +2410,35 @@ Precious Metal libs/ui/src/lib/i18n.ts - 24 + 25 Tag libs/ui/src/lib/i18n.ts - 10 + 11 Equity libs/ui/src/lib/i18n.ts - 15 + 16 Real Estate libs/ui/src/lib/i18n.ts - 17 + 18 Cryptocurrency libs/ui/src/lib/i18n.ts - 21 + 22 @@ -2436,14 +2452,14 @@ Stock libs/ui/src/lib/i18n.ts - 26 + 27 Private Equity libs/ui/src/lib/i18n.ts - 25 + 26 @@ -2457,49 +2473,49 @@ Mutual Fund libs/ui/src/lib/i18n.ts - 23 + 24 Cash libs/ui/src/lib/i18n.ts - 13 + 14 Symbol libs/ui/src/lib/i18n.ts - 9 + 10 Commodity libs/ui/src/lib/i18n.ts - 14 + 15 Bond libs/ui/src/lib/i18n.ts - 20 + 21 ETF libs/ui/src/lib/i18n.ts - 22 + 23 Fixed Income libs/ui/src/lib/i18n.ts - 16 + 17 @@ -2535,42 +2551,42 @@ North America libs/ui/src/lib/i18n.ts - 32 + 33 Africa libs/ui/src/lib/i18n.ts - 29 + 30 Oceania libs/ui/src/lib/i18n.ts - 33 + 34 Asia libs/ui/src/lib/i18n.ts - 30 + 31 South America libs/ui/src/lib/i18n.ts - 34 + 35 Europe libs/ui/src/lib/i18n.ts - 31 + 32 @@ -2591,7 +2607,7 @@ Back apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html - 61,67 + 79,83 @@ -2658,6 +2674,27 @@ 102 + + Securities + + libs/ui/src/lib/i18n.ts + 9 + + + + Validating data... + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.component.ts + 86 + + + + Import + + apps/client/src/app/pages/portfolio/activities/import-activities-dialog/import-activities-dialog.html + 94,99 + + diff --git a/libs/ui/src/lib/i18n.ts b/libs/ui/src/lib/i18n.ts index 2c3dca8f9..58021d194 100644 --- a/libs/ui/src/lib/i18n.ts +++ b/libs/ui/src/lib/i18n.ts @@ -6,6 +6,7 @@ const locales = { ASSET_SUB_CLASS: $localize`Asset Sub Class`, EMERGENCY_FUND: $localize`Emergency Fund`, OTHER: $localize`Other`, + SECURITIES: $localize`Securities`, SYMBOL: $localize`Symbol`, TAG: $localize`Tag`, @@ -34,6 +35,6 @@ const locales = { 'South America': $localize`South America` }; -export function translate(aKey: string) { +export function translate(aKey: string): string { return locales[aKey] ?? aKey; }