carbon-react 136.0.4 → 137.0.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.
@@ -0,0 +1,207 @@
1
+ import frFRDateLocale from "date-fns/locale/fr";
2
+ const isSingular = count => (typeof count === "string" ? parseInt(count) : count) === 1;
3
+ const frFR = {
4
+ locale: () => "fr-FR",
5
+ actions: {
6
+ edit: () => "Modifier",
7
+ delete: () => "Supprimer"
8
+ },
9
+ actionPopover: {
10
+ ariaLabel: () => "actions"
11
+ },
12
+ advancedColorPicker: {
13
+ ariaLabel: () => "Changer de couleur",
14
+ currentColorDescriptionTerm: () => "Couleur actuelle attribuée :",
15
+ currentColorAssigned: currentColor => currentColor
16
+ },
17
+ batchSelection: {
18
+ selected: count => `${count} sélectionné(s)`
19
+ },
20
+ breadcrumbs: {
21
+ ariaLabel: () => "Chemin de navigation"
22
+ },
23
+ confirm: {
24
+ no: () => "Non",
25
+ yes: () => "Oui"
26
+ },
27
+ characterCount: {
28
+ tooManyCharacters: (count, formattedCount) => count === 1 ? `il y a ${formattedCount} caractère de trop` : `${formattedCount} caractères de trop`,
29
+ charactersLeft: (count, formattedCount) => count === 1 ? `${formattedCount} caractère restant` : `${formattedCount} caractères restants`,
30
+ visuallyHiddenHint: formattedCount => `vous pouvez saisir jusqu'à ${formattedCount} caractères.`
31
+ },
32
+ date: {
33
+ dateFnsLocale: () => frFRDateLocale,
34
+ ariaLabels: {
35
+ previousMonthButton: () => "Mois précédent",
36
+ nextMonthButton: () => "Mois suivant"
37
+ }
38
+ },
39
+ dialog: {
40
+ ariaLabels: {
41
+ close: () => "Fermer"
42
+ }
43
+ },
44
+ dialogFullScreen: {
45
+ ariaLabels: {
46
+ close: () => "Fermer"
47
+ }
48
+ },
49
+ dismissibleBox: {
50
+ ariaLabels: {
51
+ close: () => "Fermer"
52
+ }
53
+ },
54
+ errors: {
55
+ messages: {
56
+ formSummary: /* istanbul ignore next */
57
+ (errors, warnings, type) => {
58
+ const errorPlural = isSingular(errors) ? "erreur" : "erreurs";
59
+ const warningPlural = isSingular(warnings) ? "avertissement" : "avertissements";
60
+ if (errors && warnings && type === "warning") {
61
+ return ["et", `${warnings} ${warningPlural}`];
62
+ }
63
+ if (errors) {
64
+ return ["Il y a", `${errors} ${errorPlural}`];
65
+ }
66
+ if (warnings) {
67
+ return ["Il y a", `${warnings} ${warningPlural}`];
68
+ }
69
+ return null;
70
+ }
71
+ }
72
+ },
73
+ fileInput: {
74
+ dragAndDrop: () => "ou glisser et déposer votre fichier",
75
+ selectFile: () => "Sélectionnez le fichier",
76
+ fileUploadStatus: () => "Statut du téléchargement de fichiers",
77
+ actions: {
78
+ cancel: () => "Annuler le téléchargement",
79
+ clear: () => "Effacer",
80
+ delete: () => "Supprimer le fichier"
81
+ }
82
+ },
83
+ heading: {
84
+ backLinkAriaLabel: () => "Retour"
85
+ },
86
+ link: {
87
+ skipLinkLabel: () => "Passer au contenu principal"
88
+ },
89
+ loader: {
90
+ loading: () => "Téléhargement"
91
+ },
92
+ loaderSpinner: {
93
+ loading: () => "Téléhargement..."
94
+ },
95
+ menuFullscreen: {
96
+ ariaLabels: {
97
+ closeButton: () => "Fermer"
98
+ }
99
+ },
100
+ message: {
101
+ closeButtonAriaLabel: () => "Fermer"
102
+ },
103
+ numeralDate: {
104
+ validation: {
105
+ day: (month, daysInMonth) => {
106
+ if (month && daysInMonth) {
107
+ return `Le jour du ${month} doit être un nombre compris entre 1- ${daysInMonth}`;
108
+ }
109
+ return "Le jour doit être un nombre compris entre 1 et 31 jours.";
110
+ },
111
+ month: () => "Le mois doit être un nombre compris entre 1 et 12.",
112
+ year: () => "L'année doit être un nombre compris entre 1800 et 2200."
113
+ },
114
+ labels: {
115
+ day: () => "Jour",
116
+ month: () => "Mois",
117
+ year: () => "Année"
118
+ }
119
+ },
120
+ pager: {
121
+ show: () => "Afficher",
122
+ records: (count, showNumber = true) => {
123
+ const noun = isSingular(count) ? "élément" : "éléments";
124
+ return showNumber ? `${count} ${noun}` : noun;
125
+ },
126
+ first: () => "Première",
127
+ last: () => "Dernière",
128
+ next: () => "Suivante",
129
+ previous: () => "Précédente",
130
+ pageX: () => "Page",
131
+ ofY: count => `de ${count}`
132
+ },
133
+ password: {
134
+ ariaLiveShownMessage: () => "Votre mot de passe s'affiche. Assurez-vous d'être dans un environnement sûr puis survolez la zone avec votre souris et vous pourrez écouter le mot de passe.",
135
+ ariaLiveHiddenMessage: () => "Votre mot de passe est actuellement caché."
136
+ },
137
+ progressTracker: {
138
+ of: () => "de"
139
+ },
140
+ pod: {
141
+ undo: () => "Annuler"
142
+ },
143
+ search: {
144
+ searchButtonText: () => "Rechercher"
145
+ },
146
+ select: {
147
+ actionButtonText: () => "Ajouter un nouvel élément",
148
+ placeholder: () => "Sélectionner...",
149
+ noResultsForTerm: term => `Aucun résultat pour ${term}`
150
+ },
151
+ sidebar: {
152
+ ariaLabels: {
153
+ close: () => "Fermer"
154
+ }
155
+ },
156
+ sort: {
157
+ accessibleName: (sortContent, sortType) => `Trier tous les contenus ${sortContent && `de type ${sortContent}`}${sortType ? ` par ordre ${sortType === "ascending" ? "croissant" : "décroissant"}.` : " par ordre croissant ou décroissant."}`
158
+ },
159
+ splitButton: {
160
+ ariaLabel: () => "Afficher plus"
161
+ },
162
+ stepFlow: {
163
+ stepLabel: (currentStep, totalSteps) => `Étape ${currentStep} de ${totalSteps}`,
164
+ screenReaderOnlyTitle: (title, currentStep, totalSteps, category) => `${category ? `${category}.` : ""} ${title}. Étape ${currentStep} de ${totalSteps}.`,
165
+ closeIconAriaLabel: () => "Fermer"
166
+ },
167
+ switch: {
168
+ on: () => "Oui",
169
+ off: () => "Désactiver"
170
+ },
171
+ textEditor: {
172
+ tooltipMessages: {
173
+ bold: () => "Gras",
174
+ italic: () => "Italique",
175
+ bulletList: () => "Liste à puces",
176
+ numberList: () => "Liste numérotée"
177
+ },
178
+ ariaLabels: {
179
+ bold: () => "gras",
180
+ italic: () => "italique",
181
+ bulletList: () => "liste à puces",
182
+ numberList: () => "liste numérotée"
183
+ }
184
+ },
185
+ tileSelect: {
186
+ deselect: () => "Désélectionner"
187
+ },
188
+ time: {
189
+ amText: () => "AM",
190
+ pmText: () => "PM",
191
+ hoursLabelText: () => "h",
192
+ minutesLabelText: () => "min",
193
+ hoursAriaLabelText: () => "Heures",
194
+ minutesAriaLabelText: () => "Minutes"
195
+ },
196
+ toast: {
197
+ ariaLabels: {
198
+ close: () => "Fermer"
199
+ }
200
+ },
201
+ verticalMenuFullScreen: {
202
+ ariaLabels: {
203
+ close: () => "Fermer"
204
+ }
205
+ }
206
+ };
207
+ export default frFR;
@@ -1,2 +1,8 @@
1
1
  export type { default } from "./locale";
