Skip to content

Commit

Permalink
fix 75
Browse files Browse the repository at this point in the history
  • Loading branch information
idelvall committed Mar 30, 2017
1 parent 93c8ead commit db38a4e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 10 deletions.
4 changes: 3 additions & 1 deletion dist/js/brutusin-json-forms-lan-es_ES.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ if ("undefined" === typeof brutusin || "undefined" === typeof brutusin["json-for
"minProperties": "Se requieren como mínimo `{0}` propiedades",
"maxProperties": "Se admiten a lo sumo `{0}` propiedades",
"uniqueItems": "Los elementos del array deben ser diferentes",
"addItem": "Añadir elemento"
"addItem": "Añadir elemento",
"true": "Verdadero",
"false": "Falso"
};
}());
2 changes: 1 addition & 1 deletion dist/js/brutusin-json-forms-lan-es_ES.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions dist/js/brutusin-json-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ if (typeof brutusin === "undefined") {
"minProperties": "At least `{0}` properties are required",
"maxProperties": "At most `{0}` properties are allowed",
"uniqueItems": "Array items must be unique",
"addItem": "Add item"
"addItem": "Add item",
"true": "True",
"false": "False"
};

/**
Expand Down Expand Up @@ -355,13 +357,13 @@ if (typeof brutusin === "undefined") {
appendChild(input, emptyOption, s);

var optionTrue = document.createElement("option");
var textTrue = document.createTextNode("true");
var textTrue = document.createTextNode(BrutusinForms.messages["true"]);
textTrue.value = "true";
appendChild(optionTrue, textTrue, s);
appendChild(input, optionTrue, s);

var optionFalse = document.createElement("option");
var textFalse = document.createTextNode("false");
var textFalse = document.createTextNode(BrutusinForms.messages["false"]);
textFalse.value = "false";
appendChild(optionFalse, textFalse, s);
appendChild(input, optionFalse, s);
Expand Down
2 changes: 1 addition & 1 deletion dist/js/brutusin-json-forms.min.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/js/brutusin-json-forms-lan-es_ES.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ if ("undefined" === typeof brutusin || "undefined" === typeof brutusin["json-for
"minProperties": "Se requieren como mínimo `{0}` propiedades",
"maxProperties": "Se admiten a lo sumo `{0}` propiedades",
"uniqueItems": "Los elementos del array deben ser diferentes",
"addItem": "Añadir elemento"
"addItem": "Añadir elemento",
"true": "Verdadero",
"false": "Falso"
};
}());
8 changes: 5 additions & 3 deletions src/js/brutusin-json-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ if (typeof brutusin === "undefined") {
"minProperties": "At least `{0}` properties are required",
"maxProperties": "At most `{0}` properties are allowed",
"uniqueItems": "Array items must be unique",
"addItem": "Add item"
"addItem": "Add item",
"true": "True",
"false": "False"
};

/**
Expand Down Expand Up @@ -355,13 +357,13 @@ if (typeof brutusin === "undefined") {
appendChild(input, emptyOption, s);

var optionTrue = document.createElement("option");
var textTrue = document.createTextNode("true");
var textTrue = document.createTextNode(BrutusinForms.messages["true"]);
textTrue.value = "true";
appendChild(optionTrue, textTrue, s);
appendChild(input, optionTrue, s);

var optionFalse = document.createElement("option");
var textFalse = document.createTextNode("false");
var textFalse = document.createTextNode(BrutusinForms.messages["false"]);
textFalse.value = "false";
appendChild(optionFalse, textFalse, s);
appendChild(input, optionFalse, s);
Expand Down

0 comments on commit db38a4e

Please sign in to comment.