Skip to content

Commit db38a4e

Browse files
committed
fix 75
1 parent 93c8ead commit db38a4e

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

dist/js/brutusin-json-forms-lan-es_ES.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if ("undefined" === typeof brutusin || "undefined" === typeof brutusin["json-for
2323
"minProperties": "Se requieren como mínimo `{0}` propiedades",
2424
"maxProperties": "Se admiten a lo sumo `{0}` propiedades",
2525
"uniqueItems": "Los elementos del array deben ser diferentes",
26-
"addItem": "Añadir elemento"
26+
"addItem": "Añadir elemento",
27+
"true": "Verdadero",
28+
"false": "Falso"
2729
};
2830
}());

dist/js/brutusin-json-forms-lan-es_ES.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js/brutusin-json-forms.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ if (typeof brutusin === "undefined") {
7777
"minProperties": "At least `{0}` properties are required",
7878
"maxProperties": "At most `{0}` properties are allowed",
7979
"uniqueItems": "Array items must be unique",
80-
"addItem": "Add item"
80+
"addItem": "Add item",
81+
"true": "True",
82+
"false": "False"
8183
};
8284

8385
/**
@@ -355,13 +357,13 @@ if (typeof brutusin === "undefined") {
355357
appendChild(input, emptyOption, s);
356358

357359
var optionTrue = document.createElement("option");
358-
var textTrue = document.createTextNode("true");
360+
var textTrue = document.createTextNode(BrutusinForms.messages["true"]);
359361
textTrue.value = "true";
360362
appendChild(optionTrue, textTrue, s);
361363
appendChild(input, optionTrue, s);
362364

363365
var optionFalse = document.createElement("option");
364-
var textFalse = document.createTextNode("false");
366+
var textFalse = document.createTextNode(BrutusinForms.messages["false"]);
365367
textFalse.value = "false";
366368
appendChild(optionFalse, textFalse, s);
367369
appendChild(input, optionFalse, s);

dist/js/brutusin-json-forms.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/brutusin-json-forms-lan-es_ES.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ if ("undefined" === typeof brutusin || "undefined" === typeof brutusin["json-for
2323
"minProperties": "Se requieren como mínimo `{0}` propiedades",
2424
"maxProperties": "Se admiten a lo sumo `{0}` propiedades",
2525
"uniqueItems": "Los elementos del array deben ser diferentes",
26-
"addItem": "Añadir elemento"
26+
"addItem": "Añadir elemento",
27+
"true": "Verdadero",
28+
"false": "Falso"
2729
};
2830
}());

src/js/brutusin-json-forms.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ if (typeof brutusin === "undefined") {
7777
"minProperties": "At least `{0}` properties are required",
7878
"maxProperties": "At most `{0}` properties are allowed",
7979
"uniqueItems": "Array items must be unique",
80-
"addItem": "Add item"
80+
"addItem": "Add item",
81+
"true": "True",
82+
"false": "False"
8183
};
8284

8385
/**
@@ -355,13 +357,13 @@ if (typeof brutusin === "undefined") {
355357
appendChild(input, emptyOption, s);
356358

357359
var optionTrue = document.createElement("option");
358-
var textTrue = document.createTextNode("true");
360+
var textTrue = document.createTextNode(BrutusinForms.messages["true"]);
359361
textTrue.value = "true";
360362
appendChild(optionTrue, textTrue, s);
361363
appendChild(input, optionTrue, s);
362364

363365
var optionFalse = document.createElement("option");
364-
var textFalse = document.createTextNode("false");
366+
var textFalse = document.createTextNode(BrutusinForms.messages["false"]);
365367
textFalse.value = "false";
366368
appendChild(optionFalse, textFalse, s);
367369
appendChild(input, optionFalse, s);

0 commit comments

Comments
 (0)