@lysaab/lysa-pep 2.1.1 → 2.3.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.
@@ -10,28 +10,28 @@ export const roleMessages = defineMessages({
10
10
  {
11
11
  pepType, select,
12
12
  ME {
13
- Ange din roll
13
+ State your role
14
14
  }
15
15
  RELATIVE {
16
16
  {
17
17
  relation, select,
18
18
  MARRIED_PARTNER {
19
- Ange tjänst/roll för din make/maka
19
+ State the role of your spouse
20
20
  }
21
21
  COLIVING_PARTNER {
22
- Ange tjänst/roll för din sambo
22
+ State the role of your partner
23
23
  }
24
24
  CHILD {
25
- Ange tjänst/roll för din förälder
25
+ State the role of your parent
26
26
  }
27
27
  PARENT {
28
- Ange tjänst/roll för din barn
28
+ State the role of your child
29
29
  }
30
30
  CHILD_MARRIED_PARTNER {
31
- Ange tjänst/roll för föräldern till din make/maka
31
+ State the role of the parent of your spouce
32
32
  }
33
33
  CHILD_COLIVING_PARTNER {
34
- Ange tjänst/roll för föräldern till din sambo
34
+ State the role of the parent of your partner
35
35
  }
36
36
  other {}
37
37
  }
@@ -40,13 +40,13 @@ export const roleMessages = defineMessages({
40
40
  {
41
41
  relation, select,
42
42
  CO_OWNERSHIP {
43
- Ange tjänst/roll för personen i politisk utsatt ställning som du har en relation till
43
+ State the role of the person in a politically exposed position that you have a relationship with
44
44
  }
45
45
  CLOSE_CONNECTION {
46
- Ange tjänst/roll för personen i politisk utsatt ställning som du har en relation till
46
+ State the role of the person in a politically exposed position that you have a relationship with
47
47
  }
48
48
  COMPANY_FOR_PEP {
49
- Ange tjänst/roll för personen i politisk utsatt ställning som du har en relation till
49
+ State the role of the person in a politically exposed position that you have a relationship with
50
50
  }
51
51
  other {}
52
52
  }
@@ -58,28 +58,28 @@ export const roleMessages = defineMessages({
58
58
  {
59
59
  pepType, select,
60
60
  ME {
61
- Ange {possessiveName} roll
61
+ State the role of {name}
62
62
  }
63
63
  RELATIVE {
64
64
  {
65
65
  relation, select,
66
66
  MARRIED_PARTNER {
67
- Ange tjänst/roll för {possessiveName} make/maka
67
+ State the role of the spouse of {name}
68
68
  }
69
69
  COLIVING_PARTNER {
70
- Ange tjänst/roll för {possessiveName} sambo
70
+ State the role of the partner of {name}
71
71
  }
72
72
  CHILD {
73
- Ange tjänst/roll för {possessiveName} förälder
73
+ State the role of the parent of {name}
74
74
  }
75
75
  PARENT {
76
- Ange tjänst/roll för {possessiveName} barn
76
+ State the role of the child of {name}
77
77
  }
78
78
  CHILD_MARRIED_PARTNER {
79
- Ange tjänst/roll för föräldern till {possessiveName} make/maka
79
+ State the role of the parent of the spouse of {name}
80
80
  }
81
81
  CHILD_COLIVING_PARTNER {
82
- Ange tjänst/roll för föräldern till {possessiveName} sambo
82
+ State the role of the parent of the partner of {name}
83
83
  }
84
84
  other {}
85
85
  }
@@ -88,13 +88,13 @@ export const roleMessages = defineMessages({
88
88
  {
89
89
  relation, select,
90
90
  CO_OWNERSHIP {
91
- Ange tjänst/roll för personen i politisk utsatt ställning som {name} har en relation till
91
+ State the role of the person in a politically exposed position that {name} has a relationship with
92
92
  }
93
93
  CLOSE_CONNECTION {
94
- Ange tjänst/roll för personen i politisk utsatt ställning som {name} har en relation till
94
+ State the role of the person in a politically exposed position that {name} has a relationship with
95
95
  }
96
96
  COMPANY_FOR_PEP {
97
- Ange tjänst/roll för personen i politisk utsatt ställning som {name} har en relation till
97
+ State the role of the person in a politically exposed position that {name} has a relationship with
98
98
  }
99
99
  other {}
100
100
  }
@@ -108,77 +108,77 @@ export const roleMessages = defineMessages({
108
108
  placeholder: {
109
109
  id: "pep.role.roles.placeholder",
110
110
  description: "Role placeholder",
111
- defaultMessage: "Välj en roll",
111
+ defaultMessage: "Choose a role",
112
112
  },
113
113
  required: {
114
114
  id: "pep.role.roles.required",
115
115
  description: "Required validation error",
116
- defaultMessage: "Du måste välja roll",
116
+ defaultMessage: "You need to choose a role",
117
117
  },
118
118
  [Role.HEAD_OF_GOVERNMENT]: {
119
119
  id: "pep.role.roles.alt.HEAD_OF_GOVERNMENT",
120
120
  description: "Head of government alt",
121
- defaultMessage: "Stats eller regeringschef",
121
+ defaultMessage: "Head of state",
122
122
  },
123
123
  [Role.MINISTER]: {
124
124
  id: "pep.role.roles.alt.MINISTER",
125
125
  description: "Minister alt",
126
- defaultMessage: "Minister eller Vice/Biträdande minister",
126
+ defaultMessage: "Minister or Deputy Minister",
127
127
  },
128
128
  [Role.PARLIMENT_MEMBER]: {
129
129
  id: "pep.role.roles.alt.PARLIMENT_MEMBER",
130
130
  description: "Parlament alt",
131
- defaultMessage: "Ledamot i parlament eller riksdag",
131
+ defaultMessage: "Member of the parliament",
132
132
  },
133
133
  [Role.CENTRAL_BANK_MEMBER]: {
134
134
  id: "pep.role.roles.alt.CENTRAL_BANK_MEMBER",
135
135
  description: "Central bank member alt",
136
- defaultMessage: "Ledamot i centralbanks styrande organ",
136
+ defaultMessage: "Member of the Board of the Central Bank",
137
137
  },
138
138
  [Role.BOARD_MEMBER_POLITICAL_PARTY]: {
139
139
  id: "pep.role.roles.alt.BOARD_MEMBER_POLITICAL_PARTY",
140
140
  description: "Political party board member alt",
141
- defaultMessage: "Ledamot för styrelsen i politiskt parti representerade i riksdagen",
141
+ defaultMessage: "Member of the Board in a political party in the parliament",
142
142
  },
143
143
  [Role.JUDGE_SUPREME_COURT]: {
144
144
  id: "pep.role.roles.alt.JUDGE_SUPREME_COURT",
145
145
  description: "Supreme court judge alt",
146
- defaultMessage: "Domare i högsta domstolen",
146
+ defaultMessage: "Supreme Court judge",
147
147
  },
148
148
  [Role.JUDGE_OTHER_HIGH_COURT]: {
149
149
  id: "pep.role.roles.alt.JUDGE_OTHER_HIGH_COURT",
150
150
  description: "High court judge alt",
151
- defaultMessage: "Domare i konstitutionell domstol eller annat rättsligt organ på hög nivå vars beslut endast undantagsvis kan överklagas",
151
+ defaultMessage: "Judge in a constitutional court of law or other high-level judicial body whose decisions only exceptionally can be appealed",
152
152
  },
153
153
  [Role.REVISION_INSTITUTE]: {
154
154
  id: "pep.role.roles.alt.REVISION_INSTITUTE",
155
155
  description: "Revision institute worker alt",
156
- defaultMessage: "Högre tjänsteman vid revisionsmyndighet",
156
+ defaultMessage: "Senior official at a governmental audit authority",
157
157
  },
158
158
  [Role.AMBASSADOR]: {
159
159
  id: "pep.role.roles.alt.AMBASSADOR",
160
160
  description: "Ambassador alt",
161
- defaultMessage: "Ambassadör eller bestickningschef",
161
+ defaultMessage: "Ambassador or head of mission",
162
162
  },
163
163
  [Role.MILITARY_OFFICER]: {
164
164
  id: "pep.role.roles.alt.MILITARY_OFFICER",
165
165
  description: "Military officer alt",
166
- defaultMessage: "Högre officer i försvarsmakt",
166
+ defaultMessage: "Senior ranking officer in the armed forces",
167
167
  },
168
168
  [Role.GOVERNMENT_COMPANY]: {
169
169
  id: "pep.role.roles.alt.GOVERNMENT_COMPANY",
170
170
  description: "Government company leader alt",
171
- defaultMessage: "Person som ingår i statsägt företags förvaltnings-, lednings eller kontrollorgan",
171
+ defaultMessage: "Person part of a state-owned company's administrative-, managerial- or control bopdy",
172
172
  },
173
173
  [Role.EU_HIGH_RANKING_POSITION]: {
174
174
  id: "pep.role.roles.alt.EU_HIGH_RANKING_POSITION",
175
175
  description: "High ranking EU position alt",
176
- defaultMessage: "EU-parlamentariker",
176
+ defaultMessage: "Member of the European Parliament",
177
177
  },
178
178
  [Role.HIGH_RANKING_POSITION_INTERNALTIONAL_CORP]: {
179
179
  id: "pep.role.roles.alt.HIGH_RANKING_POSITION_INTERNALTIONAL_CORP",
180
180
  description: "High ranking position in an international organisation alt",
181
- defaultMessage: "Befattning på hög nivå i en internationell organisation",
181
+ defaultMessage: "Senior management in an international organisation",
182
182
  },
183
183
  });
184
184
  export const militaryMessages = defineMessages({
@@ -191,28 +191,28 @@ export const militaryMessages = defineMessages({
191
191
  {
192
192
  pepType, select,
193
193
  ME {
194
- Ange din grad
194
+ State your rank
195
195
  }
196
196
  RELATIVE {
197
197
  {
198
198
  relation, select,
199
199
  MARRIED_PARTNER {
200
- Ange din make/maka/registrerade partners grad
200
+ State the rank of your spouce
201
201
  }
202
202
  COLIVING_PARTNER {
203
- Ange din sambos grad
203
+ State the rank of your partner
204
204
  }
205
205
  CHILD {
206
- Ange din förälders grad
206
+ State the rank of your parent
207
207
  }
208
208
  PARENT {
209
- Ange ditt barns grad
209
+ State the rank of your child
210
210
  }
211
211
  CHILD_MARRIED_PARTNER {
212
- Ange din make/makas förälders grad
212
+ State the rank of your spouce's parent
213
213
  }
214
214
  CHILD_COLIVING_PARTNER {
215
- Ange din sambos grad
215
+ State the rank of your partner's parent
216
216
  }
217
217
  other {}
218
218
  }
@@ -221,13 +221,13 @@ export const militaryMessages = defineMessages({
221
221
  {
222
222
  relation, select,
223
223
  CO_OWNERSHIP {
224
- Ange grad för personen i politisk utsatt ställning som du har en relation till
224
+ State the rank of the person that you have a relationship with that is controlling the company and is in a politically exposed position
225
225
  }
226
226
  CLOSE_CONNECTION {
227
- Ange grad har personen som du har eller har haft nära förbindelse med
227
+ State the rank of the person that you have or have had a close relationship with
228
228
  }
229
229
  COMPANY_FOR_PEP {
230
- Vilken grad har personen
230
+ What rank does the person have
231
231
  }
232
232
  other {}
233
233
  }
@@ -239,28 +239,28 @@ export const militaryMessages = defineMessages({
239
239
  {
240
240
  pepType, select,
241
241
  ME {
242
- Ange {possessiveName} grad
242
+ State the rank of {name}
243
243
  }
244
244
  RELATIVE {
245
245
  {
246
246
  relation, select,
247
247
  MARRIED_PARTNER {
248
- Ange {possessiveName} make/maka/registrerade partners grad
248
+ State the rank of the spouse of {name}
249
249
  }
250
250
  COLIVING_PARTNER {
251
- Ange {possessiveName} sambos grad
251
+ State the rank of the partner of {name}
252
252
  }
253
253
  CHILD {
254
- Ange {possessiveName} förälders grad
254
+ State the rank of the parent of {name}
255
255
  }
256
256
  PARENT {
257
- Ange {possessiveName} barns grad
257
+ State the rank of the child of {name}
258
258
  }
259
259
  CHILD_MARRIED_PARTNER {
260
- Ange {possessiveName} make/makas förälders grad
260
+ State the rank of the parent of the spouse of {name}
261
261
  }
262
262
  CHILD_COLIVING_PARTNER {
263
- Ange {possessiveName} sambos grad
263
+ State the rank of the parent of the partner of {name}
264
264
  }
265
265
  other {}
266
266
  }
@@ -269,13 +269,13 @@ export const militaryMessages = defineMessages({
269
269
  {
270
270
  relation, select,
271
271
  CO_OWNERSHIP {
272
- Ange grad för personen i politisk utsatt ställning som {name} har en relation till
272
+ State the rank of the person in a politically exposed position that {name} has a relationship with
273
273
  }
274
274
  CLOSE_CONNECTION {
275
- Ange grad för personen som {name} har eller har haft nära förbindelse med
275
+ State the rank of the person in a politically exposed position that {name} has a relationship with
276
276
  }
277
277
  COMPANY_FOR_PEP {
278
- Vilken grad har personen
278
+ What rank does the person have
279
279
  }
280
280
  other {}
281
281
  }
@@ -289,12 +289,12 @@ export const militaryMessages = defineMessages({
289
289
  placeholder: {
290
290
  id: "pep.role.military.header",
291
291
  description: "Header",
292
- defaultMessage: "Välj en roll",
292
+ defaultMessage: "Choose a role",
293
293
  },
294
294
  required: {
295
295
  id: "pep.role.military.required",
296
296
  description: "Required validation error",
297
- defaultMessage: "Du måste välja roll",
297
+ defaultMessage: "You need to choose a role",
298
298
  },
299
299
  [MilitaryRank.GENERAL]: {
300
300
  id: "pep.role.military.alt.GENERAL",
@@ -304,82 +304,82 @@ export const militaryMessages = defineMessages({
304
304
  [MilitaryRank.LIEUTENANT_GENERAL]: {
305
305
  id: "pep.role.military.alt.LIEUTENANT_GENERAL",
306
306
  description: "Lieutenant general alt",
307
- defaultMessage: "Generallöjtnant",
307
+ defaultMessage: "Lieutenant general",
308
308
  },
309
309
  [MilitaryRank.MAJOR_GENERAL]: {
310
310
  id: "pep.role.military.alt.MAJOR_GENERAL",
311
311
  description: "Major general alt",
312
- defaultMessage: "Generalmajor",
312
+ defaultMessage: "Major general",
313
313
  },
314
314
  [MilitaryRank.ADMIRAL]: {
315
315
  id: "pep.role.military.alt.ADMIRAL",
316
316
  description: "Admiral alt",
317
- defaultMessage: "Amiral",
317
+ defaultMessage: "Admiral",
318
318
  },
319
319
  [MilitaryRank.VICE_ADMIRAL]: {
320
320
  id: "pep.role.military.alt.VICE_ADMIRAL",
321
321
  description: "Vice admiral alt",
322
- defaultMessage: "Viceamiral",
322
+ defaultMessage: "Vice admiral",
323
323
  },
324
324
  [MilitaryRank.REAR_ADMIRAL]: {
325
325
  id: "pep.role.military.alt.REAR_ADMIRAL",
326
326
  description: "Rear admiral alt",
327
- defaultMessage: "Konteramiral",
327
+ defaultMessage: "Conter admiral",
328
328
  },
329
329
  });
330
330
  export const ambassadorMessages = defineMessages({
331
331
  header: {
332
332
  id: "pep.role.ambassador.header",
333
333
  description: "Ambassador header",
334
- defaultMessage: "Ange land",
334
+ defaultMessage: "State the country",
335
335
  },
336
336
  required: {
337
337
  id: "pep.role.ambassador.required",
338
338
  description: "Ambassador required error",
339
- defaultMessage: "Du måste välja land",
339
+ defaultMessage: "You need to choose a country",
340
340
  },
341
341
  });
342
342
  export const governmentCompanyMessages = defineMessages({
343
343
  nameHeader: {
344
344
  id: "pep.role.governmentCompany.name.header",
345
345
  description: "Government company name header",
346
- defaultMessage: "Ange namnet på företaget",
346
+ defaultMessage: "State the name of the company",
347
347
  },
348
348
  nameRequired: {
349
349
  id: "pep.role.governmentCompany.name.required",
350
350
  description: "Government company name required error",
351
- defaultMessage: "Du måste ange ett namn",
351
+ defaultMessage: "You need to state a name",
352
352
  },
353
353
  roleHeader: {
354
354
  id: "pep.role.governmentCompany.role.header",
355
355
  description: "Government company role header",
356
- defaultMessage: "Ange tjänst/roll",
356
+ defaultMessage: "State role",
357
357
  },
358
358
  roleRequired: {
359
359
  id: "pep.role.governmentCompany.role.required",
360
360
  description: "Government company role required error",
361
- defaultMessage: "Du måste ange roll",
361
+ defaultMessage: "You need to state a role",
362
362
  },
363
363
  });
364
364
  export const intCompanyMessages = defineMessages({
365
365
  nameHeader: {
366
366
  id: "pep.role.intCompany.name.header",
367
367
  description: "International company name header",
368
- defaultMessage: "Ange organisationens namn",
368
+ defaultMessage: "State the organization's name",
369
369
  },
370
370
  nameRequired: {
371
371
  id: "pep.role.intCompany.name.required",
372
372
  description: "International company name required error",
373
- defaultMessage: "Du måste ange ett namn",
373
+ defaultMessage: "You need to state a name",
374
374
  },
375
375
  roleHeader: {
376
376
  id: "pep.role.intCompany.role.header",
377
377
  description: "International company role header",
378
- defaultMessage: "Ange tjänst/roll",
378
+ defaultMessage: "State role",
379
379
  },
380
380
  roleRequired: {
381
381
  id: "pep.role.intCompany.role.required",
382
382
  description: "International company role required error",
383
- defaultMessage: "Du måste ange roll",
383
+ defaultMessage: "You need to state a role",
384
384
  },
385
385
  });
@@ -135,7 +135,7 @@ export const RolePage = ({ next }) => {
135
135
  new RequiredValidator(intl.formatMessage(militaryMessages.required)),
136
136
  ] })) : null),
137
137
  React.createElement(PrimaryButton, { block: true, type: "submit" },
138
- React.createElement(FormattedMessage, { id: "pep.role.next", description: "Next button", defaultMessage: "G\u00E5 vidare" }))));
138
+ React.createElement(FormattedMessage, { id: "pep.role.next", description: "Next button", defaultMessage: "Next" }))));
139
139
  };
140
140
  export function getRoleAlts(intl) {
141
141
  return [