-
-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(prepare-release) Prepared release 0.2.8
### 0.2.8 (2015-08-20) #### Bug Fixes #### Features
- Loading branch information
1 parent
5dab698
commit c9d6ba7
Showing
12 changed files
with
1,167 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}); |
Oops, something went wrong.