@agendize/az-i18n 1.0.145 → 1.0.147

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/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # Agendize i18n Module
2
-
3
- ## Description
4
-
5
- i18n module for Agendize Component
6
-
7
- ## Install
8
-
9
- To install on your project
10
-
11
- ```sh
12
- yarn add @agendize/az-i18n
13
- # or
14
- npm install @agendize/az-i18n
15
- ```
16
-
17
- **Global**
18
-
19
- ***Components***
20
-
21
-
22
- ```js
23
-
24
- ```
25
-
1
+ # Agendize i18n Module
2
+
3
+ ## Description
4
+
5
+ i18n module for Agendize Component
6
+
7
+ ## Install
8
+
9
+ To install on your project
10
+
11
+ ```sh
12
+ yarn add @agendize/az-i18n
13
+ # or
14
+ npm install @agendize/az-i18n
15
+ ```
16
+
17
+ **Global**
18
+
19
+ ***Components***
20
+
21
+
22
+ ```js
23
+
24
+ ```
25
+
@@ -449,6 +449,26 @@ Would you like to continue this action?`,
449
449
  }
450
450
  }
451
451
  }, g = {
452
+ conference: {
453
+ 404: {
454
+ title: "The page you are looking for does not exist.",
455
+ subTitle: "We're sorry, but the page you are looking for no longer exists."
456
+ },
457
+ cancel: {
458
+ registration: {
459
+ register: "{object} at any time.",
460
+ registerSentence: "You can register for other events"
461
+ }
462
+ },
463
+ registration: {
464
+ cancel: {
465
+ cancel: "You can {object} your registration at any time.",
466
+ cancelWord: "cancel"
467
+ }
468
+ }
469
+ },
470
+ powered: "Powered by"
471
+ }, h = {
452
472
  agendize: l,
453
473
  agenda: c,
454
474
  common: d,
@@ -473,8 +493,9 @@ Would you like to continue this action?`,
473
493
  queue: p,
474
494
  settings: b,
475
495
  report: f,
