From bdab44433e5fc36e43b982496c26758ce3acb7aa Mon Sep 17 00:00:00 2001 From: piggei Date: Sun, 29 Nov 2026 05:55:14 +0100 Subject: [PATCH] feat(import): add localized broker source selection and review --- .../broker-import-dialog.component.spec.ts | 234 ++++++++++++ .../broker-import-dialog.component.ts | 295 +++++++++++++++ .../broker-import-dialog.html | 350 ++++++++++++++++++ .../broker-import-dialog.scss | 78 ++++ .../broker-import.messages.ts | 76 ++++ .../activities/activities-page.component.ts | 21 ++ .../portfolio/activities/activities-page.html | 1 + apps/client/src/locales/messages.ca.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.de.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.es.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.fr.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.it.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.ja.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.ko.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.nl.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.pl.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.pt.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.tr.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.uk.xlf | 296 +++++++++++++++ apps/client/src/locales/messages.xlf | 292 +++++++++++++++ apps/client/src/locales/messages.zh.xlf | 296 +++++++++++++++ .../activities-table.component.html | 23 ++ .../activities-table.component.ts | 7 + 23 files changed, 5225 insertions(+) create mode 100644 apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.spec.ts create mode 100644 apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.ts create mode 100644 apps/client/src/app/components/broker-import-dialog/broker-import-dialog.html create mode 100644 apps/client/src/app/components/broker-import-dialog/broker-import-dialog.scss create mode 100644 apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts diff --git a/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.spec.ts b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.spec.ts new file mode 100644 index 0000000000..4e28b8c889 --- /dev/null +++ b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.spec.ts @@ -0,0 +1,234 @@ +import { UserService } from '@ghostfolio/client/services/user/user.service'; +import { BrokerImportPreview } from '@ghostfolio/common/interfaces/broker-import.interface'; +import { DataService } from '@ghostfolio/ui/services'; + +import { provideHttpClient } from '@angular/common/http'; +import { + provideHttpClientTesting, + HttpTestingController +} from '@angular/common/http/testing'; +import { TestBed, fakeAsync, flush } from '@angular/core/testing'; +import '@angular/localize/init'; +import { MatDialogRef, MatDialog } from '@angular/material/dialog'; +import { provideNoopAnimations } from '@angular/platform-browser/animations'; +import { readFileSync } from 'node:fs'; +import { join } from 'node:path'; +import { TextDecoder } from 'node:util'; +import { of, throwError } from 'rxjs'; + +import { GfBrokerImportDialogComponent } from './broker-import-dialog.component'; + +jest.mock('@ghostfolio/client/services/user/user.service', () => ({ + UserService: class UserService {} +})); +jest.mock('@ghostfolio/ui/services', () => ({ + DataService: class DataService {} +})); +Object.defineProperty(globalThis, 'TextDecoder', { + value: TextDecoder, + configurable: true +}); +describe('Upstream Directa review dialog', () => { + let component: GfBrokerImportDialogComponent, http: HttpTestingController; + const close = jest.fn(), + get = jest.fn(() => of({})); + const plan = (): BrokerImportPreview => ({ + format: 'DIRECTA', + digest: 'a'.repeat(64), + rowsRead: 1, + duplicates: 0, + instruments: [], + costAssociations: [], + operations: [], + rows: [], + reconciliation: [], + errors: [], + summary: { + recognized: 1, + importable: 1, + blocked: 0, + unsupported: 0, + excluded: 0, + automatic: 0, + confirmed: 0, + needsConfirmation: 0, + unresolvable: 0 + } + }); + beforeEach(async () => { + close.mockClear(); + get.mockReturnValue(of({})); + await TestBed.configureTestingModule({ + imports: [GfBrokerImportDialogComponent], + providers: [ + provideHttpClient(), + provideHttpClientTesting(), + provideNoopAnimations(), + { provide: MatDialogRef, useValue: { close } }, + { provide: UserService, useValue: { get } }, + { + provide: DataService, + useValue: { fetchAccounts: () => of({ accounts: [] }) } + } + ] + }).compileComponents(); + component = TestBed.createComponent( + GfBrokerImportDialogComponent + ).componentInstance; + http = TestBed.inject(HttpTestingController); + component.accountId = 'account'; + component.csv = 'synthetic'; + }); + afterEach(() => http.verify()); + it('requires a fresh error-free preview and an explicit final confirmation', async () => { + await component.commit(); + http.expectNone('/api/v1/import/broker'); + component.plan.set({ ...plan(), errors: ['PARTIAL_REQUIRED'] }); + component.confirmed = true; + await component.commit(); + http.expectNone('/api/v1/import/broker'); + }); + it('clears digest, partial acknowledgement and final confirmation after an exclusion', () => { + component.plan.set(plan()); + component.confirmed = true; + component.confirmPartial = true; + component.csv = ''; + component.includeOperation('SYNTHETIC', false); + expect(component.confirmed).toBe(false); + expect(component.confirmPartial).toBe(false); + expect(component.plan().digest).toBe(''); + expect(component.excluded).toEqual(['SYNTHETIC']); + }); + it('submits partial consent explicitly without modifying account settings', async () => { + component.confirmPartial = true; + component.excluded = ['OMITTED']; + const pending = component.loadPreview(), + request = http.expectOne('/api/v1/import/broker/preview'); + expect(request.request.body).toMatchObject({ + confirmPartial: true, + excluded: ['OMITTED'] + }); + expect(request.request.body).not.toHaveProperty('updateAccountBalance'); + request.flush(plan()); + await pending; + }); + it('keeps a successful commit successful when refreshing user data fails', async () => { + component.plan.set(plan()); + component.confirmed = true; + get.mockReturnValue(throwError(() => Error('refresh'))); + const pending = component.commit(); + http.expectOne('/api/v1/import/broker').flush({ restored: true }); + await pending; + expect(close).toHaveBeenCalledWith(true); + expect(component.error()).toBe(''); + }); + it('does not display arbitrary English server exception text', async () => { + const pending = component.loadPreview(); + http + .expectOne('/api/v1/import/broker/preview') + .flush( + { message: 'PRIVATE SERVER MESSAGE' }, + { status: 400, statusText: 'Bad Request' } + ); + await pending; + expect(component.error()).toBe(component.text.formatError); + }); + it('rejects malformed UTF-8 and clears previous file choices', async () => { + component.symbols = { old: 'old' }; + await component.readFile({ + target: { + files: [ + { + name: 'synthetic.csv', + size: 2, + arrayBuffer: async () => new Uint8Array([255, 255]).buffer + } + ] + } + } as unknown as Event); + expect(component.csv).toBe(''); + expect(component.symbols).toEqual({}); + expect(component.error()).toBe(component.text.invalidFile); + }); + it('renders an unsupported group with localized diagnostics in a real dialog', fakeAsync(() => { + const ref = TestBed.inject(MatDialog).open(GfBrokerImportDialogComponent); + const preview = plan(); + preview.operations = [ + { + id: 'SYNTHETIC', + lines: [1, 2], + date: '2026-01-01', + valueDates: ['2026-01-01'], + kind: 'DIVIDEND', + isin: 'XX0000000002', + gross: '10', + fee: '0', + tax: '2.6', + net: '7.4', + status: 'UNSUPPORTED', + diagnostics: ['TAX_UNSUPPORTED'] + } + ]; + preview.errors = ['TAX_UNSUPPORTED']; + preview.summary = { ...preview.summary, importable: 0, unsupported: 1 }; + ref.componentInstance.plan.set(preview); + ref.componentRef.changeDetectorRef.detectChanges(); + flush(); + expect(ref.componentRef.location.nativeElement.textContent).toContain( + ref.componentInstance.text.TAX_UNSUPPORTED + ); + expect(ref.componentRef.location.nativeElement.textContent).not.toContain( + 'TAX_UNSUPPORTED' + ); + ref.close(); + flush(); + })); + it('bulk-excludes only unsupported groups and still requires partial confirmation', () => { + const preview = plan(); + preview.operations = [ + { id: 'OMITTED', status: 'UNSUPPORTED' }, + { id: 'REVIEW', status: 'BLOCKED' } + ] as never; + component.plan.set(preview); + component.csv = ''; + component.confirmPartial = true; + component.excludeUnsupported(); + expect(component.excluded).toEqual(['OMITTED']); + expect(component.confirmPartial).toBe(false); + expect(component.plan().digest).toBe(''); + }); + it('translates every new broker message in all supported locales', () => { + const source = readFileSync( + join(__dirname, 'broker-import.messages.ts'), + 'utf8' + ), + ids = [...source.matchAll(/@@(\w+):/g)].map((match) => match[1]); + expect(ids).toHaveLength(74); + for (const lang of [ + 'ca', + 'de', + 'es', + 'fr', + 'it', + 'ja', + 'ko', + 'nl', + 'pl', + 'pt', + 'tr', + 'uk', + 'zh' + ]) { + const text = readFileSync( + join(__dirname, '../../../locales', `messages.${lang}.xlf`), + 'utf8' + ); + for (const id of ids) + expect( + new RegExp( + `[^<]+[\\s\\S]*?` + ).test(text) + ).toBe(true); + } + }); +}); diff --git a/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.ts b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.ts new file mode 100644 index 0000000000..330b8f844b --- /dev/null +++ b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.component.ts @@ -0,0 +1,295 @@ +import { UserService } from '@ghostfolio/client/services/user/user.service'; +import { + BrokerImportInput, + BrokerImportPreview, + BrokerDiagnosticCode +} from '@ghostfolio/common/interfaces/broker-import.interface'; +import { DataService } from '@ghostfolio/ui/services'; + +import { HttpClient, HttpErrorResponse } from '@angular/common/http'; +import { + ChangeDetectionStrategy, + Component, + DestroyRef, + inject, + signal +} from '@angular/core'; +import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; +import { FormsModule } from '@angular/forms'; +import { MatButtonModule } from '@angular/material/button'; +import { MatCheckboxModule } from '@angular/material/checkbox'; +import { MatDialogModule, MatDialogRef } from '@angular/material/dialog'; +import { MatFormFieldModule } from '@angular/material/form-field'; +import { MatSelectModule } from '@angular/material/select'; +import { firstValueFrom } from 'rxjs'; + +import { BROKER_IMPORT_TEXT } from './broker-import.messages'; + +@Component({ + selector: 'gf-broker-import-dialog', + changeDetection: ChangeDetectionStrategy.OnPush, + imports: [ + FormsModule, + MatButtonModule, + MatCheckboxModule, + MatDialogModule, + MatFormFieldModule, + MatSelectModule + ], + templateUrl: './broker-import-dialog.html', + styleUrls: ['./broker-import-dialog.scss'] +}) +export class GfBrokerImportDialogComponent { + readonly text = BROKER_IMPORT_TEXT; + readonly accounts = signal< + { id: string; name: string | null; currency: string | null }[] + >([]); + readonly plan = signal(null); + readonly busy = signal(false); + readonly committing = signal(false); + readonly error = signal(''); + accountId = ''; + csv = ''; + symbols: Record = {}; + links: Record = {}; + excluded: string[] = []; + useOperationDate = false; + confirmPartial = false; + confirmed = false; + statusFilter = 'ALL'; + private readonly http = inject(HttpClient); + private readonly data = inject(DataService); + private readonly user = inject(UserService); + private readonly destroy = inject(DestroyRef); + private readonly dialog = inject(MatDialogRef); + private timer: ReturnType | undefined; + private alive = true; + constructor() { + this.destroy.onDestroy(() => { + this.alive = false; + clearTimeout(this.timer); + }); + } + async ngOnInit() { + try { + this.accounts.set( + ( + await firstValueFrom( + this.data.fetchAccounts().pipe(takeUntilDestroyed(this.destroy)) + ) + ).accounts + ); + } catch { + if (this.alive) this.error.set(this.text.loadError); + } + } + close() { + if (!this.committing()) this.dialog.close(); + } + choicesChanged() { + this.confirmed = false; + this.plan.update((plan) => (plan ? { ...plan, digest: '' } : null)); + clearTimeout(this.timer); + if (this.csv && this.accountId) + this.timer = setTimeout(() => void this.loadPreview(), 250); + } + async readFile(event: Event) { + const file = (event.target as HTMLInputElement).files?.[0]; + if (!file) return; + clearTimeout(this.timer); + this.plan.set(null); + this.csv = ''; + this.symbols = {}; + this.links = {}; + this.excluded = []; + this.confirmed = false; + this.confirmPartial = false; + this.error.set(''); + this.busy.set(true); + try { + if (file.size > 2000000 || !file.name.toLowerCase().endsWith('.csv')) + throw Error(); + this.csv = new TextDecoder('utf-8', { fatal: true }).decode( + await file.arrayBuffer() + ); + } catch { + this.error.set(this.text.invalidFile); + } finally { + this.busy.set(false); + } + if (this.csv && this.accountId) this.choicesChanged(); + } + private payload(): BrokerImportInput { + return { + format: 'DIRECTA', + accountId: this.accountId, + csv: this.csv, + symbols: this.symbols, + links: this.links, + excluded: this.excluded, + useOperationDate: this.useOperationDate, + confirmPartial: this.confirmPartial + }; + } + async loadPreview() { + if (this.busy() || !this.csv || !this.accountId) return; + clearTimeout(this.timer); + this.busy.set(true); + this.confirmed = false; + this.plan.update((plan) => (plan ? { ...plan, digest: '' } : null)); + this.error.set(''); + try { + const plan = await firstValueFrom( + this.http + .post( + '/api/v1/import/broker/preview', + this.payload() + ) + .pipe(takeUntilDestroyed(this.destroy)) + ); + if (this.alive) this.plan.set(plan); + } catch (error) { + if (this.alive) this.showError(error); + } finally { + if (this.alive) this.busy.set(false); + } + } + async commit() { + const plan = this.plan(); + if ( + this.busy() || + !this.confirmed || + !plan?.digest || + plan.errors.length || + !plan.summary.importable + ) + return; + this.busy.set(true); + this.committing.set(true); + try { + await firstValueFrom( + this.http.post('/api/v1/import/broker', { + ...this.payload(), + digest: plan.digest + }) + ); + await firstValueFrom(this.user.get(true)).catch(() => undefined); + this.dialog.close(true); + } catch (error) { + this.confirmed = false; + this.plan.update((plan) => (plan ? { ...plan, digest: '' } : null)); + this.showError(error); + } finally { + this.busy.set(false); + this.committing.set(false); + } + } + private showError(error: unknown) { + this.error.set( + error instanceof HttpErrorResponse && error.status === 409 + ? this.text.previewAgain + : error instanceof HttpErrorResponse && error.status === 403 + ? this.text.permission + : error instanceof HttpErrorResponse && error.status === 400 + ? this.text.formatError + : this.text.loadError + ); + } + diagnostic(code: BrokerDiagnosticCode) { + return this.text[code]; + } + rowStatus(status: string) { + return ( + ( + { + IMPORTABLE: this.text.ready, + BLOCKED: this.text.blocked, + UNSUPPORTED: this.text.unsupported, + EXCLUDED: this.text.excluded, + DUPLICATE: this.text.existing + } as Record + )[status] ?? this.text.blocked + ); + } + resolutionStatus(status: string) { + return status === 'AUTOMATIC' + ? this.text.automatic + : status === 'CONFIRMED' + ? this.text.confirmed + : status === 'CONFIRMATION_REQUIRED' + ? this.text.choose + : this.text.unresolved; + } + operationType(kind: string) { + return ( + ( + { + BUY: this.text.buy, + SELL: this.text.sell, + DIVIDEND: this.text.dividend, + FEE: this.text.fee, + TAX: this.text.tax, + EXPENSE: this.text.expense + } as Record + )[kind] ?? this.text.unsupported + ); + } + excludeUnsupported() { + this.excluded = [ + ...new Set([ + ...this.excluded, + ...(this.plan() + ?.operations.filter((op) => op.status === 'UNSUPPORTED') + .map((op) => op.id) ?? []) + ]) + ]; + this.confirmPartial = false; + this.choicesChanged(); + } + includeOperation(id: string, include: boolean) { + this.excluded = include + ? this.excluded.filter((value) => value !== id) + : [...new Set([...this.excluded, id])]; + this.confirmPartial = false; + this.choicesChanged(); + } + usesOtherCurrency() { + return ( + this.plan()?.instruments.some((instrument) => + instrument.candidates.some( + (candidate) => + candidate.key === instrument.selected && + candidate.currency !== 'EUR' + ) + ) ?? false + ); + } + hasDividends() { + return ( + this.plan()?.operations.some( + (op) => op.kind === 'DIVIDEND' && op.status === 'IMPORTABLE' + ) ?? false + ); + } + filteredRows() { + return ( + this.plan()?.rows.filter( + (row) => this.statusFilter === 'ALL' || row.status === this.statusFilter + ) ?? [] + ); + } + pendingCosts() { + return this.plan()?.costAssociations.filter((cost) => !cost.targetId) ?? []; + } + diagnosticGroups() { + const groups = new Map(); + for (const op of this.plan()?.operations ?? []) + if (op.status !== 'EXCLUDED' && op.status !== 'DUPLICATE') + for (const code of op.diagnostics) + groups.set(code, [...(groups.get(code) ?? []), ...op.lines]); + return [...groups].map(([code, lines]) => ({ + code, + lines: [...new Set(lines)] + })); + } +} diff --git a/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.html b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.html new file mode 100644 index 0000000000..544458e4d9 --- /dev/null +++ b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.html @@ -0,0 +1,350 @@ +