2
- export { default as EnGb } from "./en-gb";
2
+ export { default as enGB } from "./en-gb";
3
+ export { default as deDE } from "./de-de";
4
+ export { default as enCA } from "./en-ca";
5
+ export { default as enUS } from "./en-us";
6
+ export { default as esES } from "./es-es";
7
+ export { default as frCA } from "./fr-ca";
8
+ export { default as frFR } from "./fr-fr";
@@ -1 +1,7 @@
1
- export { default as EnGb } from "./en-gb";
1
+ export { default as enGB } from "./en-gb";
2
+ export { default as deDE } from "./de-de";
3
+ export { default as enCA } from "./en-ca";
4
+ export { default as enUS } from "./en-us";
5
+ export { default as esES } from "./es-es";
6
+ export { default as frCA } from "./fr-ca";
7
+ export { default as frFR } from "./fr-fr";
@@ -0,0 +1,3 @@
1
+ import Locale from "./locale";
2
+ declare const deDE: Partial<Locale>;
3
+ export default deDE;
@@ -0,0 +1,213 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _de = _interopRequireDefault(require("date-fns/locale/de"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ const isSingular = count => (typeof count === "string" ? parseInt(count) : count) === 1;
10
+ const deDE = {
11
+ locale: () => "de-DE",
12
+ actions: {
13
+ edit: () => "Bearbeiten",
14
+ delete: () => "Löschen"
15
+ },
16
+ actionPopover: {
17
+ ariaLabel: () => "Aktionen"
18
+ },
19
+ advancedColorPicker: {
20
+ ariaLabel: () => "Farbe ändern",
21
+ currentColorDescriptionTerm: () => "Aktuell zugewiesene Farbe:",
22
+ currentColorAssigned: currentColor => currentColor
23
+ },
24
+ batchSelection: {
25
+ selected: count => `${count} ausgewählt`
26
+ },
27
+ breadcrumbs: {
28
+ ariaLabel: () => "Breadcrumbs"
29
+ },
30
+ confirm: {
31
+ no: () => "Nein",
32
+ yes: () => "Ja"
33
+ },
34
+ characterCount: {
35
+ tooManyCharacters: formattedCount => `${formattedCount} Zeichen zu viel`,
36
+ charactersLeft: formattedCount => `${formattedCount} Zeichen übrig`,
37
+ visuallyHiddenHint: formattedCount => `Sie können bis zu ${formattedCount} Zeichen eingeben.`
38
+ },
39
+ date: {
40
+ dateFnsLocale: () => _de.default,
41
+ ariaLabels: {
42
+ previousMonthButton: () => "Vorheriger Monat",
43
+ nextMonthButton: () => "Nächster Monat"
44
+ }
45
+ },
46
+ dialog: {
47
+ ariaLabels: {
48
+ close: () => "Schließen"
49
+ }
50
+ },
51
+ dialogFullScreen: {
52
+ ariaLabels: {
53
+ close: () => "Schließen"
54
+ }
55
+ },
56
+ dismissibleBox: {
57
+ ariaLabels: {
58
+ close: () => "Schließen"
59
+ }
60
+ },
61
+ errors: {
62
+ messages: {
63
+ formSummary: /* istanbul ignore next */
64
+ (errors, warnings, type) => {
65
+ const warningPlural = isSingular(warnings) ? "Warnung" : "Warnungen";
66
+ if (errors && warnings && type === "warning") {
67
+ return ["und", `${warnings} ${warningPlural}`];
68
+ }
69
+ if (errors) {
70
+ return ["Es gibt", `${errors} Fehler`];
71
+ }
72
+ if (warnings) {
73
+ return ["Es gibt", `${warnings} ${warningPlural}`];
74
+ }
75
+ return null;
76
+ }
77
+ }
78
+ },
79
+ fileInput: {
80
+ dragAndDrop: () => "oder per Drag & Drop ablegen",
81
+ selectFile: () => "Datei auswählen",
82
+ fileUploadStatus: () => "Status",
83
+ actions: {
84
+ cancel: () => "Upload abbrechen",
85
+ clear: () => "Löschen",
86
+ delete: () => "Datei löschen"
87
+ }
88
+ },
89
+ heading: {
90
+ backLinkAriaLabel: () => "Zurück"
91
+ },
92
+ link: {
93
+ skipLinkLabel: () => "Zum Hauptinhalt springen"
94
+ },
95
+ loader: {
96
+ loading: () => "Laden"
97
+ },
98
+ loaderSpinner: {
99
+ loading: () => "Laden..."
100
+ },
101
+ menuFullscreen: {
102
+ ariaLabels: {
103
+ closeButton: () => "Schließen"
104
+ }
105
+ },
106
+ message: {
107
+ closeButtonAriaLabel: () => "Schließen"
108
+ },
109
+ numeralDate: {
110
+ validation: {
111
+ day: (month, daysInMonth) => {
112
+ if (month && daysInMonth) {
113
+ return `Tag in ${month} muss eine Zahl von 1- ${daysInMonth} sein`;
114
+ }
115
+ return "Der Tag muss eine Zahl zwischen 1 und 31 sein.";
116
+ },
117
+ month: () => "Der Monat muss eine Zahl zwischen 1 und 12 sein.",
118
+ year: () => "Das Jahr muss eine Zahl zwischen 1000 und 2200 sein."
119
+ },
120
+ labels: {
121
+ day: () => "Tag",
122
+ month: () => "Monat",
123
+ year: () => "Jahr"
124
+ }
125
+ },
126
+ pager: {
127
+ show: () => "Anzeigen",
128
+ records: (count, showNumber = true) => {
129
+ const noun = isSingular(count) ? "Element" : "Elemente";
130
+ return showNumber ? `${count} ${noun}` : noun;
131
+ },
132
+ first: () => "Erste",
133
+ last: () => "Letzte",
134
+ next: () => "Weiter",
135
+ previous: () => "Vorherige",
136
+ pageX: () => "Seite",
137
+ ofY: count => `von ${count}`
138
+ },
139
+ password: {
140
+ ariaLiveShownMessage: () => "Ihr Passwort wurde angezeigt. Bewegen Sie den Cursor über das Passwort, um es sich vorlesen zu lassen, wenn dies sicher ist.",
141
+ ariaLiveHiddenMessage: () => "Ihr Passwort ist derzeit ausgeblendet."
142
+ },
143
+ progressTracker: {
144
+ of: () => "von"
145
+ },
146
+ pod: {
147
+ undo: () => "Rückgängig"
148
+ },
149
+ search: {
150
+ searchButtonText: () => "Suchen"
151
+ },
152
+ select: {
153
+ actionButtonText: () => "Neues Element hinzufügen",
154
+ placeholder: () => "Bitte auswählen...",
155
+ noResultsForTerm: term => `Es wurden keine Ergebnisse für ${term} gefunden.`
156
+ },
157
+ sidebar: {
158
+ ariaLabels: {
159
+ close: () => "Schließen"
160
+ }
161
+ },
162
+ sort: {
163
+ accessibleName: (sortContent, sortType) => `Alle ${sortContent || "inhalte"}${sortType ? ` in der Reihenfolge ${sortType === "ascending" ? "aufsteigend" : "absteigend"} sortieren.` : " in der Reihenfolge aufsteigend oder absteigend sortieren."}`
164
+ },
165
+ splitButton: {
166
+ ariaLabel: () => "Mehr anzeigen"
167
+ },
168
+ stepFlow: {
169
+ stepLabel: (currentStep, totalSteps) => `Schritt ${currentStep} von ${totalSteps}`,
170
+ screenReaderOnlyTitle: (title, currentStep, totalSteps, category) => `${category ? `${category}.` : ""} ${title}. Schritt ${currentStep} von ${totalSteps}.`,
171
+ closeIconAriaLabel: () => "Schließen"
172
+ },
173
+ switch: {
174
+ on: () => "EIN",
175
+ off: () => "AUS"
176
+ },
177
+ textEditor: {
178
+ tooltipMessages: {
179
+ bold: () => "Fett",
180
+ italic: () => "Kursiv",
181
+ bulletList: () => "Aufzählung mit Punkten",
182
+ numberList: () => "Nummerierte Liste"
183
+ },
184
+ ariaLabels: {
185
+ bold: () => "fett",
186
+ italic: () => "kursiv",
187
+ bulletList: () => "Aufzählung mit Punkten",
188
+ numberList: () => "Nummerierte Liste"
189
+ }
190
+ },
191
+ tileSelect: {
192
+ deselect: () => "Auswahl aufheben"
193
+ },
194
+ time: {
195
+ amText: () => "AM",
196
+ pmText: () => "PM",
197
+ hoursLabelText: () => "h",
198
+ minutesLabelText: () => "min",
199
+ hoursAriaLabelText: () => "Stunden",
200
+ minutesAriaLabelText: () => "Minuten"
201
+ },
202
+ toast: {
203
+ ariaLabels: {
204
+ close: () => "Schließen"
205
+ }
206
+ },
207
+ verticalMenuFullScreen: {
208
+ ariaLabels: {
209
+ close: () => "Schließen"
210
+ }
211
+ }
212
+ };
213
+ var _default = exports.default = deDE;
@@ -0,0 +1,3 @@
1
+ import Locale from "./locale";
2
+ declare const enCA: Partial<Locale>;
3
+ export default enCA;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _enCA = _interopRequireDefault(require("date-fns/locale/en-CA"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ const enCA = {
10
+ locale: () => "en-CA",
11
+ date: {
12
+ dateFnsLocale: () => _enCA.default,
13
+ ariaLabels: {
14
+ previousMonthButton: () => "Previous month",
15
+ nextMonthButton: () => "Next month"
16
+ }
17
+ }
18
+ };
19
+ var _default = exports.default = enCA;
@@ -0,0 +1,3 @@
1
+ import Locale from "./locale";
2
+ declare const enUS: Partial<Locale>;
3
+ export default enUS;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _enUS = _interopRequireDefault(require("date-fns/locale/en-US"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ const enUS = {
10
+ locale: () => "en-US",
11
+ date: {
12
+ dateFnsLocale: () => _enUS.default,
13
+ ariaLabels: {
14
+ previousMonthButton: () => "Previous month",
15
+ nextMonthButton: () => "Next month"
16
+ }
17
+ }
18
+ };
19
+ var _default = exports.default = enUS;
@@ -0,0 +1,3 @@
1
+ import Locale from "./locale";
2
+ declare const esES: Partial<Locale>;
3
+ export default esES;
@@ -11,36 +11,36 @@ const esES = {
11
11
  locale: () => "es-ES",
12
12
  actions: {
13
13
  edit: () => "Editar",
14
- delete: () => "Borrar"
14
+ delete: () => "Eliminar"
15
15
  },
16
16
  actionPopover: {
17
17
  ariaLabel: () => "acciones"
18
18
  },
19
19
  advancedColorPicker: {
20
20
  ariaLabel: () => "Cambiar color",
21
- currentColorDescriptionTerm: () => "Color asignado: ",
21
+ currentColorDescriptionTerm: () => "Color aplicado:",
22
22
  currentColorAssigned: currentColor => currentColor
23
23
  },
24
24
  batchSelection: {
25
- selected: count => `${count} seleccionados`
25
+ selected: count => `Registros seleccionados: ${count}`
26
26
  },
27
27
  breadcrumbs: {
28
28
  ariaLabel: () => "ruta de navegación"
29
29
  },
30
30
  confirm: {
31
31
  no: () => "No",
32
- yes: () => "Si"
32
+ yes: () => ""
33
33
  },
34
34
  characterCount: {
35
- tooManyCharacters: (count, formattedCount) => count === 1 ? `${formattedCount} carácter de más` : `${formattedCount} caracteres de más`,
36
- charactersLeft: (count, formattedCount) => count === 1 ? `${formattedCount} carácter restante` : `${formattedCount} caracteres restantes`,
37
- visuallyHiddenHint: formattedCount => `Puede introducir hasta ${formattedCount} caracteres`
35
+ tooManyCharacters: (count, formattedCount) => count === 1 ? `Hay ${formattedCount} carácter de más.` : `Hay ${formattedCount} caracteres de más.`,
36
+ charactersLeft: (count, formattedCount) => count === 1 ? `Queda ${formattedCount} carácter.` : `Quedan ${formattedCount} caracteres.`,
37
+ visuallyHiddenHint: formattedCount => `Puedes introducir hasta ${formattedCount} caracteres.`
38
38
  },
39
39
  date: {
40
40
  dateFnsLocale: () => _es.default,
41
41
  ariaLabels: {
42
42
  previousMonthButton: () => "Mes anterior",
43
- nextMonthButton: () => "Próximo mes"
43
+ nextMonthButton: () => "Mes siguiente"
44
44
  }
45
45
  },
46
46
  dialog: {
@@ -63,7 +63,7 @@ const esES = {
63
63
  formSummary: /* istanbul ignore next */
64
64
  (errors, warnings, type) => {
65
65
  const errorPlural = isSingular(errors) ? "error" : "errores";
66
- const warningPlural = isSingular(warnings) ? "advertencia" : "advertencias";
66
+ const warningPlural = isSingular(warnings) ? "aviso" : "avisos";
67
67
  if (errors && warnings && type === "warning") {
68
68
  return ["y", `${warnings} ${warningPlural}`];
69
69
  }
@@ -78,23 +78,23 @@ const esES = {
78
78
  }
79
79
  },
80
80
  fileInput: {
81
- dragAndDrop: () => "o arrastre y suelte su arichivo aquí",
82
- selectFile: () => "Seleccionar archivo",
83
- fileUploadStatus: () => "Estado de carga del archivo",
81
+ dragAndDrop: () => "También los puedes arrastrar hasta aquí.",
82
+ selectFile: () => "Selecciona un archivo",
83
+ fileUploadStatus: () => "Estado de subida de ficheros",
84
84
  actions: {
85
- cancel: () => "Cancelar carga",
86
- clear: () => "Quitar",
87
- delete: () => "Borrar archivo"
85
+ cancel: () => "Cancelar subida",
86
+ clear: () => "Borrar",
87
+ delete: () => "Eliminar"
88
88
  }
89
89
  },
90
90
  heading: {
91
- backLinkAriaLabel: () => "Atrás"
91
+ backLinkAriaLabel: () => "Volver"
92
92
  },
93
93
  link: {
94
- skipLinkLabel: () => "Saltar al contenido principal"
94
+ skipLinkLabel: () => "Ir al contenido principal"
95
95
  },
96
96
  loader: {
97
- loading: () => "Cargando"
97
+ loading: () => "Cargando..."
98
98
  },
99
99
  loaderSpinner: {
100
100
  loading: () => "Cargando..."
@@ -111,12 +111,12 @@ const esES = {
111
111
  validation: {
112
112
  day: (month, daysInMonth) => {
113
113
  if (month && daysInMonth) {
114
- return `El día en ${month} debe ser un número entre 1-${daysInMonth}.`;
114
+ return `El día del mes ${month} debe ser un número comprendido entre 1 y ${daysInMonth}.`;
115
115
  }
116
- return "El día debe ser un número entre 1-31.";
116
+ return "El día debe ser un número comprendido entre 1 y 31.";
117
117
  },
118
- month: () => "El mes debe ser un número entre 1-12.",
119
- year: () => "El año debe ser un número entre 1800-2200."
118
+ month: () => "El mes debe ser un número comprendido entre 1 y 12.",
119
+ year: () => "El año debe ser un número comprendido entre 1800 y 2200."
120
120
  },
121
121
  labels: {
122
122
  day: () => "Día",
@@ -138,8 +138,8 @@ const esES = {
138
138
  ofY: count => `de ${count}`
139
139
  },
140
140
  password: {
141
- ariaLiveShownMessage: () => "Se ha mostrado su contraseña. Enfoque el campo de contraseña para que sea leida, si es seguro hacerlo.",
142
- ariaLiveHiddenMessage: () => "Su contraseña esta oculta."
141
+ ariaLiveShownMessage: () => "Tu contraseña se muestra en pantalla. Si estás en un entorno seguro, coloca el cursor sobre ella para que se te lea en voz alta.",
142
+ ariaLiveHiddenMessage: () => "La contraseña está oculta."
143
143
  },
144
144
  progressTracker: {
145
145
  of: () => "de"
@@ -151,9 +151,9 @@ const esES = {
151
151
  searchButtonText: () => "Buscar"
152
152
  },
153
153
  select: {
154
- actionButtonText: () => "Añadir un nuevo elemento",
155
- placeholder: () => "Por favor seleccione...",
156
- noResultsForTerm: term => `No hay resultados para "${term}"`
154
+ actionButtonText: () => "Añadir elemento",
155
+ placeholder: () => "Seleccionar...",
156
+ noResultsForTerm: term => `No hay resultados para ${term}.`
157
157
  },
158
158
  sidebar: {
159
159
  ariaLabels: {
@@ -161,7 +161,7 @@ const esES = {
161
161
  }
162
162
  },
163
163
  sort: {
164
- accessibleName: (sortContent, sortType) => `Ordenar todo ${sortContent || "contenido"}${sortType ? ` en orden ${sortType === "ascending" ? "ascendente" : "descendente"}.` : " en orden ascendente o descendente."}`
164
+ accessibleName: (sortContent, sortType) => `Ordenar todos los contenidos ${sortContent && `de tipo ${sortContent}`}${sortType ? ` según orden ${sortType === "ascending" ? "ascendente" : "descendente"}.` : " según orden ascendente o descendente."}`
165
165
  },
166
166
  splitButton: {
167
167
  ariaLabel: () => "Mostrar más"
@@ -172,31 +172,31 @@ const esES = {
172
172
  closeIconAriaLabel: () => "Cerrar"
173
173
  },
174
174
  switch: {
175
- on: () => "ON",
176
- off: () => "OFF"
175
+ on: () => "",
176
+ off: () => "NO"
177
177
  },
178
178
  textEditor: {
179
179
  tooltipMessages: {
180
180
  bold: () => "Negrita",
181
- italic: () => "Itálica",
181
+ italic: () => "Cursiva",
182
182
  bulletList: () => "Lista con viñetas",
183
183
  numberList: () => "Lista numerada"
184
184
  },
185
185
  ariaLabels: {
186
186
  bold: () => "negrita",
187
- italic: () => "itálica",
188
- bulletList: () => "lista con viñetas",
189
- numberList: () => "lista numerada"
187
+ italic: () => "cursiva",
188
+ bulletList: () => "lista-con-viñetas",
189
+ numberList: () => "lista-numerada"
190
190
  }
191
191
  },
192
192
  tileSelect: {
193
193
  deselect: () => "Deseleccionar"
194
194
  },
195
195
  time: {
196
- amText: () => "AM",
197
- pmText: () => "PM",
198
- hoursLabelText: () => "Hrs.",
199
- minutesLabelText: () => "Mins.",
196
+ amText: () => "a. m.",
197
+ pmText: () => "p. m.",
198
+ hoursLabelText: () => "h",
199
+ minutesLabelText: () => "min",
200
200
  hoursAriaLabelText: () => "Horas",
201
201
  minutesAriaLabelText: () => "Minutos"
202
202
  },
@@ -0,0 +1,3 @@
1
+ import Locale from "./locale";
2
+ declare const frCA: Partial<Locale>;
3
+ export default frCA;