carbon-react 151.5.0 → 151.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/locales/en-gb.js +1 -1
- package/lib/locales/en-gb.js +1 -1
- package/package.json +1 -1
package/esm/locales/en-gb.js
CHANGED
|
@@ -58,7 +58,7 @@ const enGB = {
|
|
|
58
58
|
(errors, warnings, type) => {
|
|
59
59
|
const errorPlural = isSingular(errors) ? "error" : "errors";
|
|
60
60
|
const warningPlural = isSingular(warnings) ? "warning" : "warnings";
|
|
61
|
-
const isErrorPlural = isSingular(errors)
|
|
61
|
+
const isErrorPlural = isSingular(errors) ? "is" : "are";
|
|
62
62
|
const isWarningPlural = isSingular(warnings) ? "is" : "are";
|
|
63
63
|
if (errors && warnings && type === "warning") {
|
|
64
64
|
return ["and", `${warnings} ${warningPlural}`];
|
package/lib/locales/en-gb.js
CHANGED
|
@@ -64,7 +64,7 @@ const enGB = {
|
|
|
64
64
|
(errors, warnings, type) => {
|
|
65
65
|
const errorPlural = isSingular(errors) ? "error" : "errors";
|
|
66
66
|
const warningPlural = isSingular(warnings) ? "warning" : "warnings";
|
|
67
|
-
const isErrorPlural = isSingular(errors)
|
|
67
|
+
const isErrorPlural = isSingular(errors) ? "is" : "are";
|
|
68
68
|
const isWarningPlural = isSingular(warnings) ? "is" : "are";
|
|
69
69
|
if (errors && warnings && type === "warning") {
|
|
70
70
|
return ["and", `${warnings} ${warningPlural}`];
|