Arta.i18n

The default translations used by the javascript Arta methods in English. Copy this object and translate or customize for your application and locales, override by language.
Source
arta.js

Static Properties

ajaxDebugTitle = 'Debug/Error message (only shown in DEBUG mode)'

Arta.i18n.ajaxDebugTitle = 'Debug/Error message (only shown in DEBUG mode)'

Ajax fail generic error message title

ajaxErrorMsg = 'The last request could not be completed, please try again'

Arta.i18n.ajaxErrorMsg = 'The last request could not be completed, please try again'

Ajax fail generic error message content

cancel = 'Cancel'

Arta.i18n.cancel = 'Cancel'

Cancel label

del = 'Delete'

Arta.i18n.del = 'Delete'

Delete label

deleteMsg = 'The following items and data will be removed.'

Arta.i18n.deleteMsg = 'The following items and data will be removed.'

Delete dialog message content

validate = { title: 'Form data validation errors', required: 'is required', regex: 'invalid format', minLen: 'string length is too short', maxLen: 'string length is too long', maxNumber: 'is too large', minNumber: 'is too small', 'int': 'must be an integer', 'float': 'must be a floating point number', password: 'passwords do not matching', email: 'must be a valid email format', url: 'must be a valid URL format', ip: 'must be a valid IP format', time: 'must be a valid time format', date: 'must be a valid date format', datetime: 'must be a valid date-time format' } }

Arta.i18n.validate = {
        title:     'Form data validation errors',
        required:  'is required',
        regex:     'invalid format',
        minLen:    'string length is too short',
        maxLen:    'string length is too long',
        maxNumber: 'is too large',
        minNumber: 'is too small',
        'int':     'must be an integer',
        'float':   'must be a floating point number',
        password:  'passwords do not matching',
        email:     'must be a valid email format',
        url:       'must be a valid URL format',
        ip:        'must be a valid IP format',
        time:      'must be a valid time format',
        date:      'must be a valid date format',
        datetime:  'must be a valid date-time format'
    }
}

Form validation translations