cozy-client 60.38.0 → 60.40.0
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/dist/CozyClient.js +1 -1
- package/dist/models/applications.js +1 -1
- package/dist/models/applications.spec.js +26 -3
- package/dist/models/country/locales/de.json +500 -0
- package/dist/models/country/locales/es.json +500 -0
- package/dist/models/country/locales/index.js +17 -2
- package/dist/models/country/locales/it.json +500 -0
- package/dist/models/country/locales/ru.json +500 -0
- package/dist/models/country/locales/vi.json +500 -0
- package/dist/models/doctypes/locales/de.json +106 -0
- package/dist/models/doctypes/locales/es.json +106 -0
- package/dist/models/doctypes/locales/fr.json +2 -1
- package/dist/models/doctypes/locales/it.json +106 -0
- package/dist/models/doctypes/locales/ru.json +106 -0
- package/dist/models/doctypes/locales/vi.json +106 -0
- package/dist/models/document/locales/de.json +261 -0
- package/dist/models/document/locales/es.json +261 -0
- package/dist/models/document/locales/index.js +20 -3
- package/dist/models/document/locales/index.spec.js +28 -1
- package/dist/models/document/locales/it.json +261 -0
- package/dist/models/document/locales/ru.json +261 -0
- package/dist/models/document/locales/vi.json +261 -0
- package/dist/models/paper.js +21 -2
- package/package.json +2 -2
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
{
|
|
2
|
+
"country": {
|
|
3
|
+
"foreign": "Ausland"
|
|
4
|
+
},
|
|
5
|
+
"Scan": {
|
|
6
|
+
"scan_a_doc": "Dokument scannen",
|
|
7
|
+
"save_doc": "Dokument speichern",
|
|
8
|
+
"filename": "Dateiname",
|
|
9
|
+
"save": "Speichern",
|
|
10
|
+
"cancel": "Abbrechen",
|
|
11
|
+
"qualify": "Beschreiben",
|
|
12
|
+
"apply": "Anwenden",
|
|
13
|
+
"error": {
|
|
14
|
+
"offline": "Sie sind derzeit offline und können diese Funktion nicht nutzen. Bitte versuchen Sie es später erneut.",
|
|
15
|
+
"uploading": "Sie laden bereits eine Datei hoch. Bitte warten Sie, bis der Upload abgeschlossen ist, und versuchen Sie es erneut.",
|
|
16
|
+
"generic": "Etwas ist schiefgelaufen. Bitte versuchen Sie es erneut."
|
|
17
|
+
},
|
|
18
|
+
"successful": {
|
|
19
|
+
"qualified_ok": "Sie haben Ihre Datei erfolgreich beschrieben!"
|
|
20
|
+
},
|
|
21
|
+
"items": {
|
|
22
|
+
"accommodation_proof": "Unterkunftsnachweis |||| Unterkunftsnachweise",
|
|
23
|
+
"appliance_invoice": "Rechnung für Haushaltsgerät |||| Rechnungen für Haushaltsgeräte",
|
|
24
|
+
"bank_details": "Bankverbindung |||| Bankverbindungen",
|
|
25
|
+
"bank_statement": "Kontoauszug |||| Kontoauszüge",
|
|
26
|
+
"birth_certificate": "Geburtsurkunde |||| Geburtsurkunden",
|
|
27
|
+
"building_permit": "Baugenehmigung |||| Baugenehmigungen",
|
|
28
|
+
"caf": "Bescheinigung über Sozialleistungen |||| Bescheinigungen über Sozialleistungen",
|
|
29
|
+
"car_insurance": "Kfz-Versicherungsnachweis |||| Kfz-Versicherungsnachweise",
|
|
30
|
+
"citizen_registration_certificate": "Meldebescheinigung |||| Meldebescheinigungen",
|
|
31
|
+
"condition_report": "Übergabeprotokoll |||| Übergabeprotokolle",
|
|
32
|
+
"diploma": "Abschlusszeugnis |||| Abschlusszeugnisse",
|
|
33
|
+
"divorce": "Scheidung |||| Scheidungen",
|
|
34
|
+
"driver_license": "Führerschein |||| Führerscheine",
|
|
35
|
+
"electoral_card": "Wahlbenachrichtigung |||| Wahlbenachrichtigungen",
|
|
36
|
+
"employment_center_certificate": "Bescheinigung der Arbeitsagentur |||| Bescheinigungen der Arbeitsagentur",
|
|
37
|
+
"energy_contract": "Energieliefervertrag |||| Energielieferverträge",
|
|
38
|
+
"energy_invoice": "Energierechnung |||| Energierechnungen",
|
|
39
|
+
"expense_claim": "Spesenabrechnung |||| Spesenabrechnungen",
|
|
40
|
+
"family_record_book": "Familienstammbuch |||| Familienstammbücher",
|
|
41
|
+
"family": "Familie",
|
|
42
|
+
"fidelity_card": "Kundenkarte |||| Kundenkarten",
|
|
43
|
+
"fine": "Bußgeld |||| Bußgelder",
|
|
44
|
+
"gradebook": "Zeugnis |||| Zeugnisse",
|
|
45
|
+
"grocery_invoice": "Einkaufsrechnung |||| Einkaufsrechnungen",
|
|
46
|
+
"health_book": "Gesundheitsheft |||| Gesundheitshefte",
|
|
47
|
+
"health_certificate": "Gesundheits-/Impfbescheinigung |||| Gesundheits-/Impfbescheinigungen",
|
|
48
|
+
"health_insurance_card": "Versicherungskarte |||| Versicherungskarten",
|
|
49
|
+
"health_invoice": "Arztrechnung |||| Arztrechnungen",
|
|
50
|
+
"health": "Gesundheit",
|
|
51
|
+
"home": "Wohnen",
|
|
52
|
+
"house_insurance": "Hausratversicherung |||| Hausratversicherungen",
|
|
53
|
+
"house_sale_agreeement": "Immobilienkaufvertrag |||| Immobilienkaufverträge",
|
|
54
|
+
"identity_photo": "Passfoto |||| Passfotos",
|
|
55
|
+
"identity": "Identität",
|
|
56
|
+
"invoice": "Rechnung |||| Rechnungen",
|
|
57
|
+
"isp_invoice": "Internetrechnung |||| Internetrechnungen",
|
|
58
|
+
"large_family_card": "Ausweis für kinderreiche Familien |||| Ausweise für kinderreiche Familien",
|
|
59
|
+
"lease": "Mietvertrag |||| Mietverträge",
|
|
60
|
+
"loan_agreement": "Darlehensvertrag |||| Darlehensverträge",
|
|
61
|
+
"mechanic_invoice": "Reparaturrechnung |||| Reparaturrechnungen",
|
|
62
|
+
"motivation_letter": "Anschreiben |||| Anschreiben",
|
|
63
|
+
"national_health_insurance_card": "Gesundheitskarte |||| Gesundheitskarten",
|
|
64
|
+
"national_health_insurance_right_certificate": "Krankenversicherungsbescheinigung |||| Krankenversicherungsbescheinigungen",
|
|
65
|
+
"national_id_card": "Personalausweis |||| Personalausweise",
|
|
66
|
+
"note_identity_document": "Notiz Identität |||| Notizen Identität",
|
|
67
|
+
"note_family_document": "Notiz Familie |||| Notizen Familie",
|
|
68
|
+
"note_work_document": "Notiz Arbeit & Studium |||| Notizen Arbeit & Studium",
|
|
69
|
+
"note_health_document": "Notiz Gesundheit |||| Notizen Gesundheit",
|
|
70
|
+
"note_house_document": "Notiz Wohnen |||| Notizen Wohnen",
|
|
71
|
+
"note_transport_document": "Notiz Mobilität |||| Notizen Mobilität",
|
|
72
|
+
"note_activity_document": "Notiz Freizeit |||| Notizen Freizeit",
|
|
73
|
+
"note_finance": "Notiz Finanzen |||| Notizen Finanzen",
|
|
74
|
+
"note_invoice": "Notiz Rechnungen |||| Notizen Rechnungen",
|
|
75
|
+
"other_activity_document": "Sonstiges Freizeitdokument |||| Sonstige Freizeitdokumente",
|
|
76
|
+
"other_bank_document": "Sonstiges Finanzdokument |||| Sonstige Finanzdokumente",
|
|
77
|
+
"other_family_document": "Sonstiges Familiendokument |||| Sonstige Familiendokumente",
|
|
78
|
+
"other_health_document": "Sonstiges Gesundheitsdokument |||| Sonstige Gesundheitsdokumente",
|
|
79
|
+
"other_house_document": "Sonstiges Wohndokument |||| Sonstige Wohndokumente",
|
|
80
|
+
"other_identity_document": "Sonstiges Identitätsdokument |||| Sonstige Identitätsdokumente",
|
|
81
|
+
"other_invoice": "Sonstige Rechnung |||| Sonstige Rechnungen",
|
|
82
|
+
"other_revenue": "Sonstiges Einkommen |||| Sonstige Einkommen",
|
|
83
|
+
"other_tax_document": "Sonstiges Steuerdokument |||| Sonstige Steuerdokumente",
|
|
84
|
+
"other_transport_document": "Sonstiges Mobilitätsdokument |||| Sonstige Mobilitätsdokumente",
|
|
85
|
+
"other_work_document": "Sonstiges Arbeitsdokument |||| Sonstige Arbeitsdokumente",
|
|
86
|
+
"other_administrative_document": "Sonstiges Verwaltungsdokument |||| Sonstige Verwaltungsdokumente",
|
|
87
|
+
"others": "Sonstiges",
|
|
88
|
+
"pacs": "Eingetragene Partnerschaft |||| Eingetragene Partnerschaften",
|
|
89
|
+
"passport": "Reisepass |||| Reisepässe",
|
|
90
|
+
"pay_sheet": "Gehaltsabrechnung |||| Gehaltsabrechnungen",
|
|
91
|
+
"payment_proof_family_allowance": "Zahlungsnachweis Familienleistungen |||| Zahlungsnachweise Familienleistungen",
|
|
92
|
+
"pension": "Rente |||| Renten",
|
|
93
|
+
"person_insurance": "Nachweis der Einzelversicherung |||| Nachweise der Einzelversicherung",
|
|
94
|
+
"personal_sporting_licence": "Sportlizenz |||| Sportlizenzen",
|
|
95
|
+
"phone_invoice": "Telefonrechnung |||| Telefonrechnungen",
|
|
96
|
+
"pregnancy_medical_certificate": "Schwangerschaftsbescheinigung |||| Schwangerschaftsbescheinigungen",
|
|
97
|
+
"prescription": "Rezept |||| Rezepte",
|
|
98
|
+
"real_estate_insurance" : "Nachweis der Gebäudeversicherung |||| Nachweise der Gebäudeversicherung",
|
|
99
|
+
"real_estate_tax": "Grundsteuer |||| Grundsteuern",
|
|
100
|
+
"receipt": "Quittung |||| Quittungen",
|
|
101
|
+
"rent_receipt": "Mietquittung |||| Mietquittungen",
|
|
102
|
+
"residence_permit": "Aufenthaltstitel |||| Aufenthaltstitel",
|
|
103
|
+
"restaurant_invoice": "Restaurantrechnung |||| Restaurantrechnungen",
|
|
104
|
+
"resume": "Lebenslauf |||| Lebensläufe",
|
|
105
|
+
"school_attendance_certificate": "Schulbescheinigung |||| Schulbescheinigungen",
|
|
106
|
+
"school_insurance_certificate": "Nachweis der Schülerversicherung |||| Nachweise der Schülerversicherung",
|
|
107
|
+
"single_parent_benefit": "Leistung für Alleinerziehende |||| Leistungen für Alleinerziehende",
|
|
108
|
+
"student_card": "Studierendenausweis |||| Studierendenausweise",
|
|
109
|
+
"tax_certificate": "Steuerbescheinigung |||| Steuerbescheinigungen",
|
|
110
|
+
"tax_notice": "Steuerbescheid |||| Steuerbescheide",
|
|
111
|
+
"tax_return": "Steuererklärung |||| Steuererklärungen",
|
|
112
|
+
"tax_timetable": "Ratenzahlungsplan |||| Ratenzahlungspläne",
|
|
113
|
+
"technical_diagnostic_record": "Technisches Gutachten |||| Technische Gutachten",
|
|
114
|
+
"telecom_invoice": "Telekommunikationsrechnung |||| Telekommunikationsrechnungen",
|
|
115
|
+
"transport_card": "Fahrkarte |||| Fahrkarten",
|
|
116
|
+
"transport_invoice": "Fahrtkostenrechnung |||| Fahrtkostenrechnungen",
|
|
117
|
+
"transport": "Mobilität",
|
|
118
|
+
"unemployment_benefit": "Arbeitslosengeldbescheid |||| Arbeitslosengeldbescheide",
|
|
119
|
+
"unfit_for_habitation_declaration": "Unbewohnbarkeitserklärung |||| Unbewohnbarkeitserklärungen",
|
|
120
|
+
"vehicle_registration": "Fahrzeugschein |||| Fahrzeugscheine",
|
|
121
|
+
"water_invoice": "Wasserrechnung |||| Wasserrechnungen",
|
|
122
|
+
"web_service_invoice": "Rechnung für Webdienst |||| Rechnungen für Webdienste",
|
|
123
|
+
"wedding": "Ehevertrag |||| Eheverträge",
|
|
124
|
+
"work_contract": "Arbeitsvertrag |||| Arbeitsverträge",
|
|
125
|
+
"work_disability_recognition": "Schwerbehindertenausweis |||| Schwerbehindertenausweise",
|
|
126
|
+
"work_invoice": "Handwerkerrechnung |||| Handwerkerrechnungen",
|
|
127
|
+
"work_quote": "Kostenvoranschlag |||| Kostenvoranschläge",
|
|
128
|
+
"work_study": "Arbeit & Studium"
|
|
129
|
+
},
|
|
130
|
+
"attributes":{
|
|
131
|
+
"contractType": {
|
|
132
|
+
"cdi": "Unbefristet",
|
|
133
|
+
"cdd": "Befristet",
|
|
134
|
+
"alternate": "Duale Ausbildung",
|
|
135
|
+
"internship": "Praktikum",
|
|
136
|
+
"other": "Sonstiges"
|
|
137
|
+
},
|
|
138
|
+
"noticePeriod": {
|
|
139
|
+
"oneWeek": "1 Woche vorher",
|
|
140
|
+
"oneMonth": "1 Monat vorher",
|
|
141
|
+
"threeMonth": "3 Monate vorher",
|
|
142
|
+
"oneYear": "1 Jahr vorher",
|
|
143
|
+
"custom": "Benutzerdefiniert",
|
|
144
|
+
"noAlert": "Nicht benachrichtigen"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"themes": {
|
|
148
|
+
"none": "Keines",
|
|
149
|
+
"activity": "Freizeit",
|
|
150
|
+
"family": "Familie",
|
|
151
|
+
"finance": "Finanzen",
|
|
152
|
+
"health": "Gesundheit",
|
|
153
|
+
"home": "Wohnen",
|
|
154
|
+
"identity": "Identität",
|
|
155
|
+
"invoice": "Rechnungen",
|
|
156
|
+
"others": "Sonstiges",
|
|
157
|
+
"transport": "Mobilität",
|
|
158
|
+
"undefined": "Nicht definiert",
|
|
159
|
+
"work_study": "Arbeit & Studium"
|
|
160
|
+
},
|
|
161
|
+
"expiration": {
|
|
162
|
+
"expired": "Abgelaufen",
|
|
163
|
+
"expiresIn": "Läuft in %{duration} ab",
|
|
164
|
+
"description": "Dieses Dokument läuft in %{duration} ab, denken Sie an die Verlängerung"
|
|
165
|
+
},
|
|
166
|
+
"qualification": {
|
|
167
|
+
"date": {
|
|
168
|
+
"title": {
|
|
169
|
+
"datetime": "Hinzugefügt am",
|
|
170
|
+
"AObtentionDate": "Führerschein Klasse A, ausgestellt am",
|
|
171
|
+
"BObtentionDate": "Führerschein Klasse B, ausgestellt am",
|
|
172
|
+
"CObtentionDate": "Führerschein Klasse C, ausgestellt am",
|
|
173
|
+
"DObtentionDate": "Führerschein Klasse D, ausgestellt am",
|
|
174
|
+
"issueDate": "Ausgestellt am",
|
|
175
|
+
"expirationDate": "Ablaufdatum",
|
|
176
|
+
"referencedDate": "Referenzdatum",
|
|
177
|
+
"shootingDate": "Aufnahmedatum",
|
|
178
|
+
"obtentionDate": "Erhalten am",
|
|
179
|
+
"date": "Dokumentdatum"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"information": {
|
|
183
|
+
"title": {
|
|
184
|
+
"fine": {
|
|
185
|
+
"number": "Höhe des Bußgelds"
|
|
186
|
+
},
|
|
187
|
+
"fidelity_card": {
|
|
188
|
+
"number": "Kartennummer"
|
|
189
|
+
},
|
|
190
|
+
"caf": {
|
|
191
|
+
"number": "CAF-Aktenzeichen"
|
|
192
|
+
},
|
|
193
|
+
"payment_proof_family_allowance": {
|
|
194
|
+
"number":"CAF-Aktenzeichen"
|
|
195
|
+
},
|
|
196
|
+
"vehicle": {
|
|
197
|
+
"licenseNumber": "Kfz-Kennzeichen",
|
|
198
|
+
"confidentialNumber": "Vertraulicher Code der Zulassungsbescheinigung"
|
|
199
|
+
},
|
|
200
|
+
"vehicle_registration": {
|
|
201
|
+
"number": "Fahrzeug-Identifizierungsnummer (VIN)"
|
|
202
|
+
},
|
|
203
|
+
"national_id_card": {
|
|
204
|
+
"number": "Personalausweisnummer"
|
|
205
|
+
},
|
|
206
|
+
"bank_details": {
|
|
207
|
+
"number": "IBAN"
|
|
208
|
+
},
|
|
209
|
+
"passport": {
|
|
210
|
+
"number": "Reisepassnummer"
|
|
211
|
+
},
|
|
212
|
+
"driver_license": {
|
|
213
|
+
"number": "Führerscheinnummer"
|
|
214
|
+
},
|
|
215
|
+
"residence_permit": {
|
|
216
|
+
"number": "Nummer des Aufenthaltstitels"
|
|
217
|
+
},
|
|
218
|
+
"national_health_insurance_card": {
|
|
219
|
+
"number": "Nummer der Gesundheitskarte"
|
|
220
|
+
},
|
|
221
|
+
"pay_sheet": {
|
|
222
|
+
"number": "Bruttovergütung"
|
|
223
|
+
},
|
|
224
|
+
"tax_return": {
|
|
225
|
+
"number": "Steuernummer"
|
|
226
|
+
},
|
|
227
|
+
"tax_notice": {
|
|
228
|
+
"number": "Steuernummer"
|
|
229
|
+
},
|
|
230
|
+
"real_estate_tax": {
|
|
231
|
+
"number": "Steuernummer"
|
|
232
|
+
},
|
|
233
|
+
"tax_timetable": {
|
|
234
|
+
"number": "Steuernummer"
|
|
235
|
+
},
|
|
236
|
+
"country": "Ausstellungsland des Dokuments",
|
|
237
|
+
"refTaxIncome": "Zu versteuerndes Referenzeinkommen",
|
|
238
|
+
"contractType": "Vertragsart",
|
|
239
|
+
"noticePeriod": "Ablaufbenachrichtigung",
|
|
240
|
+
"netSocialAmount": "Sozialer Nettobetrag",
|
|
241
|
+
"employerName": "Name des Arbeitgebers",
|
|
242
|
+
"employer": "Name des Arbeitgebers",
|
|
243
|
+
"amount": "Betrag der Ausgabe",
|
|
244
|
+
"subtype": "Zweck der Ausgabe",
|
|
245
|
+
"bicNumber": "BIC"
|
|
246
|
+
},
|
|
247
|
+
"day": "Tag |||| Tage"
|
|
248
|
+
},
|
|
249
|
+
"contact": "Inhaber",
|
|
250
|
+
"page": "Seite des Dokuments",
|
|
251
|
+
"front": "Vorderseite",
|
|
252
|
+
"back": "Rückseite",
|
|
253
|
+
"qualification": "Klassifizierung",
|
|
254
|
+
"noInfo": "Keine Angaben"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"MagicFolders": {
|
|
258
|
+
"administrative": "Verwaltung",
|
|
259
|
+
"photos": "Fotos"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
{
|
|
2
|
+
"country": {
|
|
3
|
+
"foreign": "Extranjero"
|
|
4
|
+
},
|
|
5
|
+
"Scan": {
|
|
6
|
+
"scan_a_doc": "Escanear un documento",
|
|
7
|
+
"save_doc": "Guardar el documento",
|
|
8
|
+
"filename": "Nombre del archivo",
|
|
9
|
+
"save": "Guardar",
|
|
10
|
+
"cancel": "Cancelar",
|
|
11
|
+
"qualify": "Describir",
|
|
12
|
+
"apply": "Aplicar",
|
|
13
|
+
"error": {
|
|
14
|
+
"offline": "Actualmente no tiene conexión y no puede usar esta función. Vuelva a intentarlo más tarde.",
|
|
15
|
+
"uploading": "Ya está subiendo un archivo. Espere a que termine la subida y vuelva a intentarlo.",
|
|
16
|
+
"generic": "Se ha producido un error. Vuelva a intentarlo."
|
|
17
|
+
},
|
|
18
|
+
"successful": {
|
|
19
|
+
"qualified_ok": "¡Ha descrito su archivo correctamente!"
|
|
20
|
+
},
|
|
21
|
+
"items": {
|
|
22
|
+
"accommodation_proof": "Certificado de alojamiento |||| Certificados de alojamiento",
|
|
23
|
+
"appliance_invoice": "Factura de electrodoméstico |||| Facturas de electrodomésticos",
|
|
24
|
+
"bank_details": "Datos bancarios |||| Datos bancarios",
|
|
25
|
+
"bank_statement": "Extracto bancario |||| Extractos bancarios",
|
|
26
|
+
"birth_certificate": "Partida de nacimiento |||| Partidas de nacimiento",
|
|
27
|
+
"building_permit": "Licencia de obras |||| Licencias de obras",
|
|
28
|
+
"caf": "Certificado de prestaciones sociales |||| Certificados de prestaciones sociales",
|
|
29
|
+
"car_insurance": "Certificado de seguro de coche |||| Certificados de seguro de coche",
|
|
30
|
+
"citizen_registration_certificate": "Certificado de empadronamiento |||| Certificados de empadronamiento",
|
|
31
|
+
"condition_report": "Informe de estado del inmueble |||| Informes de estado del inmueble",
|
|
32
|
+
"diploma": "Diploma |||| Diplomas",
|
|
33
|
+
"divorce": "Divorcio |||| Divorcios",
|
|
34
|
+
"driver_license": "Permiso de conducir |||| Permisos de conducir",
|
|
35
|
+
"electoral_card": "Tarjeta electoral |||| Tarjetas electorales",
|
|
36
|
+
"employment_center_certificate": "Certificado de la oficina de empleo |||| Certificados de la oficina de empleo",
|
|
37
|
+
"energy_contract": "Contrato de suministro de energía |||| Contratos de suministro de energía",
|
|
38
|
+
"energy_invoice": "Factura de energía |||| Facturas de energía",
|
|
39
|
+
"expense_claim": "Nota de gastos |||| Notas de gastos",
|
|
40
|
+
"family_record_book": "Libro de familia |||| Libros de familia",
|
|
41
|
+
"family": "Familia",
|
|
42
|
+
"fidelity_card": "Tarjeta de fidelidad |||| Tarjetas de fidelidad",
|
|
43
|
+
"fine": "Multa |||| Multas",
|
|
44
|
+
"gradebook": "Boletín de notas |||| Boletines de notas",
|
|
45
|
+
"grocery_invoice": "Factura de la compra |||| Facturas de la compra",
|
|
46
|
+
"health_book": "Cartilla de salud |||| Cartillas de salud",
|
|
47
|
+
"health_certificate": "Certificado de salud/vacunación |||| Certificados de salud/vacunación",
|
|
48
|
+
"health_insurance_card": "Tarjeta de seguro |||| Tarjetas de seguro",
|
|
49
|
+
"health_invoice": "Factura médica |||| Facturas médicas",
|
|
50
|
+
"health": "Salud",
|
|
51
|
+
"home": "Vivienda",
|
|
52
|
+
"house_insurance": "Seguro de hogar |||| Seguros de hogar",
|
|
53
|
+
"house_sale_agreeement": "Contrato de compraventa de vivienda |||| Contratos de compraventa de vivienda",
|
|
54
|
+
"identity_photo": "Foto de carné |||| Fotos de carné",
|
|
55
|
+
"identity": "Identidad",
|
|
56
|
+
"invoice": "Factura |||| Facturas",
|
|
57
|
+
"isp_invoice": "Factura de internet |||| Facturas de internet",
|
|
58
|
+
"large_family_card": "Título de familia numerosa |||| Títulos de familia numerosa",
|
|
59
|
+
"lease": "Contrato de alquiler |||| Contratos de alquiler",
|
|
60
|
+
"loan_agreement": "Contrato de préstamo |||| Contratos de préstamo",
|
|
61
|
+
"mechanic_invoice": "Factura de reparación |||| Facturas de reparación",
|
|
62
|
+
"motivation_letter": "Carta de motivación |||| Cartas de motivación",
|
|
63
|
+
"national_health_insurance_card": "Tarjeta sanitaria |||| Tarjetas sanitarias",
|
|
64
|
+
"national_health_insurance_right_certificate": "Certificado de derecho a asistencia sanitaria |||| Certificados de derecho a asistencia sanitaria",
|
|
65
|
+
"national_id_card": "Documento de identidad |||| Documentos de identidad",
|
|
66
|
+
"note_identity_document": "Nota Identidad |||| Notas Identidad",
|
|
67
|
+
"note_family_document": "Nota Familia |||| Notas Familia",
|
|
68
|
+
"note_work_document": "Nota Trabajo y estudios |||| Notas Trabajo y estudios",
|
|
69
|
+
"note_health_document": "Nota Salud |||| Notas Salud",
|
|
70
|
+
"note_house_document": "Nota Vivienda |||| Notas Vivienda",
|
|
71
|
+
"note_transport_document": "Nota Transporte |||| Notas Transporte",
|
|
72
|
+
"note_activity_document": "Nota Actividades |||| Notas Actividades",
|
|
73
|
+
"note_finance": "Nota Finanzas |||| Notas Finanzas",
|
|
74
|
+
"note_invoice": "Nota Facturas |||| Notas Facturas",
|
|
75
|
+
"other_activity_document": "Otro documento de actividades |||| Otros documentos de actividades",
|
|
76
|
+
"other_bank_document": "Otro documento financiero |||| Otros documentos financieros",
|
|
77
|
+
"other_family_document": "Otro documento familiar |||| Otros documentos familiares",
|
|
78
|
+
"other_health_document": "Otro documento de salud |||| Otros documentos de salud",
|
|
79
|
+
"other_house_document": "Otro documento de vivienda |||| Otros documentos de vivienda",
|
|
80
|
+
"other_identity_document": "Otro documento de identidad |||| Otros documentos de identidad",
|
|
81
|
+
"other_invoice": "Otra factura |||| Otras facturas",
|
|
82
|
+
"other_revenue": "Otro ingreso |||| Otros ingresos",
|
|
83
|
+
"other_tax_document": "Otro documento fiscal |||| Otros documentos fiscales",
|
|
84
|
+
"other_transport_document": "Otro documento de transporte |||| Otros documentos de transporte",
|
|
85
|
+
"other_work_document": "Otro documento laboral |||| Otros documentos laborales",
|
|
86
|
+
"other_administrative_document": "Otro documento administrativo |||| Otros documentos administrativos",
|
|
87
|
+
"others": "Otros",
|
|
88
|
+
"pacs": "Pareja de hecho |||| Parejas de hecho",
|
|
89
|
+
"passport": "Pasaporte |||| Pasaportes",
|
|
90
|
+
"pay_sheet": "Nómina |||| Nóminas",
|
|
91
|
+
"payment_proof_family_allowance": "Justificante de pago de prestación familiar |||| Justificantes de pago de prestación familiar",
|
|
92
|
+
"pension": "Pensión |||| Pensiones",
|
|
93
|
+
"person_insurance": "Certificado de seguro individual |||| Certificados de seguro individual",
|
|
94
|
+
"personal_sporting_licence": "Licencia deportiva |||| Licencias deportivas",
|
|
95
|
+
"phone_invoice": "Factura de teléfono |||| Facturas de teléfono",
|
|
96
|
+
"pregnancy_medical_certificate": "Certificado de embarazo |||| Certificados de embarazo",
|
|
97
|
+
"prescription": "Receta médica |||| Recetas médicas",
|
|
98
|
+
"real_estate_insurance" : "Certificado de seguro inmobiliario |||| Certificados de seguro inmobiliario",
|
|
99
|
+
"real_estate_tax": "Impuesto sobre bienes inmuebles |||| Impuestos sobre bienes inmuebles",
|
|
100
|
+
"receipt": "Recibo |||| Recibos",
|
|
101
|
+
"rent_receipt": "Recibo de alquiler |||| Recibos de alquiler",
|
|
102
|
+
"residence_permit": "Permiso de residencia |||| Permisos de residencia",
|
|
103
|
+
"restaurant_invoice": "Factura de restaurante |||| Facturas de restaurante",
|
|
104
|
+
"resume": "Currículum |||| Currículums",
|
|
105
|
+
"school_attendance_certificate": "Certificado de escolaridad |||| Certificados de escolaridad",
|
|
106
|
+
"school_insurance_certificate": "Certificado de seguro escolar |||| Certificados de seguro escolar",
|
|
107
|
+
"single_parent_benefit": "Prestación por familia monoparental |||| Prestaciones por familia monoparental",
|
|
108
|
+
"student_card": "Carné de estudiante |||| Carnés de estudiante",
|
|
109
|
+
"tax_certificate": "Certificado fiscal |||| Certificados fiscales",
|
|
110
|
+
"tax_notice": "Notificación tributaria |||| Notificaciones tributarias",
|
|
111
|
+
"tax_return": "Declaración de la renta |||| Declaraciones de la renta",
|
|
112
|
+
"tax_timetable": "Plan de pago a plazos |||| Planes de pago a plazos",
|
|
113
|
+
"technical_diagnostic_record": "Informe de diagnóstico técnico |||| Informes de diagnóstico técnico",
|
|
114
|
+
"telecom_invoice": "Factura de telecomunicaciones |||| Facturas de telecomunicaciones",
|
|
115
|
+
"transport_card": "Tarjeta de transporte |||| Tarjetas de transporte",
|
|
116
|
+
"transport_invoice": "Factura de transporte |||| Facturas de transporte",
|
|
117
|
+
"transport": "Transporte",
|
|
118
|
+
"unemployment_benefit": "Prestación por desempleo |||| Prestaciones por desempleo",
|
|
119
|
+
"unfit_for_habitation_declaration": "Declaración de inhabitabilidad |||| Declaraciones de inhabitabilidad",
|
|
120
|
+
"vehicle_registration": "Permiso de circulación |||| Permisos de circulación",
|
|
121
|
+
"water_invoice": "Factura del agua |||| Facturas del agua",
|
|
122
|
+
"web_service_invoice": "Factura de servicio web |||| Facturas de servicios web",
|
|
123
|
+
"wedding": "Capitulaciones matrimoniales |||| Capitulaciones matrimoniales",
|
|
124
|
+
"work_contract": "Contrato de trabajo |||| Contratos de trabajo",
|
|
125
|
+
"work_disability_recognition": "Reconocimiento de discapacidad |||| Reconocimientos de discapacidad",
|
|
126
|
+
"work_invoice": "Factura de obras |||| Facturas de obras",
|
|
127
|
+
"work_quote": "Presupuesto de obras |||| Presupuestos de obras",
|
|
128
|
+
"work_study": "Trabajo y estudios"
|
|
129
|
+
},
|
|
130
|
+
"attributes":{
|
|
131
|
+
"contractType": {
|
|
132
|
+
"cdi": "Indefinido",
|
|
133
|
+
"cdd": "Temporal",
|
|
134
|
+
"alternate": "Formación en alternancia",
|
|
135
|
+
"internship": "Prácticas",
|
|
136
|
+
"other": "Otro"
|
|
137
|
+
},
|
|
138
|
+
"noticePeriod": {
|
|
139
|
+
"oneWeek": "1 semana antes",
|
|
140
|
+
"oneMonth": "1 mes antes",
|
|
141
|
+
"threeMonth": "3 meses antes",
|
|
142
|
+
"oneYear": "1 año antes",
|
|
143
|
+
"custom": "Personalizado",
|
|
144
|
+
"noAlert": "No recibir alertas"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"themes": {
|
|
148
|
+
"none": "Ninguno",
|
|
149
|
+
"activity": "Actividades",
|
|
150
|
+
"family": "Familia",
|
|
151
|
+
"finance": "Finanzas",
|
|
152
|
+
"health": "Salud",
|
|
153
|
+
"home": "Vivienda",
|
|
154
|
+
"identity": "Identidad",
|
|
155
|
+
"invoice": "Facturas",
|
|
156
|
+
"others": "Otros",
|
|
157
|
+
"transport": "Transporte",
|
|
158
|
+
"undefined": "Sin definir",
|
|
159
|
+
"work_study": "Trabajo y estudios"
|
|
160
|
+
},
|
|
161
|
+
"expiration": {
|
|
162
|
+
"expired": "Caducado",
|
|
163
|
+
"expiresIn": "Caduca en %{duration}",
|
|
164
|
+
"description": "Este documento caduca en %{duration}, piense en renovarlo"
|
|
165
|
+
},
|
|
166
|
+
"qualification": {
|
|
167
|
+
"date": {
|
|
168
|
+
"title": {
|
|
169
|
+
"datetime": "Añadido el",
|
|
170
|
+
"AObtentionDate": "Permiso A, expedido el",
|
|
171
|
+
"BObtentionDate": "Permiso B, expedido el",
|
|
172
|
+
"CObtentionDate": "Permiso C, expedido el",
|
|
173
|
+
"DObtentionDate": "Permiso D, expedido el",
|
|
174
|
+
"issueDate": "Expedido el",
|
|
175
|
+
"expirationDate": "Fecha de caducidad",
|
|
176
|
+
"referencedDate": "Fecha de referencia",
|
|
177
|
+
"shootingDate": "Fecha de la toma",
|
|
178
|
+
"obtentionDate": "Fecha de obtención",
|
|
179
|
+
"date": "Fecha del documento"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"information": {
|
|
183
|
+
"title": {
|
|
184
|
+
"fine": {
|
|
185
|
+
"number": "Importe de la multa"
|
|
186
|
+
},
|
|
187
|
+
"fidelity_card": {
|
|
188
|
+
"number": "Número de tarjeta"
|
|
189
|
+
},
|
|
190
|
+
"caf": {
|
|
191
|
+
"number": "Número de expediente CAF"
|
|
192
|
+
},
|
|
193
|
+
"payment_proof_family_allowance": {
|
|
194
|
+
"number":"Número de expediente CAF"
|
|
195
|
+
},
|
|
196
|
+
"vehicle": {
|
|
197
|
+
"licenseNumber": "Matrícula del vehículo",
|
|
198
|
+
"confidentialNumber": "Código confidencial del permiso de circulación"
|
|
199
|
+
},
|
|
200
|
+
"vehicle_registration": {
|
|
201
|
+
"number": "Número de identificación del vehículo (VIN)"
|
|
202
|
+
},
|
|
203
|
+
"national_id_card": {
|
|
204
|
+
"number": "Número del documento de identidad"
|
|
205
|
+
},
|
|
206
|
+
"bank_details": {
|
|
207
|
+
"number": "Número IBAN"
|
|
208
|
+
},
|
|
209
|
+
"passport": {
|
|
210
|
+
"number": "Número de pasaporte"
|
|
211
|
+
},
|
|
212
|
+
"driver_license": {
|
|
213
|
+
"number": "Número de permiso"
|
|
214
|
+
},
|
|
215
|
+
"residence_permit": {
|
|
216
|
+
"number": "Número de permiso"
|
|
217
|
+
},
|
|
218
|
+
"national_health_insurance_card": {
|
|
219
|
+
"number": "Número de la tarjeta sanitaria"
|
|
220
|
+
},
|
|
221
|
+
"pay_sheet": {
|
|
222
|
+
"number": "Remuneración bruta"
|
|
223
|
+
},
|
|
224
|
+
"tax_return": {
|
|
225
|
+
"number": "Número de referencia fiscal"
|
|
226
|
+
},
|
|
227
|
+
"tax_notice": {
|
|
228
|
+
"number": "Número de referencia fiscal"
|
|
229
|
+
},
|
|
230
|
+
"real_estate_tax": {
|
|
231
|
+
"number": "Número de referencia fiscal"
|
|
232
|
+
},
|
|
233
|
+
"tax_timetable": {
|
|
234
|
+
"number": "Número de referencia fiscal"
|
|
235
|
+
},
|
|
236
|
+
"country": "País de expedición del documento",
|
|
237
|
+
"refTaxIncome": "Renta fiscal de referencia",
|
|
238
|
+
"contractType": "Tipo de contrato",
|
|
239
|
+
"noticePeriod": "Alerta de caducidad",
|
|
240
|
+
"netSocialAmount": "Importe neto social",
|
|
241
|
+
"employerName": "Nombre del empleador",
|
|
242
|
+
"employer": "Nombre del empleador",
|
|
243
|
+
"amount": "Importe del gasto",
|
|
244
|
+
"subtype": "Motivo del gasto",
|
|
245
|
+
"bicNumber": "Código BIC"
|
|
246
|
+
},
|
|
247
|
+
"day": "día |||| días"
|
|
248
|
+
},
|
|
249
|
+
"contact": "Titular",
|
|
250
|
+
"page": "Cara del documento",
|
|
251
|
+
"front": "Anverso",
|
|
252
|
+
"back": "Reverso",
|
|
253
|
+
"qualification": "Clasificación",
|
|
254
|
+
"noInfo": "Sin información"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"MagicFolders": {
|
|
258
|
+
"administrative": "Administrativo",
|
|
259
|
+
"photos": "Fotos"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
@@ -15,6 +15,16 @@ var _en = _interopRequireDefault(require("./en.json"));
|
|
|
15
15
|
|
|
16
16
|
var _fr = _interopRequireDefault(require("./fr.json"));
|
|
17
17
|
|
|
18
|
+
var _es = _interopRequireDefault(require("./es.json"));
|
|
19
|
+
|
|
20
|
+
var _de = _interopRequireDefault(require("./de.json"));
|
|
21
|
+
|
|
22
|
+
var _it = _interopRequireDefault(require("./it.json"));
|
|
23
|
+
|
|
24
|
+
var _ru = _interopRequireDefault(require("./ru.json"));
|
|
25
|
+
|
|
26
|
+
var _vi = _interopRequireDefault(require("./vi.json"));
|
|
27
|
+
|
|
18
28
|
var _countries = require("../../country/countries");
|
|
19
29
|
|
|
20
30
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
|
|
@@ -23,14 +33,21 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
23
33
|
|
|
24
34
|
var locales = {
|
|
25
35
|
en: _en.default,
|
|
26
|
-
fr: _fr.default
|
|
36
|
+
fr: _fr.default,
|
|
37
|
+
es: _es.default,
|
|
38
|
+
de: _de.default,
|
|
39
|
+
it: _it.default,
|
|
40
|
+
ru: _ru.default,
|
|
41
|
+
vi: _vi.default
|
|
27
42
|
};
|
|
28
43
|
var polyglots = {};
|
|
29
|
-
var langs = ['fr', 'en'];
|
|
44
|
+
var langs = ['fr', 'en', 'es', 'de', 'it', 'ru', 'vi'];
|
|
30
45
|
|
|
31
46
|
for (var _i = 0, _langs = langs; _i < _langs.length; _i++) {
|
|
32
47
|
var lang = _langs[_i];
|
|
33
|
-
var polyglot = new _nodePolyglot.default(
|
|
48
|
+
var polyglot = new _nodePolyglot.default({
|
|
49
|
+
locale: lang
|
|
50
|
+
});
|
|
34
51
|
polyglot.extend(locales[lang]);
|
|
35
52
|
polyglots[lang] = polyglot;
|
|
36
53
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getBoundT } from './index'
|
|
1
|
+
import { getBoundT, getLocalizer } from './index'
|
|
2
2
|
|
|
3
3
|
describe('getBoundT', () => {
|
|
4
4
|
const t = getBoundT('en')
|
|
@@ -30,6 +30,12 @@ describe('getBoundT', () => {
|
|
|
30
30
|
${'Scan.items.national_id_card'} | ${'fr'} | ${2} | ${'en'} | ${'ID cards 🇫🇷'}
|
|
31
31
|
${'Scan.items.national_id_card'} | ${undefined} | ${1} | ${'en'} | ${'ID card'}
|
|
32
32
|
${'Scan.items.national_id_card'} | ${undefined} | ${2} | ${'en'} | ${'ID cards'}
|
|
33
|
+
${'Scan.items.national_id_card'} | ${undefined} | ${2} | ${'es'} | ${'Documentos de identidad'}
|
|
34
|
+
${'Scan.items.national_id_card'} | ${'fr'} | ${1} | ${'de'} | ${'Personalausweis 🇫🇷'}
|
|
35
|
+
${'Scan.items.national_id_card'} | ${'foreign'} | ${1} | ${'it'} | ${"Carta d'identità Estero"}
|
|
36
|
+
${'Scan.items.national_id_card'} | ${undefined} | ${5} | ${'ru'} | ${'Удостоверения личности'}
|
|
37
|
+
${'Scan.items.national_id_card'} | ${'fr'} | ${1} | ${'ru'} | ${'Удостоверение личности 🇫🇷'}
|
|
38
|
+
${'Scan.items.national_id_card'} | ${'foreign'} | ${2} | ${'vi'} | ${'Căn cước công dân Nước ngoài'}
|
|
33
39
|
`(
|
|
34
40
|
'should test if the translation is suitable with the param country: $country and with the param smart_count: $smart_count',
|
|
35
41
|
({ translationKey, country, smart_count, lang, expected }) => {
|
|
@@ -40,3 +46,24 @@ describe('getBoundT', () => {
|
|
|
40
46
|
}
|
|
41
47
|
)
|
|
42
48
|
})
|
|
49
|
+
|
|
50
|
+
describe('getLocalizer', () => {
|
|
51
|
+
it.each`
|
|
52
|
+
lang | smart_count | expected
|
|
53
|
+
${'ru'} | ${1} | ${'день'}
|
|
54
|
+
${'ru'} | ${3} | ${'дня'}
|
|
55
|
+
${'ru'} | ${5} | ${'дней'}
|
|
56
|
+
${'ru'} | ${21} | ${'день'}
|
|
57
|
+
${'vi'} | ${1} | ${'ngày'}
|
|
58
|
+
${'vi'} | ${5} | ${'ngày'}
|
|
59
|
+
`(
|
|
60
|
+
'should use the plural rules of $lang for smart_count: $smart_count',
|
|
61
|
+
({ lang, smart_count, expected }) => {
|
|
62
|
+
const t = getLocalizer(lang)
|
|
63
|
+
|
|
64
|
+
expect(t('Scan.qualification.information.day', { smart_count })).toBe(
|
|
65
|
+
expected
|
|
66
|
+
)
|
|
67
|
+
}
|
|
68
|
+
)
|
|
69
|
+
})
|