Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Add translations for ember-validations (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
billybonks authored and jkleinsc committed Jul 6, 2016
1 parent b87dea0 commit ad77825
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/locales/en/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@ export default {
dashboard: {
title: 'What would you like to do?'
},
errors: {
inclusion: 'is not included in the list',
exclusion: 'is reserved',
invalid: 'is invalid',
confirmation: 'doesn\'t match {{attribute}}',
accepted: 'must be accepted',
empty: 'can\'t be empty',
blank: 'can\'t be blank',
present: 'must be blank',
tooLong: 'is too long (maximum is {{count}} characters)',
tooShort: 'is too short (minimum is {{count}} characters)',
wrongLength: 'is the wrong length (should be {{count}} characters)',
notANumber: 'is not a number',
notAnInteger: 'must be an integer',
greaterThan: 'must be greater than {{count}}',
greaterThanOrEqualTo: 'must be greater than or equal to {{count}}',
equalTo: 'must be equal to {{count}}',
lessThan: 'must be less than {{count}}',
lessThanOrEqualTo: 'must be less than or equal to {{count}}',
otherThan: 'must be other than {{count}}',
odd: 'must be odd',
even: 'must be even'
},
navigation: {
imaging: 'Imaging',
inventory: 'Inventory',
Expand Down

0 comments on commit ad77825

Please sign in to comment.