476
- tools: v
477
- }, h = {
496
+ tools: v,
497
+ widget: g
498
+ }, y = {
478
499
  actions: {
479
500
  "add-user-note-label": "Note",
480
501
  "fav-aria-label": "Sauvegarder cette vue comme favorite",
@@ -560,7 +581,7 @@ Would you like to continue this action?`,
560
581
  confirm: "Confirmer le changement de status : "
561
582
  },
562
583
  noShow: {
563
- 0: "Marquer en pas venu",
584
+ 0: "Contact absent",
564
585
  1: "@:agenda.appointment.details.actions.messages.confirm pas venu",
565
586
  2: "@:agenda.appointment.details.actions.messages.confirm pas venu",
566
587
  3: "Chargement",
@@ -575,7 +596,6 @@ Would you like to continue this action?`,
575
596
  noShow: "@:agenda.appointment.details.actions.noShow.0"
576
597
  },
577
598
  customStatus: {
578
- 0: "Marquer en",
579
599
  1: "@:agenda.appointment.details.actions.messages.confirm",
580
600
  2: "@:agenda.appointment.details.actions.messages.confirm",
581
601
  3: "Chargement",
@@ -655,7 +675,7 @@ Would you like to continue this action?`,
655
675
  },
656
676
  declined: "Refus\xE9",
657
677
  inProgress: "En cours",
658
- noShow: "Pas venu",
678
+ noShow: "Non venu",
659
679
  pending: "En attente",
660
680
  pendingPayment: "En attente de paiement"
661
681
  },
@@ -893,7 +913,7 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
893
913
  title: "Ajouter des agendas"
894
914
  }
895
915
  }
896
- }, y = {
916
+ }, I = {
897
917
  main: {
898
918
  skip: "Passer au contenu"
899
919
  },
@@ -1063,12 +1083,12 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
1063
1083
  }
1064
1084
  }
1065
1085
  }
1066
- }, I = {
1086
+ }, z = {
1067
1087
  buffer: {
1068
1088
  after: "Buffer",
1069
1089
  before: "Buffer"
1070
1090
  }
1071
- }, z = {
1091
+ }, N = {
1072
1092
  action: {
1073
1093
  accept: "Accepter",
1074
1094
  add: "Ajouter",
@@ -1088,6 +1108,10 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
1088
1108
  label: "Tous",
1089
1109
  ariaLabel: "Filter tous les \xE9l\xE9ments "
1090
1110
  },
1111
+ link: {
1112
+ "go-to": "Calculer l'itin\xE9raire",
1113
+ open: "Ouvrir le lien {label}"
1114
+ },
1091
1115
  menu: "Menu",
1092
1116
  modify: "Modifier",
1093
1117
  more: "Charger plus",
@@ -1141,7 +1165,8 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
1141
1165
  },
1142
1166
  date: {
1143
1167
  creation: "Cr\xE9\xE9 le {date}",
1144
- "at-time": "Le {date} \xE0 {time}"
1168
+ "at-time": "Le {date} \xE0 {time}",
1169
+ to: "{startTime} \xE0 {endTime}"
1145
1170
  },
1146
1171
  days: {
1147
1172
  monday: "Lundi | Lundis",
@@ -1379,7 +1404,7 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
1379
1404
  "deselect-all": "Tout d\xE9s\xE9lectionner"
1380
1405
  },
1381
1406
  share: {
1382
- backButton: "Revenir aux options",
1407
+ backButton: "Retour",
1383
1408
  cards: {
1384
1409
  iframe: {
1385
1410
  alt: "iFrame",
@@ -1458,7 +1483,7 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
1458
1483
  }
1459
1484
  },
1460
1485
  yes: "Oui"
1461
- }, N = {
1486
+ }, j = {
1462
1487
  "contact-trad": "contact",
1463
1488
  "contact-caps-trad": "contact",
1464
1489
  "contacts-trad": "contacts",
@@ -1736,7 +1761,7 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
1736
1761
  subtitle: "Bienvenue sur votre dashboard.",
1737
1762
  title: "Bonjour",
1738
1763
  titleWithName: "Bonjour {name} !"
1739
- }, j = {
1764
+ }, A = {
1740
1765
  action: {
1741
1766
  back: "@:common.action.back",
1742
1767
  close: "@:common.action.close",
@@ -1752,6 +1777,30 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
1752
1777
  advanced: {
1753
1778
  title: "Options avanc\xE9es"
1754
1779
  },
1780
+ consent: {
1781
+ marketingAndPrivacy: {
1782
+ ariaLabel: {
1783
+ disabled: "D\xE9sactiver le recueille de consentement sur la collecte des donn\xE9es personnelles et sur la souscription \xE0 la liste de diffusion marketing",
1784
+ enabled: "Activer le recueille de consentement sur la collecte des donn\xE9es personnelles et sur la souscription \xE0 la liste de diffusion marketing"
1785
+ },
1786
+ label: "Recueillir le consentement sur la collecte des donn\xE9es personnelles et sur la souscription \xE0 la liste de diffusion marketing"
1787
+ },
1788
+ marketing: {
1789
+ ariaLabel: {
1790
+ disabled: "D\xE9sactiver le recueille de consentement sur la souscription \xE0 la liste de diffusion marketing",
1791
+ enabled: "Activer le recueille de consentement sur la souscription \xE0 la liste de diffusion marketing"
1792
+ },
1793
+ label: "Recueillir le consentement sur la souscription \xE0 la liste de diffusion marketing"
1794
+ },
1795
+ privacy: {
1796
+ ariaLabel: {
1797
+ disabled: "D\xE9sactiver le recueille de consentement sur la collecte des donn\xE9es personnelles",
1798
+ enabled: "Activer le recueille de consentement sur la collecte des donn\xE9es personnelles "
1799
+ },
1800
+ label: "Recueillir le consentement sur la collecte des donn\xE9es personnelles"
1801
+ },
1802
+ title: "Consentement"
1803
+ },
1755
1804
  content: "Contenu du formulaire",
1756
1805
  description: {
1757
1806
  label: "Description",
@@ -2026,6 +2075,7 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
2026
2075
  email: "@:form.generator.types.list.email",
2027
2076
  name: "@:form.generator.types.list.name",
2028
2077
  phone: "@:form.generator.types.list.phone",
2078
+ reference: "R\xE9f\xE9rence client",
2029
2079
  website: "@:form.generator.types.list.website"
2030
2080
  },
2031
2081
  date: {
@@ -2159,7 +2209,7 @@ Vous pouvez modifier l\u2019heure du rendez-vous en cliquant sur le bouton pr\xE
2159
2209
  title: {
2160
2210
  main: "Formulaires"
2161
2211
  }
2162
- }, A = {
2212
+ }, w = {
2163
2213
  action: {
2164
2214
  cancel: "@:common.action.cancel",
2165
2215
  delete: "@:common.action.delete",
@@ -2295,7 +2345,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
2295
2345
  closed: "Ferm\xE9",
2296
2346
  title: "Les horaires"
2297
2347
  }
2298
- }, C = {
2348
+ }, S = {
2299
2349
  filter: {
2300
2350
  title: "Filtres",
2301
2351
  description: "Les filtres vous permettent d\u2019acc\xE9der facilement \xE0 la donn\xE9e qui vous int\xE9resse en fonction de la p\xE9riode, des \xE9tablissements et des collaborateurs.",
@@ -2303,7 +2353,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
2303
2353
  companies: "\xC9tablissements",
2304
2354
  users: "Collaborateurs"
2305
2355
  }
2306
- }, w = {
2356
+ }, C = {
2307
2357
  download: {
2308
2358
  filename: "@:agendize.notification.report.download.filename",
2309
2359
  toaster: {
@@ -2411,7 +2461,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
2411
2461
  genericExtract: "Extraction g\xE9n\xE9rique"
2412
2462
  }
2413
2463
  }
2414
- }, S = {
2464
+ }, L = {
2415
2465
  chips: {
2416
2466
  all: "Tous",
2417
2467
  all2: "Toutes",
@@ -2473,7 +2523,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
2473
2523
  },
2474
2524
  button: "Ajouter"
2475
2525
  }
2476
- }, L = {
2526
+ }, q = {
2477
2527
  action: {
2478
2528
  cancel: "@:common.action.cancel",
2479
2529
  back: "@:common.action.back",
@@ -2491,6 +2541,14 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
2491
2541
  displaySettings: {
2492
2542
  title: "Options d\u2019affichage",
2493
2543
  subTitle: "Les options d\u2019affichage vous permettent de personnaliser votre calendrier en fonction de vos besoins et de votre activit\xE9.",
2544
+ defaultView: {
2545
+ title: "Vue par d\xE9faut",
2546
+ values: {
2547
+ day: "Jour",
2548
+ week: "Semaine",
2549
+ agenda: "Agenda"
2550
+ }
2551
+ },
2494
2552
  days: {
2495
2553
  label: "Jours de la semaine",
2496
2554
  helper: "Vous pouvez s\xE9lectionner les jours de la semaine \xE0 afficher dans votre calendrier."
@@ -2938,6 +2996,13 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
2938
2996
  validate: "@:common.action.validate",
2939
2997
  type: "Type",
2940
2998
  address: {
2999
+ company: {
3000
+ title: "Adresse d\u2019un \xE9tablissement",
3001
+ field: {
3002
+ title: "\xC9tablissement",
3003
+ placeholder: "S\xE9lectionner un \xE9tablissement"
3004
+ }
3005
+ },
2941
3006
  title: "Adresse personnalis\xE9e"
2942
3007
  },
2943
3008
  link: {
@@ -2996,6 +3061,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
2996
3061
  title: "Nouvel \xE9v\xE9nement",
2997
3062
  "save-button": "Enregistrer",
2998
3063
  "save-error": "Une erreur s'est produite lors de la sauvegarde",
3064
+ "save-field-error": "Des champs sont en erreur.",
2999
3065
  "save-success": "Les modifications ont bien \xE9t\xE9 enregistr\xE9es.",
3000
3066
  sessions: {
3001
3067
  list: {
@@ -3005,7 +3071,14 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
3005
3071
  item: {
3006
3072
  action: {
3007
3073
  open: "Ouvrir \xE0 la r\xE9servation ",
3008
- close: "Fermer \xE0 la r\xE9servation"
3074
+ close: "Fermer \xE0 la r\xE9servation",
3075
+ share: "Partager la session"
3076
+ },
3077
+ share: {
3078
+ modal: {
3079
+ title: "Partager la session",
3080
+ url: "Lien de la session"
3081
+ }
3009
3082
  },
3010
3083
  subTitle: "{nbR} participant sur {capacity} | {nbR} participants sur {capacity}"
3011
3084
  },
@@ -3024,7 +3097,8 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
3024
3097
  accordeon: {
3025
3098
  attendees: {
3026
3099
  title: "Participants ({nbA}/{capacity})",
3027
- "empty-state": "Aucun participant pour cette session."
3100
+ "empty-state": "Aucun participant pour cette session.",
3101
+ cancel: "Annuler la participation"
3028
3102
  },
3029
3103
  waiting: {
3030
3104
  title: "Liste d'attente ({nbWait})"
@@ -3041,7 +3115,15 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
3041
3115
  },
3042
3116
  title: "R\xE9capitulatif"
3043
3117
  },
3044
- title: "D\xE9tails de la session"
3118
+ title: "D\xE9tails de la session",
3119
+ cancel: {
3120
+ title: "Annuler la participation",
3121
+ subtitle: "Vous \xEAtes sur le point d\u2019annuler la participation de {name}. Vous pouvez saisir le motif de cette annulation.",
3122
+ reason: "Motif d'annulation",
3123
+ reasonPlaceholder: "Saisissez un motif d'annulation",
3124
+ cancelled: "La participation a bien \xE9t\xE9 annul\xE9e.",
3125
+ failure: "Une erreur s'est produite lors de l'annulation"
3126
+ }
3045
3127
  },
3046
3128
  section: {
3047
3129
  title: "Liste des sessions",
@@ -4056,7 +4138,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4056
4138
  }
4057
4139
  }
4058
4140
  }
4059
- }, q = {
4141
+ }, T = {
4060
4142
  address: {
4061
4143
  manually: "Entrer l'adresse manuellement",
4062
4144
  autoFillPlaceholder: "Saisissez une adresse",
@@ -4088,7 +4170,84 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4088
4170
  placeholder: "France"
4089
4171
  }
4090
4172
  }
4091
- }, T = {
4173
+ }, k = {
4174
+ conference: {
4175
+ 404: {
4176
+ title: "La page que vous recherchez n'existe pas.",
4177
+ subTitle: "Nous sommes d\xE9sol\xE9s mais la page que vous cherchez n'existe plus."
4178
+ },
4179
+ "back-button": {
4180
+ label: "@:common.action.back",
4181
+ "aria-label": "Retourner \xE0 l'\xE9tape pr\xE9c\xE9dente"
4182
+ },
4183
+ cancel: {
4184
+ title: "Votre inscription est annul\xE9e.",
4185
+ registration: {
4186
+ register: "Vous pouvez \xE0 tout moment {object}.",
4187
+ registerSentence: "vous inscrire \xE0 d'autres \xE9v\xE9nements"
4188
+ }
4189
+ },
4190
+ confirm: {
4191
+ action: {
4192
+ back: "@:common.action.back",
4193
+ submit: "Valider l'inscription"
4194
+ },
4195
+ "sub-title": "Avant de valider l'inscription, merci de confirmer les informations ci-dessous :",
4196
+ title: "V\xE9rifier vos informations"
4197
+ },
4198
+ error: {
4199
+ "conference-completed": {
4200
+ title: "L'\xE9v\xE9nement est complet.",
4201
+ subTitle: "Malheureusement, l\u2019\xE9v\xE9nement est complet pour cette session. Nous vous remercions pour l\u2019int\xE9r\xEAt que vous portez \xE0 nos \xE9v\xE9nements !"
4202
+ },
4203
+ general: {
4204
+ title: "Une erreur est survenue.",
4205
+ subTitle: "Nous rencontrons des probl\xE8mes pour traiter votre demande. Merci de r\xE9it\xE9rer votre demande plus tard."
4206
+ },
4207
+ "session-pasted": {
4208
+ title: "L\u2019\xE9v\xE9nement est termin\xE9.",
4209
+ subTitle: "L'\xE9v\xE9nement est termin\xE9. Nous vous remercions pour l\u2019int\xE9r\xEAt que vous portez \xE0 nos \xE9v\xE9nements !"
4210
+ },
4211
+ "user-locked": {
4212
+ title: "Inscription refus\xE9e.",
4213
+ subTitle: "Malheureusement, vous ne pouvez pas vous inscrire \xE0 cet \xE9v\xE9nement. Vous pouvez n\xE9anmoins nous contacter pour en savoir plus."
4214
+ }
4215
+ },
4216
+ "next-button": {
4217
+ label: "@:common.next",
4218
+ "aria-label": "Aller \xE0 l'\xE9tape suivante"
4219
+ },
4220
+ panel: {
4221
+ "max-companion": "{count} accompagnants maximum",
4222
+ "max-people": "{count} personnes maximum"
4223
+ },
4224
+ registration: {
4225
+ cancel: {
4226
+ cancel: "Vous pouvez \xE0 tout moment {object} votre inscription.",
4227
+ cancelWord: "annuler",
4228
+ title: "Motif de l'annulation",
4229
+ placeholder: "Saisissez un motif d'annulation",
4230
+ confirm: "Annuler l'inscription"
4231
+ },
4232
+ confirmation: {
4233
+ title: "Votre inscription est confirm\xE9e.",
4234
+ subTitle: "Un email de confirmation avec le d\xE9tail de votre inscription vous a \xE9t\xE9 envoy\xE9."
4235
+ },
4236
+ manage: {
4237
+ title: "Votre inscription",
4238
+ subTitle: "Nous sommes heureux de vous compter parmis nous."
4239
+ },
4240
+ "waiting-list": {
4241
+ confirmation: {
4242
+ title: "Votre inscription en liste d'attente",
4243
+ subTitle: "Vous \xEAtes inscrit sur la liste d'attente de l'\xE9v\xE9nement. Nous vous recontacterons en cas de nouvelles disponibilit\xE9s."
4244
+ }
4245
+ }
4246
+ },
4247
+ "waiting-list": {
4248
+ confirm: "Je m'inscris"
4249
+ }
4250
+ },
4092
4251
  scheduling: {
4093
4252
  service: {
4094
4253
  action: {
@@ -4129,13 +4288,14 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4129
4288
  },
4130
4289
  path: "Itin\xE9raire"
4131
4290
  }
4132
- }
4291
+ },
4292
+ powered: "Propuls\xE9 par"
4133
4293
  }, E = {
4134
- agenda: h,
4135
- agendize: y,
4136
- calendar: I,
4137
- common: z,
4138
- crm: N,
4294
+ agenda: y,
4295
+ agendize: I,
4296
+ calendar: z,
4297
+ common: N,
4298
+ crm: j,
4139
4299
  dashboard: x,
4140
4300
  "event-booking": {
4141
4301
  new: "Nouveau rendez-vous",
@@ -4302,7 +4462,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4302
4462
  }
4303
4463
  }
4304
4464
  },
4305
- form: j,
4465
+ form: A,
4306
4466
  "link-generator": {
4307
4467
  title: "G\xE9n\xE9rer un lien",
4308
4468
  "company-step": {
@@ -4331,15 +4491,15 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4331
4491
  }
4332
4492
  }
4333
4493
  },
4334
- queue: A,
4335
- reporting: C,
4336
- report: w,
4337
- search: S,
4338
- settings: L,
4494
+ queue: w,
4495
+ reporting: S,
4496
+ report: C,
4497
+ search: L,
4498
+ settings: q,
4339
4499
  system: D,
4340
- tools: q,
4341
- widget: T
4342
- }, k = {
4500
+ tools: T,
4501
+ widget: k
4502
+ }, P = {
4343
4503
  notification: {
4344
4504
  report: {
4345
4505
  download: {
@@ -4347,9 +4507,9 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4347
4507
  }
4348
4508
  }
4349
4509
  }
4350
- }, P = {
4351
- empty: "vac\xEDa"
4352
4510
  }, R = {
4511
+ empty: "vac\xEDa"
4512
+ }, M = {
4353
4513
  administration: {
4354
4514
  audit: {
4355
4515
  action_type: {
@@ -4405,7 +4565,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4405
4565
  }
4406
4566
  }
4407
4567
  }
4408
- }, M = {
4568
+ }, V = {
4409
4569
  download: {
4410
4570
  filename: "@:agendize.notification.report.download.filename"
4411
4571
  },
@@ -4477,12 +4637,28 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4477
4637
  allCompanies: "Todas las empresas"
4478
4638
  }
4479
4639
  }
4480
- }, V = {
4481
- agendize: k,
4482
- common: P,
4483
- settings: R,
4484
- report: M
4485
4640
  }, F = {
4641
+ conference: {
4642
+ cancel: {
4643
+ registration: {
4644
+ register: "{object} en cualquier momento.",
4645
+ registerSentence: "Puedes registrarte para otros eventos"
4646
+ }
4647
+ },
4648
+ registration: {
4649
+ cancel: {
4650
+ cancel: "Puedes {object} tu registro en cualquier momento.",
4651
+ cancelWord: "cancelar"
4652
+ }
4653
+ }
4654
+ }
4655
+ }, G = {
4656
+ agendize: P,
4657
+ common: R,
4658
+ settings: M,
4659
+ report: V,
4660
+ widget: F
4661
+ }, U = {
4486
4662
  notification: {
4487
4663
  report: {
4488
4664
  download: {
@@ -4490,9 +4666,9 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4490
4666
  }
4491
4667
  }
4492
4668
  }
4493
- }, G = {
4494
- empty: "vazia"
4495
4669
  }, _ = {
4670
+ empty: "vazia"
4671
+ }, H = {
4496
4672
  administration: {
4497
4673
  audit: {
4498
4674
  action_type: {
@@ -4544,7 +4720,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4544
4720
  }
4545
4721
  }
4546
4722
  }
4547
- }, U = {
4723
+ }, B = {
4548
4724
  download: {
4549
4725
  filename: "@:agendize.notification.report.download.filename"
4550
4726
  },
@@ -4616,12 +4792,28 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4616
4792
  allCompanies: "Todas as empresas"
4617
4793
  }
4618
4794
  }
4619
- }, H = {
4620
- agendize: F,
4621
- common: G,
4622
- settings: _,
4623
- report: U
4624
- }, B = {
4795
+ }, $ = {
4796
+ conference: {
4797
+ cancel: {
4798
+ registration: {
4799
+ register: "{object} a qualquer momento.",
4800
+ registerSentence: "Voc\xEA pode se inscrever para outros eventos"
4801
+ }
4802
+ },
4803
+ registration: {
4804
+ cancel: {
4805
+ cancel: "Voc\xEA pode {object} seu registro a qualquer momento.",
4806
+ cancelWord: "cancelar"
4807
+ }
4808
+ }
4809
+ }
4810
+ }, O = {
4811
+ agendize: U,
4812
+ common: _,
4813
+ settings: H,
4814
+ report: B,
4815
+ widget: $
4816
+ }, Q = {
4625
4817
  notification: {
4626
4818
  report: {
4627
4819
  download: {
@@ -4629,9 +4821,9 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4629
4821
  }
4630
4822
  }
4631
4823
  }
4632
- }, O = {
4824
+ }, W = {
4633
4825
  empty: "vuota"
4634
- }, $ = {
4826
+ }, Z = {
4635
4827
  administration: {
4636
4828
  audit: {
4637
4829
  action_type: {
@@ -4687,7 +4879,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4687
4879
  }
4688
4880
  }
4689
4881
  }
4690
- }, Q = {
4882
+ }, J = {
4691
4883
  download: {
4692
4884
  filename: "@:agendize.notification.report.download.filename"
4693
4885
  },
@@ -4759,12 +4951,28 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4759
4951
  allCompanies: "Tutte le aziende"
4760
4952
  }
4761
4953
  }
4762
- }, W = {
4763
- agendize: B,
4764
- common: O,
4765
- settings: $,
4766
- report: Q
4767
- }, Z = {
4954
+ }, Y = {
4955
+ conference: {
4956
+ cancel: {
4957
+ registration: {
4958
+ register: "{object} in qualsiasi momento.",
4959
+ registerSentence: "Puoi iscriverti ad altri eventi"
4960
+ }
4961
+ },
4962
+ registration: {
4963
+ cancel: {
4964
+ cancel: "Puoi {object} la tua registrazione in qualsiasi momento.",
4965
+ cancelWord: "annullare"
4966
+ }
4967
+ }
4968
+ }
4969
+ }, K = {
4970
+ agendize: Q,
4971
+ common: W,
4972
+ settings: Z,
4973
+ report: J,
4974
+ widget: Y
4975
+ }, X = {
4768
4976
  notification: {
4769
4977
  report: {
4770
4978
  download: {
@@ -4772,9 +4980,9 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4772
4980
  }
4773
4981
  }
4774
4982
  }
4775
- }, J = {
4983
+ }, ee = {
4776
4984
  empty: "leer"
4777
- }, K = {
4985
+ }, te = {
4778
4986
  administration: {
4779
4987
  audit: {
4780
4988
  action_type: {
@@ -4830,7 +5038,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4830
5038
  }
4831
5039
  }
4832
5040
  }
4833
- }, Y = {
5041
+ }, ae = {
4834
5042
  download: {
4835
5043
  filename: "@:agendize.notification.report.download.filename"
4836
5044
  },
@@ -4902,12 +5110,28 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4902
5110
  allCompanies: "Alle Unternehmen"
4903
5111
  }
4904
5112
  }
4905
- }, X = {
4906
- agendize: Z,
4907
- common: J,
4908
- settings: K,
4909
- report: Y
4910
- }, ee = {
5113
+ }, ne = {
5114
+ conference: {
5115
+ cancel: {
5116
+ registration: {
5117
+ register: "F\xFCr weitere Veranstaltungen {object}.",
5118
+ registerSentence: "k\xF6nnen Sie sich jederzeit anmelden"
5119
+ }
5120
+ },
5121
+ registration: {
5122
+ cancel: {
5123
+ cancel: "Sie k\xF6nnen Ihre Registrierung jederzeit {object}.",
5124
+ cancelWord: "stornieren"
5125
+ }
5126
+ }
5127
+ }
5128
+ }, oe = {
5129
+ agendize: X,
5130
+ common: ee,
5131
+ settings: te,
5132
+ report: ae,
5133
+ widget: ne
5134
+ }, ie = {
4911
5135
  notification: {
4912
5136
  report: {
4913
5137
  download: {
@@ -4915,9 +5139,9 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4915
5139
  }
4916
5140
  }
4917
5141
  }
4918
- }, te = {
5142
+ }, re = {
4919
5143
  empty: "leeg"
4920
- }, ae = {
5144
+ }, se = {
4921
5145
  administration: {
4922
5146
  audit: {
4923
5147
  action_type: {
@@ -4973,7 +5197,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
4973
5197
  }
4974
5198
  }
4975
5199
  }
4976
- }, ne = {
5200
+ }, le = {
4977
5201
  download: {
4978
5202
  filename: "@:agendize.notification.report.download.filename"
4979
5203
  },
@@ -5045,12 +5269,28 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
5045
5269
  allCompanies: "Alle bedrijven"
5046
5270
  }
5047
5271
  }
5048
- }, oe = {
5049
- agendize: ee,
5050
- common: te,
5051
- settings: ae,
5052
- report: ne
5053
- }, ie = {
5272
+ }, ce = {
5273
+ conference: {
5274
+ cancel: {
5275
+ registration: {
5276
+ register: "Voor andere evenementen {object}.",
5277
+ registerSentence: "kunt u zich op elk moment inschrijven"
5278
+ }
5279
+ },
5280
+ registration: {
5281
+ cancel: {
5282
+ cancel: "U kunt uw inschrijving op ieder moment {object}.",
5283
+ cancelWord: "annuleren"
5284
+ }
5285
+ }
5286
+ }
5287
+ }, de = {
5288
+ agendize: ie,
5289
+ common: re,
5290
+ settings: se,
5291
+ report: le,
5292
+ widget: ce
5293
+ }, ue = {
5054
5294
  notification: {
5055
5295
  report: {
5056
5296
  download: {
@@ -5058,9 +5298,9 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
5058
5298
  }
5059
5299
  }
5060
5300
  }
5061
- }, re = {
5301
+ }, me = {
5062
5302
  empty: "\u7A7A\u306E"
5063
- }, se = {
5303
+ }, pe = {
5064
5304
  administration: {
5065
5305
  audit: {
5066
5306
  action_type: {
@@ -5116,7 +5356,7 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
5116
5356
  }
5117
5357
  }
5118
5358
  }
5119
- }, le = {
5359
+ }, be = {
5120
5360
  download: {
5121
5361
  filename: "@:agendize.notification.report.download.filename"
5122
5362
  },
@@ -5188,60 +5428,68 @@ Vous \xEAtes num\xE9ro {'{'}number_in_line{'}'} de la file d'attente.`,
5188
5428
  allCompanies: "\u5168\u793E"
5189
5429
  }
5190
5430
  }
