@swan-io/shared-business 4.9.0 → 4.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -2
- package/src/components/SupportingDocument.d.ts +14 -12
- package/src/components/SupportingDocument.js +60 -102
- package/src/components/UploadArea.js +1 -1
- package/src/locales/de.json +53 -22
- package/src/locales/en.json +51 -22
- package/src/locales/es.json +53 -22
- package/src/locales/fi.json +53 -22
- package/src/locales/fr.json +53 -22
- package/src/locales/it.json +53 -22
- package/src/locales/nl.json +53 -22
- package/src/locales/pt.json +53 -22
- package/src/utils/i18n.d.ts +1 -0
- package/src/utils/i18n.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swan-io/shared-business",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.2",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=18.0.0",
|
|
6
6
|
"yarn": "^1.22.0"
|
|
@@ -30,7 +30,6 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@formatjs/intl": "^2.10.0",
|
|
33
|
-
"@googlemaps/js-api-loader": "1.16.2",
|
|
34
33
|
"@placekit/client-js": "^2.2.0",
|
|
35
34
|
"@swan-io/boxed": "^2.0.0",
|
|
36
35
|
"dayjs": "^1.11.10",
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
export type Document = {
|
|
1
|
+
import { ForwardedRef } from "react";
|
|
2
|
+
export type Document<Purpose extends string> = {
|
|
3
3
|
id: string;
|
|
4
4
|
name?: string;
|
|
5
5
|
downloadUrl?: string;
|
|
6
|
-
purpose:
|
|
6
|
+
purpose: Purpose;
|
|
7
7
|
};
|
|
8
|
-
type
|
|
9
|
-
|
|
10
|
-
export type SupportingDocumentPurpose = (typeof uploadableDocumentTypes)[number];
|
|
11
|
-
type Props = {
|
|
12
|
-
getAwsUrl: (file: File, purpose: SupportingDocumentPurpose) => Promise<{
|
|
8
|
+
type Props<Purpose extends string> = {
|
|
9
|
+
getAwsUrl: (file: File, purpose: Purpose) => Promise<{
|
|
13
10
|
upload: {
|
|
14
11
|
url: string;
|
|
15
12
|
fields: {
|
|
@@ -19,13 +16,18 @@ type Props = {
|
|
|
19
16
|
};
|
|
20
17
|
id: string;
|
|
21
18
|
}>;
|
|
22
|
-
documents: Document[];
|
|
23
|
-
|
|
24
|
-
onChange?: (documents: Document[]) => void;
|
|
19
|
+
documents: Document<Purpose>[];
|
|
20
|
+
requiredDocumentPurposes: Purpose[];
|
|
21
|
+
onChange?: (documents: Document<Purpose>[]) => void;
|
|
25
22
|
onboardingLanguage?: string;
|
|
26
23
|
};
|
|
27
24
|
export type SupportingDocumentRef = {
|
|
28
25
|
submit: (callback: (value: boolean) => void) => void;
|
|
29
26
|
};
|
|
30
|
-
export declare const
|
|
27
|
+
export declare const getSupportingDocumentPurposeLabel: (purpose: string) => string;
|
|
28
|
+
export declare const getSupportingDocumentPurposeDescriptionLabel: (purpose: string) => string;
|
|
29
|
+
declare const SupportingDocumentWithRef: <Purpose extends string>({ documents, getAwsUrl, onChange, requiredDocumentPurposes, onboardingLanguage, }: Props<Purpose>, externalRef: ForwardedRef<SupportingDocumentRef>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const SupportingDocument: <I extends string>(props: Props<I> & {
|
|
31
|
+
ref?: ForwardedRef<SupportingDocumentRef> | undefined;
|
|
32
|
+
}) => ReturnType<typeof SupportingDocumentWithRef>;
|
|
31
33
|
export {};
|
|
@@ -1,31 +1,22 @@
|
|
|
1
|
-
import { jsx as _jsx,
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Dict } from "@swan-io/boxed";
|
|
2
3
|
import { Form } from "@swan-io/lake/src/components/Form";
|
|
3
4
|
import { LakeButton, LakeButtonGroup } from "@swan-io/lake/src/components/LakeButton";
|
|
4
5
|
import { LakeLabel } from "@swan-io/lake/src/components/LakeLabel";
|
|
5
6
|
import { LakeText } from "@swan-io/lake/src/components/LakeText";
|
|
6
7
|
import { LakeTooltip } from "@swan-io/lake/src/components/LakeTooltip";
|
|
7
8
|
import { Space } from "@swan-io/lake/src/components/Space";
|
|
8
|
-
import { isNullish } from "@swan-io/lake/src/utils/nullish";
|
|
9
|
-
import { forwardRef, useEffect, useImperativeHandle, useMemo, useState } from "react";
|
|
9
|
+
import { isNotNullishOrEmpty, isNullish } from "@swan-io/lake/src/utils/nullish";
|
|
10
|
+
import { Fragment, forwardRef, useEffect, useImperativeHandle, useMemo, useState, } from "react";
|
|
10
11
|
import { StyleSheet } from "react-native";
|
|
11
12
|
import { useForm } from "react-ux-form";
|
|
12
13
|
import { match } from "ts-pattern";
|
|
13
14
|
import { MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE, MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB, } from "../constants/uploads";
|
|
14
|
-
import { locale, t } from "../utils/i18n";
|
|
15
|
+
import { isTranslationKey, locale, t } from "../utils/i18n";
|
|
15
16
|
import { LakeModal } from "./LakeModal";
|
|
16
17
|
import { UploadArea } from "./UploadArea";
|
|
17
18
|
const ACCEPTED_FORMATS = ["application/pdf", "image/png", "image/jpeg"];
|
|
18
19
|
const NO_ID_YET = "NO_ID_YET";
|
|
19
|
-
export const uploadableDocumentTypes = [
|
|
20
|
-
"AssociationRegistration",
|
|
21
|
-
"CompanyRegistration",
|
|
22
|
-
"ProofOfIdentity",
|
|
23
|
-
"SignedStatus",
|
|
24
|
-
"PowerOfAttorney",
|
|
25
|
-
"SwornStatement",
|
|
26
|
-
"UBODeclaration",
|
|
27
|
-
"GeneralAssemblyMinutes",
|
|
28
|
-
];
|
|
29
20
|
const validateNotEmpty = value => {
|
|
30
21
|
if (value.length === 0) {
|
|
31
22
|
return t("error.requiredField");
|
|
@@ -42,12 +33,29 @@ const styles = StyleSheet.create({
|
|
|
42
33
|
});
|
|
43
34
|
const Help = (props) => {
|
|
44
35
|
return match(props)
|
|
45
|
-
.with({ type: "tooltip" }, ({ text, width }) => (_jsx(LakeTooltip, { content:
|
|
46
|
-
.with({ type: "button" }, ({ label, onPress }) => (_jsx(LakeButton, { mode: "tertiary", size: "small", color: "gray", icon: "question-circle-regular", onPress: onPress, style: styles.button, ariaLabel: t("
|
|
36
|
+
.with({ type: "tooltip" }, ({ text, width }) => (_jsx(LakeTooltip, { content: text, width: width, togglableOnFocus: true, placement: "top", children: _jsx(LakeButton, { mode: "tertiary", size: "small", color: "gray", icon: "question-circle-regular", disabled: true, style: [styles.button, styles.buttonWithDefaultCursor], ariaLabel: t("supportingDocuments.help.whatIsThis") }) })))
|
|
37
|
+
.with({ type: "button" }, ({ label, onPress }) => (_jsx(LakeButton, { mode: "tertiary", size: "small", color: "gray", icon: "question-circle-regular", onPress: onPress, style: styles.button, ariaLabel: t("supportingDocuments.help.whatIsThis"), children: label })))
|
|
47
38
|
.exhaustive();
|
|
48
39
|
};
|
|
49
|
-
export const
|
|
50
|
-
|
|
40
|
+
export const getSupportingDocumentPurposeLabel = (purpose) => {
|
|
41
|
+
const key = `supportingDocuments.purpose.${purpose}`;
|
|
42
|
+
if (isTranslationKey(key)) {
|
|
43
|
+
return t(key);
|
|
44
|
+
}
|
|
45
|
+
else {
|
|
46
|
+
return purpose;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
export const getSupportingDocumentPurposeDescriptionLabel = (purpose) => {
|
|
50
|
+
const key = `supportingDocuments.purpose.${purpose}.description`;
|
|
51
|
+
if (isTranslationKey(key)) {
|
|
52
|
+
return t(key);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
return "";
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
const SupportingDocumentWithRef = ({ documents, getAwsUrl, onChange, requiredDocumentPurposes, onboardingLanguage = locale.language, }, externalRef) => {
|
|
51
59
|
const initialValues = useMemo(() => documents.reduce((acc, doc) => {
|
|
52
60
|
var _a;
|
|
53
61
|
return {
|
|
@@ -65,40 +73,16 @@ export const SupportingDocument = forwardRef(({ documents, getAwsUrl, onChange,
|
|
|
65
73
|
}, {}), [documents]);
|
|
66
74
|
const [showPowerOfAttorneyModal, setShowPowerOfAttorneyModal] = useState(false);
|
|
67
75
|
const [showSwornStatementModal, setShowSwornStatementModal] = useState(false);
|
|
68
|
-
const { Field, setFieldValue, getFieldState, listenFields, submitForm } = useForm({
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
initialValue: (_c = initialValues["SignedStatus"]) !== null && _c !== void 0 ? _c : [],
|
|
79
|
-
validate: validateNotEmpty,
|
|
80
|
-
},
|
|
81
|
-
ProofOfIdentity: {
|
|
82
|
-
initialValue: (_d = initialValues["ProofOfIdentity"]) !== null && _d !== void 0 ? _d : [],
|
|
83
|
-
validate: validateNotEmpty,
|
|
84
|
-
},
|
|
85
|
-
UBODeclaration: {
|
|
86
|
-
initialValue: (_e = initialValues["UBODeclaration"]) !== null && _e !== void 0 ? _e : [],
|
|
87
|
-
validate: validateNotEmpty,
|
|
88
|
-
},
|
|
89
|
-
PowerOfAttorney: {
|
|
90
|
-
initialValue: (_f = initialValues["PowerOfAttorney"]) !== null && _f !== void 0 ? _f : [],
|
|
91
|
-
validate: validateNotEmpty,
|
|
92
|
-
},
|
|
93
|
-
SwornStatement: {
|
|
94
|
-
initialValue: (_g = initialValues["SwornStatement"]) !== null && _g !== void 0 ? _g : [],
|
|
95
|
-
validate: validateNotEmpty,
|
|
96
|
-
},
|
|
97
|
-
GeneralAssemblyMinutes: {
|
|
98
|
-
initialValue: (_h = initialValues["GeneralAssemblyMinutes"]) !== null && _h !== void 0 ? _h : [],
|
|
99
|
-
validate: validateNotEmpty,
|
|
100
|
-
},
|
|
101
|
-
});
|
|
76
|
+
const { Field, setFieldValue, getFieldState, listenFields, submitForm } = useForm(requiredDocumentPurposes.reduce((acc, purpose) => {
|
|
77
|
+
var _a;
|
|
78
|
+
return ({
|
|
79
|
+
...acc,
|
|
80
|
+
[purpose]: {
|
|
81
|
+
initialValue: (_a = initialValues[purpose]) !== null && _a !== void 0 ? _a : [],
|
|
82
|
+
validate: validateNotEmpty,
|
|
83
|
+
},
|
|
84
|
+
});
|
|
85
|
+
}, {}));
|
|
102
86
|
useImperativeHandle(externalRef, () => {
|
|
103
87
|
return {
|
|
104
88
|
submit: (callback) => {
|
|
@@ -107,12 +91,12 @@ export const SupportingDocument = forwardRef(({ documents, getAwsUrl, onChange,
|
|
|
107
91
|
};
|
|
108
92
|
});
|
|
109
93
|
useEffect(() => {
|
|
110
|
-
const removeListener = listenFields(
|
|
94
|
+
const removeListener = listenFields(requiredDocumentPurposes, state => {
|
|
111
95
|
let documents = [];
|
|
112
|
-
|
|
96
|
+
Dict.entries(state).forEach(([key, { value: values = [] }]) => {
|
|
113
97
|
documents = [
|
|
114
98
|
...documents,
|
|
115
|
-
...
|
|
99
|
+
...values.map(v => ({
|
|
116
100
|
id: v.id,
|
|
117
101
|
name: v.name,
|
|
118
102
|
downloadUrl: v.fileUrl,
|
|
@@ -123,7 +107,7 @@ export const SupportingDocument = forwardRef(({ documents, getAwsUrl, onChange,
|
|
|
123
107
|
onChange === null || onChange === void 0 ? void 0 : onChange(documents);
|
|
124
108
|
});
|
|
125
109
|
return () => removeListener();
|
|
126
|
-
}, [listenFields, onChange]);
|
|
110
|
+
}, [listenFields, onChange, requiredDocumentPurposes]);
|
|
127
111
|
const handleUpload = (files, fieldName) => {
|
|
128
112
|
const file = files[0];
|
|
129
113
|
if (isNullish(file)) {
|
|
@@ -155,7 +139,7 @@ export const SupportingDocument = forwardRef(({ documents, getAwsUrl, onChange,
|
|
|
155
139
|
id: uploadState.id,
|
|
156
140
|
name: uploadState.name,
|
|
157
141
|
fileUrl: uploadState.fileUrl,
|
|
158
|
-
error: t("
|
|
142
|
+
error: t("supportingDocuments.errorUpload"),
|
|
159
143
|
}
|
|
160
144
|
: uploadState));
|
|
161
145
|
};
|
|
@@ -168,7 +152,7 @@ export const SupportingDocument = forwardRef(({ documents, getAwsUrl, onChange,
|
|
|
168
152
|
id: uploadState.id,
|
|
169
153
|
name: uploadState.name,
|
|
170
154
|
fileUrl: uploadState.fileUrl,
|
|
171
|
-
error: t("
|
|
155
|
+
error: t("supportingDocuments.errorUpload"),
|
|
172
156
|
}
|
|
173
157
|
: uploadState));
|
|
174
158
|
return;
|
|
@@ -190,54 +174,28 @@ export const SupportingDocument = forwardRef(({ documents, getAwsUrl, onChange,
|
|
|
190
174
|
id: uploadState.id,
|
|
191
175
|
name: uploadState.name,
|
|
192
176
|
fileUrl: uploadState.fileUrl,
|
|
193
|
-
error: t("
|
|
177
|
+
error: t("supportingDocuments.errorUpload"),
|
|
194
178
|
}
|
|
195
179
|
: uploadState));
|
|
196
180
|
});
|
|
197
181
|
};
|
|
198
|
-
return (_jsxs(Form, { children: [
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
maxSizeMB: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB,
|
|
213
|
-
}), maxSize: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE })) })) }), _jsx(Space, { height: 24 })] })), requiredDocumentTypes.includes("UBODeclaration") && (_jsxs(_Fragment, { children: [_jsx(LakeLabel, { label: t("supportingDoc.UBODeclaration"), help: _jsx(Help, { type: "tooltip", text: "supportingDoc.UBODeclaration.description" }), render: () => (_jsx(Field, { name: "UBODeclaration", children: ({ value, onChange, error }) => (_jsx(UploadArea, { layout: "horizontal", onDropAccepted: files => {
|
|
214
|
-
onChange([...value, { id: NO_ID_YET, status: "uploading", progress: 0 }]);
|
|
215
|
-
handleUpload(files, "UBODeclaration");
|
|
216
|
-
}, error: error, documents: value, accept: ACCEPTED_FORMATS, icon: "document-regular", description: t("supportingDoc.documentTypes", {
|
|
217
|
-
maxSizeMB: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB,
|
|
218
|
-
}), maxSize: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE })) })) }), _jsx(Space, { height: 24 })] })), requiredDocumentTypes.includes("ProofOfIdentity") && (_jsxs(_Fragment, { children: [_jsx(LakeLabel, { label: t("supportingDoc.proofOfIdentity"), help: _jsx(Help, { type: "tooltip", width: 600, text: "supportingDoc.proofOfIdentity.description" }), render: () => (_jsx(Field, { name: "ProofOfIdentity", children: ({ value, onChange, error }) => (_jsx(UploadArea, { layout: "horizontal", onDropAccepted: files => {
|
|
219
|
-
onChange([...value, { id: NO_ID_YET, status: "uploading", progress: 0 }]);
|
|
220
|
-
handleUpload(files, "ProofOfIdentity");
|
|
221
|
-
}, error: error, documents: value, accept: ACCEPTED_FORMATS, icon: "document-regular", description: t("supportingDoc.documentTypes", {
|
|
222
|
-
maxSizeMB: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB,
|
|
223
|
-
}), maxSize: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE })) })) }), _jsx(Space, { height: 24 })] })), requiredDocumentTypes.includes("PowerOfAttorney") && (_jsxs(_Fragment, { children: [_jsx(LakeLabel, { label: t("supportingDoc.powerAttornySigned"), help: _jsx(Help, { type: "button", label: t("supportingDoc.whatIsThis"), onPress: () => setShowPowerOfAttorneyModal(true) }), render: () => (_jsx(Field, { name: "PowerOfAttorney", children: ({ value, onChange, error }) => (_jsx(UploadArea, { layout: "horizontal", onDropAccepted: files => {
|
|
224
|
-
onChange([...value, { id: NO_ID_YET, status: "uploading", progress: 0 }]);
|
|
225
|
-
handleUpload(files, "PowerOfAttorney");
|
|
226
|
-
}, error: error, documents: value, accept: ACCEPTED_FORMATS, icon: "document-regular", description: t("supportingDoc.documentTypes", {
|
|
227
|
-
maxSizeMB: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB,
|
|
228
|
-
}), maxSize: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE })) })) }), _jsx(Space, { height: 24 })] })), requiredDocumentTypes.includes("GeneralAssemblyMinutes") && (_jsxs(_Fragment, { children: [_jsx(LakeLabel, { label: t("supportingDoc.generalAssemblyMinutes"), help: _jsx(Help, { type: "tooltip", text: "supportingDoc.generalAssemblyMinutes.description" }), render: () => (_jsx(Field, { name: "GeneralAssemblyMinutes", children: ({ value, onChange, error }) => (_jsx(UploadArea, { layout: "horizontal", onDropAccepted: files => {
|
|
229
|
-
onChange([...value, { id: NO_ID_YET, status: "uploading", progress: 0 }]);
|
|
230
|
-
handleUpload(files, "GeneralAssemblyMinutes");
|
|
231
|
-
}, error: error, documents: value, accept: ACCEPTED_FORMATS, icon: "document-regular", description: t("supportingDoc.documentTypes", {
|
|
232
|
-
maxSizeMB: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB,
|
|
233
|
-
}), maxSize: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE })) })) }), _jsx(Space, { height: 24 })] })), requiredDocumentTypes.includes("SwornStatement") && (_jsxs(_Fragment, { children: [_jsx(LakeLabel, { label: t("supportingDoc.swornStatementDeclaration"), help: _jsx(Help, { type: "button", label: t("supportingDoc.whatIsThis"), onPress: () => setShowSwornStatementModal(true) }), render: () => (_jsx(Field, { name: "SwornStatement", children: ({ value, onChange, error }) => (_jsx(UploadArea, { layout: "horizontal", onDropAccepted: files => {
|
|
234
|
-
onChange([...value, { id: NO_ID_YET, status: "uploading", progress: 0 }]);
|
|
235
|
-
handleUpload(files, "SwornStatement");
|
|
236
|
-
}, error: error, documents: value, accept: ACCEPTED_FORMATS, icon: "document-regular", description: t("supportingDoc.documentTypes", {
|
|
237
|
-
maxSizeMB: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB,
|
|
238
|
-
}), maxSize: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE })) })) }), _jsx(Space, { height: 24 })] })), requiredDocumentTypes.length === 0 ? (_jsxs(_Fragment, { children: [_jsx(Space, { height: 24 }), _jsx(LakeText, { children: t("supportingDoc.noRequiredDocuments") }), _jsx(Space, { height: 24 })] })) : null, _jsxs(LakeModal, { visible: showPowerOfAttorneyModal, title: t("supportingDoc.powerAttorney"), icon: "document-regular", onPressClose: () => setShowPowerOfAttorneyModal(false), children: [_jsx(LakeText, { children: t("supportingDoc.powerAttornySigned.description") }), _jsx(Space, { height: 16 }), _jsx(LakeButtonGroup, { paddingBottom: 0, children: _jsx(LakeButton, { grow: true, color: "current", onPress: () => window.open(`/power-of-attorney-template/${match(onboardingLanguage)
|
|
182
|
+
return (_jsxs(Form, { children: [requiredDocumentPurposes.map(purpose => {
|
|
183
|
+
return (_jsxs(Fragment, { children: [_jsx(LakeLabel, { label: getSupportingDocumentPurposeLabel(purpose), help: match(purpose)
|
|
184
|
+
.with("PowerOfAttorney", () => (_jsx(Help, { type: "button", label: t("supportingDocuments.help.whatIsThis"), onPress: () => setShowPowerOfAttorneyModal(true) })))
|
|
185
|
+
.with("SwornStatement", () => (_jsx(Help, { type: "button", label: t("supportingDocuments.help.whatIsThis"), onPress: () => setShowSwornStatementModal(true) })))
|
|
186
|
+
.otherwise(() => {
|
|
187
|
+
const label = getSupportingDocumentPurposeDescriptionLabel(purpose);
|
|
188
|
+
return isNotNullishOrEmpty(label) ? _jsx(Help, { type: "tooltip", text: label }) : null;
|
|
189
|
+
}), render: () => (_jsx(Field, { name: purpose, children: ({ value, onChange, error }) => (_jsx(UploadArea, { layout: "horizontal", error: error, onDropAccepted: files => {
|
|
190
|
+
onChange([...value, { id: NO_ID_YET, status: "uploading", progress: 0 }]);
|
|
191
|
+
handleUpload(files, purpose);
|
|
192
|
+
}, documents: value, accept: ACCEPTED_FORMATS, icon: "document-regular", description: t("supportingDocuments.documentTypes", {
|
|
193
|
+
maxSizeMB: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE_MB,
|
|
194
|
+
}), maxSize: MAX_SUPPORTING_DOCUMENT_UPLOAD_SIZE })) })) }), _jsx(Space, { height: 24 })] }, purpose));
|
|
195
|
+
}), requiredDocumentPurposes.length === 0 ? (_jsxs(_Fragment, { children: [_jsx(Space, { height: 24 }), _jsx(LakeText, { children: t("supportingDocuments.noRequiredDocuments") }), _jsx(Space, { height: 24 })] })) : null, _jsxs(LakeModal, { visible: showPowerOfAttorneyModal, title: t("supportingDocuments.powerOfAttorneyModal.title"), icon: "document-regular", onPressClose: () => setShowPowerOfAttorneyModal(false), children: [_jsx(LakeText, { children: t("supportingDocuments.powerOfAttorneyModal.description") }), _jsx(Space, { height: 16 }), _jsx(LakeButtonGroup, { paddingBottom: 0, children: _jsx(LakeButton, { grow: true, color: "current", onPress: () => window.open(`/power-of-attorney-template/${match(onboardingLanguage)
|
|
239
196
|
.with("fr", () => "fr")
|
|
240
197
|
.with("de", () => "de")
|
|
241
198
|
.with("es", () => "es")
|
|
242
|
-
.otherwise(() => "en")}.pdf`), children: t("
|
|
243
|
-
}
|
|
199
|
+
.otherwise(() => "en")}.pdf`), children: t("supportingDocuments.downloadTemplate") }) })] }), _jsxs(LakeModal, { visible: showSwornStatementModal, title: t("supportingDocuments.purpose.SwornStatement"), icon: "document-regular", onPressClose: () => setShowSwornStatementModal(false), children: [_jsx(LakeText, { children: t("supportingDocuments.purpose.SwornStatement.description") }), _jsx(Space, { height: 16 }), _jsx(LakeButtonGroup, { paddingBottom: 0, children: _jsx(LakeButton, { grow: true, color: "current", onPress: () => window.open("/sworn-statement-template/es.pdf"), children: t("supportingDocuments.downloadTemplate") }) })] })] }));
|
|
200
|
+
};
|
|
201
|
+
export const SupportingDocument = forwardRef(SupportingDocumentWithRef);
|
|
@@ -164,7 +164,7 @@ export const UploadArea = ({ icon, accept, value, documents = [], disabled = fal
|
|
|
164
164
|
})
|
|
165
165
|
.with({ status: "failed" }, ({ error }) => {
|
|
166
166
|
var _a;
|
|
167
|
-
return (_jsx(FileTile, { name: (_a = document.name) !== null && _a !== void 0 ? _a : t("uploadArea.unknownFileName"), url: document.fileUrl, onRemove: () =>
|
|
167
|
+
return (_jsx(FileTile, { name: (_a = document.name) !== null && _a !== void 0 ? _a : t("uploadArea.unknownFileName"), url: document.fileUrl, onRemove: onRemoveDocument ? () => onRemoveDocument(document.id) : undefined, variant: "refused", title: error }));
|
|
168
168
|
})
|
|
169
169
|
.with({ status: "uploading" }, ({ progress }) => (_jsxs(Box, { direction: "row", alignItems: "center", style: styles.item, children: [_jsx(LakeText, { numberOfLines: 1, color: colors.gray[700], children: t("uploadArea.uploading") }), _jsx(Space, { width: 20 }), _jsx(View, { role: "progressbar", style: styles.progressBar, children: _jsx(View, { style: [styles.progress, { width: `${progress}%` }] }) })] })))
|
|
170
170
|
.exhaustive()] }, document.id));
|
package/src/locales/de.json
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"common.optional": "Optional",
|
|
59
59
|
"common.previous": "Zurück",
|
|
60
60
|
"common.remove": "Entfernen",
|
|
61
|
+
"common.showLess": "Weniger anzeigen",
|
|
62
|
+
"common.showMore": "Mehr anzeigen",
|
|
61
63
|
"common.skipToContent": "Zum Inhalt springen",
|
|
62
64
|
"datePicker.day.friday": "Freitag",
|
|
63
65
|
"datePicker.day.monday": "Montag",
|
|
@@ -218,28 +220,57 @@
|
|
|
218
220
|
"rib.nationalCode": "Nationaler Code",
|
|
219
221
|
"rib.number": "Nummer",
|
|
220
222
|
"rib.partnership": "In Partnerschaft mit",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Unterstützte Dokumente: .pdf, .png, .jpg\nMax: {maxSizeMB} MB",
|
|
224
|
+
"supportingDocuments.downloadTemplate": "Vorlage herunterladen",
|
|
225
|
+
"supportingDocuments.errorUpload": "Datei konnte nicht hochgeladen werden",
|
|
226
|
+
"supportingDocuments.help.whatIsThis": "Was ist das?",
|
|
227
|
+
"supportingDocuments.noRequiredDocuments": "Wir benötigen keine Dokumente von Ihnen. Sie können fortfahren.",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "Ein unterzeichneter und datierter Dokument, das einer Person die Vertretung oder Handlung im Namen des gesetzlichen Vertreters eines Unternehmens autorisiert.",
|
|
229
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Vollmacht",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Entscheidung über die Ernennung eines Administrators",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Nachweis der Registrierung",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Offizielles Dokument, das die Registrierung Ihres Vereins nachweist. (< 3 Monate alt)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Bankwesen",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Nachweis der Firmenregistrierung (< 3 Monate alt)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Offizielles Dokument, das die rechtliche Existenz eines Unternehmens nachweist und Informationen über seine Rechtspersönlichkeit liefert. (< 3 Monate alt)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "Jahresabschlüsse",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "Protokoll der Generalversammlung",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Protokoll der letzten Generalversammlung des Vereins",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Identitätsnachweis des gesetzlichen Vertreters",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "NIF-Akkreditierungskarte",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Sonstiges",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Vollmacht",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Vollmacht, unterzeichnet vom gesetzlichen Vertreter",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Entscheidung über die Ernennung des Präsidenten",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Nachweis der Firmenadresse",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Nachweis des Firmeneinkommens",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Identitätsnachweis des gesetzlichen Vertreters",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Zugelassene Dokumente: Reisepass, Personalausweis (nur für Bürger eines Mitgliedslandes der EEE-Zone), Aufenthaltsgenehmigung (nur für Einwohner eines Mitgliedslandes der EEE-Zone)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Nachweis der privaten Adresse",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Nachweis des privaten Einkommens",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Nachweis der Herkunft der Gelder",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Statuten und Satzungen",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "Die Regeln, die Ihr Unternehmen festgelegt hat, um Mitglieder zu regulieren und die Zivilisation aufrechtzuerhalten.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Eidesstattliche Erklärung zur Validierung der UBO-Erklärung",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "Aus regulatorischen Gründen verlangt Swan eine eidesstattliche Erklärung zur Bestätigung der Gültigkeit Ihrer UBO-Erklärung. Sie können eine Vorlage verwenden oder Ihre eigene erstellen.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "UBO-Erklärung",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Erklärung der tatsächlichen wirtschaftlich Berechtigten der Organisation",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Nachweis der Adresse des tatsächlichen wirtschaftlich Berechtigten",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Identitätsnachweis des tatsächlichen wirtschaftlich Berechtigten",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
243
274
|
"uploadArea.browse": "Durchsuchen",
|
|
244
275
|
"uploadArea.dropFile": "Datei hierher ziehen, oder {browse}",
|
|
245
276
|
"uploadArea.droppedFile": "Zum Ändern hier klicken",
|
package/src/locales/en.json
CHANGED
|
@@ -220,28 +220,57 @@
|
|
|
220
220
|
"rib.nationalCode": "National code",
|
|
221
221
|
"rib.number": "Number",
|
|
222
222
|
"rib.partnership": "In partnership with",
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Supported documents: .pdf, .png, .jpg\nMax: {maxSizeMB} MB",
|
|
224
|
+
"supportingDocuments.errorUpload": "Failed to upload file",
|
|
225
|
+
"supportingDocuments.noRequiredDocuments": "We don't need any documents from you. You can continue.",
|
|
226
|
+
"supportingDocuments.downloadTemplate": "Download template",
|
|
227
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Power of attorney",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "A signed and dated document authorizing an individual to represent or act on behalf of a company's legal representative.",
|
|
229
|
+
"supportingDocuments.help.whatIsThis": "What is this?",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Decision of appointment of Administrator",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Proof of registration",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Official document proving the registration of your association. (< 3 months old)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Banking",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Proof of company registration (< 3 months old)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Official document proving the legal existence of a company and providing info about its legal personality.\n(< 3 months old)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "Financial Statements",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "General assembly minutes",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Minutes of the last general assembly of the association",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Proof of identity of the legal representative",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "NIF Accreditation Card",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Other",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Power of attorney",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Power of attorney signed by the legal representative",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Decision of appointment of the President",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Proof of company address",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Proof of company income",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Proof of identity of the legal representative",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Authorized documents: Passport, ID card (only applicable to citizens of member country of the EEE zone), Residence permit (only applicable to residents of member country of the EEE zone)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Proof of individual address",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Proof of individual income",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Proof of origin of funds",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Statutes and Bylaws",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "The rules your company put in place to regulate members and maintain civility.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Sworn statement validating the UBO Declaration",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "For regulatory reasons, Swan requires a sworn statement to confirm the validity of your UBO Declaration. You can use a template or create your own.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "UBO Declaration",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Ultimate Beneficial Owners declaration of the organization",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Proof of address of the Ultimate Beneficial Owner",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Proof of identity of the Ultimate Beneficial Owner",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
245
274
|
"uploadArea.browse": "browse",
|
|
246
275
|
"uploadArea.dropFile": "Drop your file, or {browse}",
|
|
247
276
|
"uploadArea.droppedFile": "Click to modify",
|
package/src/locales/es.json
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"common.optional": "Opcional",
|
|
59
59
|
"common.previous": "Anterior",
|
|
60
60
|
"common.remove": "Eliminar",
|
|
61
|
+
"common.showLess": "Mostrar menos",
|
|
62
|
+
"common.showMore": "Mostrar más",
|
|
61
63
|
"common.skipToContent": "Saltar al contenido",
|
|
62
64
|
"datePicker.day.friday": "Viernes",
|
|
63
65
|
"datePicker.day.monday": "Lunes",
|
|
@@ -218,28 +220,57 @@
|
|
|
218
220
|
"rib.nationalCode": "Código nacional",
|
|
219
221
|
"rib.number": "Número",
|
|
220
222
|
"rib.partnership": "En colaboración con",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Documentos admitidos: .pdf, .png, .jpg\nMáx: {maxSizeMB} MB",
|
|
224
|
+
"supportingDocuments.downloadTemplate": "Descargar plantilla",
|
|
225
|
+
"supportingDocuments.errorUpload": "Error al subir el archivo",
|
|
226
|
+
"supportingDocuments.help.whatIsThis": "¿Qué es esto?",
|
|
227
|
+
"supportingDocuments.noRequiredDocuments": "No necesitamos ningún documento tuyo. Puedes continuar.",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "Documento firmado y fechado que autoriza a una persona a representar o actuar en nombre del representante legal de una empresa.",
|
|
229
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Poder notarial",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Decisión de nombramiento del administrador",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Prueba de registro",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Documento oficial que prueba el registro de tu asociación. (Menos de 3 meses de antigüedad)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Bancario",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Prueba de registro de la empresa (Menos de 3 meses de antigüedad)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Documento oficial que prueba la existencia legal de una empresa y proporciona información sobre su personalidad jurídica.\n(Menos de 3 meses de antigüedad)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "Estado de cuentas",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "Actas de la asamblea general",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Actas de la última asamblea general de la asociación",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Prueba de identidad del representante legal",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "Tarjeta de acreditación del NIF",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Otro",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Poder notarial",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Poder notarial firmado por el representante legal",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Decisión de nombramiento del presidente",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Prueba de dirección de la empresa",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Prueba de ingresos de la empresa",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Prueba de identidad del representante legal",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Documentos autorizados: Pasaporte, DNI (solo aplicable a ciudadanos de países miembros de la zona del EEE), Permiso de residencia (solo aplicable a residentes de países miembros de la zona del EEE)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Prueba de dirección individual",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Prueba de ingresos individuales",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Prueba de origen de fondos",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Estatutos y Reglamentos",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "Las reglas que tu empresa ha establecido para regular a los miembros y mantener la civilidad.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Declaración jurada validando la Declaración de UBO",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "Por razones regulatorias, Swan requiere una declaración jurada para confirmar la validez de tu Declaración de UBO. Puedes utilizar una plantilla o crear la tuya propia.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "Declaración de UBO",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Declaración de los Beneficiarios Finales de la organización",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Prueba de dirección del Beneficiario Final",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Prueba de identidad del Beneficiario Final",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
243
274
|
"uploadArea.browse": "usa el explorador",
|
|
244
275
|
"uploadArea.dropFile": "Suelta el archivo, o {browse}",
|
|
245
276
|
"uploadArea.droppedFile": "Haz clic para modificar",
|
package/src/locales/fi.json
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"common.optional": "Valinnainen",
|
|
59
59
|
"common.previous": "Edellinen",
|
|
60
60
|
"common.remove": "Poista",
|
|
61
|
+
"common.showLess": "Näytä vähemmän",
|
|
62
|
+
"common.showMore": "Näytä enemmän",
|
|
61
63
|
"common.skipToContent": "Ohita ja siirry sisältöön",
|
|
62
64
|
"datePicker.day.friday": "Perjantai",
|
|
63
65
|
"datePicker.day.monday": "Maanantai",
|
|
@@ -218,28 +220,57 @@
|
|
|
218
220
|
"rib.nationalCode": "Maakoodi",
|
|
219
221
|
"rib.number": "Tilin numero",
|
|
220
222
|
"rib.partnership": "Kumppanina",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Tuetut asiakirjat: .pdf, .png, .jpg\nEnintään: {maxSizeMB} MB",
|
|
224
|
+
"supportingDocuments.downloadTemplate": "Lataa pohja",
|
|
225
|
+
"supportingDocuments.errorUpload": "Tiedoston lataus epäonnistui",
|
|
226
|
+
"supportingDocuments.help.whatIsThis": "Mikä tämä on?",
|
|
227
|
+
"supportingDocuments.noRequiredDocuments": "Emme tarvitse sinulta mitään asiakirjoja. Voit jatkaa.",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "Allekirjoitettu ja päivätty asiakirja, joka valtuuttaa yksilön edustamaan tai toimimaan yrityksen laillisen edustajan puolesta.",
|
|
229
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Valtakirja",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Päättäjän nimityspäätös",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Rekisteröintitodistus",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Virallinen asiakirja, joka todistaa yhdistyksen rekisteröinnin. (< 3 kuukautta vanha)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Pankkitoiminta",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Yrityksen rekisteröintitodistus (< 3 kuukautta vanha)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Virallinen asiakirja, joka todistaa yrityksen laillisen olemassaolon ja antaa tietoa sen oikeushenkilöstä.\n(< 3 kuukautta vanha)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "Tilinpäätös",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "Yleiskokouksen pöytäkirja",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Yhdistyksen viimeisen yleiskokouksen pöytäkirjat",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Laillisen edustajan henkilöllisyystodistus",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "NIF-akkreditointikortti",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Muu",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Valtakirja",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Laillisen edustajan allekirjoittama valtakirja",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Päättäjän nimityspäätös",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Yrityksen osoitetodistus",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Yrityksen tulotodistus",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Laillisen edustajan henkilöllisyyden todistus",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Hyväksytyt asiakirjat: Passi, henkilökortti (koskee vain EEE-alueen jäsenmaiden kansalaisia), Oleskelulupa (koskee vain EEE-alueen jäsenmaiden asukkaita)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Henkilökohtaisen osoitetodistus",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Henkilökohtainen tulotodistus",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Varojen alkuperän todistus",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Säännöt ja määräykset",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "Säännöt, jotka yrityksesi on asettanut jäsenten sääntelemiseksi ja sivistyneen käytöksen ylläpitämiseksi.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Valaistunto, joka vahvistaa UBO-ilmoituksen",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "Lainsäädännöllisistä syistä Swan vaatii valan vahvistuksen UBO-ilmoituksen oikeellisuudesta. Voit käyttää valmispohjaa tai luoda oman.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "UBO-ilmoitus",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Organisaation todellisten edunsaajien ilmoitus",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Todellisen edunsaajan osoitetodistus",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Todellisen edunsaajan henkilöllisyystodistus",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
243
274
|
"uploadArea.browse": "selaa",
|
|
244
275
|
"uploadArea.dropFile": "Pudota tiedosto tai {browse}",
|
|
245
276
|
"uploadArea.droppedFile": "Napsauta muokkkaaksesi",
|
package/src/locales/fr.json
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"common.optional": "Facultatif",
|
|
59
59
|
"common.previous": "Précédent",
|
|
60
60
|
"common.remove": "Supprimer",
|
|
61
|
+
"common.showLess": "Afficher moins",
|
|
62
|
+
"common.showMore": "Afficher plus",
|
|
61
63
|
"common.skipToContent": "Aller au contenu",
|
|
62
64
|
"datePicker.day.friday": "Vendredi",
|
|
63
65
|
"datePicker.day.monday": "Lundi",
|
|
@@ -218,28 +220,57 @@
|
|
|
218
220
|
"rib.nationalCode": "Code national",
|
|
219
221
|
"rib.number": "Numéro",
|
|
220
222
|
"rib.partnership": "En partenariat avec",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Documents pris en charge : .pdf, .png, .jpg\nTaille max : {maxSizeMB} Mo",
|
|
224
|
+
"supportingDocuments.downloadTemplate": "Télécharger le modèle",
|
|
225
|
+
"supportingDocuments.errorUpload": "Échec du téléchargement du fichier",
|
|
226
|
+
"supportingDocuments.help.whatIsThis": "Qu'est-ce que c'est ?",
|
|
227
|
+
"supportingDocuments.noRequiredDocuments": "Nous n'avons pas besoin de documents de votre part. Vous pouvez continuer.",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "Un document signé et daté autorisant une personne à représenter ou agir au nom du représentant légal d'une entreprise.",
|
|
229
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Procuration",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Décision de nomination de l'administrateur",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Preuve d'inscription",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Document officiel prouvant l'inscription de votre association. (< 3 mois)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Bancaire",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Preuve d'inscription de l'entreprise (< 3 mois)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Document officiel prouvant l'existence légale d'une entreprise et fournissant des informations sur sa personnalité juridique.\n(< 3 mois)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "États financiers",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "Procès-verbal de l'assemblée générale",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Procès-verbal de la dernière assemblée générale de l'association",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Preuve d'identité du représentant légal",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "Carte d'accréditation NIF",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Autre",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Procuration",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Procuration signée par le représentant légal",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Décision de nomination du président",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Preuve de l'adresse de l'entreprise",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Preuve des revenus de l'entreprise",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Preuve d'identité du représentant légal",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Documents autorisés : Passeport, carte d'identité (uniquement pour les citoyens des pays membres de la zone EEE), permis de séjour (uniquement pour les résidents des pays membres de la zone EEE)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Preuve de l'adresse individuelle",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Preuve des revenus individuels",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Preuve de l'origine des fonds",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Statuts et règlements",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "Les règles que votre entreprise a mises en place pour régir les membres et maintenir la civilité.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Déclaration sous serment validant la Déclaration UBO",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "Pour des raisons réglementaires, Swan exige une déclaration sous serment pour confirmer la validité de votre Déclaration UBO. Vous pouvez utiliser un modèle ou créer le vôtre.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "Déclaration UBO",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Déclaration des bénéficiaires effectifs de l'organisation",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Preuve de l'adresse du bénéficiaire effectif",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Preuve d'identité du bénéficiaire effectif",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
243
274
|
"uploadArea.browse": "parcourir",
|
|
244
275
|
"uploadArea.dropFile": "Télécharger votre fichier, ou {browse}",
|
|
245
276
|
"uploadArea.droppedFile": "Cliquez pour modifier",
|
package/src/locales/it.json
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"common.optional": "Opzionale",
|
|
59
59
|
"common.previous": "Precedente",
|
|
60
60
|
"common.remove": "Rimuovi",
|
|
61
|
+
"common.showLess": "Mostra meno",
|
|
62
|
+
"common.showMore": "Mostra di più",
|
|
61
63
|
"common.skipToContent": "Salta al contenuto",
|
|
62
64
|
"datePicker.day.friday": "Venerdì",
|
|
63
65
|
"datePicker.day.monday": "Lunedì",
|
|
@@ -218,28 +220,57 @@
|
|
|
218
220
|
"rib.nationalCode": "Codice nazionale",
|
|
219
221
|
"rib.number": "Numero",
|
|
220
222
|
"rib.partnership": "In collaborazione con",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Documenti supportati: .pdf, .png, .jpg\nMax: {maxSizeMB} MB",
|
|
224
|
+
"supportingDocuments.downloadTemplate": "Scarica modello",
|
|
225
|
+
"supportingDocuments.errorUpload": "Caricamento del file non riuscito",
|
|
226
|
+
"supportingDocuments.help.whatIsThis": "Cosa è questo?",
|
|
227
|
+
"supportingDocuments.noRequiredDocuments": "Non abbiamo bisogno di nessun documento da parte tua. Puoi continuare.",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "Un documento firmato e datato che autorizza un individuo a rappresentare o agire per conto del legale rappresentante di un'azienda.",
|
|
229
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Procura",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Decisione di nomina dell'Amministratore",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Prova di registrazione",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Documento ufficiale che attesta la registrazione della tua associazione. (< 3 mesi)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Bancario",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Prova di registrazione dell'azienda (< 3 mesi)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Documento ufficiale che attesta l'esistenza legale di un'azienda e fornisce informazioni sulla sua personalità giuridica.\n(< 3 mesi)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "Bilancio",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "Verbale dell'assemblea generale",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Verbale dell'ultima assemblea generale dell'associazione",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Prova di identità del rappresentante legale",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "Carta di accreditamento NIF",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Altro",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Procura",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Procura firmata dal rappresentante legale",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Decisione di nomina del Presidente",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Prova dell'indirizzo aziendale",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Prova del reddito aziendale",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Prova di identità del rappresentante legale",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Documenti autorizzati: Passaporto, Carta d'identità (applicabile solo ai cittadini del paese membro della zona EEE), Permesso di soggiorno (applicabile solo ai residenti del paese membro della zona EEE)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Prova dell'indirizzo individuale",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Prova del reddito individuale",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Prova dell'origine dei fondi",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Statuto e Regolamento",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "Le regole che la tua azienda ha stabilito per regolare i membri e mantenere la civiltà.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Dichiarazione giurata che convalida la Dichiarazione UBO",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "Per motivi normativi, Swan richiede una dichiarazione giurata per confermare la validità della tua Dichiarazione UBO. Puoi utilizzare un modello o crearne uno tuo.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "Dichiarazione UBO",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Dichiarazione dei Beneficiari Effettivi dell'organizzazione",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Prova dell'indirizzo del Beneficiario Effettivo",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Prova di identità del Beneficiario Effettivo",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
243
274
|
"uploadArea.browse": "sfoglia",
|
|
244
275
|
"uploadArea.dropFile": "Rilasci il file, o {browse}",
|
|
245
276
|
"uploadArea.droppedFile": "Clicchi per modificare",
|
package/src/locales/nl.json
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"common.optional": "Optioneel",
|
|
59
59
|
"common.previous": "Vorige",
|
|
60
60
|
"common.remove": "Verwijderen",
|
|
61
|
+
"common.showLess": "Toon minder",
|
|
62
|
+
"common.showMore": "Toon meer",
|
|
61
63
|
"common.skipToContent": "Doorgaan naar artikel",
|
|
62
64
|
"datePicker.day.friday": "Vrijdag",
|
|
63
65
|
"datePicker.day.monday": "Maandag",
|
|
@@ -218,28 +220,57 @@
|
|
|
218
220
|
"rib.nationalCode": "Nationale code",
|
|
219
221
|
"rib.number": "Nummer",
|
|
220
222
|
"rib.partnership": "in samenwerking met",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Ondersteunde documenten: .pdf, .png, .jpg\nMax: {maxSizeMB} MB",
|
|
224
|
+
"supportingDocuments.downloadTemplate": "Sjabloon downloaden",
|
|
225
|
+
"supportingDocuments.errorUpload": "Het uploaden van het bestand is mislukt",
|
|
226
|
+
"supportingDocuments.help.whatIsThis": "Wat is dit?",
|
|
227
|
+
"supportingDocuments.noRequiredDocuments": "We hebben geen documenten van u nodig. U kunt doorgaan.",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "Een ondertekend en gedateerd document waarin een individu gemachtigd wordt om namens een wettelijke vertegenwoordiger van een bedrijf op te treden.",
|
|
229
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Volmacht",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Besluit tot benoeming van de beheerder",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Bewijs van registratie",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Officieel document dat de registratie van uw vereniging aantoont. (< 3 maanden oud)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Bankieren",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Bewijs van bedrijfsregistratie (< 3 maanden oud)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Officieel document dat het wettelijke bestaan van een bedrijf aantoont en informatie verstrekt over de juridische persoonlijkheid ervan.\n(< 3 maanden oud)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "Jaarrekening",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "Notulen van de algemene vergadering",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Notulen van de laatste algemene vergadering van de vereniging",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Bewijs van identiteit van de wettelijke vertegenwoordiger",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "NIF-accreditatiekaart",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Overig",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Volmacht",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Volmacht ondertekend door de wettelijke vertegenwoordiger",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Besluit tot benoeming van de president",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Bewijs van bedrijfsadres",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Bewijs van bedrijfsinkomen",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Bewijs van identiteit van de wettelijke vertegenwoordiger",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Geautoriseerde documenten: Paspoort, ID-kaart (alleen van toepassing op burgers van lidstaat van de EER-zone), Verblijfsvergunning (alleen van toepassing op inwoners van lidstaat van de EER-zone)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Bewijs van individueel adres",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Bewijs van individueel inkomen",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Bewijs van herkomst van middelen",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Statuten en Huishoudelijk Reglement",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "De regels die uw bedrijf heeft opgesteld om leden te reguleren en de beleefdheid te handhaven.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Eedaflegging ter bevestiging van de UBO-verklaring",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "Om regelgevende redenen vereist Swan een eedaflegging om de geldigheid van uw UBO-verklaring te bevestigen. U kunt een sjabloon gebruiken of uw eigen verklaring opstellen.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "UBO-verklaring",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Verklaring van de uiteindelijk belanghebbende eigenaren van de organisatie",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Bewijs van adres van de uiteindelijk belanghebbende eigenaar",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Bewijs van identiteit van de uiteindelijk belanghebbende eigenaar",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
243
274
|
"uploadArea.browse": "browsen",
|
|
244
275
|
"uploadArea.dropFile": "Sleep uw bestand hiernaartoe, of {browse}",
|
|
245
276
|
"uploadArea.droppedFile": "Klik om te bewerken",
|
package/src/locales/pt.json
CHANGED
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"common.optional": "Opcional",
|
|
59
59
|
"common.previous": "Anterior",
|
|
60
60
|
"common.remove": "Remover",
|
|
61
|
+
"common.showLess": "Mostrar menos",
|
|
62
|
+
"common.showMore": "Mostrar mais",
|
|
61
63
|
"common.skipToContent": "Saltar para o conteúdo",
|
|
62
64
|
"datePicker.day.friday": "Sexta-feira",
|
|
63
65
|
"datePicker.day.monday": "Segunda-feira",
|
|
@@ -218,28 +220,57 @@
|
|
|
218
220
|
"rib.nationalCode": "Código nacional",
|
|
219
221
|
"rib.number": "Número",
|
|
220
222
|
"rib.partnership": "Em parceria com",
|
|
221
|
-
"
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
"
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
"
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
223
|
+
"supportingDocuments.documentTypes": "Documentos suportados: .pdf, .png, .jpg\nMáx: {maxSizeMB} MB",
|
|
224
|
+
"supportingDocuments.downloadTemplate": "Descarregar modelo",
|
|
225
|
+
"supportingDocuments.errorUpload": "Falha ao carregar o ficheiro",
|
|
226
|
+
"supportingDocuments.help.whatIsThis": "O que é isto?",
|
|
227
|
+
"supportingDocuments.noRequiredDocuments": "Não precisamos de nenhum documento seu. Pode continuar.",
|
|
228
|
+
"supportingDocuments.powerOfAttorneyModal.description": "Documento assinado e datado autorizando um indivíduo a representar ou agir em nome do representante legal de uma empresa.",
|
|
229
|
+
"supportingDocuments.powerOfAttorneyModal.title": "Procuração",
|
|
230
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment": "Decisão de nomeação de Administrador",
|
|
231
|
+
"supportingDocuments.purpose.AdministratorDecisionOfAppointment.description": "",
|
|
232
|
+
"supportingDocuments.purpose.AssociationRegistration": "Prova de registo",
|
|
233
|
+
"supportingDocuments.purpose.AssociationRegistration.description": "Documento oficial que comprove o registo da sua associação. (< 3 meses)",
|
|
234
|
+
"supportingDocuments.purpose.Banking": "Bancário",
|
|
235
|
+
"supportingDocuments.purpose.Banking.description": "",
|
|
236
|
+
"supportingDocuments.purpose.CompanyRegistration": "Prova de registo da empresa (< 3 meses)",
|
|
237
|
+
"supportingDocuments.purpose.CompanyRegistration.description": "Documento oficial que comprove a existência legal de uma empresa e forneça informações sobre sua personalidade jurídica.\n(< 3 meses)",
|
|
238
|
+
"supportingDocuments.purpose.FinancialStatements": "Demonstrações financeiras",
|
|
239
|
+
"supportingDocuments.purpose.FinancialStatements.description": "",
|
|
240
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes": "Atas da assembleia geral",
|
|
241
|
+
"supportingDocuments.purpose.GeneralAssemblyMinutes.description": "Atas da última assembleia geral da associação",
|
|
242
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity": "Prova de identidade do representante legal",
|
|
243
|
+
"supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description": "",
|
|
244
|
+
"supportingDocuments.purpose.NIFAccreditationCard": "Cartão de Acreditação do NIF",
|
|
245
|
+
"supportingDocuments.purpose.NIFAccreditationCard.description": "",
|
|
246
|
+
"supportingDocuments.purpose.Other": "Outro",
|
|
247
|
+
"supportingDocuments.purpose.Other.description": "",
|
|
248
|
+
"supportingDocuments.purpose.PowerOfAttorney": "Procuração",
|
|
249
|
+
"supportingDocuments.purpose.PowerOfAttorney.description": "Procuração assinada pelo representante legal",
|
|
250
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment": "Decisão de nomeação do Presidente",
|
|
251
|
+
"supportingDocuments.purpose.PresidentDecisionOfAppointment.description": "",
|
|
252
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress": "Prova de endereço da empresa",
|
|
253
|
+
"supportingDocuments.purpose.ProofOfCompanyAddress.description": "",
|
|
254
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome": "Prova de rendimento da empresa",
|
|
255
|
+
"supportingDocuments.purpose.ProofOfCompanyIncome.description": "",
|
|
256
|
+
"supportingDocuments.purpose.ProofOfIdentity": "Prova de identidade do representante legal",
|
|
257
|
+
"supportingDocuments.purpose.ProofOfIdentity.description": "Documentos autorizados: Passaporte, Cartão de identificação (aplicável apenas a cidadãos de países membros da zona EEE), Autorização de residência (aplicável apenas a residentes de países membros da zona EEE)",
|
|
258
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress": "Prova de endereço individual",
|
|
259
|
+
"supportingDocuments.purpose.ProofOfIndividualAddress.description": "",
|
|
260
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome": "Prova de rendimento individual",
|
|
261
|
+
"supportingDocuments.purpose.ProofOfIndividualIncome.description": "",
|
|
262
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds": "Prova de origem dos fundos",
|
|
263
|
+
"supportingDocuments.purpose.ProofOfOriginOfFunds.description": "",
|
|
264
|
+
"supportingDocuments.purpose.SignedStatus": "Estatutos e Regulamentos",
|
|
265
|
+
"supportingDocuments.purpose.SignedStatus.description": "Regras estabelecidas pela sua empresa para regular os membros e manter a civilidade.",
|
|
266
|
+
"supportingDocuments.purpose.SwornStatement": "Declaração juramentada validando a Declaração de UBO",
|
|
267
|
+
"supportingDocuments.purpose.SwornStatement.description": "Por razões regulatórias, a Swan requer uma declaração juramentada para confirmar a validade da sua Declaração de UBO. Pode usar um modelo ou criar o seu próprio.",
|
|
268
|
+
"supportingDocuments.purpose.UBODeclaration": "Declaração de UBO",
|
|
269
|
+
"supportingDocuments.purpose.UBODeclaration.description": "Declaração dos Beneficiários Efetivos da organização",
|
|
270
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress": "Prova de endereço do Beneficiário Efetivo",
|
|
271
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description": "",
|
|
272
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity": "Prova de identidade do Beneficiário Efetivo",
|
|
273
|
+
"supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description": "",
|
|
243
274
|
"uploadArea.browse": "navegar",
|
|
244
275
|
"uploadArea.dropFile": "Arraste o seu ficheiro, ou {browse}",
|
|
245
276
|
"uploadArea.droppedFile": "Clique para modificar",
|
package/src/utils/i18n.d.ts
CHANGED
|
@@ -19,5 +19,6 @@ export declare const locale: Locale;
|
|
|
19
19
|
export declare const t: (key: TranslationKey, params?: TranslationParams) => string;
|
|
20
20
|
export declare const formatNestedMessage: (key: TranslationKey, params: Record<string, string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | ((children: ReactNode) => ReactNode)>) => (string | ReactElement<any, string | import("react").JSXElementConstructor<any>>)[];
|
|
21
21
|
export declare const rifmDateProps: RifmProps;
|
|
22
|
+
export declare const isTranslationKey: (value: unknown) => value is "addressFormPart.addressLabel" | "addressFormPart.cityLabel" | "addressFormPart.placeholder" | "addressFormPart.postCodeLabel" | "addressFormPart.setManual" | "beneficiaryForm.beneficiary.address" | "beneficiaryForm.beneficiary.birthCity" | "beneficiaryForm.beneficiary.birthCityPlaceholder" | "beneficiaryForm.beneficiary.birthCountry" | "beneficiaryForm.beneficiary.birthCountryPlaceholder" | "beneficiaryForm.beneficiary.birthDate" | "beneficiaryForm.beneficiary.birthPostalCode" | "beneficiaryForm.beneficiary.birthPostalCodePlaceholder" | "beneficiaryForm.beneficiary.country" | "beneficiaryForm.beneficiary.directOrIndirect" | "beneficiaryForm.beneficiary.directly" | "beneficiaryForm.beneficiary.fillBirthCountry" | "beneficiaryForm.beneficiary.firstName" | "beneficiaryForm.beneficiary.firstNamePlaceholder" | "beneficiaryForm.beneficiary.indirectly" | "beneficiaryForm.beneficiary.lastName" | "beneficiaryForm.beneficiary.lastNamePlaceholder" | "beneficiaryForm.beneficiary.legalRepresentative" | "beneficiaryForm.beneficiary.other" | "beneficiaryForm.beneficiary.ownershipOfCapital" | "beneficiaryForm.beneficiary.taxIdentificationNumber" | "beneficiaryForm.beneficiary.totalCapitalPercentage" | "beneficiaryForm.beneficiary.type" | "businessActivity.administrativeServices" | "businessActivity.agriculture" | "businessActivity.arts" | "businessActivity.businessAndRetail" | "businessActivity.construction" | "businessActivity.education" | "businessActivity.electricalDistributionAndWaterSupply" | "businessActivity.financialAndInsuranceOperations" | "businessActivity.health" | "businessActivity.housekeeping" | "businessActivity.informationAndCommunication" | "businessActivity.lodgingAndFoodServices" | "businessActivity.manufacturingAndMining" | "businessActivity.other" | "businessActivity.publicAdministration" | "businessActivity.realEstate" | "businessActivity.scientificActivities" | "businessActivity.transportation" | "common.cancel" | "common.close" | "common.form.help.nbCharacters" | "common.form.help.nbDigits" | "common.form.invalidTaxIdentificationNumber" | "common.form.taxIdentificationNumber.placeholder" | "common.form.taxIdentificationNumber.tooltip.deu" | "common.next" | "common.noResult" | "common.open" | "common.optional" | "common.previous" | "common.remove" | "common.showLess" | "common.showMore" | "common.skipToContent" | "datePicker.day.friday" | "datePicker.day.monday" | "datePicker.day.saturday" | "datePicker.day.sunday" | "datePicker.day.thursday" | "datePicker.day.tuesday" | "datePicker.day.wednesday" | "datePicker.month.april" | "datePicker.month.august" | "datePicker.month.december" | "datePicker.month.february" | "datePicker.month.january" | "datePicker.month.july" | "datePicker.month.june" | "datePicker.month.march" | "datePicker.month.may" | "datePicker.month.next" | "datePicker.month.november" | "datePicker.month.october" | "datePicker.month.previous" | "datePicker.month.september" | "error.generic" | "error.iban.invalid" | "error.network.500" | "error.network.503" | "error.requiredField" | "monthlyPaymentVolume.between10000And50000" | "monthlyPaymentVolume.between50000And100000" | "monthlyPaymentVolume.lessThan10000" | "monthlyPaymentVolume.moreThan100000" | "registrationPage.defaultNumberLabel" | "registrationPage.withOrganismLabel" | "registrationPage.withoutOrganismNameLabel" | "rejection.AccountHolderNotFoundRejection" | "rejection.AccountHolderTypeIndividualRejection" | "rejection.AccountMembershipCannotBeDisabledRejection" | "rejection.AccountMembershipCannotBeUpdatedRejection" | "rejection.AccountMembershipNotAllowedRejection" | "rejection.AccountMembershipNotFoundRejection" | "rejection.AccountMembershipNotReadyToBeBoundRejection" | "rejection.AccountNotEligibleRejection" | "rejection.AccountNotFoundRejection" | "rejection.AccountVerificationAlreadyRejectedRejection" | "rejection.AccountVerificationWrongStatusRejection" | "rejection.AddingCardsToDifferentAccountsRejection" | "rejection.AlreadyValidPhysicalCardRejection" | "rejection.ApplePayNotAllowedForProjectRejection" | "rejection.BadAccountStatusRejection" | "rejection.BadRequestRejection" | "rejection.CannotActivatePhysicalCardRejection" | "rejection.CapitalDepositDocumentCanNotBeUploaded" | "rejection.CardCanNotBeDigitalizedRejection" | "rejection.CardNotFoundRejection" | "rejection.CardProductDisabledRejection" | "rejection.CardProductNotApplicableToPhysicalCardsRejection" | "rejection.CardProductNotFoundRejection" | "rejection.CardProductSuspendedRejection" | "rejection.CardProductUsedRejection" | "rejection.CardWrongStatusRejection" | "rejection.ConsentNotFoundRejection" | "rejection.ConsentTypeNotSupportedByServerConsentRejection" | "rejection.ConsentsAlreadyLinkedToMultiConsentRejection" | "rejection.ConsentsNotAllInCreatedStatusRejection" | "rejection.ConsentsNotFoundRejection" | "rejection.DebtorAccountClosedRejection" | "rejection.DebtorAccountNotAllowedRejection" | "rejection.DigitalCardNotFoundRejection" | "rejection.EnabledCardDesignNotFoundRejection" | "rejection.ExternalAccountAlreadyExistsRejection" | "rejection.ExternalAccountBalanceAlreadyExistsRejection" | "rejection.ForbiddenRejection" | "rejection.FundingLimitExceededRejection" | "rejection.FundingLimitSettingsChangeRequestBadAmountRejection" | "rejection.FundingSourceNotFoundRejection" | "rejection.FundingSourceWrongStatusRejection" | "rejection.GlobalFundingLimitExceededRejection" | "rejection.GlobalInstantFundingLimitExceededRejection" | "rejection.IBANNotReachableRejection" | "rejection.IBANNotValidRejection" | "rejection.IbanValidationRejection" | "rejection.IdentityAlreadyBindToAccountMembershipRejection" | "rejection.InstantFundingLimitExceededRejection" | "rejection.InsufficientFundsRejection" | "rejection.InternalErrorRejection" | "rejection.InvalidArgumentRejection" | "rejection.InvalidPhoneNumberRejection" | "rejection.InvalidSirenNumberRejection" | "rejection.LegalRepresentativeAccountMembershipCannotBeDisabledRejection" | "rejection.LegalRepresentativeAccountMembershipCannotBeSuspendedRejection" | "rejection.MerchantProfileWrongStatusRejection" | "rejection.MissingMandatoryFieldRejection" | "rejection.NotFoundRejection" | "rejection.NotReachableConsentStatusRejection" | "rejection.NotSupportedCountryRejection" | "rejection.OnboardingNotCompletedRejection" | "rejection.PINNotReadyRejection" | "rejection.PaymentMandateMandateNotFoundRejection" | "rejection.PaymentMandateReferenceAlreadyUsedRejection" | "rejection.PaymentMethodNotCompatibleRejection" | "rejection.PermissionCannotBeGrantedRejection" | "rejection.PhysicalCardNotFoundRejection" | "rejection.PhysicalCardWrongStatusRejection" | "rejection.ProjectForbiddenRejection" | "rejection.ProjectFundingLimitExceededRejection" | "rejection.ProjectInstantFundingLimitExceededRejection" | "rejection.ProjectInvalidStatusRejection" | "rejection.ProjectNotFound" | "rejection.ProjectNotFoundRejection" | "rejection.ProjectSettingsForbiddenError" | "rejection.ProjectSettingsNotFound" | "rejection.ProjectSettingsStatusNotReachable" | "rejection.PublicOnboardingDisabledRejection" | "rejection.ReceivedDirectDebitMandateAlreadyExistRejection" | "rejection.ReceivedDirectDebitMandateCanceledRejection" | "rejection.ReceivedDirectDebitMandateNotB2bRejection" | "rejection.ReceivedDirectDebitMandateNotFoundRejection" | "rejection.RefundRejection" | "rejection.RestrictedToUserRejection" | "rejection.SchemeWrongRejection" | "rejection.ServerConsentCredentialsNotValidOrOutdatedRejection" | "rejection.ServerConsentNotAllowedForConsentOperationRejection" | "rejection.ServerConsentNotAllowedForProjectRejection" | "rejection.ServerConsentProjectCredentialMissingRejection" | "rejection.ServerConsentProjectCredentialNotFoundRejection" | "rejection.ServerConsentProjectSettingsNotFoundRejection" | "rejection.ServerConsentSignatureNotValidRejection" | "rejection.StandingOrderNotFoundRejection" | "rejection.SupportingDocumentCollectionNotFoundRejection" | "rejection.SupportingDocumentCollectionStatusDoesNotAllowDeletionRejection" | "rejection.SupportingDocumentCollectionStatusDoesNotAllowUpdateRejection" | "rejection.SupportingDocumentCollectionStatusNotAllowedRejection" | "rejection.SupportingDocumentNotFoundRejection" | "rejection.SupportingDocumentStatusDoesNotAllowDeletionRejection" | "rejection.SupportingDocumentStatusDoesNotAllowUpdateRejection" | "rejection.SupportingDocumentStatusNotAllowedRejection" | "rejection.SupportingDocumentUploadNotAllowedRejection" | "rejection.SuspendReceivedDirectDebitMandatedRejection" | "rejection.TooManyChildConsentsRejection" | "rejection.TooManyItemsRejection" | "rejection.TransactionNotFoundRejection" | "rejection.UpdateUserConsentSettingsTokenRejection" | "rejection.UserNotAllowedToDisableItsOwnAccountMembershipRejection" | "rejection.UserNotAllowedToManageAccountMembershipRejection" | "rejection.UserNotAllowedToSuspendItsOwnAccountMembershipRejection" | "rejection.UserNotCardHolderRejection" | "rejection.ValidationRejection" | "rejection.WrongValueProvidedRejection" | "rib.accountHolder" | "rib.accountNumber" | "rib.address" | "rib.agency" | "rib.bank" | "rib.bankDetails" | "rib.bic" | "rib.iban" | "rib.key" | "rib.nationalCode" | "rib.number" | "rib.partnership" | "supportingDocuments.documentTypes" | "supportingDocuments.errorUpload" | "supportingDocuments.noRequiredDocuments" | "supportingDocuments.downloadTemplate" | "supportingDocuments.powerOfAttorneyModal.title" | "supportingDocuments.powerOfAttorneyModal.description" | "supportingDocuments.help.whatIsThis" | "supportingDocuments.purpose.AdministratorDecisionOfAppointment" | "supportingDocuments.purpose.AdministratorDecisionOfAppointment.description" | "supportingDocuments.purpose.AssociationRegistration" | "supportingDocuments.purpose.AssociationRegistration.description" | "supportingDocuments.purpose.Banking" | "supportingDocuments.purpose.Banking.description" | "supportingDocuments.purpose.CompanyRegistration" | "supportingDocuments.purpose.CompanyRegistration.description" | "supportingDocuments.purpose.FinancialStatements" | "supportingDocuments.purpose.FinancialStatements.description" | "supportingDocuments.purpose.GeneralAssemblyMinutes" | "supportingDocuments.purpose.GeneralAssemblyMinutes.description" | "supportingDocuments.purpose.LegalRepresentativeProofOfIdentity" | "supportingDocuments.purpose.LegalRepresentativeProofOfIdentity.description" | "supportingDocuments.purpose.NIFAccreditationCard" | "supportingDocuments.purpose.NIFAccreditationCard.description" | "supportingDocuments.purpose.Other" | "supportingDocuments.purpose.Other.description" | "supportingDocuments.purpose.PowerOfAttorney" | "supportingDocuments.purpose.PowerOfAttorney.description" | "supportingDocuments.purpose.PresidentDecisionOfAppointment" | "supportingDocuments.purpose.PresidentDecisionOfAppointment.description" | "supportingDocuments.purpose.ProofOfCompanyAddress" | "supportingDocuments.purpose.ProofOfCompanyAddress.description" | "supportingDocuments.purpose.ProofOfCompanyIncome" | "supportingDocuments.purpose.ProofOfCompanyIncome.description" | "supportingDocuments.purpose.ProofOfIdentity" | "supportingDocuments.purpose.ProofOfIdentity.description" | "supportingDocuments.purpose.ProofOfIndividualAddress" | "supportingDocuments.purpose.ProofOfIndividualAddress.description" | "supportingDocuments.purpose.ProofOfIndividualIncome" | "supportingDocuments.purpose.ProofOfIndividualIncome.description" | "supportingDocuments.purpose.ProofOfOriginOfFunds" | "supportingDocuments.purpose.ProofOfOriginOfFunds.description" | "supportingDocuments.purpose.SignedStatus" | "supportingDocuments.purpose.SignedStatus.description" | "supportingDocuments.purpose.SwornStatement" | "supportingDocuments.purpose.SwornStatement.description" | "supportingDocuments.purpose.UBODeclaration" | "supportingDocuments.purpose.UBODeclaration.description" | "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress" | "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfAddress.description" | "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity" | "supportingDocuments.purpose.UltimateBeneficialOwnerProofOfIdentity.description" | "uploadArea.browse" | "uploadArea.dropFile" | "uploadArea.droppedFile" | "uploadArea.noValue" | "uploadArea.unknownFileName" | "uploadArea.uploading";
|
|
22
23
|
export declare const translateError: (error: unknown) => string;
|
|
23
24
|
export {};
|
package/src/utils/i18n.js
CHANGED
|
@@ -127,7 +127,7 @@ export const rifmDateProps = getRifmProps({
|
|
|
127
127
|
maxLength: 8,
|
|
128
128
|
});
|
|
129
129
|
const translationKeys = Object.keys(translationEN);
|
|
130
|
-
const isTranslationKey = (
|
|
130
|
+
export const isTranslationKey = (value) => typeof value === "string" && translationKeys.includes(value);
|
|
131
131
|
export const translateError = (error) => {
|
|
132
132
|
const key = match(error)
|
|
133
133
|
.returnType()
|