From c9d6ba7d7ddd9d06ba3fc2507c5f08f4c7fa286d Mon Sep 17 00:00:00 2001 From: janvanderhaegen Date: Thu, 20 Aug 2015 18:19:49 -0500 Subject: [PATCH] chore(prepare-release) Prepared release 0.2.8 ### 0.2.8 (2015-08-20) #### Bug Fixes #### Features --- dist/amd/resources/da-DK.js | 96 ++++++++++++++++++++++++++++ dist/amd/resources/nb-NO.js | 96 ++++++++++++++++++++++++++++ dist/amd/resources/nn-NO.js | 96 ++++++++++++++++++++++++++++ dist/commonjs/resources/da-DK.js | 97 ++++++++++++++++++++++++++++ dist/commonjs/resources/nb-NO.js | 97 ++++++++++++++++++++++++++++ dist/commonjs/resources/nn-NO.js | 97 ++++++++++++++++++++++++++++ dist/es6/resources/da-DK.js | 92 +++++++++++++++++++++++++++ dist/es6/resources/nb-NO.js | 92 +++++++++++++++++++++++++++ dist/es6/resources/nn-NO.js | 92 +++++++++++++++++++++++++++ dist/system/resources/da-DK.js | 104 +++++++++++++++++++++++++++++++ dist/system/resources/nb-NO.js | 104 +++++++++++++++++++++++++++++++ dist/system/resources/nn-NO.js | 104 +++++++++++++++++++++++++++++++ 12 files changed, 1167 insertions(+) create mode 100644 dist/amd/resources/da-DK.js create mode 100644 dist/amd/resources/nb-NO.js create mode 100644 dist/amd/resources/nn-NO.js create mode 100644 dist/commonjs/resources/da-DK.js create mode 100644 dist/commonjs/resources/nb-NO.js create mode 100644 dist/commonjs/resources/nn-NO.js create mode 100644 dist/es6/resources/da-DK.js create mode 100644 dist/es6/resources/nb-NO.js create mode 100644 dist/es6/resources/nn-NO.js create mode 100644 dist/system/resources/da-DK.js create mode 100644 dist/system/resources/nb-NO.js create mode 100644 dist/system/resources/nn-NO.js diff --git a/dist/amd/resources/da-DK.js b/dist/amd/resources/da-DK.js new file mode 100644 index 00000000..7a22bc86 --- /dev/null +++ b/dist/amd/resources/da-DK.js @@ -0,0 +1,96 @@ +define(['exports', '../validation/utilities'], function (exports, _validationUtilities) { + 'use strict'; + + exports.__esModule = true; + var data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrævet', + 'onValidateCallback': 'ikke gyldig værdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun indeholde alfanumeriske tegn eller mellemrum'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan kun indeholde alfanumeriske tegn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan kun indeholde bogstaver'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun indeholde bogstaver og mellemrum'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal være imellem ' + _validationUtilities.Utilities.getValue(threshold.minimumLength) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumLength) + ' tegn lang'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal være imellem ' + _validationUtilities.Utilities.getValue(threshold.minimumValue) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan kun indeholde tal'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikke gyldig e-mailadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikke være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikke ens ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikke være ens ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller højere'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal være mindst ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn lang'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal være større end ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikke være længere end ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal være mindre end ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal være en talværdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'må ikke indeholde mellemrum'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal være en kombination af små bogstaver, store bogstaver, tal og specialtegn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal indeholde mindst ' + _validationUtilities.Utilities.getValue(threshold) + ' af de følgende grupper: små bogstaver, store bogstaver, tal og specialtegn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikke en gyldig URL'; + } + } + }; + exports.data = data; +}); \ No newline at end of file diff --git a/dist/amd/resources/nb-NO.js b/dist/amd/resources/nb-NO.js new file mode 100644 index 00000000..47b245a7 --- /dev/null +++ b/dist/amd/resources/nb-NO.js @@ -0,0 +1,96 @@ +define(['exports', '../validation/utilities'], function (exports, _validationUtilities) { + 'use strict'; + + exports.__esModule = true; + var data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback': 'ikke gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun inneholde alfanumeriske tegn eller mellomrom'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan kun inneholde alfanumeriske tegn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan kun inneholde bokstaver'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun inneholde bokstaver og mellomrom'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal være mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumLength) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumLength) + ' tegn langt'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal være mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumValue) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan kun inneholde tall'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikke en gyldig e-postadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikke være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikke like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikke være like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller høyere'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal være minst ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn langt'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal være større enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikke være lengre enn ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal være mindre enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal være en tallverdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'kan ikke inneholde mellomrom'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal være en kombinasjon av små bokstaver, store bokstaver, tall og spesialtegn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal inneholde minst ' + _validationUtilities.Utilities.getValue(threshold) + ' av følgende grupper: små bokstaver, store bokstaver, tall og spesialtegn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikke en gyldig URL'; + } + } + }; + exports.data = data; +}); \ No newline at end of file diff --git a/dist/amd/resources/nn-NO.js b/dist/amd/resources/nn-NO.js new file mode 100644 index 00000000..cff25de2 --- /dev/null +++ b/dist/amd/resources/nn-NO.js @@ -0,0 +1,96 @@ +define(['exports', '../validation/utilities'], function (exports, _validationUtilities) { + 'use strict'; + + exports.__esModule = true; + var data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback': 'ikkje gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan berre innehalde alfanumeriske teikn eller mellomrom'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan berre innehalde alfanumeriske teikn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan berre innehalde bokstavar'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan berre innehalde bokstavar og mellomrom'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal vere mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumLength) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumLength) + ' teikn langt'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal vere mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumValue) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan berre innehalde tal'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikkje ei gyldig e-postadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde vere ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikkje vere ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikkje like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikkje vere like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal vere ' + _validationUtilities.Utilities.getValue(threshold) + ' eller høgare'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal vere minst ' + _validationUtilities.Utilities.getValue(threshold) + ' teikn langt'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal vere større enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal vere ' + _validationUtilities.Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikkje vere lengre enn ' + _validationUtilities.Utilities.getValue(threshold) + ' teikn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal vere mindre enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal vere ein talverdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'kan ikkje innehalde mellomrom'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal vere ein kombinasjon av små bokstavar, store bokstavar, tall og spesialteikn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal innehalde minst ' + _validationUtilities.Utilities.getValue(threshold) + ' av dei følgjande gruppene: små bokstavar, store bokstavar, tal og spesialteikn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikkje ein gyldig URL'; + } + } + }; + exports.data = data; +}); \ No newline at end of file diff --git a/dist/commonjs/resources/da-DK.js b/dist/commonjs/resources/da-DK.js new file mode 100644 index 00000000..3227c284 --- /dev/null +++ b/dist/commonjs/resources/da-DK.js @@ -0,0 +1,97 @@ +'use strict'; + +exports.__esModule = true; + +var _validationUtilities = require('../validation/utilities'); + +var data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrævet', + 'onValidateCallback': 'ikke gyldig værdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun indeholde alfanumeriske tegn eller mellemrum'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan kun indeholde alfanumeriske tegn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan kun indeholde bogstaver'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun indeholde bogstaver og mellemrum'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal være imellem ' + _validationUtilities.Utilities.getValue(threshold.minimumLength) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumLength) + ' tegn lang'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal være imellem ' + _validationUtilities.Utilities.getValue(threshold.minimumValue) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan kun indeholde tal'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikke gyldig e-mailadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikke være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikke ens ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikke være ens ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller højere'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal være mindst ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn lang'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal være større end ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikke være længere end ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal være mindre end ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal være en talværdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'må ikke indeholde mellemrum'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal være en kombination af små bogstaver, store bogstaver, tal og specialtegn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal indeholde mindst ' + _validationUtilities.Utilities.getValue(threshold) + ' af de følgende grupper: små bogstaver, store bogstaver, tal og specialtegn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikke en gyldig URL'; + } + } +}; +exports.data = data; \ No newline at end of file diff --git a/dist/commonjs/resources/nb-NO.js b/dist/commonjs/resources/nb-NO.js new file mode 100644 index 00000000..04b8b006 --- /dev/null +++ b/dist/commonjs/resources/nb-NO.js @@ -0,0 +1,97 @@ +'use strict'; + +exports.__esModule = true; + +var _validationUtilities = require('../validation/utilities'); + +var data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback': 'ikke gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun inneholde alfanumeriske tegn eller mellomrom'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan kun inneholde alfanumeriske tegn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan kun inneholde bokstaver'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun inneholde bokstaver og mellomrom'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal være mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumLength) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumLength) + ' tegn langt'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal være mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumValue) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan kun inneholde tall'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikke en gyldig e-postadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikke være ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikke like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikke være like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller høyere'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal være minst ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn langt'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal være større enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + _validationUtilities.Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikke være lengre enn ' + _validationUtilities.Utilities.getValue(threshold) + ' tegn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal være mindre enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal være en tallverdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'kan ikke inneholde mellomrom'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal være en kombinasjon av små bokstaver, store bokstaver, tall og spesialtegn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal inneholde minst ' + _validationUtilities.Utilities.getValue(threshold) + ' av følgende grupper: små bokstaver, store bokstaver, tall og spesialtegn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikke en gyldig URL'; + } + } +}; +exports.data = data; \ No newline at end of file diff --git a/dist/commonjs/resources/nn-NO.js b/dist/commonjs/resources/nn-NO.js new file mode 100644 index 00000000..55548056 --- /dev/null +++ b/dist/commonjs/resources/nn-NO.js @@ -0,0 +1,97 @@ +'use strict'; + +exports.__esModule = true; + +var _validationUtilities = require('../validation/utilities'); + +var data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback': 'ikkje gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan berre innehalde alfanumeriske teikn eller mellomrom'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan berre innehalde alfanumeriske teikn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan berre innehalde bokstavar'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan berre innehalde bokstavar og mellomrom'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal vere mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumLength) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumLength) + ' teikn langt'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal vere mellom ' + _validationUtilities.Utilities.getValue(threshold.minimumValue) + ' og ' + _validationUtilities.Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan berre innehalde tal'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikkje ei gyldig e-postadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde vere ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikkje vere ' + _validationUtilities.Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikkje like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikkje vere like ' + _validationUtilities.Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal vere ' + _validationUtilities.Utilities.getValue(threshold) + ' eller høgare'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal vere minst ' + _validationUtilities.Utilities.getValue(threshold) + ' teikn langt'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal vere større enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal vere ' + _validationUtilities.Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikkje vere lengre enn ' + _validationUtilities.Utilities.getValue(threshold) + ' teikn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal vere mindre enn ' + _validationUtilities.Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal vere ein talverdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'kan ikkje innehalde mellomrom'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal vere ein kombinasjon av små bokstavar, store bokstavar, tall og spesialteikn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal innehalde minst ' + _validationUtilities.Utilities.getValue(threshold) + ' av dei følgjande gruppene: små bokstavar, store bokstavar, tal og spesialteikn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikkje ein gyldig URL'; + } + } +}; +exports.data = data; \ No newline at end of file diff --git a/dist/es6/resources/da-DK.js b/dist/es6/resources/da-DK.js new file mode 100644 index 00000000..62b746b7 --- /dev/null +++ b/dist/es6/resources/da-DK.js @@ -0,0 +1,92 @@ +import {Utilities} from '../validation/utilities'; + +export let data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrævet', + 'onValidateCallback' : 'ikke gyldig værdi', + 'AlphaNumericOrWhitespaceValidationRule': (newValue, threshold) => { + return `kan kun indeholde alfanumeriske tegn eller mellemrum`; + }, + 'AlphaNumericValidationRule': (newValue, threshold) => { + return `kan kun indeholde alfanumeriske tegn`; + }, + 'AlphaValidationRule' : (newValue, threshold) => { + return `kan kun indeholde bogstaver`; + }, + 'AlphaOrWhitespaceValidationRule' : (newValue, threshold) => { + return `kan kun indeholde bogstaver og mellemrum`; + }, + 'BetweenLengthValidationRule': (newValue, threshold) => { + return `skal være imellem ${Utilities.getValue(threshold.minimumLength)} og ${Utilities.getValue(threshold.maximumLength)} tegn lang`; + }, + 'BetweenValueValidationRule': (newValue, threshold) => { + return `skal være imellem ${Utilities.getValue(threshold.minimumValue)} og ${Utilities.getValue(threshold.maximumValue)}`; + }, + 'CustomFunctionValidationRule': (newValue, threshold) => { + return `ikke en gyldig værdi` + }, + 'DigitValidationRule': (newValue, threshold) => { + return `kan kun indeholde tal`; + }, + 'EmailValidationRule': (newValue, threshold) => { + return `ikke gyldig e-mailadresse`; + }, + 'EqualityValidationRule': (newValue, threshold) => { + return `burde være ${Utilities.getValue(threshold.otherValue)}`; + }, + 'InEqualityValidationRule' : (newValue, threshold) => { + return `kan ikke være ${Utilities.getValue(threshold.otherValue)}`; + }, + 'EqualityWithOtherLabelValidationRule': (newValue, threshold) => { + return `er ikke ens ${Utilities.getValue(threshold.otherValueLabel)}`; + }, + 'InEqualityWithOtherLabelValidationRule' : (newValue, threshold) => { + return `kan ikke være ens ${Utilities.getValue(threshold.otherValueLabel)}`; + }, + 'InCollectionValidationRule': (newValue, threshold) => { + return `ikke en gyldig værdi`; + }, + 'MinimumInclusiveValueValidationRule' : (newValue, threshold) => { + return `skal være ${Utilities.getValue(threshold)} eller højere`; + }, + 'MinimumLengthValidationRule': (newValue, threshold) => { + return `skal være mindst ${Utilities.getValue(threshold)} tegn lang`; + }, + 'MinimumValueValidationRule': (newValue, threshold) => { + return `skal være større end ${Utilities.getValue(threshold)}`; + }, + 'MaximumInclusiveValueValidationRule' : (newValue, threshold) => { + return `skal være ${Utilities.getValue(threshold)} eller mindre`; + }, + 'MaximumLengthValidationRule': (newValue, threshold) => { + return `kan ikke være længere end ${Utilities.getValue(threshold)} tegn`; + }, + 'MaximumValueValidationRule': (newValue, threshold) => { + return `skal være mindre end ${Utilities.getValue(threshold)}`; + }, + 'NumericValidationRule': (newValue, threshold) => { + return `skal være en talværdi`; + }, + 'NoSpacesValidationRule' : (newValue, threshold) => { + return `må ikke indeholde mellemrum`; + }, + 'RegexValidationRule': (newValue, threshold) => { + return `ikke en gyldig værdi`; + }, + 'ContainsOnlyValidationRule': (newValue, threshold) => { + return `ikke en gyldig værdi`; + }, + 'StrongPasswordValidationRule': (newValue, threshold) => { + return `skal være en kombination af små bogstaver, store bogstaver, tal og specialtegn`; + }, + 'MediumPasswordValidationRule' : (newValue, threshold) => { + return `skal indeholde mindst ${Utilities.getValue(threshold)} af de følgende grupper: små bogstaver, store bogstaver, tal og specialtegn`; + }, + 'URLValidationRule' : (newValue, threshold) =>{ + return `ikke en gyldig URL` + } + } +}; diff --git a/dist/es6/resources/nb-NO.js b/dist/es6/resources/nb-NO.js new file mode 100644 index 00000000..f493f7bc --- /dev/null +++ b/dist/es6/resources/nb-NO.js @@ -0,0 +1,92 @@ +import {Utilities} from '../validation/utilities'; + +export let data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback' : 'ikke gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': (newValue, threshold) => { + return `kan kun inneholde alfanumeriske tegn eller mellomrom`; + }, + 'AlphaNumericValidationRule': (newValue, threshold) => { + return `kan kun inneholde alfanumeriske tegn`; + }, + 'AlphaValidationRule' : (newValue, threshold) => { + return `kan kun inneholde bokstaver`; + }, + 'AlphaOrWhitespaceValidationRule' : (newValue, threshold) => { + return `kan kun inneholde bokstaver og mellomrom`; + }, + 'BetweenLengthValidationRule': (newValue, threshold) => { + return `skal være mellom ${Utilities.getValue(threshold.minimumLength)} og ${Utilities.getValue(threshold.maximumLength)} tegn langt`; + }, + 'BetweenValueValidationRule': (newValue, threshold) => { + return `skal være mellom ${Utilities.getValue(threshold.minimumValue)} og ${Utilities.getValue(threshold.maximumValue)}`; + }, + 'CustomFunctionValidationRule': (newValue, threshold) => { + return `ikke en gyldig verdi` + }, + 'DigitValidationRule': (newValue, threshold) => { + return `kan kun inneholde tall`; + }, + 'EmailValidationRule': (newValue, threshold) => { + return `ikke en gyldig e-postadresse`; + }, + 'EqualityValidationRule': (newValue, threshold) => { + return `burde være ${Utilities.getValue(threshold.otherValue)}`; + }, + 'InEqualityValidationRule' : (newValue, threshold) => { + return `kan ikke være ${Utilities.getValue(threshold.otherValue)}`; + }, + 'EqualityWithOtherLabelValidationRule': (newValue, threshold) => { + return `er ikke like ${Utilities.getValue(threshold.otherValueLabel)}`; + }, + 'InEqualityWithOtherLabelValidationRule' : (newValue, threshold) => { + return `kan ikke være like ${Utilities.getValue(threshold.otherValueLabel)}`; + }, + 'InCollectionValidationRule': (newValue, threshold) => { + return `ikke en gyldig verdi`; + }, + 'MinimumInclusiveValueValidationRule' : (newValue, threshold) => { + return `skal være ${Utilities.getValue(threshold)} eller høyere`; + }, + 'MinimumLengthValidationRule': (newValue, threshold) => { + return `skal være minst ${Utilities.getValue(threshold)} tegn langt`; + }, + 'MinimumValueValidationRule': (newValue, threshold) => { + return `skal være større enn ${Utilities.getValue(threshold)}`; + }, + 'MaximumInclusiveValueValidationRule' : (newValue, threshold) => { + return `skal være ${Utilities.getValue(threshold)} eller mindre`; + }, + 'MaximumLengthValidationRule': (newValue, threshold) => { + return `kan ikke være lengre enn ${Utilities.getValue(threshold)} tegn`; + }, + 'MaximumValueValidationRule': (newValue, threshold) => { + return `skal være mindre enn ${Utilities.getValue(threshold)}`; + }, + 'NumericValidationRule': (newValue, threshold) => { + return `skal være en tallverdi`; + }, + 'NoSpacesValidationRule' : (newValue, threshold) => { + return `kan ikke inneholde mellomrom`; + }, + 'RegexValidationRule': (newValue, threshold) => { + return `ikke en gyldig verdi`; + }, + 'ContainsOnlyValidationRule': (newValue, threshold) => { + return `ikke en gyldig verdi`; + }, + 'StrongPasswordValidationRule': (newValue, threshold) => { + return `skal være en kombinasjon av små bokstaver, store bokstaver, tall og spesialtegn`; + }, + 'MediumPasswordValidationRule' : (newValue, threshold) => { + return `skal inneholde minst ${Utilities.getValue(threshold)} av følgende grupper: små bokstaver, store bokstaver, tall og spesialtegn`; + }, + 'URLValidationRule' : (newValue, threshold) =>{ + return `ikke en gyldig URL` + } + } +}; diff --git a/dist/es6/resources/nn-NO.js b/dist/es6/resources/nn-NO.js new file mode 100644 index 00000000..15accef5 --- /dev/null +++ b/dist/es6/resources/nn-NO.js @@ -0,0 +1,92 @@ +import {Utilities} from '../validation/utilities'; + +export let data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback' : 'ikkje gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': (newValue, threshold) => { + return `kan berre innehalde alfanumeriske teikn eller mellomrom`; + }, + 'AlphaNumericValidationRule': (newValue, threshold) => { + return `kan berre innehalde alfanumeriske teikn`; + }, + 'AlphaValidationRule' : (newValue, threshold) => { + return `kan berre innehalde bokstavar`; + }, + 'AlphaOrWhitespaceValidationRule' : (newValue, threshold) => { + return `kan berre innehalde bokstavar og mellomrom`; + }, + 'BetweenLengthValidationRule': (newValue, threshold) => { + return `skal vere mellom ${Utilities.getValue(threshold.minimumLength)} og ${Utilities.getValue(threshold.maximumLength)} teikn langt`; + }, + 'BetweenValueValidationRule': (newValue, threshold) => { + return `skal vere mellom ${Utilities.getValue(threshold.minimumValue)} og ${Utilities.getValue(threshold.maximumValue)}`; + }, + 'CustomFunctionValidationRule': (newValue, threshold) => { + return `ikkje ein gyldig verdi` + }, + 'DigitValidationRule': (newValue, threshold) => { + return `kan berre innehalde tal`; + }, + 'EmailValidationRule': (newValue, threshold) => { + return `ikkje ei gyldig e-postadresse`; + }, + 'EqualityValidationRule': (newValue, threshold) => { + return `burde vere ${Utilities.getValue(threshold.otherValue)}`; + }, + 'InEqualityValidationRule' : (newValue, threshold) => { + return `kan ikkje vere ${Utilities.getValue(threshold.otherValue)}`; + }, + 'EqualityWithOtherLabelValidationRule': (newValue, threshold) => { + return `er ikkje like ${Utilities.getValue(threshold.otherValueLabel)}`; + }, + 'InEqualityWithOtherLabelValidationRule' : (newValue, threshold) => { + return `kan ikkje vere like ${Utilities.getValue(threshold.otherValueLabel)}`; + }, + 'InCollectionValidationRule': (newValue, threshold) => { + return `ikkje ein gyldig verdi`; + }, + 'MinimumInclusiveValueValidationRule' : (newValue, threshold) => { + return `skal vere ${Utilities.getValue(threshold)} eller høgare`; + }, + 'MinimumLengthValidationRule': (newValue, threshold) => { + return `skal vere minst ${Utilities.getValue(threshold)} teikn langt`; + }, + 'MinimumValueValidationRule': (newValue, threshold) => { + return `skal vere større enn ${Utilities.getValue(threshold)}`; + }, + 'MaximumInclusiveValueValidationRule' : (newValue, threshold) => { + return `skal vere ${Utilities.getValue(threshold)} eller mindre`; + }, + 'MaximumLengthValidationRule': (newValue, threshold) => { + return `kan ikkje vere lengre enn ${Utilities.getValue(threshold)} teikn`; + }, + 'MaximumValueValidationRule': (newValue, threshold) => { + return `skal vere mindre enn ${Utilities.getValue(threshold)}`; + }, + 'NumericValidationRule': (newValue, threshold) => { + return `skal vere ein talverdi`; + }, + 'NoSpacesValidationRule' : (newValue, threshold) => { + return `kan ikkje innehalde mellomrom`; + }, + 'RegexValidationRule': (newValue, threshold) => { + return `ikkje ein gyldig verdi`; + }, + 'ContainsOnlyValidationRule': (newValue, threshold) => { + return `ikkje ein gyldig verdi`; + }, + 'StrongPasswordValidationRule': (newValue, threshold) => { + return `skal vere ein kombinasjon av små bokstavar, store bokstavar, tall og spesialteikn`; + }, + 'MediumPasswordValidationRule' : (newValue, threshold) => { + return `skal innehalde minst ${Utilities.getValue(threshold)} av dei følgjande gruppene: små bokstavar, store bokstavar, tal og spesialteikn`; + }, + 'URLValidationRule' : (newValue, threshold) =>{ + return `ikkje ein gyldig URL` + } + } +}; diff --git a/dist/system/resources/da-DK.js b/dist/system/resources/da-DK.js new file mode 100644 index 00000000..2db235dd --- /dev/null +++ b/dist/system/resources/da-DK.js @@ -0,0 +1,104 @@ +System.register(['../validation/utilities'], function (_export) { + 'use strict'; + + var Utilities, data; + return { + setters: [function (_validationUtilities) { + Utilities = _validationUtilities.Utilities; + }], + execute: function () { + data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrævet', + 'onValidateCallback': 'ikke gyldig værdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun indeholde alfanumeriske tegn eller mellemrum'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan kun indeholde alfanumeriske tegn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan kun indeholde bogstaver'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun indeholde bogstaver og mellemrum'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal være imellem ' + Utilities.getValue(threshold.minimumLength) + ' og ' + Utilities.getValue(threshold.maximumLength) + ' tegn lang'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal være imellem ' + Utilities.getValue(threshold.minimumValue) + ' og ' + Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan kun indeholde tal'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikke gyldig e-mailadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde være ' + Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikke være ' + Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikke ens ' + Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikke være ens ' + Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + Utilities.getValue(threshold) + ' eller højere'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal være mindst ' + Utilities.getValue(threshold) + ' tegn lang'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal være større end ' + Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikke være længere end ' + Utilities.getValue(threshold) + ' tegn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal være mindre end ' + Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal være en talværdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'må ikke indeholde mellemrum'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikke en gyldig værdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal være en kombination af små bogstaver, store bogstaver, tal og specialtegn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal indeholde mindst ' + Utilities.getValue(threshold) + ' af de følgende grupper: små bogstaver, store bogstaver, tal og specialtegn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikke en gyldig URL'; + } + } + }; + + _export('data', data); + } + }; +}); \ No newline at end of file diff --git a/dist/system/resources/nb-NO.js b/dist/system/resources/nb-NO.js new file mode 100644 index 00000000..4678c8be --- /dev/null +++ b/dist/system/resources/nb-NO.js @@ -0,0 +1,104 @@ +System.register(['../validation/utilities'], function (_export) { + 'use strict'; + + var Utilities, data; + return { + setters: [function (_validationUtilities) { + Utilities = _validationUtilities.Utilities; + }], + execute: function () { + data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback': 'ikke gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun inneholde alfanumeriske tegn eller mellomrom'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan kun inneholde alfanumeriske tegn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan kun inneholde bokstaver'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan kun inneholde bokstaver og mellomrom'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal være mellom ' + Utilities.getValue(threshold.minimumLength) + ' og ' + Utilities.getValue(threshold.maximumLength) + ' tegn langt'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal være mellom ' + Utilities.getValue(threshold.minimumValue) + ' og ' + Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan kun inneholde tall'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikke en gyldig e-postadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde være ' + Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikke være ' + Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikke like ' + Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikke være like ' + Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + Utilities.getValue(threshold) + ' eller høyere'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal være minst ' + Utilities.getValue(threshold) + ' tegn langt'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal være større enn ' + Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal være ' + Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikke være lengre enn ' + Utilities.getValue(threshold) + ' tegn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal være mindre enn ' + Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal være en tallverdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'kan ikke inneholde mellomrom'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikke en gyldig verdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal være en kombinasjon av små bokstaver, store bokstaver, tall og spesialtegn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal inneholde minst ' + Utilities.getValue(threshold) + ' av følgende grupper: små bokstaver, store bokstaver, tall og spesialtegn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikke en gyldig URL'; + } + } + }; + + _export('data', data); + } + }; +}); \ No newline at end of file diff --git a/dist/system/resources/nn-NO.js b/dist/system/resources/nn-NO.js new file mode 100644 index 00000000..9c7c4368 --- /dev/null +++ b/dist/system/resources/nn-NO.js @@ -0,0 +1,104 @@ +System.register(['../validation/utilities'], function (_export) { + 'use strict'; + + var Utilities, data; + return { + setters: [function (_validationUtilities) { + Utilities = _validationUtilities.Utilities; + }], + execute: function () { + data = { + settings: { + 'numericRegex': /^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/ + }, + messages: { + 'isRequired': 'er påkrevd', + 'onValidateCallback': 'ikkje gyldig verdi', + 'AlphaNumericOrWhitespaceValidationRule': function AlphaNumericOrWhitespaceValidationRule(newValue, threshold) { + return 'kan berre innehalde alfanumeriske teikn eller mellomrom'; + }, + 'AlphaNumericValidationRule': function AlphaNumericValidationRule(newValue, threshold) { + return 'kan berre innehalde alfanumeriske teikn'; + }, + 'AlphaValidationRule': function AlphaValidationRule(newValue, threshold) { + return 'kan berre innehalde bokstavar'; + }, + 'AlphaOrWhitespaceValidationRule': function AlphaOrWhitespaceValidationRule(newValue, threshold) { + return 'kan berre innehalde bokstavar og mellomrom'; + }, + 'BetweenLengthValidationRule': function BetweenLengthValidationRule(newValue, threshold) { + return 'skal vere mellom ' + Utilities.getValue(threshold.minimumLength) + ' og ' + Utilities.getValue(threshold.maximumLength) + ' teikn langt'; + }, + 'BetweenValueValidationRule': function BetweenValueValidationRule(newValue, threshold) { + return 'skal vere mellom ' + Utilities.getValue(threshold.minimumValue) + ' og ' + Utilities.getValue(threshold.maximumValue); + }, + 'CustomFunctionValidationRule': function CustomFunctionValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'DigitValidationRule': function DigitValidationRule(newValue, threshold) { + return 'kan berre innehalde tal'; + }, + 'EmailValidationRule': function EmailValidationRule(newValue, threshold) { + return 'ikkje ei gyldig e-postadresse'; + }, + 'EqualityValidationRule': function EqualityValidationRule(newValue, threshold) { + return 'burde vere ' + Utilities.getValue(threshold.otherValue); + }, + 'InEqualityValidationRule': function InEqualityValidationRule(newValue, threshold) { + return 'kan ikkje vere ' + Utilities.getValue(threshold.otherValue); + }, + 'EqualityWithOtherLabelValidationRule': function EqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'er ikkje like ' + Utilities.getValue(threshold.otherValueLabel); + }, + 'InEqualityWithOtherLabelValidationRule': function InEqualityWithOtherLabelValidationRule(newValue, threshold) { + return 'kan ikkje vere like ' + Utilities.getValue(threshold.otherValueLabel); + }, + 'InCollectionValidationRule': function InCollectionValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'MinimumInclusiveValueValidationRule': function MinimumInclusiveValueValidationRule(newValue, threshold) { + return 'skal vere ' + Utilities.getValue(threshold) + ' eller høgare'; + }, + 'MinimumLengthValidationRule': function MinimumLengthValidationRule(newValue, threshold) { + return 'skal vere minst ' + Utilities.getValue(threshold) + ' teikn langt'; + }, + 'MinimumValueValidationRule': function MinimumValueValidationRule(newValue, threshold) { + return 'skal vere større enn ' + Utilities.getValue(threshold); + }, + 'MaximumInclusiveValueValidationRule': function MaximumInclusiveValueValidationRule(newValue, threshold) { + return 'skal vere ' + Utilities.getValue(threshold) + ' eller mindre'; + }, + 'MaximumLengthValidationRule': function MaximumLengthValidationRule(newValue, threshold) { + return 'kan ikkje vere lengre enn ' + Utilities.getValue(threshold) + ' teikn'; + }, + 'MaximumValueValidationRule': function MaximumValueValidationRule(newValue, threshold) { + return 'skal vere mindre enn ' + Utilities.getValue(threshold); + }, + 'NumericValidationRule': function NumericValidationRule(newValue, threshold) { + return 'skal vere ein talverdi'; + }, + 'NoSpacesValidationRule': function NoSpacesValidationRule(newValue, threshold) { + return 'kan ikkje innehalde mellomrom'; + }, + 'RegexValidationRule': function RegexValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'ContainsOnlyValidationRule': function ContainsOnlyValidationRule(newValue, threshold) { + return 'ikkje ein gyldig verdi'; + }, + 'StrongPasswordValidationRule': function StrongPasswordValidationRule(newValue, threshold) { + return 'skal vere ein kombinasjon av små bokstavar, store bokstavar, tall og spesialteikn'; + }, + 'MediumPasswordValidationRule': function MediumPasswordValidationRule(newValue, threshold) { + return 'skal innehalde minst ' + Utilities.getValue(threshold) + ' av dei følgjande gruppene: små bokstavar, store bokstavar, tal og spesialteikn'; + }, + 'URLValidationRule': function URLValidationRule(newValue, threshold) { + return 'ikkje ein gyldig URL'; + } + } + }; + + _export('data', data); + } + }; +}); \ No newline at end of file