Skip to content

Commit 3109c8e

Browse files
committed
Fix translations issues in
lib/web/mage/validation.js lib/web/mage/validation/validation.js lib/web/mage/backend/validation.js
1 parent 88bfbd5 commit 3109c8e

File tree

3 files changed

+116
-92
lines changed

3 files changed

+116
-92
lines changed

lib/web/mage/backend/validation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@
224224
}
225225
return true;
226226
},
227-
'Please enter a number greater 0 in this field.'
227+
$.mage.__('Please enter a number greater 0 in this field.')
228228
],
229229
'validate-rating': [
230230
function () {
@@ -236,7 +236,7 @@
236236
});
237237
return noError;
238238
},
239-
'Please select one of each ratings above.'
239+
$.mage.__('Please select one of each ratings above.')
240240
],
241241
'validate-downloadable-file': [
242242
function (v, element) {
@@ -267,7 +267,7 @@
267267
}
268268
return true;
269269
},
270-
'Please specify Url.'
270+
$.mage.__('Please specify Url.')
271271
]
272272
}, function (rule, i) {
273273
rule.unshift(i);

0 commit comments

Comments
 (0)