{{ text.fromDirecta }}

+ +

{{ text.instructions }}

+

{{ text.limitations }}

+
+ {{ text.destination }} + @for (account of accounts(); track account.id) { + {{ account.name || account.id }} · + {{ account.currency }} + } + +
+ {{ text.datePolicy }} +

+ + @if (busy()) { + {{ text.checking }} + } +

+ @if (error()) { + + } + @if (plan(); as preview) { +
+

{{ text.summary }}

+ @if (preview.summary.unsupported) { + + } +

+ {{ text.rows }}: {{ preview.rowsRead }} · {{ text.recognized }}: + {{ preview.summary.recognized }} · {{ text.ready }}: + {{ preview.summary.importable }} · {{ text.existing }}: + {{ preview.duplicates }} · {{ text.blocked }}: + {{ preview.summary.blocked }} · {{ text.unsupported }}: + {{ preview.summary.unsupported }} · {{ text.excluded }}: + {{ preview.summary.excluded }} +

+ @for (code of preview.errors; track code) { + @if ( + [ + 'DATE_POLICY', + 'PARTIAL_REQUIRED', + 'LIMIT', + 'PROVIDER_UNAVAILABLE', + 'CHANGED_IMPORT' + ].includes(code) + ) { +

{{ diagnostic(code) }}

+ } + } + @for (item of diagnosticGroups(); track item.code) { +

+ {{ diagnostic(item.code) }} · {{ text.rows }}: + {{ item.lines.join(', ') }} +

+ } +
+
+

{{ text.instruments }}

+ @if (usesOtherCurrency()) { +

{{ text.VALUATION_CURRENCY }}

+ } +

+ {{ text.automatic }}: {{ preview.summary.automatic }} · + {{ text.confirmed }}: {{ preview.summary.confirmed }} · + {{ text.choose }}: {{ preview.summary.needsConfirmation }} · + {{ text.unresolved }}: {{ preview.summary.unresolvable }} +

+ @for (instrument of preview.instruments; track instrument.isin) { +
+ {{ instrument.name || instrument.isin }} +

+ ISIN {{ instrument.isin }} · {{ text.affected }}: + {{ instrument.affectedOperations }} · + {{ resolutionStatus(instrument.status) }} +

+ @if (instrument.reason === 'PROVIDER_UNAVAILABLE') { +

{{ text.PROVIDER_UNAVAILABLE }}

+ } + @if (instrument.candidates.length) { + {{ text.listing }} + @for (candidate of instrument.candidates; track candidate.key) { + {{ candidate.symbol }} · {{ candidate.exchange }} · + {{ candidate.currency }} + } + +
+ + + + + + + + + + + @for ( + candidate of instrument.candidates; + track candidate.key + ) { + + + + + + + } + +
{{ text.listing }}{{ text.market }}{{ text.currency }}{{ text.verification }}
{{ candidate.symbol }}{{ candidate.exchange }}{{ candidate.currency }}{{ candidate.sources.join(' · ') }}
+
+ } @else { +

{{ text.INSTRUMENT_UNRESOLVED }}

+ } +
+ } +
+
+

{{ text.costs }}

+ @if (hasDividends()) { +

{{ text.DIVIDEND_QUANTITY }}

+ } + @for (cost of pendingCosts(); track cost.sourceId) { +

+ {{ text.rows }} {{ cost.line }} · {{ resolutionStatus(cost.status) }} +

+ @if (cost.candidates.length) { + {{ text.action }} + @for (candidate of cost.candidates; track candidate.id) { + {{ text.rows }} {{ candidate.line }} · {{ candidate.date }} · + {{ candidate.isin }} · {{ candidate.gross }} + } + + } + } +
+ + + + + + + + + + + + + + + + + @for (op of preview.operations; track op.id) { + + + + + + + + + + + + + } + +
{{ text.include }}{{ text.rows }}{{ text.date }}{{ text.type }}ISIN{{ text.gross }}{{ text.fee }}{{ text.tax }}{{ text.net }}{{ text.status }}
+ + {{ op.lines.join(', ') }}{{ op.date }}{{ operationType(op.kind) }}{{ op.isin }}{{ op.gross }}{{ op.fee }}{{ op.tax }}{{ op.net }}{{ rowStatus(op.status) }}
+
+
+
+

{{ text.coverage }}

+
+ + + + + + + + + + + + + @for (total of preview.reconciliation; track total.currency) { + + + + + + + + + } + +
{{ text.currency }}{{ text.source }}{{ text.planned }}{{ text.existing }}{{ text.excluded }}{{ text.difference }}
{{ total.currency }}{{ total.source }}{{ total.imported }}{{ total.duplicates }}{{ total.excluded }}{{ total.unresolved }}
+
+
+
+
+ {{ text.details }} + {{ text.status }}{{ text.all }} + @for ( + status of [ + 'IMPORTABLE', + 'BLOCKED', + 'UNSUPPORTED', + 'EXCLUDED', + 'DUPLICATE' + ]; + track status + ) { + {{ rowStatus(status) }} + } + +
+ + + + + + + + + + + + + @for (row of filteredRows(); track row.line) { + + + + + + + + + } + +
{{ text.rows }}{{ text.date }}ISIN{{ text.type }}{{ text.source }}{{ text.status }}
{{ row.line }}{{ row.operationDate }} / {{ row.valueDate }}{{ row.isin }}{{ row.sourceType }}{{ row.amount }} {{ row.currency }}{{ rowStatus(row.status) }}
+
+
+
+ } +
+
+ @if (plan()?.summary?.excluded) { + {{ text.partial }} + } + @if (plan()) { + {{ text.confirm }} + } +
+
diff --git a/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.scss b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.scss new file mode 100644 index 0000000000..af099011c2 --- /dev/null +++ b/apps/client/src/app/components/broker-import-dialog/broker-import-dialog.scss @@ -0,0 +1,78 @@ +:host { + display: block; +} +section { + margin-top: 1.5rem; + padding-top: 1rem; + border-top: 1px solid #8884; +} +table { + width: 100%; + border-collapse: collapse; +} +td, +th { + padding: 0.6rem; + text-align: left; + vertical-align: top; + border-bottom: 1px solid #8884; +} +th { + white-space: nowrap; +} +.table-wrap { + overflow-x: auto; +} +mat-form-field { + width: 100%; +} +.source-controls, +.filter-controls { + display: flex; + gap: 1rem; + align-items: center; + flex-wrap: wrap; +} +.source-controls > * { + flex: 1 1 16rem; +} +.filter-controls > mat-form-field { + flex: 1 1 10rem; +} +.preview-action { + display: flex; + align-items: center; + gap: 1rem; + margin: 1rem 0; +} +.summary-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); + gap: 0.75rem; + margin-bottom: 1rem; +} +.summary-grid > div { + padding: 0.75rem; + border: 1px solid #8884; + border-radius: 0.4rem; +} +.summary-grid strong { + display: block; + font-size: 1.4rem; +} +.instrument-card { + padding: 1rem 0; + border-bottom: 1px solid #8884; +} +.confirmation-controls { + width: 100%; + padding: 0.5rem 0; +} +details > summary { + cursor: pointer; + font-weight: 500; + margin: 0.75rem 0; +} +mat-dialog-actions { + background: var(--mat-dialog-container-color, inherit); +} diff --git a/apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts b/apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts new file mode 100644 index 0000000000..dafec7b3b0 --- /dev/null +++ b/apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts @@ -0,0 +1,76 @@ +export const BROKER_IMPORT_TEXT = { + excludeUnsupported: $localize`:@@brokerUpstream_excludeUnsupported:Exclude unsupported groups`, + VALUATION_CURRENCY: $localize`:@@broker2_VALUATION_CURRENCY:The chosen listing has another currency. Activity amounts retain the source currency.`, + formatError: $localize`:@@brokerUpstream_formatError:Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers.`, + summary: $localize`:@@broker2_summary:Import summary`, + instruments: $localize`:@@broker2_instruments:Instruments`, + costs: $localize`:@@broker2_costs:Tax and commission matching`, + details: $localize`:@@broker2_details:Source rows and diagnostics`, + rows: $localize`:@@broker2_rows:Source rows`, + recognized: $localize`:@@broker2_recognized:Recognized`, + ready: $localize`:@@broker2_ready:Ready to import`, + existing: $localize`:@@broker2_existing:Already present`, + blocked: $localize`:@@broker2_blocked:Blocked`, + excluded: $localize`:@@broker2_excluded:Excluded`, + name: $localize`:@@broker2_name:Instrument`, + listing: $localize`:@@broker2_listing:Listing`, + market: $localize`:@@broker2_market:Market`, + currency: $localize`:@@broker2_currency:Currency`, + verification: $localize`:@@broker2_verification:Verification`, + affected: $localize`:@@broker2_affected:Affected operations`, + action: $localize`:@@broker2_action:Action`, + automatic: $localize`:@@broker2_automatic:Automatic`, + confirmed: $localize`:@@broker2_confirmed:Resolved with confirmation`, + choose: $localize`:@@broker2_choose:Needs confirmation`, + unresolved: $localize`:@@broker2_unresolved:Unresolvable`, + source: $localize`:@@broker2_source:Source`, + planned: $localize`:@@broker2_planned:To import`, + difference: $localize`:@@broker2_difference:Unreconciled`, + date: $localize`:@@broker2_date:Date`, + type: $localize`:@@broker2_type:Type`, + gross: $localize`:@@broker2_gross:Gross`, + fee: $localize`:@@broker2_fee:Fee`, + tax: $localize`:@@broker2_tax:Tax`, + net: $localize`:@@broker2_net:Net cash`, + include: $localize`:@@broker2_include:Include`, + all: $localize`:@@broker2_all:All`, + status: $localize`:@@broker2_status:Status`, + preview: $localize`:@@broker2_preview:Refresh preview`, + checking: $localize`:@@brokerUpstream_checking:Verifying listings and checking the import…`, + cancel: $localize`:@@broker2_cancel:Cancel`, + import: $localize`:@@broker2_import:Import Data`, + file: $localize`:@@broker2_file:Select a Directa CSV`, + destination: $localize`:@@broker2_destination:Destination account`, + buy: $localize`:@@broker2_buy:Buy`, + sell: $localize`:@@broker2_sell:Sell`, + dividend: $localize`:@@broker2_dividend:Dividend`, + expense: $localize`:@@broker2_expense:Expense`, + loadError: $localize`:@@broker2_loadError:Unable to load the preview. Check the file and try again.`, + previewAgain: $localize`:@@broker2_previewAgain:The choices or destination changed. Refresh the preview.`, + permission: $localize`:@@broker2_permission:Import from your own unrestricted profile with account and activity permissions.`, + invalidFile: $localize`:@@broker2_invalidFile:Choose a valid UTF-8 Directa CSV under 2 MB.`, + COST_ASSOCIATION: $localize`:@@broker2_COST_ASSOCIATION:Choose a compatible activity for this cost. A date alone is not sufficient.`, + INVALID_SOURCE: $localize`:@@broker2_INVALID_SOURCE:Check the source value, sign, date or identity in these rows.`, + CHANGED_IMPORT: $localize`:@@broker2_CHANGED_IMPORT:Previously imported data changed. Reconcile the existing records.`, + EXISTING_RECORD: $localize`:@@broker2_EXISTING_RECORD:A similar or previously imported record needs manual review.`, + INSTRUMENT_UNRESOLVED: $localize`:@@broker2_INSTRUMENT_UNRESOLVED:No reliable listing match was found for this ISIN. It remains blocked.`, + INSTRUMENT_CHOICE: $localize`:@@broker2_INSTRUMENT_CHOICE:Choose one of the verified listings below.`, + PROVIDER_UNAVAILABLE: $localize`:@@broker2_PROVIDER_UNAVAILABLE:A data source is unavailable. Retry, or choose a listing already verified.`, + PROFILE_CONFLICT: $localize`:@@broker2_PROFILE_CONFLICT:The saved instrument conflicts with verified listing data.`, + DIVIDEND_QUANTITY: $localize`:@@broker2_DIVIDEND_QUANTITY:Dividends use one income unit because the source has no share quantity.`, + instructions: $localize`:@@brokerUpstream_instructions:Choose a Directa CSV and a destination account. Account balances are not changed.`, + datePolicy: $localize`:@@brokerUpstream_datePolicy:Use the operation date for activities and retain settlement dates in source details.`, + coverage: $localize`:@@brokerUpstream_coverage:Source amount coverage`, + confirm: $localize`:@@brokerUpstream_confirm:I reviewed the selected activities, omissions and instrument choices.`, + partial: $localize`:@@brokerUpstream_partial:I explicitly accept importing only the selected groups; excluded movements will not be imported.`, + unsupported: $localize`:@@brokerUpstream_unsupported:Unsupported`, + limitations: $localize`:@@brokerUpstream_limitations:Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs.`, + TAX_UNSUPPORTED: $localize`:@@brokerUpstream_TAX_UNSUPPORTED:Taxes cannot be represented faithfully. Exclude this complete activity group.`, + UNSUPPORTED: $localize`:@@brokerUpstream_UNSUPPORTED:This movement is unsupported. Review it and explicitly exclude its complete group.`, + PARTIAL_REQUIRED: $localize`:@@brokerUpstream_PARTIAL_REQUIRED:Confirm the partial import and review all excluded groups.`, + DATE_POLICY: $localize`:@@brokerUpstream_DATE_POLICY:Accept the operation-date policy before importing.`, + LIMIT: $localize`:@@brokerUpstream_LIMIT:The selected activities exceed your import limit.`, + sourceMenu: $localize`:@@brokerUpstream_sourceMenu:Choose import source`, + fromGhostfolio: $localize`:@@brokerUpstream_fromGhostfolio:Import from Ghostfolio`, + fromDirecta: $localize`:@@brokerUpstream_fromDirecta:Import from Directa` +}; diff --git a/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts b/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts index 2c442f0403..62af573470 100644 --- a/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts +++ b/apps/client/src/app/pages/portfolio/activities/activities-page.component.ts @@ -1,3 +1,4 @@ +import { GfBrokerImportDialogComponent } from '@ghostfolio/client/components/broker-import-dialog/broker-import-dialog.component'; import { IcsService } from '@ghostfolio/client/services/ics/ics.service'; import { ImpersonationStorageService } from '@ghostfolio/client/services/impersonation-storage.service'; import { UserService } from '@ghostfolio/client/services/user/user.service'; @@ -217,6 +218,26 @@ export class GfActivitiesPageComponent implements OnInit { }); } + protected onImportBroker(format: string) { + if ( + !this.hasPermissionToImportActivities || + this.user.settings.isRestrictedView || + format !== 'DIRECTA' + ) + return; + this.dialog + .open(GfBrokerImportDialogComponent, { + width: this.deviceType === 'mobile' ? '100vw' : '75rem', + maxWidth: '98vw', + height: '95dvh' + }) + .afterClosed() + .pipe(takeUntilDestroyed(this.destroyRef)) + .subscribe((imported) => { + if (imported) this.fetchActivities(); + }); + } + protected onImport() { const dialogRef = this.dialog.open< GfImportActivitiesDialogComponent, diff --git a/apps/client/src/app/pages/portfolio/activities/activities-page.html b/apps/client/src/app/pages/portfolio/activities/activities-page.html index 2b89ee8b20..f667282d8b 100644 --- a/apps/client/src/app/pages/portfolio/activities/activities-page.html +++ b/apps/client/src/app/pages/portfolio/activities/activities-page.html @@ -32,6 +32,7 @@ (export)="onExport()" (exportDrafts)="onExportDrafts($event)" (import)="onImport()" + (importBroker)="onImportBroker($event)" (importDividends)="onImportDividends()" (pageChanged)="onChangePage($event)" (sortChanged)="onSortChanged($event)" diff --git a/apps/client/src/locales/messages.ca.xlf b/apps/client/src/locales/messages.ca.xlf index 4df395e687..8fd95589b9 100644 --- a/apps/client/src/locales/messages.ca.xlf +++ b/apps/client/src/locales/messages.ca.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + Resum de la importació + + + Instruments + Instruments + + + Tax and commission matching + Associació d’impostos i comissions + + + Source rows and diagnostics + Files originals i diagnòstic + + + Source rows + Files originals + + + Recognized + Reconegudes + + + Ready to import + A punt per importar + + + Already present + Already present + + + Blocked + Bloquejades + + + Excluded + Excloses + + + Instrument + Instrument + + + Listing + Cotització + + + Market + Mercat + + + Currency + Divisa + + + Verification + Verificació + + + Affected operations + Operacions afectades + + + Action + Acció + + + Automatic + Automàtic + + + Resolved with confirmation + Resolt amb confirmació + + + Needs confirmation + Cal confirmació + + + Unresolvable + No resoluble + + + Source + Origen + + + To import + Per importar + + + Unreconciled + Sense conciliar + + + Date + Data + + + Type + Tipus + + + Gross + Brut + + + Fee + Comissió + + + Tax + Tax + + + Net cash + Efectiu net + + + Include + Inclou + + + All + Tots + + + Status + Estat + + + Refresh preview + Actualitza la previsualització + + + Verifying listings and checking the import… + Verificant cotitzacions i importació… + + + Cancel + Cancel·la + + + Import Data + Importa dades + + + Select a Directa CSV + Selecciona un CSV Directa + + + Destination account + Destination account + + + Buy + Comprar + + + Sell + Vendre + + + Dividend + Dividend + + + Expense + Despesa + + + Unable to load the preview. Check the file and try again. + No s’ha pogut carregar la previsualització. Revisa el fitxer i torna-ho a provar. + + + The choices or destination changed. Refresh the preview. + Les opcions o la destinació han canviat. Actualitza la previsualització. + + + Import from your own unrestricted profile with account and activity permissions. + Importa des del teu perfil sense restriccions amb permisos de comptes i operacions. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Tria un CSV Directa UTF-8 vàlid de menys de 2 MB. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Tria una operació compatible amb aquest cost. La data sola no és suficient. + + + Check the source value, sign, date or identity in these rows. + Revisa l’import, signe, data o identificador d’aquestes files. + + + Previously imported data changed. Reconcile the existing records. + Les dades ja importades han canviat. Concilia els registres existents. + + + A similar or previously imported record needs manual review. + Un registre semblant o ja importat requereix revisió manual. + + + No reliable listing match was found for this ISIN. It remains blocked. + No s’ha trobat una cotització fiable per a aquest ISIN. L’instrument continua bloquejat. + + + Choose one of the verified listings below. + Tria una de les cotitzacions verificades a continuació. + + + A data source is unavailable. Retry, or choose a listing already verified. + Una font de dades no està disponible. Torna-ho a provar o tria una cotització ja verificada. + + + The saved instrument conflicts with verified listing data. + L’instrument desat contradiu les dades verificades de la cotització. + + + Dividends use one income unit because the source has no share quantity. + Els dividends usen una unitat d’ingrés perquè el fitxer no indica el nombre de participacions. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Tria un CSV de Directa i un compte de destinació. Els saldos del compte no es modifiquen. + + + Use the operation date for activities and retain settlement dates in source details. + Utilitza la data d’operació per a les activitats i conserva les dates valor als detalls originals. + + + Source amount coverage + Cobertura dels imports originals + + + I reviewed the selected activities, omissions and instrument choices. + He revisat les activitats seleccionades, les omissions i la selecció d’instruments. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Accepto explícitament importar només els grups seleccionats; els moviments exclosos no s’importaran. + + + Unsupported + No compatible + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Aquest importador no pot representar impostos ni transferències d’efectiu. Exclou cada activitat subjecta a impostos juntament amb tots els seus costos. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Els impostos no es poden representar fidelment. Exclou aquest grup complet d’operacions. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Aquest moviment no és compatible. Revisa’l i exclou explícitament el seu grup complet. + + + Confirm the partial import and review all excluded groups. + Confirma la importació parcial i revisa tots els grups exclosos. + + + Accept the operation-date policy before importing. + Accepta l’ús de la data d’operació abans d’importar. + + + The selected activities exceed your import limit. + Les activitats seleccionades superen el teu límit d’importació. + + + Choose import source + Tria la font d’importació + + + Import from Ghostfolio + Importa des de Ghostfolio + + + Import from Directa + Importa des de Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Comprova l’exportació Movimenti de Directa: conserva les 12 columnes originals, dates vàlides i nombres en format italià. + + + The chosen listing has another currency. Activity amounts retain the source currency. + La cotització triada usa una altra divisa. Els imports de les operacions conserven la divisa original. + + + Exclude unsupported groups + Exclou els grups no compatibles + diff --git a/apps/client/src/locales/messages.de.xlf b/apps/client/src/locales/messages.de.xlf index 0363827c8a..4c35e3eb6f 100644 --- a/apps/client/src/locales/messages.de.xlf +++ b/apps/client/src/locales/messages.de.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + Zusammenfassung des Imports + + + Instruments + Wertpapiere + + + Tax and commission matching + Zuordnung von Steuern und Gebühren + + + Source rows and diagnostics + Quellzeilen und Hinweise + + + Source rows + Quellzeilen + + + Recognized + Erkannt + + + Ready to import + Importierbar + + + Already present + Already present + + + Blocked + Gesperrt + + + Excluded + Ausgeschlossen + + + Instrument + Wertpapier + + + Listing + Notierung + + + Market + Börse + + + Currency + Währung + + + Verification + Prüfung + + + Affected operations + Betroffene Vorgänge + + + Action + Aktion + + + Automatic + Automatisch + + + Resolved with confirmation + Mit Bestätigung gelöst + + + Needs confirmation + Bestätigung erforderlich + + + Unresolvable + Nicht lösbar + + + Source + Quelle + + + To import + Zu importieren + + + Unreconciled + Nicht abgestimmt + + + Date + Datum + + + Type + Typ + + + Gross + Brutto + + + Fee + Gebühr + + + Tax + Tax + + + Net cash + Nettogeldfluss + + + Include + Einbeziehen + + + All + Alle + + + Status + Status + + + Refresh preview + Vorschau aktualisieren + + + Verifying listings and checking the import… + Notierungen und Import werden geprüft… + + + Cancel + Abbrechen + + + Import Data + Daten importieren + + + Select a Directa CSV + Directa-CSV auswählen + + + Destination account + Destination account + + + Buy + Kauf + + + Sell + Verkauf + + + Dividend + Dividenden + + + Expense + Ausgabe + + + Unable to load the preview. Check the file and try again. + Die Vorschau konnte nicht geladen werden. Prüfen Sie die Datei und versuchen Sie es erneut. + + + The choices or destination changed. Refresh the preview. + Die Auswahl oder das Zielkonto wurde geändert. Aktualisieren Sie die Vorschau. + + + Import from your own unrestricted profile with account and activity permissions. + Importieren Sie aus Ihrem eigenen uneingeschränkten Profil mit Konto- und Vorgangsberechtigungen. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Wählen Sie eine gültige Directa-CSV in UTF-8 mit weniger als 2 MB. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Wählen Sie einen passenden Vorgang für diese Kosten. Das Datum allein reicht nicht aus. + + + Check the source value, sign, date or identity in these rows. + Prüfen Sie Betrag, Vorzeichen, Datum oder Kennung dieser Zeilen. + + + Previously imported data changed. Reconcile the existing records. + Bereits importierte Daten haben sich geändert. Gleichen Sie vorhandene Datensätze ab. + + + A similar or previously imported record needs manual review. + Ein ähnlicher oder bereits importierter Datensatz muss manuell geprüft werden. + + + No reliable listing match was found for this ISIN. It remains blocked. + Für diese ISIN wurde keine verlässliche Notierung gefunden. Der Import bleibt gesperrt. + + + Choose one of the verified listings below. + Wählen Sie unten eine geprüfte Notierung. + + + A data source is unavailable. Retry, or choose a listing already verified. + Eine Datenquelle ist nicht verfügbar. Versuchen Sie es erneut oder wählen Sie eine bereits geprüfte Notierung. + + + The saved instrument conflicts with verified listing data. + Das gespeicherte Wertpapier widerspricht den geprüften Notierungsdaten. + + + Dividends use one income unit because the source has no share quantity. + Dividenden verwenden eine Ertragseinheit, da die Quelle keine Stückzahl enthält. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Wählen Sie eine Directa-CSV und ein Zielkonto. Kontostände werden nicht geändert. + + + Use the operation date for activities and retain settlement dates in source details. + Verwenden Sie das Transaktionsdatum für Vorgänge und behalten Sie die Wertstellung in den Quelldetails. + + + Source amount coverage + Abdeckung der Quellbeträge + + + I reviewed the selected activities, omissions and instrument choices. + Ich habe die ausgewählten Vorgänge, Auslassungen und Wertpapierauswahl geprüft. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Ich akzeptiere ausdrücklich den Import nur der ausgewählten Gruppen; ausgeschlossene Bewegungen werden nicht importiert. + + + Unsupported + Nicht unterstützt + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Dieser Importer kann Steuern und Geldübertragungen nicht abbilden. Schließen Sie einen besteuerten Vorgang mit allen zugehörigen Kosten aus. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Steuern können nicht korrekt abgebildet werden. Schließen Sie diese vollständige Vorgangsgruppe aus. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Diese Bewegung wird nicht unterstützt. Prüfen Sie sie und schließen Sie ihre vollständige Gruppe ausdrücklich aus. + + + Confirm the partial import and review all excluded groups. + Bestätigen Sie den Teilimport und prüfen Sie alle ausgeschlossenen Gruppen. + + + Accept the operation-date policy before importing. + Akzeptieren Sie vor dem Import das Transaktionsdatum. + + + The selected activities exceed your import limit. + Die ausgewählten Vorgänge überschreiten Ihr Importlimit. + + + Choose import source + Importquelle auswählen + + + Import from Ghostfolio + Aus Ghostfolio importieren + + + Import from Directa + Aus Directa importieren + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Prüfen Sie den Directa-Movimenti-Export: alle 12 Originalspalten, gültige Datumsangaben und Zahlen im italienischen Format sind erforderlich. + + + The chosen listing has another currency. Activity amounts retain the source currency. + Die gewählte Notierung hat eine andere Währung. Vorgangsbeträge behalten die Quellwährung. + + + Exclude unsupported groups + Nicht unterstützte Gruppen ausschließen + diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlf index 6d74337569..d8c5f50c03 100644 --- a/apps/client/src/locales/messages.es.xlf +++ b/apps/client/src/locales/messages.es.xlf @@ -9884,6 +9884,302 @@ 170 + + Import summary + Resumen de la importación + + + Instruments + Instrumentos + + + Tax and commission matching + Asociación de impuestos y comisiones + + + Source rows and diagnostics + Filas originales y diagnóstico + + + Source rows + Filas originales + + + Recognized + Reconocidas + + + Ready to import + Listas para importar + + + Already present + Already present + + + Blocked + Bloqueadas + + + Excluded + Excluidas + + + Instrument + Instrumento + + + Listing + Cotización + + + Market + Mercado + + + Currency + Divisa + + + Verification + Verificación + + + Affected operations + Operaciones afectadas + + + Action + Acción + + + Automatic + Automático + + + Resolved with confirmation + Resuelto con confirmación + + + Needs confirmation + Requiere confirmación + + + Unresolvable + No resoluble + + + Source + Origen + + + To import + Por importar + + + Unreconciled + Sin conciliar + + + Date + Fecha + + + Type + Tipo + + + Gross + Bruto + + + Fee + Comisión + + + Tax + Tax + + + Net cash + Efectivo neto + + + Include + Incluir + + + All + Todos + + + Status + Estado + + + Refresh preview + Actualizar vista previa + + + Verifying listings and checking the import… + Verificando cotizaciones e importación… + + + Cancel + Cancelar + + + Import Data + Importar datos + + + Select a Directa CSV + Seleccionar un CSV de Directa + + + Destination account + Destination account + + + Buy + Compra + + + Sell + Venta + + + Dividend + Dividendo + + + Expense + Gasto + + + Unable to load the preview. Check the file and try again. + No se pudo cargar la vista previa. Revisa el archivo e inténtalo de nuevo. + + + The choices or destination changed. Refresh the preview. + Las opciones o el destino han cambiado. Actualiza la vista previa. + + + Import from your own unrestricted profile with account and activity permissions. + Importa desde tu propio perfil sin restricciones con permisos de cuentas y operaciones. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Elige un CSV Directa UTF-8 válido de menos de 2 MB. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Elige una operación compatible con este coste. La fecha por sí sola no basta. + + + Check the source value, sign, date or identity in these rows. + Revisa el importe, signo, fecha o identificador de estas filas. + + + Previously imported data changed. Reconcile the existing records. + Los datos ya importados han cambiado. Concilia los registros existentes. + + + A similar or previously imported record needs manual review. + Un registro similar o ya importado requiere una revisión manual. + + + No reliable listing match was found for this ISIN. It remains blocked. + No se ha encontrado una cotización fiable para este ISIN. El instrumento sigue bloqueado. + + + Choose one of the verified listings below. + Elige una de las cotizaciones verificadas a continuación. + + + A data source is unavailable. Retry, or choose a listing already verified. + Una fuente de datos no está disponible. Reintenta o elige una cotización ya verificada. + + + The saved instrument conflicts with verified listing data. + El instrumento guardado contradice los datos verificados de la cotización. + + + Dividends use one income unit because the source has no share quantity. + Los dividendos usan una unidad de ingreso porque el archivo no indica el número de participaciones. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Elige un CSV de Directa y una cuenta de destino. Los saldos de la cuenta no se modifican. + + + Use the operation date for activities and retain settlement dates in source details. + Usa la fecha de operación para las actividades y conserva las fechas valor en los detalles originales. + + + Source amount coverage + Cobertura de los importes originales + + + I reviewed the selected activities, omissions and instrument choices. + He revisado las actividades seleccionadas, las omisiones y la selección de instrumentos. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Acepto expresamente importar solo los grupos seleccionados; los movimientos excluidos no se importarán. + + + Unsupported + No compatible + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Este importador no puede representar impuestos ni transferencias de efectivo. Excluye cada actividad sujeta a impuestos junto con todos sus costes. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Los impuestos no pueden representarse fielmente. Excluye este grupo completo de operaciones. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Este movimiento no es compatible. Revísalo y excluye expresamente su grupo completo. + + + Confirm the partial import and review all excluded groups. + Confirma la importación parcial y revisa todos los grupos excluidos. + + + Accept the operation-date policy before importing. + Acepta el uso de la fecha de operación antes de importar. + + + The selected activities exceed your import limit. + Las actividades seleccionadas superan tu límite de importación. + + + Choose import source + Elegir fuente de importación + + + Import from Ghostfolio + Importar desde Ghostfolio + + + Import from Directa + Importar desde Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Comprueba el archivo Movimenti de Directa: conserva las 12 columnas originales, fechas válidas y números con formato italiano. + + + The chosen listing has another currency. Activity amounts retain the source currency. + La cotización elegida usa otra divisa. Los importes de las operaciones conservan la divisa original. + + + Exclude unsupported groups + Excluir los grupos no compatibles + diff --git a/apps/client/src/locales/messages.fr.xlf b/apps/client/src/locales/messages.fr.xlf index 1a8e389be3..12ea4ac2ed 100644 --- a/apps/client/src/locales/messages.fr.xlf +++ b/apps/client/src/locales/messages.fr.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + Résumé de l'importation + + + Instruments + Instruments + + + Tax and commission matching + Association des taxes et commissions + + + Source rows and diagnostics + Lignes source et diagnostic + + + Source rows + Lignes source + + + Recognized + Reconnues + + + Ready to import + Prêtes à importer + + + Already present + Already present + + + Blocked + Bloquées + + + Excluded + Exclues + + + Instrument + Instrument + + + Listing + Cotation + + + Market + Marché + + + Currency + Devise + + + Verification + Vérification + + + Affected operations + Opérations concernées + + + Action + Action + + + Automatic + Automatique + + + Resolved with confirmation + Résolu avec confirmation + + + Needs confirmation + À confirmer + + + Unresolvable + Non résolu + + + Source + Source + + + To import + À importer + + + Unreconciled + Non rapproché + + + Date + Date + + + Type + Type + + + Gross + Brut + + + Fee + Frais + + + Tax + Tax + + + Net cash + Liquidités nettes + + + Include + Inclure + + + All + Tous + + + Status + Statut + + + Refresh preview + Actualiser l’aperçu + + + Verifying listings and checking the import… + Vérification des cotations et de l’importation… + + + Cancel + Annuler + + + Import Data + Importer des données + + + Select a Directa CSV + Sélectionner un CSV Directa + + + Destination account + Destination account + + + Buy + Achat + + + Sell + Vente + + + Dividend + Dividende + + + Expense + Dépense + + + Unable to load the preview. Check the file and try again. + Impossible de charger l’aperçu. Vérifiez le fichier et réessayez. + + + The choices or destination changed. Refresh the preview. + Les choix ou la destination ont changé. Actualisez l’aperçu. + + + Import from your own unrestricted profile with account and activity permissions. + Importez depuis votre propre profil non restreint avec les droits sur les comptes et les opérations. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Choisissez un CSV Directa UTF-8 valide de moins de 2 Mo. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Choisissez une opération compatible avec ce coût. La date seule ne suffit pas. + + + Check the source value, sign, date or identity in these rows. + Vérifiez le montant, le signe, la date ou l’identifiant de ces lignes. + + + Previously imported data changed. Reconcile the existing records. + Les données déjà importées ont changé. Rapprochez les écritures existantes. + + + A similar or previously imported record needs manual review. + Une écriture similaire ou déjà importée nécessite une vérification manuelle. + + + No reliable listing match was found for this ISIN. It remains blocked. + Aucune cotation fiable n’a été trouvée pour cet ISIN. L’instrument reste bloqué. + + + Choose one of the verified listings below. + Choisissez une des cotations vérifiées ci-dessous. + + + A data source is unavailable. Retry, or choose a listing already verified. + Une source de données est indisponible. Réessayez ou choisissez une cotation déjà vérifiée. + + + The saved instrument conflicts with verified listing data. + L’instrument enregistré est incompatible avec les données de cotation vérifiées. + + + Dividends use one income unit because the source has no share quantity. + Les dividendes utilisent une unité de revenu car le fichier ne donne pas le nombre de parts. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Choisissez un CSV Directa et un compte de destination. Les soldes du compte ne sont pas modifiés. + + + Use the operation date for activities and retain settlement dates in source details. + Utilisez la date d’opération pour les activités et conservez les dates de valeur dans les détails source. + + + Source amount coverage + Couverture des montants source + + + I reviewed the selected activities, omissions and instrument choices. + J’ai vérifié les activités sélectionnées, les omissions et les choix d’instruments. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + J’accepte explicitement d’importer uniquement les groupes sélectionnés ; les mouvements exclus ne seront pas importés. + + + Unsupported + Non pris en charge + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Cet importateur ne peut pas représenter les impôts et les transferts de liquidités. Excluez une activité imposée avec tous ses frais. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Les impôts ne peuvent pas être représentés fidèlement. Excluez ce groupe complet d’opérations. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Ce mouvement n’est pas pris en charge. Vérifiez-le et excluez explicitement son groupe complet. + + + Confirm the partial import and review all excluded groups. + Confirmez l’importation partielle et vérifiez tous les groupes exclus. + + + Accept the operation-date policy before importing. + Acceptez l’utilisation de la date d’opération avant l’importation. + + + The selected activities exceed your import limit. + Les activités sélectionnées dépassent votre limite d’importation. + + + Choose import source + Choisir la source d’importation + + + Import from Ghostfolio + Importer depuis Ghostfolio + + + Import from Directa + Importer depuis Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Vérifiez l’export Movimenti de Directa : conservez les 12 colonnes originales, des dates valides et des nombres au format italien. + + + The chosen listing has another currency. Activity amounts retain the source currency. + La cotation choisie utilise une autre devise. Les montants des opérations conservent la devise source. + + + Exclude unsupported groups + Exclure les groupes non pris en charge + diff --git a/apps/client/src/locales/messages.it.xlf b/apps/client/src/locales/messages.it.xlf index a70448f7e8..6eff23b465 100644 --- a/apps/client/src/locales/messages.it.xlf +++ b/apps/client/src/locales/messages.it.xlf @@ -9884,6 +9884,302 @@ 170 + + Import summary + Riepilogo dell’importazione + + + Instruments + Strumenti + + + Tax and commission matching + Associazione di imposte e commissioni + + + Source rows and diagnostics + Righe originali e diagnostica + + + Source rows + Righe originali + + + Recognized + Riconosciute + + + Ready to import + Importabili + + + Already present + Già presente + + + Blocked + Bloccate + + + Excluded + Escluse + + + Instrument + Strumento + + + Listing + Quotazione + + + Market + Mercato + + + Currency + Valuta + + + Verification + Verifica + + + Affected operations + Operazioni interessate + + + Action + Azione + + + Automatic + Automatico + + + Resolved with confirmation + Risolto con conferma + + + Needs confirmation + Da confermare + + + Unresolvable + Non risolvibile + + + Source + Origine + + + To import + Da importare + + + Unreconciled + Non riconciliato + + + Date + Data + + + Type + Tipo + + + Gross + Lordo + + + Fee + Commissioni + + + Tax + Tasse + + + Net cash + Liquidità netta + + + Include + Includi + + + All + Tutti + + + Status + Stato + + + Refresh preview + Aggiorna anteprima + + + Verifying listings and checking the import… + Verifica delle quotazioni e dell’importazione… + + + Cancel + Annulla + + + Import Data + Importa dati + + + Select a Directa CSV + Seleziona un CSV Directa + + + Destination account + Conto di destinazione + + + Buy + Compra + + + Sell + Vendi + + + Dividend + Dividendi + + + Expense + Spesa + + + Unable to load the preview. Check the file and try again. + Impossibile caricare l’anteprima. Controlla il file e riprova. + + + The choices or destination changed. Refresh the preview. + Le scelte o il conto di destinazione sono cambiati. Aggiorna l’anteprima. + + + Import from your own unrestricted profile with account and activity permissions. + Importa dal tuo profilo non limitato, con i permessi per conti e attività. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Scegli un CSV Directa UTF-8 valido inferiore a 2 MB. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Scegli un’attività compatibile per questo costo. La sola data non basta. + + + Check the source value, sign, date or identity in these rows. + Controlla importo, segno, data o identificativo di queste righe. + + + Previously imported data changed. Reconcile the existing records. + I dati già importati sono cambiati. Riconcilia le registrazioni esistenti. + + + A similar or previously imported record needs manual review. + Una registrazione simile o già importata richiede una verifica manuale. + + + No reliable listing match was found for this ISIN. It remains blocked. + Non è stata trovata una corrispondenza affidabile per questo ISIN. Lo strumento resta bloccato. + + + Choose one of the verified listings below. + Scegli una delle quotazioni verificate qui sotto. + + + A data source is unavailable. Retry, or choose a listing already verified. + Una fonte dati non è disponibile. Riprova o scegli una quotazione già verificata. + + + The saved instrument conflicts with verified listing data. + Lo strumento salvato è in conflitto con i dati verificati della quotazione. + + + Dividends use one income unit because the source has no share quantity. + I dividendi usano un’unità di reddito perché il file non riporta il numero di quote. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Scegli un CSV Directa e un conto di destinazione. I saldi del conto non vengono modificati. + + + Use the operation date for activities and retain settlement dates in source details. + Usa la data operazione per le attività e conserva le date valuta nei dettagli originali. + + + Source amount coverage + Copertura degli importi originali + + + I reviewed the selected activities, omissions and instrument choices. + Ho verificato le attività selezionate, le esclusioni e le scelte degli strumenti. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Accetto esplicitamente di importare solo i gruppi selezionati; i movimenti esclusi non saranno importati. + + + Unsupported + Non supportato + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Questo importatore non può rappresentare imposte e trasferimenti di liquidità. Escludi ogni attività soggetta a imposte insieme a tutti i suoi costi. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Le imposte non possono essere rappresentate fedelmente. Escludi questo gruppo completo di operazioni. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Questo movimento non è supportato. Verificalo ed escludi esplicitamente il suo gruppo completo. + + + Confirm the partial import and review all excluded groups. + Conferma l’importazione parziale e verifica tutti i gruppi esclusi. + + + Accept the operation-date policy before importing. + Accetta l’uso della data operazione prima di importare. + + + The selected activities exceed your import limit. + Le attività selezionate superano il tuo limite di importazione. + + + Choose import source + Scegli la fonte di importazione + + + Import from Ghostfolio + Importa da Ghostfolio + + + Import from Directa + Importa da Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Controlla l’export Movimenti Directa: conserva tutte le 12 colonne originali, date valide e numeri in formato italiano. + + + The chosen listing has another currency. Activity amounts retain the source currency. + La quotazione scelta usa un’altra valuta. Gli importi delle attività mantengono la valuta originale. + + + Exclude unsupported groups + Escludi i gruppi non supportati + diff --git a/apps/client/src/locales/messages.ja.xlf b/apps/client/src/locales/messages.ja.xlf index a00e2e5c32..943f23076f 100644 --- a/apps/client/src/locales/messages.ja.xlf +++ b/apps/client/src/locales/messages.ja.xlf @@ -9884,6 +9884,302 @@ 122 + + Import summary + インポートの概要 + + + Instruments + 金融商品 + + + Tax and commission matching + 税金と手数料の関連付け + + + Source rows and diagnostics + 元データの行と診断 + + + Source rows + 元データの行 + + + Recognized + 認識済み + + + Ready to import + インポート可能 + + + Already present + Already present + + + Blocked + ブロック中 + + + Excluded + 除外済み + + + Instrument + 金融商品 + + + Listing + 上場銘柄 + + + Market + 市場 + + + Currency + 通貨 + + + Verification + 検証 + + + Affected operations + 対象取引 + + + Action + 操作 + + + Automatic + 自動 + + + Resolved with confirmation + 確認により解決 + + + Needs confirmation + 確認が必要 + + + Unresolvable + 解決不可 + + + Source + 元データ + + + To import + インポート予定 + + + Unreconciled + 未照合 + + + Date + 日付 + + + Type + 種類 + + + Gross + 総額 + + + Fee + 手数料 + + + Tax + Tax + + + Net cash + 現金純額 + + + Include + 含める + + + All + すべて + + + Status + ステータス + + + Refresh preview + プレビューを更新 + + + Verifying listings and checking the import… + 上場銘柄とインポート内容を確認中… + + + Cancel + キャンセル + + + Import Data + データをインポート + + + Select a Directa CSV + Directa CSVを選択 + + + Destination account + Destination account + + + Buy + 買い + + + Sell + 売る + + + Dividend + 配当金 + + + Expense + 費用 + + + Unable to load the preview. Check the file and try again. + プレビューを読み込めません。ファイルを確認して再試行してください。 + + + The choices or destination changed. Refresh the preview. + 選択内容またはインポート先が変更されました。プレビューを更新してください。 + + + Import from your own unrestricted profile with account and activity permissions. + 口座と取引の権限がある、ご自身の制限されていないプロフィールからインポートしてください。 + + + Choose a valid UTF-8 Directa CSV under 2 MB. + 2 MB未満の有効なUTF-8形式のDirecta CSVを選択してください。 + + + Choose a compatible activity for this cost. A date alone is not sufficient. + この費用に対応する取引を選択してください。日付だけでは不十分です。 + + + Check the source value, sign, date or identity in these rows. + これらの行の金額、符号、日付、識別子を確認してください。 + + + Previously imported data changed. Reconcile the existing records. + 以前インポートしたデータが変更されています。既存の記録を照合してください。 + + + A similar or previously imported record needs manual review. + 類似する記録またはインポート済みの記録を手動で確認する必要があります。 + + + No reliable listing match was found for this ISIN. It remains blocked. + このISINの信頼できる上場銘柄が見つかりませんでした。ブロックを継続します。 + + + Choose one of the verified listings below. + 以下の検証済み上場銘柄から選択してください。 + + + A data source is unavailable. Retry, or choose a listing already verified. + データソースを利用できません。再試行するか、検証済みの上場銘柄を選択してください。 + + + The saved instrument conflicts with verified listing data. + 保存済みの商品と検証済みの上場情報が一致しません。 + + + Dividends use one income unit because the source has no share quantity. + 元データに株数がないため、配当には収益単位を1として使用します。 + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Directa CSVとインポート先口座を選択してください。口座残高は変更されません。 + + + Use the operation date for activities and retain settlement dates in source details. + 取引には取引日を使用し、受渡日は元データの詳細に保持します。 + + + Source amount coverage + 元データの金額の内訳 + + + I reviewed the selected activities, omissions and instrument choices. + 選択した取引、除外内容、金融商品の選択を確認しました。 + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + 選択したグループのみのインポートに明示的に同意します。除外した資金移動はインポートされません。 + + + Unsupported + 未対応 + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + このインポーターは税金と現金振替を表現できません。課税対象の取引は、すべての関連費用とともに除外してください。 + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + 税金を正確に表現できません。この取引グループ全体を除外してください。 + + + This movement is unsupported. Review it and explicitly exclude its complete group. + この資金移動には対応していません。確認して、グループ全体を明示的に除外してください。 + + + Confirm the partial import and review all excluded groups. + 部分インポートに同意し、除外したすべてのグループを確認してください。 + + + Accept the operation-date policy before importing. + インポート前に取引日の使用に同意してください。 + + + The selected activities exceed your import limit. + 選択した取引がインポート上限を超えています。 + + + Choose import source + インポート元を選択 + + + Import from Ghostfolio + Ghostfolioからインポート + + + Import from Directa + Directaからインポート + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + DirectaのMovimentiエクスポートを確認してください。元の12列すべて、有効な日付、イタリア形式の数値を保持してください。 + + + The chosen listing has another currency. Activity amounts retain the source currency. + 選択した上場銘柄は別の通貨を使用します。取引金額には元データの通貨を保持します。 + + + Exclude unsupported groups + 未対応のグループを除外 + diff --git a/apps/client/src/locales/messages.ko.xlf b/apps/client/src/locales/messages.ko.xlf index f78dfe2ca3..a6835fe9ab 100644 --- a/apps/client/src/locales/messages.ko.xlf +++ b/apps/client/src/locales/messages.ko.xlf @@ -9884,6 +9884,302 @@ 122 + + Import summary + 가져오기 요약 + + + Instruments + 금융 상품 + + + Tax and commission matching + 세금 및 수수료 연결 + + + Source rows and diagnostics + 원본 행 및 진단 + + + Source rows + 원본 행 + + + Recognized + 인식됨 + + + Ready to import + 가져오기 가능 + + + Already present + Already present + + + Blocked + 차단됨 + + + Excluded + 제외됨 + + + Instrument + 금융 상품 + + + Listing + 상장 종목 + + + Market + 시장 + + + Currency + 통화 + + + Verification + 검증 + + + Affected operations + 관련 거래 + + + Action + 작업 + + + Automatic + 자동 + + + Resolved with confirmation + 확인 후 해결 + + + Needs confirmation + 확인 필요 + + + Unresolvable + 해결 불가 + + + Source + 원본 + + + To import + 가져올 항목 + + + Unreconciled + 미대사 금액 + + + Date + 날짜 + + + Type + 유형 + + + Gross + 총액 + + + Fee + 수수료 + + + Tax + Tax + + + Net cash + 순현금 + + + Include + 포함 + + + All + 전체 + + + Status + 상태 + + + Refresh preview + 미리보기 새로 고침 + + + Verifying listings and checking the import… + 상장 종목과 가져오기 내용 확인 중… + + + Cancel + 취소 + + + Import Data + 데이터 가져오기 + + + Select a Directa CSV + Directa CSV 선택 + + + Destination account + Destination account + + + Buy + 구입하다 + + + Sell + 팔다 + + + Dividend + 배당금 + + + Expense + 비용 + + + Unable to load the preview. Check the file and try again. + 미리보기를 불러올 수 없습니다. 파일을 확인하고 다시 시도하세요. + + + The choices or destination changed. Refresh the preview. + 선택 사항 또는 대상 계좌가 변경되었습니다. 미리보기를 새로 고치세요. + + + Import from your own unrestricted profile with account and activity permissions. + 계좌와 거래 권한이 있는 본인의 제한되지 않은 프로필에서 가져오세요. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + 2 MB 미만의 유효한 UTF-8 Directa CSV를 선택하세요. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + 이 비용에 적합한 거래를 선택하세요. 날짜만으로는 충분하지 않습니다. + + + Check the source value, sign, date or identity in these rows. + 이 행의 금액, 부호, 날짜 또는 식별자를 확인하세요. + + + Previously imported data changed. Reconcile the existing records. + 이전에 가져온 데이터가 변경되었습니다. 기존 기록을 대사하세요. + + + A similar or previously imported record needs manual review. + 유사하거나 이미 가져온 기록을 수동으로 검토해야 합니다. + + + No reliable listing match was found for this ISIN. It remains blocked. + 이 ISIN에 대한 신뢰할 수 있는 상장 정보를 찾지 못했습니다. 차단 상태가 유지됩니다. + + + Choose one of the verified listings below. + 아래에서 검증된 상장 종목을 선택하세요. + + + A data source is unavailable. Retry, or choose a listing already verified. + 데이터 소스를 사용할 수 없습니다. 다시 시도하거나 이미 검증된 상장 종목을 선택하세요. + + + The saved instrument conflicts with verified listing data. + 저장된 상품이 검증된 상장 정보와 일치하지 않습니다. + + + Dividends use one income unit because the source has no share quantity. + 원본에 주식 수량이 없어 배당에는 수익 단위 1을 사용합니다. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Directa CSV와 대상 계좌를 선택하세요. 계좌 잔액은 변경되지 않습니다. + + + Use the operation date for activities and retain settlement dates in source details. + 거래에는 거래일을 사용하고 결제일은 원본 세부 정보에 보관합니다. + + + Source amount coverage + 원본 금액 내역 + + + I reviewed the selected activities, omissions and instrument choices. + 선택한 거래, 제외 항목 및 금융 상품 선택을 검토했습니다. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + 선택한 그룹만 가져오는 데 명시적으로 동의하며, 제외한 자금 이동은 가져오지 않습니다. + + + Unsupported + 지원되지 않음 + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + 이 가져오기 도구는 세금과 현금 이체를 반영할 수 없습니다. 과세 거래는 관련 비용 전체와 함께 제외하세요. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + 세금을 정확하게 반영할 수 없습니다. 이 거래 그룹 전체를 제외하세요. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + 이 자금 이동은 지원되지 않습니다. 검토한 후 전체 그룹을 명시적으로 제외하세요. + + + Confirm the partial import and review all excluded groups. + 부분 가져오기를 확인하고 제외한 모든 그룹을 검토하세요. + + + Accept the operation-date policy before importing. + 가져오기 전에 거래일 사용에 동의하세요. + + + The selected activities exceed your import limit. + 선택한 거래가 가져오기 한도를 초과합니다. + + + Choose import source + 가져오기 원본 선택 + + + Import from Ghostfolio + Ghostfolio에서 가져오기 + + + Import from Directa + Directa에서 가져오기 + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Directa Movimenti 내보내기를 확인하세요. 원래 열 12개 전체, 유효한 날짜 및 이탈리아 형식의 숫자를 유지하세요. + + + The chosen listing has another currency. Activity amounts retain the source currency. + 선택한 상장 종목의 통화가 다릅니다. 거래 금액은 원본 통화를 유지합니다. + + + Exclude unsupported groups + 지원되지 않는 그룹 제외 + diff --git a/apps/client/src/locales/messages.nl.xlf b/apps/client/src/locales/messages.nl.xlf index 18744015e3..dda58db6cf 100644 --- a/apps/client/src/locales/messages.nl.xlf +++ b/apps/client/src/locales/messages.nl.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + Samenvatting van import + + + Instruments + Instrumenten + + + Tax and commission matching + Belastingen en provisies koppelen + + + Source rows and diagnostics + Bronregels en meldingen + + + Source rows + Bronregels + + + Recognized + Herkend + + + Ready to import + Gereed voor import + + + Already present + Already present + + + Blocked + Geblokkeerd + + + Excluded + Uitgesloten + + + Instrument + Instrument + + + Listing + Notering + + + Market + Beurs + + + Currency + Valuta + + + Verification + Verificatie + + + Affected operations + Betrokken transacties + + + Action + Actie + + + Automatic + Automatisch + + + Resolved with confirmation + Opgelost met bevestiging + + + Needs confirmation + Bevestiging nodig + + + Unresolvable + Niet op te lossen + + + Source + Bron + + + To import + Te importeren + + + Unreconciled + Niet afgestemd + + + Date + Datum + + + Type + Type + + + Gross + Bruto + + + Fee + Kosten + + + Tax + Tax + + + Net cash + Netto geldstroom + + + Include + Opnemen + + + All + Alle + + + Status + Status + + + Refresh preview + Voorbeeld vernieuwen + + + Verifying listings and checking the import… + Noteringen en import controleren… + + + Cancel + Annuleren + + + Import Data + Gegevens importeren + + + Select a Directa CSV + Selecteer een Directa-CSV + + + Destination account + Destination account + + + Buy + Koop + + + Sell + Verkopen + + + Dividend + Dividend + + + Expense + Uitgave + + + Unable to load the preview. Check the file and try again. + Het voorbeeld kon niet worden geladen. Controleer het bestand en probeer opnieuw. + + + The choices or destination changed. Refresh the preview. + De keuzes of doelrekening zijn gewijzigd. Vernieuw het voorbeeld. + + + Import from your own unrestricted profile with account and activity permissions. + Importeer vanuit uw eigen onbeperkte profiel met rechten voor rekeningen en transacties. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Kies een geldige Directa-CSV in UTF-8 van minder dan 2 MB. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Kies een passende transactie voor deze kosten. Alleen een datum is onvoldoende. + + + Check the source value, sign, date or identity in these rows. + Controleer bedrag, teken, datum of identificatie van deze regels. + + + Previously imported data changed. Reconcile the existing records. + Eerder geïmporteerde gegevens zijn gewijzigd. Stem bestaande gegevens af. + + + A similar or previously imported record needs manual review. + Een vergelijkbaar of eerder geïmporteerd record moet handmatig worden gecontroleerd. + + + No reliable listing match was found for this ISIN. It remains blocked. + Geen betrouwbare notering gevonden voor deze ISIN. Deze blijft geblokkeerd. + + + Choose one of the verified listings below. + Kies hieronder een van de geverifieerde noteringen. + + + A data source is unavailable. Retry, or choose a listing already verified. + Een gegevensbron is niet beschikbaar. Probeer opnieuw of kies een al geverifieerde notering. + + + The saved instrument conflicts with verified listing data. + Het opgeslagen instrument wijkt af van de geverifieerde noteringsgegevens. + + + Dividends use one income unit because the source has no share quantity. + Dividenden gebruiken één inkomenseenheid omdat de bron geen aantal aandelen bevat. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Kies een Directa-CSV en een doelrekening. Rekeningsaldi worden niet gewijzigd. + + + Use the operation date for activities and retain settlement dates in source details. + Gebruik de transactiedatum voor activiteiten en bewaar valutadatums bij de brongegevens. + + + Source amount coverage + Dekking van bronbedragen + + + I reviewed the selected activities, omissions and instrument choices. + Ik heb de geselecteerde activiteiten, weglatingen en instrumentkeuzes gecontroleerd. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Ik accepteer uitdrukkelijk dat alleen de geselecteerde groepen worden geïmporteerd; uitgesloten bewegingen worden niet geïmporteerd. + + + Unsupported + Niet ondersteund + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Deze importer kan belastingen en geldoverboekingen niet weergeven. Sluit een belaste activiteit met alle bijbehorende kosten uit. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Belastingen kunnen niet correct worden weergegeven. Sluit deze volledige transactiegroep uit. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Deze beweging wordt niet ondersteund. Controleer deze en sluit de volledige groep uitdrukkelijk uit. + + + Confirm the partial import and review all excluded groups. + Bevestig de gedeeltelijke import en controleer alle uitgesloten groepen. + + + Accept the operation-date policy before importing. + Accepteer het gebruik van de transactiedatum vóór import. + + + The selected activities exceed your import limit. + De geselecteerde activiteiten overschrijden uw importlimiet. + + + Choose import source + Importbron kiezen + + + Import from Ghostfolio + Importeren uit Ghostfolio + + + Import from Directa + Importeren uit Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Controleer de Directa Movimenti-export: behoud alle 12 oorspronkelijke kolommen, geldige datums en getallen in Italiaanse notatie. + + + The chosen listing has another currency. Activity amounts retain the source currency. + De gekozen notering heeft een andere valuta. Transactiebedragen behouden de bronvaluta. + + + Exclude unsupported groups + Niet-ondersteunde groepen uitsluiten + diff --git a/apps/client/src/locales/messages.pl.xlf b/apps/client/src/locales/messages.pl.xlf index 4491f9eb0d..f7867f7ac2 100644 --- a/apps/client/src/locales/messages.pl.xlf +++ b/apps/client/src/locales/messages.pl.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + Podsumowanie importu + + + Instruments + Instrumenty + + + Tax and commission matching + Dopasowanie podatków i prowizji + + + Source rows and diagnostics + Wiersze źródłowe i komunikaty + + + Source rows + Wiersze źródłowe + + + Recognized + Rozpoznane + + + Ready to import + Gotowe do importu + + + Already present + Already present + + + Blocked + Zablokowane + + + Excluded + Wykluczone + + + Instrument + Instrument + + + Listing + Notowanie + + + Market + Rynek + + + Currency + Waluta + + + Verification + Weryfikacja + + + Affected operations + Powiązane operacje + + + Action + Działanie + + + Automatic + Automatycznie + + + Resolved with confirmation + Rozwiązane z potwierdzeniem + + + Needs confirmation + Wymaga potwierdzenia + + + Unresolvable + Nierozwiązywalne + + + Source + Źródło + + + To import + Do importu + + + Unreconciled + Nieuzgodnione + + + Date + Data + + + Type + Typ + + + Gross + Brutto + + + Fee + Opłata + + + Tax + Tax + + + Net cash + Przepływ netto + + + Include + Uwzględnij + + + All + Wszystkie + + + Status + Status + + + Refresh preview + Odśwież podgląd + + + Verifying listings and checking the import… + Weryfikacja notowań i importu… + + + Cancel + Anuluj + + + Import Data + Importuj dane + + + Select a Directa CSV + Wybierz plik CSV Directa + + + Destination account + Destination account + + + Buy + Kupno + + + Sell + Sprzedaż + + + Dividend + Dywidenda + + + Expense + Wydatek + + + Unable to load the preview. Check the file and try again. + Nie można wczytać podglądu. Sprawdź plik i spróbuj ponownie. + + + The choices or destination changed. Refresh the preview. + Wybory lub rachunek docelowy uległy zmianie. Odśwież podgląd. + + + Import from your own unrestricted profile with account and activity permissions. + Importuj ze swojego nieograniczonego profilu z uprawnieniami do rachunków i operacji. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Wybierz prawidłowy plik CSV Directa w UTF-8 mniejszy niż 2 MB. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Wybierz zgodną operację dla tego kosztu. Sama data nie wystarcza. + + + Check the source value, sign, date or identity in these rows. + Sprawdź kwotę, znak, datę lub identyfikator tych wierszy. + + + Previously imported data changed. Reconcile the existing records. + Wcześniej zaimportowane dane uległy zmianie. Uzgodnij istniejące zapisy. + + + A similar or previously imported record needs manual review. + Podobny lub już zaimportowany zapis wymaga ręcznej weryfikacji. + + + No reliable listing match was found for this ISIN. It remains blocked. + Nie znaleziono wiarygodnego notowania dla tego ISIN. Import pozostaje zablokowany. + + + Choose one of the verified listings below. + Wybierz poniżej jedno ze zweryfikowanych notowań. + + + A data source is unavailable. Retry, or choose a listing already verified. + Źródło danych jest niedostępne. Spróbuj ponownie lub wybierz już zweryfikowane notowanie. + + + The saved instrument conflicts with verified listing data. + Zapisany instrument jest sprzeczny ze zweryfikowanymi danymi notowania. + + + Dividends use one income unit because the source has no share quantity. + Dywidendy używają jednej jednostki przychodu, ponieważ źródło nie podaje liczby akcji. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Wybierz CSV Directa i rachunek docelowy. Salda rachunku nie zostaną zmienione. + + + Use the operation date for activities and retain settlement dates in source details. + Używaj daty operacji dla aktywności i zachowaj daty waluty w danych źródłowych. + + + Source amount coverage + Pokrycie kwot źródłowych + + + I reviewed the selected activities, omissions and instrument choices. + Sprawdzono wybrane aktywności, pominięcia i wybory instrumentów. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Wyraźnie akceptuję import wyłącznie wybranych grup; wykluczone ruchy nie zostaną zaimportowane. + + + Unsupported + Nieobsługiwane + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Ten importer nie może odwzorować podatków i przelewów gotówkowych. Wyklucz opodatkowaną aktywność wraz ze wszystkimi kosztami. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Podatków nie można wiernie odwzorować. Wyklucz tę całą grupę operacji. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Ten ruch nie jest obsługiwany. Sprawdź go i wyraźnie wyklucz całą grupę. + + + Confirm the partial import and review all excluded groups. + Potwierdź częściowy import i sprawdź wszystkie wykluczone grupy. + + + Accept the operation-date policy before importing. + Przed importem zaakceptuj używanie daty operacji. + + + The selected activities exceed your import limit. + Wybrane aktywności przekraczają limit importu. + + + Choose import source + Wybierz źródło importu + + + Import from Ghostfolio + Importuj z Ghostfolio + + + Import from Directa + Importuj z Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Sprawdź eksport Movimenti Directa: zachowaj wszystkie 12 oryginalnych kolumn, prawidłowe daty i liczby w formacie włoskim. + + + The chosen listing has another currency. Activity amounts retain the source currency. + Wybrane notowanie ma inną walutę. Kwoty operacji zachowują walutę źródłową. + + + Exclude unsupported groups + Wyklucz nieobsługiwane grupy + diff --git a/apps/client/src/locales/messages.pt.xlf b/apps/client/src/locales/messages.pt.xlf index 3504f4ae53..8e38725dc5 100644 --- a/apps/client/src/locales/messages.pt.xlf +++ b/apps/client/src/locales/messages.pt.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + Resumo da importação + + + Instruments + Instrumentos + + + Tax and commission matching + Associação de impostos e comissões + + + Source rows and diagnostics + Linhas originais e diagnóstico + + + Source rows + Linhas originais + + + Recognized + Reconhecidas + + + Ready to import + Prontas a importar + + + Already present + Already present + + + Blocked + Bloqueadas + + + Excluded + Excluídas + + + Instrument + Instrumento + + + Listing + Cotação + + + Market + Mercado + + + Currency + Moeda + + + Verification + Verificação + + + Affected operations + Operações afetadas + + + Action + Ação + + + Automatic + Automático + + + Resolved with confirmation + Resolvido com confirmação + + + Needs confirmation + Requer confirmação + + + Unresolvable + Não resolvido + + + Source + Origem + + + To import + A importar + + + Unreconciled + Não reconciliado + + + Date + Data + + + Type + Tipo + + + Gross + Bruto + + + Fee + Taxa + + + Tax + Tax + + + Net cash + Caixa líquido + + + Include + Incluir + + + All + Todos + + + Status + Estado + + + Refresh preview + Atualizar pré-visualização + + + Verifying listings and checking the import… + Verificando cotações e importação… + + + Cancel + Cancelar + + + Import Data + Importar dados + + + Select a Directa CSV + Selecionar um CSV Directa + + + Destination account + Destination account + + + Buy + Comprar + + + Sell + Venda + + + Dividend + Dividendos + + + Expense + Despesa + + + Unable to load the preview. Check the file and try again. + Não foi possível carregar a pré-visualização. Verifique o ficheiro e tente novamente. + + + The choices or destination changed. Refresh the preview. + As escolhas ou o destino mudaram. Atualize a pré-visualização. + + + Import from your own unrestricted profile with account and activity permissions. + Importe a partir do seu perfil sem restrições com permissões de contas e operações. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Escolha um CSV Directa UTF-8 válido com menos de 2 MB. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Escolha uma operação compatível com este custo. A data, por si só, não basta. + + + Check the source value, sign, date or identity in these rows. + Verifique o montante, sinal, data ou identificador destas linhas. + + + Previously imported data changed. Reconcile the existing records. + Os dados já importados mudaram. Reconcilie os registos existentes. + + + A similar or previously imported record needs manual review. + Um registo semelhante ou já importado requer revisão manual. + + + No reliable listing match was found for this ISIN. It remains blocked. + Não foi encontrada uma cotação fiável para este ISIN. O instrumento continua bloqueado. + + + Choose one of the verified listings below. + Escolha uma das cotações verificadas abaixo. + + + A data source is unavailable. Retry, or choose a listing already verified. + Uma fonte de dados está indisponível. Tente novamente ou escolha uma cotação já verificada. + + + The saved instrument conflicts with verified listing data. + O instrumento guardado está em conflito com os dados de cotação verificados. + + + Dividends use one income unit because the source has no share quantity. + Os dividendos usam uma unidade de rendimento porque o ficheiro não indica o número de unidades. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Escolha um CSV Directa e uma conta de destino. Os saldos da conta não são alterados. + + + Use the operation date for activities and retain settlement dates in source details. + Use a data da operação para as atividades e mantenha as datas-valor nos detalhes originais. + + + Source amount coverage + Cobertura dos valores originais + + + I reviewed the selected activities, omissions and instrument choices. + Revisei as atividades selecionadas, as omissões e as escolhas dos instrumentos. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Aceito explicitamente importar apenas os grupos selecionados; os movimentos excluídos não serão importados. + + + Unsupported + Não suportado + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Este importador não pode representar impostos e transferências de dinheiro. Exclua cada atividade tributada juntamente com todos os seus custos. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Os impostos não podem ser representados fielmente. Exclua este grupo completo de operações. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Este movimento não é suportado. Revise-o e exclua explicitamente o grupo completo. + + + Confirm the partial import and review all excluded groups. + Confirme a importação parcial e revise todos os grupos excluídos. + + + Accept the operation-date policy before importing. + Aceite o uso da data da operação antes de importar. + + + The selected activities exceed your import limit. + As atividades selecionadas excedem o seu limite de importação. + + + Choose import source + Escolher fonte de importação + + + Import from Ghostfolio + Importar do Ghostfolio + + + Import from Directa + Importar da Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Verifique a exportação Movimenti da Directa: mantenha as 12 colunas originais, datas válidas e números no formato italiano. + + + The chosen listing has another currency. Activity amounts retain the source currency. + A cotação escolhida usa outra moeda. Os montantes das operações mantêm a moeda original. + + + Exclude unsupported groups + Excluir grupos não suportados + diff --git a/apps/client/src/locales/messages.tr.xlf b/apps/client/src/locales/messages.tr.xlf index 9bed2c560a..19a9eea908 100644 --- a/apps/client/src/locales/messages.tr.xlf +++ b/apps/client/src/locales/messages.tr.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + İçe aktarma özeti + + + Instruments + Finansal araçlar + + + Tax and commission matching + Vergi ve komisyon eşleştirme + + + Source rows and diagnostics + Kaynak satırlar ve tanılama + + + Source rows + Kaynak satırlar + + + Recognized + Tanınan + + + Ready to import + İçe aktarılabilir + + + Already present + Already present + + + Blocked + Engellenen + + + Excluded + Hariç tutulan + + + Instrument + Finansal araç + + + Listing + Borsa kaydı + + + Market + Piyasa + + + Currency + Para Birimi + + + Verification + Doğrulama + + + Affected operations + İlgili işlemler + + + Action + Eylem + + + Automatic + Otomatik + + + Resolved with confirmation + Onayla çözüldü + + + Needs confirmation + Onay gerekiyor + + + Unresolvable + Çözülemez + + + Source + Kaynak + + + To import + İçe aktarılacak + + + Unreconciled + Mutabık olmayan + + + Date + Tarih + + + Type + Tip + + + Gross + Brüt + + + Fee + Ücret + + + Tax + Tax + + + Net cash + Net nakit + + + Include + Dahil et + + + All + Tümü + + + Status + Durum + + + Refresh preview + Önizlemeyi yenile + + + Verifying listings and checking the import… + Borsa kayıtları ve içe aktarma denetleniyor… + + + Cancel + İptal + + + Import Data + Verileri içe aktar + + + Select a Directa CSV + Directa CSV seçin + + + Destination account + Destination account + + + Buy + Al + + + Sell + Sat + + + Dividend + Temettü + + + Expense + Gider + + + Unable to load the preview. Check the file and try again. + Önizleme yüklenemedi. Dosyayı kontrol edip yeniden deneyin. + + + The choices or destination changed. Refresh the preview. + Seçimler veya hedef hesap değişti. Önizlemeyi yenileyin. + + + Import from your own unrestricted profile with account and activity permissions. + Hesap ve işlem izinlerine sahip kendi kısıtlanmamış profilinizden içe aktarın. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + 2 MB altında geçerli bir UTF-8 Directa CSV seçin. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Bu maliyet için uyumlu bir işlem seçin. Tek başına tarih yeterli değildir. + + + Check the source value, sign, date or identity in these rows. + Bu satırlardaki tutarı, işareti, tarihi veya kimliği kontrol edin. + + + Previously imported data changed. Reconcile the existing records. + Önceden içe aktarılan veriler değişti. Mevcut kayıtları uzlaştırın. + + + A similar or previously imported record needs manual review. + Benzer veya daha önce içe aktarılmış bir kayıt elle incelenmelidir. + + + No reliable listing match was found for this ISIN. It remains blocked. + Bu ISIN için güvenilir bir borsa kaydı bulunamadı. İşlem engellenmiş olarak kalır. + + + Choose one of the verified listings below. + Aşağıdaki doğrulanmış borsa kayıtlarından birini seçin. + + + A data source is unavailable. Retry, or choose a listing already verified. + Bir veri kaynağı kullanılamıyor. Yeniden deneyin veya doğrulanmış bir borsa kaydı seçin. + + + The saved instrument conflicts with verified listing data. + Kayıtlı finansal araç doğrulanmış borsa verileriyle çelişiyor. + + + Dividends use one income unit because the source has no share quantity. + Kaynakta hisse adedi bulunmadığından temettüler bir gelir birimi kullanır. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Bir Directa CSV ve hedef hesap seçin. Hesap bakiyeleri değiştirilmez. + + + Use the operation date for activities and retain settlement dates in source details. + İşlemler için işlem tarihini kullanın ve valör tarihlerini kaynak ayrıntılarında saklayın. + + + Source amount coverage + Kaynak tutarların kapsamı + + + I reviewed the selected activities, omissions and instrument choices. + Seçilen işlemleri, atlananları ve finansal araç seçimlerini inceledim. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Yalnızca seçilen grupların içe aktarılmasını açıkça kabul ediyorum; hariç tutulan hareketler içe aktarılmaz. + + + Unsupported + Desteklenmiyor + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Bu içe aktarıcı vergileri ve nakit transferlerini yansıtamaz. Vergili bir işlemi tüm maliyetleriyle birlikte hariç tutun. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Vergiler doğru biçimde yansıtılamaz. Bu işlem grubunun tamamını hariç tutun. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Bu hareket desteklenmiyor. İnceleyin ve grubun tamamını açıkça hariç tutun. + + + Confirm the partial import and review all excluded groups. + Kısmi içe aktarmayı onaylayın ve hariç tutulan tüm grupları inceleyin. + + + Accept the operation-date policy before importing. + İçe aktarmadan önce işlem tarihinin kullanılmasını kabul edin. + + + The selected activities exceed your import limit. + Seçilen işlemler içe aktarma sınırınızı aşıyor. + + + Choose import source + İçe aktarma kaynağını seçin + + + Import from Ghostfolio + Ghostfolio’dan içe aktar + + + Import from Directa + Directa’dan içe aktar + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Directa Movimenti dışa aktarımını denetleyin: 12 özgün sütunun tamamını, geçerli tarihleri ve İtalyan biçimli sayıları koruyun. + + + The chosen listing has another currency. Activity amounts retain the source currency. + Seçilen borsa kaydı başka bir para birimi kullanıyor. İşlem tutarları kaynak para birimini korur. + + + Exclude unsupported groups + Desteklenmeyen grupları hariç tut + diff --git a/apps/client/src/locales/messages.uk.xlf b/apps/client/src/locales/messages.uk.xlf index 44c720e1b2..58c18e7290 100644 --- a/apps/client/src/locales/messages.uk.xlf +++ b/apps/client/src/locales/messages.uk.xlf @@ -9883,6 +9883,302 @@ 170 + + Import summary + Підсумок імпорту + + + Instruments + Інструменти + + + Tax and commission matching + Зіставлення податків і комісій + + + Source rows and diagnostics + Вихідні рядки та повідомлення + + + Source rows + Вихідні рядки + + + Recognized + Розпізнано + + + Ready to import + Готові до імпорту + + + Already present + Already present + + + Blocked + Заблоковано + + + Excluded + Виключено + + + Instrument + Інструмент + + + Listing + Котирування + + + Market + Ринок + + + Currency + Валюта + + + Verification + Перевірка + + + Affected operations + Пов’язані операції + + + Action + Дія + + + Automatic + Автоматично + + + Resolved with confirmation + Вирішено з підтвердженням + + + Needs confirmation + Потребує підтвердження + + + Unresolvable + Неможливо вирішити + + + Source + Джерело + + + To import + До імпорту + + + Unreconciled + Не звірено + + + Date + Дата + + + Type + Тип + + + Gross + Брутто + + + Fee + Комісія + + + Tax + Tax + + + Net cash + Чистий рух коштів + + + Include + Включити + + + All + Усі + + + Status + Статус + + + Refresh preview + Оновити перегляд + + + Verifying listings and checking the import… + Перевірка котирувань та імпорту… + + + Cancel + Скасувати + + + Import Data + Імпортувати дані + + + Select a Directa CSV + Виберіть CSV Directa + + + Destination account + Destination account + + + Buy + Купити + + + Sell + Продати + + + Dividend + Дивіденди + + + Expense + Витрата + + + Unable to load the preview. Check the file and try again. + Не вдалося завантажити перегляд. Перевірте файл і повторіть спробу. + + + The choices or destination changed. Refresh the preview. + Варіанти або цільовий рахунок змінилися. Оновіть перегляд. + + + Import from your own unrestricted profile with account and activity permissions. + Імпортуйте зі свого необмеженого профілю з дозволами на рахунки й операції. + + + Choose a valid UTF-8 Directa CSV under 2 MB. + Виберіть дійсний CSV Directa у UTF-8 розміром до 2 МБ. + + + Choose a compatible activity for this cost. A date alone is not sufficient. + Виберіть сумісну операцію для цієї витрати. Самої дати недостатньо. + + + Check the source value, sign, date or identity in these rows. + Перевірте суму, знак, дату або ідентифікатор цих рядків. + + + Previously imported data changed. Reconcile the existing records. + Раніше імпортовані дані змінилися. Звірте наявні записи. + + + A similar or previously imported record needs manual review. + Схожий або раніше імпортований запис потребує ручної перевірки. + + + No reliable listing match was found for this ISIN. It remains blocked. + Для цього ISIN не знайдено надійного котирування. Імпорт залишається заблокованим. + + + Choose one of the verified listings below. + Виберіть нижче одне з перевірених котирувань. + + + A data source is unavailable. Retry, or choose a listing already verified. + Джерело даних недоступне. Повторіть спробу або виберіть уже перевірене котирування. + + + The saved instrument conflicts with verified listing data. + Збережений інструмент суперечить перевіреним даним котирування. + + + Dividends use one income unit because the source has no share quantity. + Для дивідендів використовується одна одиниця доходу, оскільки джерело не містить кількості акцій. + + + Choose a Directa CSV and a destination account. Account balances are not changed. + Виберіть CSV Directa та цільовий рахунок. Залишки рахунку не змінюються. + + + Use the operation date for activities and retain settlement dates in source details. + Використовуйте дату операції для активностей і зберігайте дати валютування у вихідних даних. + + + Source amount coverage + Охоплення вихідних сум + + + I reviewed the selected activities, omissions and instrument choices. + Я перевірив вибрані активності, пропуски та вибір інструментів. + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + Я явно погоджуюся імпортувати лише вибрані групи; виключені рухи не імпортуватимуться. + + + Unsupported + Не підтримується + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + Цей імпортер не може відтворювати податки й перекази коштів. Виключіть оподатковану активність разом з усіма її витратами. + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + Податки неможливо достовірно відтворити. Виключіть цю групу операцій повністю. + + + This movement is unsupported. Review it and explicitly exclude its complete group. + Цей рух не підтримується. Перевірте його та явно виключіть усю групу. + + + Confirm the partial import and review all excluded groups. + Підтвердьте частковий імпорт і перевірте всі виключені групи. + + + Accept the operation-date policy before importing. + Перед імпортом погодьтеся використовувати дату операції. + + + The selected activities exceed your import limit. + Вибрані активності перевищують ліміт імпорту. + + + Choose import source + Виберіть джерело імпорту + + + Import from Ghostfolio + Імпортувати з Ghostfolio + + + Import from Directa + Імпортувати з Directa + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + Перевірте експорт Movimenti Directa: збережіть усі 12 вихідних стовпців, правильні дати та числа в італійському форматі. + + + The chosen listing has another currency. Activity amounts retain the source currency. + Вибране котирування має іншу валюту. Суми операцій зберігають вихідну валюту. + + + Exclude unsupported groups + Виключити непідтримувані групи + diff --git a/apps/client/src/locales/messages.xlf b/apps/client/src/locales/messages.xlf index 0f726d012c..4b4c661df8 100644 --- a/apps/client/src/locales/messages.xlf +++ b/apps/client/src/locales/messages.xlf @@ -8932,6 +8932,298 @@ 122 + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts2 + + + Import summary + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts3 + + + Instruments + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts4 + + + Tax and commission matching + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts5 + + + Source rows and diagnostics + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts6 + + + Source rows + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts7 + + + Recognized + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts8 + + + Ready to import + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts9 + + + Already present + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts10 + + + Blocked + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts11 + + + Excluded + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts12 + + + Instrument + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts13 + + + Listing + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts14 + + + Market + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts15 + + + Currency + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts16 + + + Verification + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts17 + + + Affected operations + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts18 + + + Action + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts19 + + + Automatic + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts20 + + + Resolved with confirmation + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts21 + + + Needs confirmation + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts22 + + + Unresolvable + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts23 + + + Source + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts24 + + + To import + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts25 + + + Unreconciled + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts26 + + + Date + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts27 + + + Type + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts28 + + + Gross + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts29 + + + Fee + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts30 + + + Tax + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts31 + + + Net cash + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts32 + + + Include + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts33 + + + All + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts34 + + + Status + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts35 + + + Refresh preview + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts36 + + + Verifying listings and checking the import… + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts37 + + + Cancel + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts38 + + + Import Data + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts39 + + + Select a Directa CSV + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts40 + + + Destination account + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts41 + + + Buy + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts42 + + + Sell + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts43 + + + Dividend + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts44 + + + Expense + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts45 + + + Unable to load the preview. Check the file and try again. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts46 + + + The choices or destination changed. Refresh the preview. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts47 + + + Import from your own unrestricted profile with account and activity permissions. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts48 + + + Choose a valid UTF-8 Directa CSV under 2 MB. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts49 + + + Choose a compatible activity for this cost. A date alone is not sufficient. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts50 + + + Check the source value, sign, date or identity in these rows. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts51 + + + Previously imported data changed. Reconcile the existing records. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts52 + + + A similar or previously imported record needs manual review. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts53 + + + No reliable listing match was found for this ISIN. It remains blocked. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts54 + + + Choose one of the verified listings below. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts55 + + + A data source is unavailable. Retry, or choose a listing already verified. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts56 + + + The saved instrument conflicts with verified listing data. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts57 + + + Dividends use one income unit because the source has no share quantity. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts58 + + + Choose a Directa CSV and a destination account. Account balances are not changed. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts59 + + + Use the operation date for activities and retain settlement dates in source details. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts60 + + + Source amount coverage + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts61 + + + I reviewed the selected activities, omissions and instrument choices. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts62 + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts63 + + + Unsupported + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts64 + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts65 + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts66 + + + This movement is unsupported. Review it and explicitly exclude its complete group. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts67 + + + Confirm the partial import and review all excluded groups. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts68 + + + Accept the operation-date policy before importing. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts69 + + + The selected activities exceed your import limit. + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts70 + + + Choose import source + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts71 + + + Import from Ghostfolio + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts72 + + + Import from Directa + apps/client/src/app/components/broker-import-dialog/broker-import.messages.ts73 + + + The chosen listing has another currency. Activity amounts retain the source currency. + + Exclude unsupported groups diff --git a/apps/client/src/locales/messages.zh.xlf b/apps/client/src/locales/messages.zh.xlf index da1ad82623..5483663cae 100644 --- a/apps/client/src/locales/messages.zh.xlf +++ b/apps/client/src/locales/messages.zh.xlf @@ -9884,6 +9884,302 @@ 170 + + Import summary + 导入摘要 + + + Instruments + 金融工具 + + + Tax and commission matching + 税费与佣金匹配 + + + Source rows and diagnostics + 源数据行与诊断 + + + Source rows + 源数据行 + + + Recognized + 已识别 + + + Ready to import + 可导入 + + + Already present + Already present + + + Blocked + 已阻止 + + + Excluded + 已排除 + + + Instrument + 金融工具 + + + Listing + 上市证券 + + + Market + 市场 + + + Currency + 货币 + + + Verification + 验证 + + + Affected operations + 相关交易 + + + Action + 操作 + + + Automatic + 自动 + + + Resolved with confirmation + 经确认解决 + + + Needs confirmation + 需要确认 + + + Unresolvable + 无法解决 + + + Source + 源数据 + + + To import + 待导入 + + + Unreconciled + 未核对金额 + + + Date + 日期 + + + Type + 类型 + + + Gross + 总额 + + + Fee + 费用 + + + Tax + Tax + + + Net cash + 净现金 + + + Include + 包含 + + + All + 全部 + + + Status + 状态 + + + Refresh preview + 刷新预览 + + + Verifying listings and checking the import… + 正在验证上市证券并检查导入内容… + + + Cancel + 取消 + + + Import Data + 导入数据 + + + Select a Directa CSV + 选择Directa CSV + + + Destination account + Destination account + + + Buy + 买入 + + + Sell + 卖出 + + + Dividend + 股息 + + + Expense + 支出 + + + Unable to load the preview. Check the file and try again. + 无法加载预览。请检查文件后重试。 + + + The choices or destination changed. Refresh the preview. + 选择或目标账户已更改。请刷新预览。 + + + Import from your own unrestricted profile with account and activity permissions. + 请使用您本人不受限制且拥有账户和交易权限的个人资料导入。 + + + Choose a valid UTF-8 Directa CSV under 2 MB. + 请选择小于2 MB的有效UTF-8 Directa CSV。 + + + Choose a compatible activity for this cost. A date alone is not sufficient. + 为此费用选择相符的交易。仅凭日期不足以匹配。 + + + Check the source value, sign, date or identity in these rows. + 请检查这些行的金额、正负号、日期或标识符。 + + + Previously imported data changed. Reconcile the existing records. + 先前导入的数据已更改。请核对现有记录。 + + + A similar or previously imported record needs manual review. + 类似或已导入的记录需要人工检查。 + + + No reliable listing match was found for this ISIN. It remains blocked. + 未找到此ISIN对应的可靠上市证券。该操作仍被阻止。 + + + Choose one of the verified listings below. + 请选择下方已验证的上市证券。 + + + A data source is unavailable. Retry, or choose a listing already verified. + 数据源不可用。请重试或选择已验证的上市证券。 + + + The saved instrument conflicts with verified listing data. + 已保存的金融工具与已验证的上市数据冲突。 + + + Dividends use one income unit because the source has no share quantity. + 由于源数据未提供持股数量,股息使用一个收益单位。 + + + Choose a Directa CSV and a destination account. Account balances are not changed. + 选择Directa CSV和目标账户。账户余额不会改变。 + + + Use the operation date for activities and retain settlement dates in source details. + 交易使用交易日期,结算日期保留在源数据详情中。 + + + Source amount coverage + 源金额涵盖情况 + + + I reviewed the selected activities, omissions and instrument choices. + 我已检查所选交易、排除项及金融工具选择。 + + + I explicitly accept importing only the selected groups; excluded movements will not be imported. + 我明确同意仅导入所选组;已排除的资金变动不会导入。 + + + Unsupported + 不支持 + + + Taxes and cash transfers cannot be represented by this importer. Exclude a taxed activity together with all its costs. + 此导入工具无法准确表示税款和现金转账。请将应税交易与其所有相关费用一起排除。 + + + Taxes cannot be represented faithfully. Exclude this complete activity group. + 无法准确表示税款。请排除此完整交易组。 + + + This movement is unsupported. Review it and explicitly exclude its complete group. + 不支持此资金变动。请检查并明确排除其完整分组。 + + + Confirm the partial import and review all excluded groups. + 请确认部分导入并检查所有已排除的组。 + + + Accept the operation-date policy before importing. + 导入前请同意使用交易日期。 + + + The selected activities exceed your import limit. + 所选交易超过您的导入上限。 + + + Choose import source + 选择导入来源 + + + Import from Ghostfolio + 从Ghostfolio导入 + + + Import from Directa + 从Directa导入 + + + Check the Directa Movimenti export: keep all 12 original columns, valid dates and Italian decimal numbers. + 请检查Directa Movimenti导出文件:保留全部12个原始列、有效日期及意大利格式的数字。 + + + The chosen listing has another currency. Activity amounts retain the source currency. + 所选上市证券使用另一种货币。交易金额保留源货币。 + + + Exclude unsupported groups + 排除不支持的组 + diff --git a/libs/ui/src/lib/activities-table/activities-table.component.html b/libs/ui/src/lib/activities-table/activities-table.component.html index c0082f65ab..9240705298 100644 --- a/libs/ui/src/lib/activities-table/activities-table.component.html +++ b/libs/ui/src/lib/activities-table/activities-table.component.html @@ -30,6 +30,29 @@ Import Activities... + + + @for (source of brokerSources; track source.format) { + + } + } @if (hasPermissionToExportActivities || hasPermissionToDeleteActivity) {