5191
- }, ce = {
5192
- agendize: ie,
5193
- common: re,
5194
- settings: se,
5195
- report: le
5431
+ }, fe = {
5432
+ agendize: ue,
5433
+ common: me,
5434
+ settings: pe,
5435
+ report: be
5196
5436
  };
5197
- function de(t) {
5198
- let e = document.createElement("script");
5199
- e.async = !0, e.setAttribute("src", "https://cdn.weglot.com/weglot.min.js"), e.onload = () => {
5200
- var a;
5201
- (a = window.Weglot) == null || a.initialize({
5202
- api_key: t,
5437
+ function ve(e, a) {
5438
+ let t = document.createElement("script");
5439
+ t.async = !0, t.setAttribute("src", "https://cdn.weglot.com/weglot.min.js"), t.onload = () => {
5440
+ var n;
5441
+ (n = window.Weglot) == null || n.initialize({
5442
+ api_key: e,
5203
5443
  extra_definitions: [{
5204
5444
  type: 1,
5205
5445
  selector: ".include-weglot-tooltip",
5206
5446
  attribute: "data-tooltip"
5207
- }]
5447
+ }],
5448
+ excluded_blocks: [{
5449
+ value: ".exclude-weglot"
5450
+ }],
5451
+ ...a
5208
5452
  });
5209
- }, document.head.appendChild(e);
5453
+ }, document.head.appendChild(t);
5210
5454
  }
5211
- function ue(t, e = "div") {
5455
+ function ge(e, a = "div") {
5212
5456
  var n;
5213
- if (!t)
5457
+ if (!e)
5214
5458
  return "";
5215
- let a = document.createElement(e);
5216
- return a.innerHTML = t, (n = a.textContent) != null ? n : "";
5459
+ let t = document.createElement(a);
5460
+ return t.innerHTML = e, (n = t.textContent) != null ? n : "";
5217
5461
  }
5218
- function me(t) {
5219
- var e;
5220
- (e = window.Weglot) == null || e.switchTo(t);
5462
+ function he(e) {
5463
+ var a;
5464
+ (a = window.Weglot) == null || a.switchTo(e);
5221
5465
  }
5222
- async function pe(t, e) {
5466
+ async function ye(e, a) {
5223
5467
  var n, i;
5224
- const a = e || ((n = window.Weglot) == null ? void 0 : n.getCurrentLang());
5225
- if (t.length == 0)
5468
+ const t = a || ((n = window.Weglot) == null ? void 0 : n.getCurrentLang());
5469
+ if (e.length == 0)
5226
5470
  return [];
5227
- if (a == "fr")
5228
- return t;
5471
+ if (t == "fr")
5472
+ return e;
5229
5473
  {
5230
5474
  let r = [];
5231
- t.forEach((s) => {
5475
+ e.forEach((s) => {
5232
5476
  r.push({ t: 1, w: s });
5233
5477
  });
5234
- const o = await ((i = window.Weglot) == null ? void 0 : i.translate({ words: r, languageTo: a }));
5478
+ const o = await ((i = window.Weglot) == null ? void 0 : i.translate({ words: r, languageTo: t }));
5235
5479
  if (o && Array.isArray(o) && o.length > 0)
5236
5480
  return o;
5237
5481
  }
5238
5482
  return [];
5239
5483
  }
5240
- const be = { en: g, fr: E, es: V, pt: H, it: W, de: X, nl: oe, ja: ce };
5484
+ function Ie(e) {
5485
+ return e === "en" || e === "fr" || e === "es" || e === "pt" || e === "de" || e === "nl" || e === "it";
5486
+ }
5487
+ const ze = { en: h, fr: E, es: G, pt: O, it: K, de: oe, nl: de, ja: fe };
5241
5488
  export {
5242
- ue as clearContent,
5243
- de as initTranslationTool,
5244
- be as messages,
5245
- me as switchLanguageTo,
5246
- pe as translate
5489
+ ge as clearContent,
5490
+ ve as initTranslationTool,
5491
+ Ie as isSupportedLocale,
5492
+ ze as messages,
5493
+ he as switchLanguageTo,
5494
+ ye as translate
5247
5495
  };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- export declare type Locale = 'en' | 'fr' | 'es' | 'pt' | 'it' | 'de' | 'nl' | 'ja';
2
- declare const messages: Record<Locale, {}>;
3
- export { messages };
4
- export * from './utils/translationUtils';
1
+ export declare type Locale = 'en' | 'fr' | 'es' | 'pt' | 'it' | 'de' | 'nl' | 'ja';
2
+ export declare function isSupportedLocale(value: string): boolean;
3
+ declare const messages: Record<Locale, {}>;
4
+ export { messages };
5
+ export * from './utils/translationUtils';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,oBAAY,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAC1E,QAAA,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,CAA+E,CAAA;AAEhH,OAAO,EAAC,QAAQ,EAAC,CAAA;AACjB,cAAc,0BAA0B,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,oBAAY,MAAM,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE1E,wBAAgB,iBAAiB,CAAC,KAAK,EAAG,MAAM,WAE/C;AAED,QAAA,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,EAAE,CAA+E,CAAA;AAEhH,OAAO,EAAC,QAAQ,EAAC,CAAA;AACjB,cAAc,0BAA0B,CAAA"}
@@ -1,6 +1,6 @@
1
- import { Locale } from "../index";
2
- export declare function initTranslationTool(apiKey: string): void;
3
- export declare function clearContent(value: string, tagName?: string): string;
4
- export declare function switchLanguageTo(language: string): void;
5
- export declare function translate(stringToTranslate: string[], lang?: Locale): Promise<string[]>;
1
+ import { Locale } from "../index";
2
+ export declare function initTranslationTool(apiKey: string, options?: any): void;
3
+ export declare function clearContent(value: string, tagName?: string): string;
4
+ export declare function switchLanguageTo(language: string): void;
5
+ export declare function translate(stringToTranslate: string[], lang?: Locale): Promise<string[]>;
6
6
  //# sourceMappingURL=translationUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translationUtils.d.ts","sourceRoot":"","sources":["../../src/utils/translationUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAGhC,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,QAgBjD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,MAAc,GAAE,MAAM,CAQ1E;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,QAGhD;AAED,wBAAsB,SAAS,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAqB7F"}
1
+ {"version":3,"file":"translationUtils.d.ts","sourceRoot":"","sources":["../../src/utils/translationUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAGhC,wBAAgB,mBAAmB,CAC/B,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,GAAG,QAoBhB;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,GAAE,MAAc,GAAE,MAAM,CAQ1E;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,QAGhD;AAED,wBAAsB,SAAS,CAAC,iBAAiB,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAqB7F"}
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@agendize/az-i18n",
3
- "private": false,
4
- "version": "1.0.145",
5
- "description": "Agendize i18n",
6
- "type": "module",
7
- "keywords": [
8
- "agendize",
9
- "i18n"
10
- ],
11
- "homepage": "https://github.com/agendize/az-i18n",
12
- "bugs": {
13
- "url": "https://github.com/agendize/az-i18n/issues"
14
- },
15
- "repository": {
16
- "type": "git",
17
- "url": "git+https://github.com/agendize/az-i18n.git"
18
- },
19
- "license": "Apache-2.0",
20
- "author": "Agendize",
21
- "main": "./dist/az-i18n.umd.js",
22
- "module": "./dist/az-i18n.es.js",
23
- "unpkg": "./dist/az-i18n.min.js",
24
- "types": "dist/index.d.ts",
25
- "files": [
26
- "dist/"
27
- ],
28
- "devDependencies": {
29
- "vite": "^3.1.8",
30
- "vue-tsc": "^0.29.8",
31
- "typescript": "4.7.4"
32
- },
33
- "exports": {
34
- ".": {
35
- "import": "./dist/az-i18n.es.js",
36
- "require": "./dist/az-i18n.umd.js"
37
- }
38
- },
39
- "scripts": {
40
- "build": "vite build && tsc --emitDeclarationOnly",
41
- "build-quick": "vite build",
42
- "publish-lib": "npm run build && npm publish --access=public ",
43
- "publish-beta": "npm run build && npm publish --access=public --tag beta",
44
- "publish-dryrun": "npm run build && npm publish --access=public --dry-run"
45
- }
46
- }
1
+ {
2
+ "name": "@agendize/az-i18n",
3
+ "private": false,
4
+ "version": "1.0.147",
5
+ "description": "Agendize i18n",
6
+ "type": "module",
7
+ "keywords": [
8
+ "agendize",
9
+ "i18n"
10
+ ],
11
+ "homepage": "https://github.com/agendize/az-i18n",
12
+ "bugs": {
13
+ "url": "https://github.com/agendize/az-i18n/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/agendize/az-i18n.git"
18
+ },
19
+ "license": "Apache-2.0",
20
+ "author": "Agendize",
21
+ "main": "./dist/az-i18n.umd.js",
22
+ "module": "./dist/az-i18n.es.js",
23
+ "unpkg": "./dist/az-i18n.min.js",
24
+ "types": "dist/index.d.ts",
25
+ "files": [
26
+ "dist/"
27
+ ],
28
+ "devDependencies": {
29
+ "vite": "^3.1.8",
30
+ "vue-tsc": "^0.29.8",
31
+ "typescript": "4.7.4"
32
+ },
33
+ "exports": {
34
+ ".": {
35
+ "import": "./dist/az-i18n.es.js",
36
+ "require": "./dist/az-i18n.umd.js"
37
+ }
38
+ },
39
+ "scripts": {
40
+ "build": "vite build && tsc --emitDeclarationOnly",
41
+ "build-quick": "vite build",
42
+ "publish-lib": "npm run build && npm publish --access=public ",
43
+ "publish-beta": "npm run build && npm publish --access=public --tag beta",
44
+ "publish-dryrun": "npm run build && npm publish --access=public --dry-run"
45
+ }
46
+ }