Skip to content

Commit 93c8ead

Browse files
committed
fix #72
1 parent 5397afb commit 93c8ead

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-10
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ if ("undefined" === typeof brutusin || "undefined" === typeof brutusin["json-for
2121
"maximum": "El valor debe ser **menor o igual que** `{0}`",
2222
"exclusiveMaximum": "El valor debe ser **menor que** `{0}`",
2323
"minProperties": "Se requieren como mínimo `{0}` propiedades",
24-
"maxProperties": "Se admiten a lo sumo `{0}` propiedades"
24+
"maxProperties": "Se admiten a lo sumo `{0}` propiedades",
25+
"uniqueItems": "Los elementos del array deben ser diferentes",
26+
"addItem": "Añadir elemento"
2527
};
26-
}());
28+
}());

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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ if (typeof brutusin === "undefined") {
7676
"exclusiveMaximum": "Value must be **lower than** `{0}`",
7777
"minProperties": "At least `{0}` properties are required",
7878
"maxProperties": "At most `{0}` properties are allowed",
79-
"uniqueItems": "Array items must be unique"
79+
"uniqueItems": "Array items must be unique",
80+
"addItem": "Add item"
8081
};
8182

8283
/**
@@ -766,7 +767,7 @@ if (typeof brutusin === "undefined") {
766767
if (itemS.description) {
767768
addButton.title = itemS.description;
768769
}
769-
appendChild(addButton, document.createTextNode("Add item"), s);
770+
appendChild(addButton, document.createTextNode(BrutusinForms.messages["addItem"]), s);
770771
appendChild(div, table, s);
771772
appendChild(div, addButton, s);
772773
if (value && value instanceof Array) {

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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ if ("undefined" === typeof brutusin || "undefined" === typeof brutusin["json-for
2121
"maximum": "El valor debe ser **menor o igual que** `{0}`",
2222
"exclusiveMaximum": "El valor debe ser **menor que** `{0}`",
2323
"minProperties": "Se requieren como mínimo `{0}` propiedades",
24-
"maxProperties": "Se admiten a lo sumo `{0}` propiedades"
24+
"maxProperties": "Se admiten a lo sumo `{0}` propiedades",
25+
"uniqueItems": "Los elementos del array deben ser diferentes",
26+
"addItem": "Añadir elemento"
2527
};
26-
}());
28+
}());

src/js/brutusin-json-forms.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ if (typeof brutusin === "undefined") {
7676
"exclusiveMaximum": "Value must be **lower than** `{0}`",
7777
"minProperties": "At least `{0}` properties are required",
7878
"maxProperties": "At most `{0}` properties are allowed",
79-
"uniqueItems": "Array items must be unique"
79+
"uniqueItems": "Array items must be unique",
80+
"addItem": "Add item"
8081
};
8182

8283
/**
@@ -766,7 +767,7 @@ if (typeof brutusin === "undefined") {
766767
if (itemS.description) {
767768
addButton.title = itemS.description;
768769
}
769-
appendChild(addButton, document.createTextNode("Add item"), s);
770+
appendChild(addButton, document.createTextNode(BrutusinForms.messages["addItem"]), s);
770771
appendChild(div, table, s);
771772
appendChild(div, addButton, s);
772773
if (value && value instanceof Array) {

0 commit comments

Comments
 (0)